Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add version switcher #265

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nicu1989
Copy link
Contributor

Improvement

Description

Use current theme(pydata_sphinx_theme) version switcher dropdown to display a version selector. Because the switcher requires a json, the versions file is parsed into versions.json.
Also a css update of the version switcher is required to proper display(vertical scrollbar) the list of versions.

Because of a current bug #194 this PR will not show the docs preview. However I created another PR for preview only: https://nicu1989.github.io/score/pr-7/

Here is also a picture of the dropdown:

image

Also there is a way to view the versions file in browser using the json file: https://eclipse-score.github.io/score/versions.json

Related ticket

closes [#250 ] (improvement ticket)

Use current theme(pydata_sphinx_theme) version switcher dropdown to display a version selector.
Because the switcher requires a json, the versions file is parsed into versions.json.
Also a css update of the version switcher is required to proper display(vertical scrollbar) the list of versions.

Signed-off-by: Nicolae Dicu <[email protected]>
@nicu1989 nicu1989 requested a review from danwosq January 31, 2025 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant