mirror of
https://github.com/ivan-usov-org/bec.git
synced 2025-04-22 02:20:02 +02:00
docs: added version switcher
This commit is contained in:
parent
e6beda3b9c
commit
eaaff100a1
12
docs/source/_static/switcher.json
Normal file
12
docs/source/_static/switcher.json
Normal file
@ -0,0 +1,12 @@
|
||||
[
|
||||
{
|
||||
"name": "production",
|
||||
"version": "0.1",
|
||||
"url": "https://beamline-experiment-control.readthedocs.io/en/production/index.html",
|
||||
},
|
||||
{
|
||||
"name": "master",
|
||||
"version": "0.1",
|
||||
"url": "https://beamline-experiment-control.readthedocs.io/en/latest/index.html",
|
||||
},
|
||||
]
|
@ -46,3 +46,9 @@ language = "Python"
|
||||
# html_theme = 'alabaster'
|
||||
html_theme = "pydata_sphinx_theme"
|
||||
html_static_path = ["_static"]
|
||||
html_theme_options = {
|
||||
"switcher": {
|
||||
"json_url": "https://beamline-experiment-control.readthedocs.io/en/latest/_static/switcher.json",
|
||||
},
|
||||
"navbar_start": ["navbar-logo", "version-switcher"],
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
You can adapt this file completely to your liking, but it should at least
|
||||
contain the root `toctree` directive.
|
||||
|
||||
Welcome to BEC's documentation!
|
||||
Beamline Experiment Control
|
||||
===============================
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user