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

alternate proposal for version switcher #435

Closed
wants to merge 2 commits into from

Conversation

drammock
Copy link
Collaborator

(apologies for all the extra changes in static/vendor/ in this PR; I started working in a fresh conda env and the fontawesome updates seem to have happened automatically as part of the yarn setup.)

This PR is an alternative implementation to #433. It does the following:

  • adds new jinja template _templates/switcher.html to create and populate a version-switcher dropdown.
  • adds docs/_static/switcher.json as the source of version info
  • updates theme.conf with two new variables (switcher_json_url and switcher_template_url)
  • updates docs/conf.py with demo-site-appropriate values for those two new variables

@drammock
Copy link
Collaborator Author

superseded by #436

@drammock drammock closed this Jul 28, 2021
@drammock drammock deleted the switcher branch October 25, 2021 16:37
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