question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:)

  1. Go on https://v2.docusaurus.io/docs/introduction or any website generated thanks to the latest v2 version of docusaurus
  2. Inspect the DOM
  3. Search for these meta tags within the DOM
<meta name="docsearch:language" content="en" />
<meta name="docsearch:version" content="2.0.0" />
  1. 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.

cc @endiliey @JoelMarcey

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
endilieycommented, Sep 18, 2019

Will leave this open for now to serve as reminder

2reactions
nebrelbugcommented, Sep 17, 2019

@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 😄

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found