X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=docs%2Fconf.py;h=517bc2a79d22cf00be40b802fd0984f399dbab3b;hb=e281df72ebd23b08f6b0e6f31bacef14b85faf82;hp=1fbea08e17689e990bf0429332cc9a67842cf443;hpb=10ddfdcabb11e9229fdeec8f022832f255f537f9;p=docs.git diff --git a/docs/conf.py b/docs/conf.py index 1fbea08e1..517bc2a79 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,17 +13,33 @@ from docs_conf.conf import * # Append to intersphinx_mapping -intersphinx_mapping['odl-integration-test'] = ('http://docs.opendaylight.org/projects/integration-test/en/latest/', None) -intersphinx_mapping['odl-releng-builder'] = ('http://docs.opendaylight.org/projects/releng-builder/en/latest/', None) +intersphinx_mapping['mdsal'] = ('https://docs.opendaylight.org/projects/mdsal/en/latest/', None) +intersphinx_mapping['odl-integration-test'] = ('https://docs.opendaylight.org/projects/integration-test/en/latest/', None) +intersphinx_mapping['odl-integration-distribution'] = ('https://docs.opendaylight.org/projects/integration-distribution/en/latest/', None) +intersphinx_mapping['odl-integration-packaging'] = ('https://docs.opendaylight.org/projects/integration-packaging/en/latest/', None) +intersphinx_mapping['odl-releng-builder'] = ('https://docs.opendaylight.org/projects/releng-builder/en/latest/', None) # Projects that have stable/branches -intersphinx_mapping['netvirt'] = ('http://docs.opendaylight.org/projects/netvirt/en/latest/', None) +intersphinx_mapping['aaa'] = ('https://docs.opendaylight.org/projects/aaa/en/latest/', None) +intersphinx_mapping['coe'] = ('https://docs.opendaylight.org/projects/coe/en/latest/', None) +intersphinx_mapping['daexim'] = ('https://docs.opendaylight.org/projects/daexim/en/latest/', None) +intersphinx_mapping['genius'] = ('https://docs.opendaylight.org/projects/genius/en/latest/', None) +intersphinx_mapping['infrautils'] = ('https://docs.opendaylight.org/projects/infrautils/en/latest/', None) +intersphinx_mapping['netvirt'] = ('https://docs.opendaylight.org/projects/netvirt/en/latest/', None) +intersphinx_mapping['openflowplugin'] = ('https://docs.opendaylight.org/projects/openflowplugin/en/latest/', None) +intersphinx_mapping['ovsdb'] = ('https://docs.opendaylight.org/projects/ovsdb/en/latest/', None) +intersphinx_mapping['sxp'] = ('https://docs.opendaylight.org/projects/sxp/en/latest/', None) +intersphinx_mapping['tsdr'] = ('https://docs.opendaylight.org/projects/tsdr/en/latest/', None) + +# OpenDaylight Documentation Releases +intersphinx_mapping['odl-oxygen'] = ('https://docs.opendaylight.org/en/stable-oxygen/', None) +intersphinx_mapping['odl-nitrogen'] = ('https://docs.opendaylight.org/en/stable-nitrogen/', None) +intersphinx_mapping['odl-carbon'] = ('https://docs.opendaylight.org/en/stable-carbon/', None) linkcheck_ignore = [ # Ignore jenkins because it's often slow to respond. 'https://jenkins.opendaylight.org/releng', 'https://jenkins.opendaylight.org/sandbox', - 'http://\$CONTROL_HOST:8181/dlux/index.html', # The '#' in the path makes sphinx think it's an anchor 'https://git.opendaylight.org/gerrit/#/admin/projects/releng/builder', ] @@ -31,10 +47,9 @@ linkcheck_ignore = [ nitpicky = True release = version -import platform -if platform.system() != 'Windows': +html_context = { + 'version_status': 'supported', +} - # Build integration stuff - import subprocess - - subprocess.call(["./generate-milestone-status.sh"]) +def setup(app): + app.add_stylesheet("css/ribbon.css")