Add the line html_static_path = ['_static'] to "docsrc/source/conf.py".
In "docsrc/source/conf.py/html_theme_options":
comment "version_info"
add "version_json": "_static/versions.json"
make clean && make _docs
Let's pretend we have "devel" docs also
cp -r docsrc/build/html devel && mv devel docsrc/build/html
open docsrc/build/html/index.html
I get "Other versions not found" instead of the version dropdown. Could you give a hint where the mistake might be?
P.S. The same workflow but with "version_info" instead of "version_json" works as expected.
Hi! I am trying to use the
version_info
option my project, this is the link to the snapshot I am experimenting with: https://github.com/Yura52/zero/tree/fad396badd87975b365eddbd5496df5ad60f25daI do the following locally on my Mac:
Create "versions.json":
Add the line
html_static_path = ['_static']
to "docsrc/source/conf.py".In "docsrc/source/conf.py/html_theme_options": comment
"version_info"
add"version_json": "_static/versions.json"
make clean && make _docs
Let's pretend we have "devel" docs also
cp -r docsrc/build/html devel && mv devel docsrc/build/html
open docsrc/build/html/index.html
I get "Other versions not found" instead of the version dropdown. Could you give a hint where the mistake might be? P.S. The same workflow but with "version_info" instead of "version_json" works as expected.