Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !29872

docs: Add OpenSearch support

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Administrator requested to merge master-mc-opensearch into main Dec 17, 2019
  • Overview 0
  • Commits 7
  • Pipelines 0
  • Changes 4

Created by: MartijnCuppens

How does this work?

I've only tested this in Chrome so far.

  • Navigate to https://deploy-preview-29872--twbs-bootstrap.netlify.app/
  • Open a new tab
  • Enter https://deploy-preview-29872--twbs-bootstrap.netlify.app/ in the address bar, but do not submit
  • You'll see this message in the address bar: image
  • Press tab
  • Search for card
  • You'll land on https://deploy-preview-29872--twbs-bootstrap.netlify.app/docs/5.0/getting-started/introduction/#search=card with the search prefilled

Maybe we should create a dedicated search page for this?

Also, I need to make the urls variable, no clue how to do that with xml in Hugo. @XhmikosR, could you help me out with this?


TODO:

  • Add InputEncoding
  • Add a 16x16 PNG file
  • Add a proper 64x64 PNG file
  • Revert back to the favicon.ico?
  • Add the link tag in all pages?
  • Shouldn't the param be a query and not a hash? https://developer.mozilla.org/en-US/docs/Web/API/HTMLHyperlinkElementUtils/search
  • We should escape any params
  • See if we can achieve the same without an output format in Hugo
  • add the link in all pages
  • Make sure we are not missing anything from https://developer.mozilla.org/en-US/docs/Web/OpenSearch
  • Update images
  • keywords like @bootstrap?

Fixes #29949 (closed)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: master-mc-opensearch