mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 11:48:50 +00:00
doc: update sphinx configs for RTD changes
Read The Docs made some changes that require us to add some configuration in our build config files. Signed-off-by: Quentin Young <qlyoung@qlyoung.net>
This commit is contained in:
parent
e2d63567ec
commit
95d9bf12e3
@ -66,6 +66,13 @@ version = u"?.?"
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = u"?.?-?"
|
||||
|
||||
# Set canonical URL from the Read the Docs Domain
|
||||
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
|
||||
|
||||
# Tell Jinja2 templates the build is running on Read the Docs
|
||||
if os.environ.get("READTHEDOCS", "") == "True":
|
||||
html_context["READTHEDOCS"] = True
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Extract values from codebase for substitution into docs.
|
||||
|
@ -65,6 +65,16 @@ version = u"?.?"
|
||||
# The full version, including alpha/beta/rc tags.
|
||||
release = u"?.?-?"
|
||||
|
||||
# RTD configuration
|
||||
|
||||
# Set canonical URL from the Read the Docs Domain
|
||||
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")
|
||||
|
||||
# Tell Jinja2 templates the build is running on Read the Docs
|
||||
if os.environ.get("READTHEDOCS", "") == "True":
|
||||
html_context["READTHEDOCS"] = True
|
||||
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Extract values from codebase for substitution into docs.
|
||||
|
Loading…
Reference in New Issue
Block a user