Skip to content

Documentation: The search index breaks when we do a release #2949

@manciniedoardo

Description

@manciniedoardo

Please select a category the issue is focused on?

Other

Let us know where something needs a refresh or put your idea here!

Since the 1.3.0 release of {admiral}, when we do a release, for some reason the search index breaks. That is, all search paths generate with one slash instead of two. For instance, see the screenshot below from cran-release/search.json in the gh-pages branch after the 1.4.0 release.

Image

This causes the search bar in the cran-release version of the website to break - for instance, searching for "locf" and clicking the first link generates the following hyperlink: https://pharmaverse.github.io/?q=locf#null instead of https://pharmaverse.github.io/admiral/cran-release/reference/derive_locf_records.html?q=locf#null.

For the 1.4.0 release, the search index broke in the 1.4.0 and cran-release folders in the gh-pages branch. I fixed it manually with a find and replace to replace https:/p with https://p, but we should get to the bottom of why it's generating incorrectly - maybe some configuration somewhere?

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions