openstackdocstheme 3.2.0__tar.gz → 3.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/.pre-commit-config.yaml +12 -19
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/.zuul.yaml +18 -1
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/AUTHORS +4 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/ChangeLog +20 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/PKG-INFO +4 -2
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/api-ref/source/conf.py +8 -9
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/requirements.txt +0 -4
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/conf.py +9 -7
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/ext.py +60 -34
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/page_context.py +34 -14
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/header.html +3 -3
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/PKG-INFO +4 -2
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/SOURCES.txt +1 -1
- openstackdocstheme-3.4.0/openstackdocstheme.egg-info/pbr.json +1 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/requires.txt +1 -0
- openstackdocstheme-3.4.0/pyproject.toml +6 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/source/conf.py +25 -15
- openstackdocstheme-3.4.0/requirements.txt +3 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/setup.cfg +3 -1
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/setup.py +1 -3
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/tox.ini +14 -10
- openstackdocstheme-3.2.0/openstackdocstheme.egg-info/pbr.json +0 -1
- openstackdocstheme-3.2.0/requirements.txt +0 -6
- openstackdocstheme-3.2.0/test-requirements.txt +0 -10
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/CONTRIBUTING.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/HACKING.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/LICENSE +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/Makefile +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/README.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/api-ref/source/_static/css/README.md +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/api-ref/source/image.inc +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/api-ref/source/index.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/api-ref/source/parameters.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/api-ref/source/service.inc +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/api-ref/source/status.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/api-ref/source/update-server-resp.json +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/bin/docstheme-build-pdf +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/bin/docstheme-build-translated.sh +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/bin/docstheme-lang-display-name.py +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/bindep.txt +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/_static/css/.placeholder +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/configure_access_and_security_for_instances.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/create_and_manage_databases.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/create_and_manage_networks.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/dashboard_demo.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/figures/dashboard-project-tab.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/figures/dashboard_admin_project_tab.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/figures/doc-logo-fox.jpg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/index.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/launch-instance.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/demo/section_dashboard_access_and_security.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/doc/source/index.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/index.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/__init__.py +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/paths.py +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/css.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/footer.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/layout.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/license_cc.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/localtoc.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/os_search.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/os_search_install.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/os_search_mobile.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/script_footer.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/script_search.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/search.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/sidebartoc.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/sidebartoc_menu.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/sidebartoc_menu_apiref.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.css +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.min.css +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/combined.css +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/font-awesome.css +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/font-awesome.min.css +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/css/search.css +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/favicon.ico +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/.gitkeep +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/FontAwesome.otf +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.eot +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.ttf +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.woff +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.woff2 +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.eot +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.ttf +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.woff +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/license.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser1.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser2.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser3.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser4.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-facebook-hover.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-facebook.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-linkedin-hover.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-linkedin.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-twitter-hover.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-twitter.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-youtube-hover.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/footer-youtube.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/loading.gif +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/logo-full.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/logo-full.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/logo-vert.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/logo-vert.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-full.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-full.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-vert.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-vert.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/images/search-icon.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.js +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.min.js +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/docs.js +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/jquery-3.2.1.js +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/jquery-3.2.1.min.js +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/static/js/navigation.js +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/theme.conf +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs/titlerow.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs_pdf/logo-full.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/openstackdocs_pdf/pdftheme.sty +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/footer.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/header.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/sidebartoc_menu.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/sidebartoc_menu_apiref.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/css/combined.css +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Horizontal_2color.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Horizontal_2color.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Stacked_2color.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Stacked_2color.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/logo-full.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/logo-full.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/logo-vert.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/static/images/logo-vert.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/stx_search.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/stx_search_install.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/stx_search_mobile.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/theme.conf +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs/titlerow.html +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs_pdf/logo-full.png +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs_pdf/logo-full.svg +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/theme/starlingxdocs_pdf/pdftheme.sty +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme/version.py +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/dependency_links.txt +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/not-zip-safe +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/openstackdocstheme.egg-info/top_level.txt +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-openstackdocs_auto_name-option-efbd1cf9a171f079.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-openstackdocs_auto_version-option-fd03f20373eede39.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-reno-8da9bd3ccb7bbeab.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-starlingxdocs-10a33318f8630486.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/add-translations-9238b0f56b677a6b.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/allow-disabling-toc-in-body-d98d3a6e633fa28e.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/autoconfigure-settings-7083fdeeb121da89.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/badge-6f8713da36a7e570.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/bug-project-e9ff50f6149d2be1.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/bug-title-fdbefea0408e2cbf.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/bug_project-d26160cfe5324694.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/css-cleanup-7fb30a2d1208bb4d.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/custom-bug-link-ec64bdf9ce357d16.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/disable_analytics-45d98d6fab71d2b1.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/do-not-display-local-toc-title-without-subtitles-4e1fc48705d66289.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/doc-bug-template-7234e7f00e0ff599.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/double-backticks-not-red-5ce6dbc828221929.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/get_openstack_logo_path-6cdb6538bc5893c3.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/last-updated-via-git-245fb14be3770a19.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/latex_engine-cc35cb3a4ad2fa00.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/local-project-search-e6f00a84f2eed0a6.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/lp1516819-b4bb7b0f10004cef.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/merge-latex-options-242f10c932f0e6af.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/norelease-ccd7722c078a73a2.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/opendev-5c528b2b4c737d59.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/pdf-version-56c223128dff8357.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/pdf_link-c6b0ed36dd12b0ef.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/renamed-opts-bbf5d1390ed6ba71.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/side-bar-config-d7e66388e252cadf.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/sidebar-top-page-link-252532ddf42a5acf.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/sidebar_dropdown_apiref-993b4dba4c0369f6.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/sidebarlinks-db0a8463f32ab95d.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/source_date_epoch-1078730ca0b29a4e.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/storyboard-5f67da8941aec6ae.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/storyboard-string-643a47e957b64557.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/storyboard-url-cee60d9449ec2980.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/strip-html-tags-from-navigation-titles-929c92a339413015.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/notes/version-dropdown-1aa39974f524dd75.yaml +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/source/_static/.placeholder +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/source/_templates/.placeholder +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/source/current.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/source/historic.rst +0 -0
- {openstackdocstheme-3.2.0 → openstackdocstheme-3.4.0}/releasenotes/source/index.rst +0 -0
|
@@ -1,15 +1,6 @@
|
|
|
1
|
-
# We from the Oslo project decided to pin repos based on the
|
|
2
|
-
# commit hash instead of the version tag to prevend arbitrary
|
|
3
|
-
# code from running in developer's machines. To update to a
|
|
4
|
-
# newer version, run `pre-commit autoupdate` and then replace
|
|
5
|
-
# the newer versions with their commit hash.
|
|
6
|
-
|
|
7
|
-
default_language_version:
|
|
8
|
-
python: python3
|
|
9
|
-
|
|
10
1
|
repos:
|
|
11
2
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
12
|
-
rev:
|
|
3
|
+
rev: v4.6.0
|
|
13
4
|
hooks:
|
|
14
5
|
- id: trailing-whitespace
|
|
15
6
|
# Replaces or checks mixed line ending
|
|
@@ -27,13 +18,15 @@ repos:
|
|
|
27
18
|
- id: debug-statements
|
|
28
19
|
- id: check-yaml
|
|
29
20
|
files: .*\.(yaml|yml)$
|
|
30
|
-
- repo:
|
|
21
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
22
|
+
rev: v0.6.2
|
|
31
23
|
hooks:
|
|
32
|
-
- id:
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
24
|
+
- id: ruff
|
|
25
|
+
args: ['--fix']
|
|
26
|
+
- id: ruff-format
|
|
27
|
+
- repo: https://opendev.org/openstack/hacking
|
|
28
|
+
rev: 7.0.0
|
|
29
|
+
hooks:
|
|
30
|
+
- id: hacking
|
|
31
|
+
additional_dependencies: []
|
|
32
|
+
exclude: '^(doc|releasenotes)/.*$'
|
|
@@ -1,3 +1,20 @@
|
|
|
1
|
+
- job:
|
|
2
|
+
name: openstackdocstheme-tox-docs-tips
|
|
3
|
+
parent: openstack-tox-docs
|
|
4
|
+
description: |
|
|
5
|
+
Build documentation for openstackdocstheme with main branch of important
|
|
6
|
+
libs. Takes advantage of the base tox job's install-siblings feature.
|
|
7
|
+
# The job only tests the latest and shouldn't be run on the stable branches
|
|
8
|
+
branches:
|
|
9
|
+
regex: ^stable/.*$
|
|
10
|
+
negate: true
|
|
11
|
+
required-projects:
|
|
12
|
+
- name: github.com/sphinx-doc/sphinx
|
|
13
|
+
vars:
|
|
14
|
+
# Set work dir to openstackdocstheme so that if it's triggered by one of
|
|
15
|
+
# the other repos the tests will run in the same place
|
|
16
|
+
zuul_work_dir: src/opendev.org/openstack/openstackdocstheme
|
|
17
|
+
|
|
1
18
|
- job:
|
|
2
19
|
name: openstackdocstheme-openstack-tox-docs-starlingxdocs
|
|
3
20
|
parent: openstack-tox-docs
|
|
@@ -49,7 +66,7 @@
|
|
|
49
66
|
- ^openstackdocstheme/.*$
|
|
50
67
|
- ^.*\.txt$
|
|
51
68
|
- ^.*\.rst$
|
|
52
|
-
|
|
69
|
+
- openstackdocstheme-tox-docs-tips
|
|
53
70
|
- openstackdocstheme-openstack-tox-docs-starlingxdocs
|
|
54
71
|
- openstackdocstheme-cross-nova-tox-docs
|
|
55
72
|
- openstackdocstheme-cross-octaviaclient-tox-docs
|
|
@@ -21,6 +21,7 @@ Dave Walker (Daviey) <email@daviey.com>
|
|
|
21
21
|
Dean Troyer <dtroyer@gmail.com>
|
|
22
22
|
Dmitry Shachnev <mitya57@ubuntu.com>
|
|
23
23
|
Doug Hellmann <doug@doughellmann.com>
|
|
24
|
+
Dr. Jens Harbott <harbott@osism.tech>
|
|
24
25
|
Eric Fried <openstack@fried.cc>
|
|
25
26
|
Flavio Percoco <flaper87@gmail.com>
|
|
26
27
|
Frank Kloeker <f.kloeker@telekom.de>
|
|
@@ -42,6 +43,7 @@ Leif Madsen <lmadsen@redhat.com>
|
|
|
42
43
|
Luong Anh Tuan <tuanla@vn.fujitsu.com>
|
|
43
44
|
MCamp859 <maryx.camp@intel.com>
|
|
44
45
|
Major Hayden <major@mhtx.net>
|
|
46
|
+
Maksim Malchuk <maksim.malchuk@gmail.com>
|
|
45
47
|
Michael Johnson <johnsomor@gmail.com>
|
|
46
48
|
Nguyen Hung Phuong <phuongnh@vn.fujitsu.com>
|
|
47
49
|
Nick Chase <nchase@mirantis.com>
|
|
@@ -60,7 +62,9 @@ Sean McGinnis <sean.mcginnis@gmail.com>
|
|
|
60
62
|
Sebastian Marcet <smarcet@gmail.com>
|
|
61
63
|
SeongSoo Cho <nexusz99@gmail.com>
|
|
62
64
|
Stephen Finucane <sfinucan@redhat.com>
|
|
65
|
+
Stephen Finucane <stephenfin@redhat.com>
|
|
63
66
|
Stone <ronald.stone@windriver.com>
|
|
67
|
+
Takashi Kajinami <kajinamit@oss.nttdata.com>
|
|
64
68
|
Thierry Carrez <thierry@openstack.org>
|
|
65
69
|
Thomas Bechtold <tbechtold@suse.com>
|
|
66
70
|
Tony Breeds <tony@bakeyournoodle.com>
|
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
3.4.0
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* Bump minimum Sphinx version
|
|
8
|
+
* Resolve Sphinx 8.x warnings
|
|
9
|
+
* Make Sphinx a required dependency
|
|
10
|
+
* setup: Update Python classifiers
|
|
11
|
+
* pre-commit: Add ruff, ruff-format
|
|
12
|
+
* pre-commit: Bump dependencies
|
|
13
|
+
|
|
14
|
+
3.3.0
|
|
15
|
+
-----
|
|
16
|
+
|
|
17
|
+
* Replace deprecated perl-style regex
|
|
18
|
+
* Don't offer to show unmaintained versions
|
|
19
|
+
* Fix series selection and sorting
|
|
20
|
+
* Fix lack of the Yoga version in dropdown list
|
|
21
|
+
* zuul: Add tips job
|
|
22
|
+
|
|
4
23
|
3.2.0
|
|
5
24
|
-----
|
|
6
25
|
|
|
@@ -32,6 +51,7 @@ CHANGES
|
|
|
32
51
|
|
|
33
52
|
* Drop python3.6/3.7 support in testing runtime
|
|
34
53
|
* Fix broken link for Marketplace in header
|
|
54
|
+
* Updated nav links/texts
|
|
35
55
|
|
|
36
56
|
2.4.0
|
|
37
57
|
-----
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: openstackdocstheme
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: OpenStack Docs Theme
|
|
5
5
|
Home-page: https://docs.openstack.org/openstackdocstheme/latest/
|
|
6
6
|
Author: OpenStack
|
|
@@ -61,7 +61,9 @@ Classifier: Programming Language :: Python
|
|
|
61
61
|
Classifier: Programming Language :: Python :: 3
|
|
62
62
|
Classifier: Programming Language :: Python :: 3.8
|
|
63
63
|
Classifier: Programming Language :: Python :: 3.9
|
|
64
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
65
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
66
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
64
67
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
65
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
66
68
|
Classifier: Topic :: Documentation
|
|
67
69
|
Requires-Python: >=3.8
|
|
@@ -28,10 +28,7 @@
|
|
|
28
28
|
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
29
29
|
# ones.
|
|
30
30
|
|
|
31
|
-
extensions = [
|
|
32
|
-
'os_api_ref',
|
|
33
|
-
'openstackdocstheme'
|
|
34
|
-
]
|
|
31
|
+
extensions = ['os_api_ref', 'openstackdocstheme']
|
|
35
32
|
|
|
36
33
|
|
|
37
34
|
# The suffix of source filenames.
|
|
@@ -44,8 +41,8 @@ master_doc = 'index'
|
|
|
44
41
|
# 'security guide' or 'network guide'
|
|
45
42
|
# It's used by the "log-a-bug" button on each page
|
|
46
43
|
# and should ultimately be set automatically by the build process
|
|
47
|
-
project =
|
|
48
|
-
copyright =
|
|
44
|
+
project = 'Test API Reference'
|
|
45
|
+
copyright = '2018, OpenStack Contributors'
|
|
49
46
|
|
|
50
47
|
# The version info for the project you're documenting, acts as replacement for
|
|
51
48
|
# |version| and |release|, also used in various other places throughout the
|
|
@@ -84,6 +81,8 @@ html_theme = 'openstackdocs'
|
|
|
84
81
|
# variable, sidebar_dropdown, should be set to `api_ref`.
|
|
85
82
|
# Otherwise, the list of links for the User and Ops docs
|
|
86
83
|
# appear in the sidebar dropdown menu.
|
|
87
|
-
html_theme_options = {
|
|
88
|
-
|
|
89
|
-
|
|
84
|
+
html_theme_options = {
|
|
85
|
+
"sidebar_dropdown": "api_ref",
|
|
86
|
+
"display_badge": False,
|
|
87
|
+
"sidebar_mode": "toc",
|
|
88
|
+
}
|
|
@@ -1,7 +1,3 @@
|
|
|
1
|
-
# The order of packages is significant, because pip processes them in the order
|
|
2
|
-
# of appearance. Changing the order has an impact on the overall integration
|
|
3
|
-
# process, which may cause wedges in the gate later.
|
|
4
|
-
# Notes:
|
|
5
1
|
# reno needs openstackdocstheme which needs reno (cycle dep).
|
|
6
2
|
# os-api-ref needs openstackdocstheme which needs os-api-ref (cycle dep).
|
|
7
3
|
# Put them in here will make it clear that those are only needed for
|
|
@@ -35,7 +35,7 @@ source_suffix = '.rst'
|
|
|
35
35
|
master_doc = 'index'
|
|
36
36
|
|
|
37
37
|
# General information about the project.
|
|
38
|
-
copyright =
|
|
38
|
+
copyright = '2015-2018, OpenStack Contributors'
|
|
39
39
|
|
|
40
40
|
# List of patterns, relative to source directory, that match files and
|
|
41
41
|
# directories to ignore when looking for source files.
|
|
@@ -60,9 +60,7 @@ html_theme = 'openstackdocs'
|
|
|
60
60
|
# variable, sidebar_dropdown, should be set to `api_ref`.
|
|
61
61
|
# Otherwise, the list of links for the User and Ops docs
|
|
62
62
|
# appear in the sidebar dropdown menu.
|
|
63
|
-
html_theme_options = {
|
|
64
|
-
'show_other_versions': True
|
|
65
|
-
}
|
|
63
|
+
html_theme_options = {'show_other_versions': True}
|
|
66
64
|
|
|
67
65
|
# Add any paths that contain custom static files (such as style sheets) here,
|
|
68
66
|
# relative to this directory. They are copied after the builtin static files,
|
|
@@ -76,7 +74,11 @@ html_static_path = ['_static/css']
|
|
|
76
74
|
# (source start file, target name, title,
|
|
77
75
|
# author, documentclass [howto, manual, or own class]).
|
|
78
76
|
latex_documents = [
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
77
|
+
(
|
|
78
|
+
'index',
|
|
79
|
+
'doc-openstackdocstheme.tex',
|
|
80
|
+
'OpenStack Docs Theme Documentation',
|
|
81
|
+
'OpenStack Contributors',
|
|
82
|
+
'manual',
|
|
83
|
+
),
|
|
82
84
|
]
|
|
@@ -19,7 +19,6 @@ import textwrap
|
|
|
19
19
|
|
|
20
20
|
import dulwich.repo
|
|
21
21
|
from pbr import packaging
|
|
22
|
-
import sphinx
|
|
23
22
|
from sphinx.ext import extlinks
|
|
24
23
|
from sphinx.util import logging
|
|
25
24
|
|
|
@@ -49,6 +48,13 @@ def _has_stable_branches():
|
|
|
49
48
|
return False
|
|
50
49
|
|
|
51
50
|
|
|
51
|
+
def _ref_sort_key(ref):
|
|
52
|
+
# note(frickler): make sure to sort series like 2023.1 after zed
|
|
53
|
+
if ref.startswith("2"):
|
|
54
|
+
return "zzz" + ref
|
|
55
|
+
return ref
|
|
56
|
+
|
|
57
|
+
|
|
52
58
|
def _get_other_versions(app):
|
|
53
59
|
if not app.config.html_theme_options.get('show_other_versions', False):
|
|
54
60
|
return []
|
|
@@ -62,24 +68,28 @@ def _get_other_versions(app):
|
|
|
62
68
|
refs = repo.get_refs()
|
|
63
69
|
for ref in refs.keys():
|
|
64
70
|
ref = ref.decode('utf-8')
|
|
65
|
-
if ref.startswith('refs/remotes/origin/stable')
|
|
71
|
+
if ref.startswith('refs/remotes/origin/stable') or ref.startswith(
|
|
72
|
+
'refs/remotes/origin/unmaintained'
|
|
73
|
+
):
|
|
66
74
|
series = ref.rpartition('/')[-1]
|
|
67
75
|
all_series.append(series)
|
|
68
76
|
elif ref.startswith('refs/tags/') and ref.endswith('-eol'):
|
|
69
77
|
series = ref.rpartition('/')[-1][:-4]
|
|
70
78
|
all_series.append(series)
|
|
71
|
-
all_series
|
|
79
|
+
all_series = list(set(all_series))
|
|
80
|
+
all_series.sort(key=_ref_sort_key)
|
|
72
81
|
|
|
73
|
-
# NOTE(
|
|
74
|
-
# assume that the earliest version we
|
|
75
|
-
#
|
|
82
|
+
# NOTE(frickler): Since older versions are now unmaintained,
|
|
83
|
+
# assume that the earliest version we want to link to is for
|
|
84
|
+
# zed. Projects that have older docs online can set the option
|
|
76
85
|
# to indicate another start point. Projects that come later should
|
|
77
86
|
# automatically include everything they actually have available
|
|
78
87
|
# because the start point is not present in the list.
|
|
79
88
|
earliest_desired = app.config.html_theme_options.get(
|
|
80
|
-
'earliest_published_series', '
|
|
89
|
+
'earliest_published_series', 'zed'
|
|
90
|
+
)
|
|
81
91
|
if earliest_desired and earliest_desired in all_series:
|
|
82
|
-
interesting_series = all_series[all_series.index(earliest_desired):]
|
|
92
|
+
interesting_series = all_series[all_series.index(earliest_desired) :]
|
|
83
93
|
else:
|
|
84
94
|
interesting_series = all_series
|
|
85
95
|
|
|
@@ -118,7 +128,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
118
128
|
"[openstackdocstheme] "
|
|
119
129
|
"the 'repository_name' config option has been deprecated and "
|
|
120
130
|
"replaced by the 'openstackdocs_repo_name' option; support "
|
|
121
|
-
"for the former will be dropped in a future release"
|
|
131
|
+
"for the former will be dropped in a future release"
|
|
132
|
+
)
|
|
122
133
|
app.config.openstackdocs_repo_name = app.config.repository_name
|
|
123
134
|
|
|
124
135
|
if app.config.use_storyboard is not None:
|
|
@@ -126,7 +137,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
126
137
|
"[openstackdocstheme] "
|
|
127
138
|
"the 'use_storyboard' config option has been deprecated and "
|
|
128
139
|
"replaced by the 'openstackdocs_use_storyboard' option; "
|
|
129
|
-
"support for the former will be dropped in a future release"
|
|
140
|
+
"support for the former will be dropped in a future release"
|
|
141
|
+
)
|
|
130
142
|
app.config.openstackdocs_use_storyboard = app.config.use_storyboard
|
|
131
143
|
|
|
132
144
|
if app.config.bug_project is not None:
|
|
@@ -134,7 +146,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
134
146
|
"[openstackdocstheme] "
|
|
135
147
|
"the 'bug_project' config option has been deprecated and "
|
|
136
148
|
"replaced by the 'openstackdocs_bug_project' option; support "
|
|
137
|
-
"for the former will be dropped in a future release"
|
|
149
|
+
"for the former will be dropped in a future release"
|
|
150
|
+
)
|
|
138
151
|
app.config.openstackdocs_bug_project = app.config.bug_project
|
|
139
152
|
|
|
140
153
|
if app.config.bug_tag is not None:
|
|
@@ -142,14 +155,19 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
142
155
|
"[openstackdocstheme] "
|
|
143
156
|
"the 'bug_tag' config option has been deprecated and "
|
|
144
157
|
"replaced by the 'openstackdocs_bug_tag' option; support "
|
|
145
|
-
"for the former will be dropped in a future release"
|
|
158
|
+
"for the former will be dropped in a future release"
|
|
159
|
+
)
|
|
146
160
|
app.config.openstackdocs_bug_project = app.config.bug_project
|
|
147
161
|
|
|
148
162
|
_html_context_data = {}
|
|
149
163
|
try:
|
|
150
|
-
_html_context_data['gitsha'] =
|
|
151
|
-
|
|
152
|
-
|
|
164
|
+
_html_context_data['gitsha'] = (
|
|
165
|
+
subprocess.check_output(
|
|
166
|
+
['git', 'rev-parse', 'HEAD'],
|
|
167
|
+
)
|
|
168
|
+
.decode('utf-8')
|
|
169
|
+
.strip()
|
|
170
|
+
)
|
|
153
171
|
except Exception:
|
|
154
172
|
logger.warning(
|
|
155
173
|
'[openstackdocstheme] cannot get gitsha from git repository'
|
|
@@ -163,7 +181,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
163
181
|
if repo_name and doc_path:
|
|
164
182
|
_html_context_data['giturl'] = _giturl.format(repo_name, doc_path)
|
|
165
183
|
logger.debug(
|
|
166
|
-
'[openstackdocstheme] giturl %r',
|
|
184
|
+
'[openstackdocstheme] giturl %r',
|
|
185
|
+
_html_context_data['giturl'],
|
|
167
186
|
)
|
|
168
187
|
|
|
169
188
|
use_storyboard = app.config.openstackdocs_use_storyboard
|
|
@@ -172,7 +191,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
172
191
|
bug_project = app.config.openstackdocs_bug_project
|
|
173
192
|
if bug_project:
|
|
174
193
|
logger.debug(
|
|
175
|
-
'[openstackdocstheme] bug_project (from user) %r',
|
|
194
|
+
'[openstackdocstheme] bug_project (from user) %r',
|
|
195
|
+
bug_project,
|
|
176
196
|
)
|
|
177
197
|
elif use_storyboard:
|
|
178
198
|
bug_project = repo_name
|
|
@@ -200,12 +220,14 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
200
220
|
|
|
201
221
|
_html_context_data['pdf_link'] = app.config.openstackdocs_pdf_link
|
|
202
222
|
logger.debug(
|
|
203
|
-
'[openstackdocstheme] pdf_link %r',
|
|
223
|
+
'[openstackdocstheme] pdf_link %r',
|
|
224
|
+
_html_context_data['pdf_link'],
|
|
204
225
|
)
|
|
205
226
|
|
|
206
227
|
if app.config.openstackdocs_pdf_filename:
|
|
207
228
|
_html_context_data['pdf_filename'] = (
|
|
208
|
-
app.config.openstackdocs_pdf_filename
|
|
229
|
+
app.config.openstackdocs_pdf_filename
|
|
230
|
+
)
|
|
209
231
|
else:
|
|
210
232
|
short_repo_name = repo_name.split('/')[-1]
|
|
211
233
|
_html_context_data['pdf_filename'] = f'doc-{short_repo_name}.pdf'
|
|
@@ -218,7 +240,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
218
240
|
|
|
219
241
|
_html_context_data['series'] = _get_series_name()
|
|
220
242
|
logger.debug(
|
|
221
|
-
'[openstackdocstheme] series %r',
|
|
243
|
+
'[openstackdocstheme] series %r',
|
|
244
|
+
_html_context_data['series'],
|
|
222
245
|
)
|
|
223
246
|
|
|
224
247
|
# Do not show the badge in these cases:
|
|
@@ -253,7 +276,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
|
|
|
253
276
|
context.update(_html_context_data)
|
|
254
277
|
context['other_versions'] = _get_other_versions(app)
|
|
255
278
|
logger.debug(
|
|
256
|
-
'[openstackdocstheme] other_versions %s',
|
|
279
|
+
'[openstackdocstheme] other_versions %s',
|
|
280
|
+
context['other_versions'],
|
|
257
281
|
)
|
|
258
282
|
|
|
259
283
|
|
|
@@ -262,9 +286,13 @@ def _get_series_name():
|
|
|
262
286
|
global _series
|
|
263
287
|
if _series is None:
|
|
264
288
|
try:
|
|
265
|
-
git_root_dir =
|
|
266
|
-
|
|
267
|
-
|
|
289
|
+
git_root_dir = (
|
|
290
|
+
subprocess.check_output(
|
|
291
|
+
['git', 'rev-parse', '--show-toplevel'],
|
|
292
|
+
)
|
|
293
|
+
.decode('utf-8')
|
|
294
|
+
.strip()
|
|
295
|
+
)
|
|
268
296
|
except Exception:
|
|
269
297
|
logger.info(
|
|
270
298
|
'[openstackdocstheme] cannot find git top directory, '
|
|
@@ -292,7 +320,8 @@ def _setup_link_roles(app):
|
|
|
292
320
|
series = _get_series_name()
|
|
293
321
|
for project_name in app.config.openstackdocs_projects:
|
|
294
322
|
url = 'https://docs.openstack.org/{}/{}/%s'.format(
|
|
295
|
-
project_name, series
|
|
323
|
+
project_name, series
|
|
324
|
+
)
|
|
296
325
|
role_name = '{}-doc'.format(project_name)
|
|
297
326
|
logger.debug(
|
|
298
327
|
'[openstackdocstheme] adding role %s to link to %s',
|
|
@@ -300,10 +329,7 @@ def _setup_link_roles(app):
|
|
|
300
329
|
url,
|
|
301
330
|
)
|
|
302
331
|
|
|
303
|
-
|
|
304
|
-
role = extlinks.make_link_role(project_name, url, project_name)
|
|
305
|
-
else:
|
|
306
|
-
role = extlinks.make_link_role(url, project_name)
|
|
332
|
+
role = extlinks.make_link_role(project_name, url, project_name)
|
|
307
333
|
|
|
308
334
|
app.add_role(role_name, role)
|
|
309
335
|
|
|
@@ -318,8 +344,9 @@ def _find_setup_cfg(srcdir):
|
|
|
318
344
|
# an sdist or wheel? Perhaps we should check for 'PKG-INFO' or
|
|
319
345
|
# 'METADATA' files, a la 'pbr.packaging._get_version_from_pkg_metadata'
|
|
320
346
|
for path in [
|
|
321
|
-
|
|
322
|
-
|
|
347
|
+
os.path.join(srcdir, os.pardir, 'setup.cfg'),
|
|
348
|
+
os.path.join(srcdir, os.pardir, os.pardir, 'setup.cfg'),
|
|
349
|
+
]:
|
|
323
350
|
if os.path.exists(path):
|
|
324
351
|
return path
|
|
325
352
|
|
|
@@ -365,7 +392,6 @@ def _get_project_name(srcdir):
|
|
|
365
392
|
|
|
366
393
|
|
|
367
394
|
def _config_inited(app, config):
|
|
368
|
-
|
|
369
395
|
if config.openstack_projects is not None:
|
|
370
396
|
logger.info(
|
|
371
397
|
"[openstackdocstheme] "
|
|
@@ -389,7 +415,8 @@ def _config_inited(app, config):
|
|
|
389
415
|
"overriding configured project name (%s) with name extracted "
|
|
390
416
|
"from the package (%s); you can disable this behavior with "
|
|
391
417
|
"the 'openstackdocs_auto_name' option",
|
|
392
|
-
config.project,
|
|
418
|
+
config.project,
|
|
419
|
+
project_name,
|
|
393
420
|
)
|
|
394
421
|
|
|
395
422
|
if project_name:
|
|
@@ -440,7 +467,6 @@ def _config_inited(app, config):
|
|
|
440
467
|
|
|
441
468
|
|
|
442
469
|
def _builder_inited(app):
|
|
443
|
-
|
|
444
470
|
theme_dir = paths.get_html_theme_path()
|
|
445
471
|
logger.info('[openstackdocstheme] using theme from %s', theme_dir)
|
|
446
472
|
|
|
@@ -16,11 +16,11 @@ import os.path
|
|
|
16
16
|
import subprocess
|
|
17
17
|
import time
|
|
18
18
|
|
|
19
|
+
import sphinx
|
|
19
20
|
from sphinx.util import logging
|
|
20
21
|
|
|
21
22
|
from . import version
|
|
22
23
|
|
|
23
|
-
|
|
24
24
|
LOG = logging.getLogger(__name__)
|
|
25
25
|
|
|
26
26
|
_timeint = int(os.environ.get('SOURCE_DATE_EPOCH', time.time()))
|
|
@@ -31,13 +31,21 @@ def _get_last_updated_file(src_file):
|
|
|
31
31
|
if not os.path.exists(src_file):
|
|
32
32
|
return None
|
|
33
33
|
try:
|
|
34
|
-
last_updated_t =
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
34
|
+
last_updated_t = (
|
|
35
|
+
subprocess.check_output(
|
|
36
|
+
[
|
|
37
|
+
'git',
|
|
38
|
+
'log',
|
|
39
|
+
'-n1',
|
|
40
|
+
'--format=%ad',
|
|
41
|
+
'--date=format:%Y-%m-%d %H:%M:%S',
|
|
42
|
+
'--',
|
|
43
|
+
src_file,
|
|
44
|
+
]
|
|
45
|
+
)
|
|
46
|
+
.decode('utf-8')
|
|
47
|
+
.strip()
|
|
48
|
+
)
|
|
41
49
|
# NOTE: we catch any exception here (instead of
|
|
42
50
|
# subprocess.CalledProcessError and OSError) because some projects (eg.
|
|
43
51
|
# neutron) do import eventlet in docs/source/conf.py which will patch
|
|
@@ -45,17 +53,22 @@ def _get_last_updated_file(src_file):
|
|
|
45
53
|
except Exception as err:
|
|
46
54
|
LOG.info(
|
|
47
55
|
'[openstackdocstheme] Could not get modification time of %s: %s',
|
|
48
|
-
src_file,
|
|
56
|
+
src_file,
|
|
57
|
+
err,
|
|
58
|
+
)
|
|
49
59
|
else:
|
|
50
60
|
if last_updated_t:
|
|
51
61
|
try:
|
|
52
|
-
return datetime.datetime.strptime(
|
|
53
|
-
|
|
62
|
+
return datetime.datetime.strptime(
|
|
63
|
+
last_updated_t, '%Y-%m-%d %H:%M:%S'
|
|
64
|
+
)
|
|
54
65
|
except ValueError:
|
|
55
66
|
LOG.info(
|
|
56
67
|
'[openstackdocstheme] '
|
|
57
68
|
'Could not parse modification time of %s: %r',
|
|
58
|
-
src_file,
|
|
69
|
+
src_file,
|
|
70
|
+
last_updated_t,
|
|
71
|
+
)
|
|
59
72
|
return None
|
|
60
73
|
|
|
61
74
|
|
|
@@ -67,7 +80,12 @@ def _get_last_updated(app, pagename):
|
|
|
67
80
|
|
|
68
81
|
# Strip the prefix from the filename so the git command recognizes
|
|
69
82
|
# the file as part of the current repository.
|
|
70
|
-
|
|
83
|
+
if sphinx.version_info >= (7, 0):
|
|
84
|
+
src_file = str(full_src_file.relative_to(app.builder.env.srcdir))
|
|
85
|
+
else: # Sphinx < 7.0
|
|
86
|
+
src_file = full_src_file[len(str(app.builder.env.srcdir)) :].lstrip(
|
|
87
|
+
'/'
|
|
88
|
+
)
|
|
71
89
|
candidates.append(src_file)
|
|
72
90
|
|
|
73
91
|
if not os.path.exists(src_file):
|
|
@@ -82,7 +100,9 @@ def _get_last_updated(app, pagename):
|
|
|
82
100
|
if last_updated:
|
|
83
101
|
LOG.debug(
|
|
84
102
|
'[openstackdocstheme] Last updated for %s is %s',
|
|
85
|
-
pagename,
|
|
103
|
+
pagename,
|
|
104
|
+
last_updated,
|
|
105
|
+
)
|
|
86
106
|
return last_updated
|
|
87
107
|
|
|
88
108
|
if pagename not in ('genindex', 'search'):
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
</ul>
|
|
50
50
|
</li>
|
|
51
51
|
<li> <!-- Events -->
|
|
52
|
-
<a href="
|
|
52
|
+
<a href="https://openinfra.dev/summit" class="drop" id="dropdownMenuEvents">Events <i class="fa fa-caret-down"></i></a>
|
|
53
53
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenuEvents">
|
|
54
|
-
<li role="presentation"><a role="menuitem" tabindex="-1" href="
|
|
54
|
+
<li role="presentation"><a role="menuitem" tabindex="-1" href="https://openinfra.dev/summit">OpenInfra Summit</a></li>
|
|
55
55
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="{{osf_base_url}}/ptg/">Project Teams Gathering</a></li>
|
|
56
56
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="{{osf_base_url}}/events/opendev-2020/">OpenDev</a></li>
|
|
57
57
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="{{osf_base_url}}/events/community-events/">Community Events</a></li>
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="http://superuser.openstack.org">Superuser Magazine</a></li>
|
|
74
74
|
<li role="presentation" class="divider"></li>
|
|
75
75
|
<li role="presentation"><a role="menuitem" tabindex="-1" href="{{osf_base_url}}/community/supporting-organizations/">OpenInfra Foundation Supporting Organizations</a></li>
|
|
76
|
-
<li role="presentation"><a role="menuitem" tabindex="-1" href="https://openinfra.dev">
|
|
76
|
+
<li role="presentation"><a role="menuitem" tabindex="-1" href="https://openinfra.dev">OpenInfra Foundation</a></li>
|
|
77
77
|
</ul>
|
|
78
78
|
</li>
|
|
79
79
|
<li><!-- Marketplace -->
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 1.2
|
|
2
2
|
Name: openstackdocstheme
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.0
|
|
4
4
|
Summary: OpenStack Docs Theme
|
|
5
5
|
Home-page: https://docs.openstack.org/openstackdocstheme/latest/
|
|
6
6
|
Author: OpenStack
|
|
@@ -61,7 +61,9 @@ Classifier: Programming Language :: Python
|
|
|
61
61
|
Classifier: Programming Language :: Python :: 3
|
|
62
62
|
Classifier: Programming Language :: Python :: 3.8
|
|
63
63
|
Classifier: Programming Language :: Python :: 3.9
|
|
64
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
65
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
66
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
64
67
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
65
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
66
68
|
Classifier: Topic :: Documentation
|
|
67
69
|
Requires-Python: >=3.8
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"git_version": "052ed8e", "is_release": true}
|