DocSearch meta missing from the new released version
See original GitHub issue🐛 Bug Report
I am part of the team from algolia/Docsearch which features search for Docusaurus. We rely on meta tags to pick up the right version from the pages generated by Docusaurus. The v2 does not include these meta tags anymore. The Algolia search experience will be broken due to duplicates for every websites we crawl
Have you read the Contributing Guidelines on issues?
yes
To Reproduce
(Write your steps here:)
- Go on https://v2.docusaurus.io/docs/introduction or any website generated thanks to the latest v2 version of docusaurus
- Inspect the DOM
- Search for these meta tags within the DOM
<meta name="docsearch:language" content="en" />
<meta name="docsearch:version" content="2.0.0" />
- None of these variables are available
Expected behavior
Docusaurus should include these meta tags
Same as https://github.com/facebook/docusaurus/commit/0eb6612b58a6ee93d5de715f87201eb9fabc82c2
My guess is that this issue is due to the latest release of Docusaurus.
Happy to provide more details if needed.
Issue Analytics
- State:
- Created 4 years ago
- Comments:10 (9 by maintainers)
Top Results From Across the Web
DocSearch isn't showing results on newer version of docs
The issue is that you set the content of the meta tags version via an array that is not interpreted as it. So...
Read more >Algolia search broken after new release · Issue #3391 - GitHub
The search breaks every-time there is a new release because it creates a new version. This version is extracted from the DocSearch meta...
Read more >Add a search bar to your Docusaurus 2 website using Algolia ...
Algolia DocSearch works by crawling the content of your website every ... to be notified when I release a new video Please like...
Read more >Release notes — Scanpy 1.9.1 documentation - Read the Docs
New tutorial on the usage of Pearson Residuals: → tutorial: ... be raised when there were missing values and large numbers of categories...
Read more >Docker Engine release notes
Release notes for Docker CE. ... Fix an issue where the swarm can get stuck electing a new leader after quorum is lost...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Will leave this open for now to serve as reminder
@yangshun would it help if I put together a pull request? I’d really like to have these merged so I can add search on my site 😄