Skip to content

Commit

Permalink
fix(readthedocs): update readthedocs version data (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher authored Sep 3, 2024
1 parent 7858399 commit 5fcfd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doxyconfig-readthedocs-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class ReadtheDocsSearch {

// readthedocs metadata
let projectSlug = ReadtheDocsSearch.getMetaValue("readthedocs-project-slug") || "doxyconfig";
let projectVersion = ReadtheDocsSearch.getMetaValue("readthedocs-version") || "latest";
let projectVersion = ReadtheDocsSearch.getMetaValue("readthedocs-version-slug") || "latest";

// pull requests are not indexed, so use the default version
if (/^\d+$/.test(projectVersion)) {
Expand Down

0 comments on commit 5fcfd9a

Please sign in to comment.