Restructure doc versions
This commit is contained in:
parent
efafbb6342
commit
bbae01d937
2 changed files with 2 additions and 3 deletions
|
|
@ -68,8 +68,7 @@ def deploy():
|
||||||
|
|
||||||
os.system("ls")
|
os.system("ls")
|
||||||
|
|
||||||
# symlink to latest and link its index to the root
|
# link latest index to the root
|
||||||
os.system(f"ln -s {latest_version} latest")
|
|
||||||
os.system(f"ln -s {latest_version}/index.html .")
|
os.system(f"ln -s {latest_version}/index.html .")
|
||||||
|
|
||||||
os.system("ls")
|
os.system("ls")
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ smv_tag_whitelist = r"^$"
|
||||||
# These are also read from the deploy.py script. These are also the names of
|
# These are also read from the deploy.py script. These are also the names of
|
||||||
# the folders built in the gh-pages evennia branch, under docs/.
|
# the folders built in the gh-pages evennia branch, under docs/.
|
||||||
latest_version = "latest"
|
latest_version = "latest"
|
||||||
legacy_versions = ["2.x", "1.3.0", "0.9.5"]
|
legacy_versions = ["2.x", "1.x", "0.x"]
|
||||||
|
|
||||||
|
|
||||||
def add_legacy_versions_to_html_page_context(app, pagename, templatename, context, doctree):
|
def add_legacy_versions_to_html_page_context(app, pagename, templatename, context, doctree):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue