openstackdocstheme 3.3.0__tar.gz → 3.4.1__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.
Files changed (190) hide show
  1. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/.pre-commit-config.yaml +12 -19
  2. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/AUTHORS +2 -0
  3. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/ChangeLog +15 -0
  4. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/PKG-INFO +4 -2
  5. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/api-ref/source/conf.py +8 -9
  6. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/requirements.txt +0 -4
  7. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/conf.py +9 -7
  8. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/ext.py +48 -31
  9. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/page_context.py +36 -14
  10. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme.egg-info/PKG-INFO +4 -2
  11. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme.egg-info/SOURCES.txt +1 -1
  12. openstackdocstheme-3.4.1/openstackdocstheme.egg-info/pbr.json +1 -0
  13. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme.egg-info/requires.txt +1 -0
  14. openstackdocstheme-3.4.1/pyproject.toml +6 -0
  15. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/source/conf.py +25 -15
  16. openstackdocstheme-3.4.1/requirements.txt +3 -0
  17. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/setup.cfg +3 -1
  18. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/setup.py +1 -3
  19. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/tox.ini +14 -10
  20. openstackdocstheme-3.3.0/openstackdocstheme.egg-info/pbr.json +0 -1
  21. openstackdocstheme-3.3.0/requirements.txt +0 -6
  22. openstackdocstheme-3.3.0/test-requirements.txt +0 -10
  23. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/.zuul.yaml +0 -0
  24. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/CONTRIBUTING.rst +0 -0
  25. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/HACKING.rst +0 -0
  26. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/LICENSE +0 -0
  27. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/Makefile +0 -0
  28. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/README.rst +0 -0
  29. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/api-ref/source/_static/css/README.md +0 -0
  30. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/api-ref/source/image.inc +0 -0
  31. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/api-ref/source/index.rst +0 -0
  32. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/api-ref/source/parameters.yaml +0 -0
  33. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/api-ref/source/service.inc +0 -0
  34. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/api-ref/source/status.yaml +0 -0
  35. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/api-ref/source/update-server-resp.json +0 -0
  36. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/bin/docstheme-build-pdf +0 -0
  37. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/bin/docstheme-build-translated.sh +0 -0
  38. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/bin/docstheme-lang-display-name.py +0 -0
  39. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/bindep.txt +0 -0
  40. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/_static/css/.placeholder +0 -0
  41. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/configure_access_and_security_for_instances.rst +0 -0
  42. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/create_and_manage_databases.rst +0 -0
  43. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/create_and_manage_networks.rst +0 -0
  44. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/dashboard_demo.rst +0 -0
  45. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/figures/dashboard-project-tab.png +0 -0
  46. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/figures/dashboard_admin_project_tab.png +0 -0
  47. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/figures/doc-logo-fox.jpg +0 -0
  48. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/index.rst +0 -0
  49. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/launch-instance.rst +0 -0
  50. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/demo/section_dashboard_access_and_security.rst +0 -0
  51. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/doc/source/index.rst +0 -0
  52. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/index.rst +0 -0
  53. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/__init__.py +0 -0
  54. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/paths.py +0 -0
  55. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/css.html +0 -0
  56. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/footer.html +0 -0
  57. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/header.html +0 -0
  58. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/layout.html +0 -0
  59. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/license_cc.html +0 -0
  60. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/localtoc.html +0 -0
  61. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/os_search.html +0 -0
  62. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/os_search_install.html +0 -0
  63. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/os_search_mobile.html +0 -0
  64. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/script_footer.html +0 -0
  65. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/script_search.html +0 -0
  66. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/search.html +0 -0
  67. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/sidebartoc.html +0 -0
  68. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/sidebartoc_menu.html +0 -0
  69. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/sidebartoc_menu_apiref.html +0 -0
  70. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.css +0 -0
  71. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/css/bootstrap.min.css +0 -0
  72. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/css/combined.css +0 -0
  73. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/css/font-awesome.css +0 -0
  74. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/css/font-awesome.min.css +0 -0
  75. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/css/search.css +0 -0
  76. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/favicon.ico +0 -0
  77. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/.gitkeep +0 -0
  78. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/FontAwesome.otf +0 -0
  79. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.eot +0 -0
  80. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.svg +0 -0
  81. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.ttf +0 -0
  82. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.woff +0 -0
  83. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/fontawesome-webfont.woff2 +0 -0
  84. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.eot +0 -0
  85. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.svg +0 -0
  86. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.ttf +0 -0
  87. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.woff +0 -0
  88. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/fonts/glyphicons-halflings-regular.woff2 +0 -0
  89. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/docs/license.png +0 -0
  90. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser1.png +0 -0
  91. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser2.png +0 -0
  92. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser3.png +0 -0
  93. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/docs/superuser4.png +0 -0
  94. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/footer-facebook-hover.png +0 -0
  95. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/footer-facebook.png +0 -0
  96. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/footer-linkedin-hover.png +0 -0
  97. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/footer-linkedin.png +0 -0
  98. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/footer-twitter-hover.png +0 -0
  99. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/footer-twitter.png +0 -0
  100. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/footer-youtube-hover.png +0 -0
  101. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/footer-youtube.png +0 -0
  102. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/loading.gif +0 -0
  103. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/logo-full.png +0 -0
  104. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/logo-full.svg +0 -0
  105. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/logo-vert.png +0 -0
  106. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/logo-vert.svg +0 -0
  107. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-full.png +0 -0
  108. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-full.svg +0 -0
  109. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-vert.png +0 -0
  110. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/openstack-logo-vert.svg +0 -0
  111. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/images/search-icon.png +0 -0
  112. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.js +0 -0
  113. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/js/bootstrap.min.js +0 -0
  114. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/js/docs.js +0 -0
  115. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/js/jquery-3.2.1.js +0 -0
  116. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/js/jquery-3.2.1.min.js +0 -0
  117. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/static/js/navigation.js +0 -0
  118. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/theme.conf +0 -0
  119. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs/titlerow.html +0 -0
  120. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs_pdf/logo-full.png +0 -0
  121. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/openstackdocs_pdf/pdftheme.sty +0 -0
  122. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/footer.html +0 -0
  123. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/header.html +0 -0
  124. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/sidebartoc_menu.html +0 -0
  125. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/sidebartoc_menu_apiref.html +0 -0
  126. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/css/combined.css +0 -0
  127. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Horizontal_2color.png +0 -0
  128. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Horizontal_2color.svg +0 -0
  129. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Stacked_2color.png +0 -0
  130. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/images/StarlingX_Logo_RGB_Stacked_2color.svg +0 -0
  131. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/images/logo-full.png +0 -0
  132. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/images/logo-full.svg +0 -0
  133. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/images/logo-vert.png +0 -0
  134. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/static/images/logo-vert.svg +0 -0
  135. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/stx_search.html +0 -0
  136. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/stx_search_install.html +0 -0
  137. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/stx_search_mobile.html +0 -0
  138. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/theme.conf +0 -0
  139. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs/titlerow.html +0 -0
  140. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs_pdf/logo-full.png +0 -0
  141. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs_pdf/logo-full.svg +0 -0
  142. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/theme/starlingxdocs_pdf/pdftheme.sty +0 -0
  143. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme/version.py +0 -0
  144. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme.egg-info/dependency_links.txt +0 -0
  145. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme.egg-info/not-zip-safe +0 -0
  146. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/openstackdocstheme.egg-info/top_level.txt +0 -0
  147. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/add-openstackdocs_auto_name-option-efbd1cf9a171f079.yaml +0 -0
  148. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/add-openstackdocs_auto_version-option-fd03f20373eede39.yaml +0 -0
  149. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/add-reno-8da9bd3ccb7bbeab.yaml +0 -0
  150. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/add-starlingxdocs-10a33318f8630486.yaml +0 -0
  151. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/add-translations-9238b0f56b677a6b.yaml +0 -0
  152. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/allow-disabling-toc-in-body-d98d3a6e633fa28e.yaml +0 -0
  153. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/autoconfigure-settings-7083fdeeb121da89.yaml +0 -0
  154. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/badge-6f8713da36a7e570.yaml +0 -0
  155. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/bug-project-e9ff50f6149d2be1.yaml +0 -0
  156. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/bug-title-fdbefea0408e2cbf.yaml +0 -0
  157. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/bug_project-d26160cfe5324694.yaml +0 -0
  158. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/css-cleanup-7fb30a2d1208bb4d.yaml +0 -0
  159. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/custom-bug-link-ec64bdf9ce357d16.yaml +0 -0
  160. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/disable_analytics-45d98d6fab71d2b1.yaml +0 -0
  161. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/do-not-display-local-toc-title-without-subtitles-4e1fc48705d66289.yaml +0 -0
  162. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/doc-bug-template-7234e7f00e0ff599.yaml +0 -0
  163. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/double-backticks-not-red-5ce6dbc828221929.yaml +0 -0
  164. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/drop-python-2-7-73d3113c69d724d6.yaml +0 -0
  165. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/get_openstack_logo_path-6cdb6538bc5893c3.yaml +0 -0
  166. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/last-updated-via-git-245fb14be3770a19.yaml +0 -0
  167. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/latex_engine-cc35cb3a4ad2fa00.yaml +0 -0
  168. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/local-project-search-e6f00a84f2eed0a6.yaml +0 -0
  169. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/lp1516819-b4bb7b0f10004cef.yaml +0 -0
  170. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/merge-latex-options-242f10c932f0e6af.yaml +0 -0
  171. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/norelease-ccd7722c078a73a2.yaml +0 -0
  172. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/opendev-5c528b2b4c737d59.yaml +0 -0
  173. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/pdf-version-56c223128dff8357.yaml +0 -0
  174. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/pdf_link-c6b0ed36dd12b0ef.yaml +0 -0
  175. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/renamed-opts-bbf5d1390ed6ba71.yaml +0 -0
  176. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/side-bar-config-d7e66388e252cadf.yaml +0 -0
  177. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/sidebar-top-page-link-252532ddf42a5acf.yaml +0 -0
  178. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/sidebar_dropdown_apiref-993b4dba4c0369f6.yaml +0 -0
  179. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/sidebarlinks-db0a8463f32ab95d.yaml +0 -0
  180. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/source_date_epoch-1078730ca0b29a4e.yaml +0 -0
  181. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/storyboard-5f67da8941aec6ae.yaml +0 -0
  182. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/storyboard-string-643a47e957b64557.yaml +0 -0
  183. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/storyboard-url-cee60d9449ec2980.yaml +0 -0
  184. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/strip-html-tags-from-navigation-titles-929c92a339413015.yaml +0 -0
  185. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/notes/version-dropdown-1aa39974f524dd75.yaml +0 -0
  186. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/source/_static/.placeholder +0 -0
  187. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/source/_templates/.placeholder +0 -0
  188. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/source/current.rst +0 -0
  189. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/releasenotes/source/historic.rst +0 -0
  190. {openstackdocstheme-3.3.0 → openstackdocstheme-3.4.1}/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: 9136088a246768144165fcc3ecc3d31bb686920a # v3.3.0
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: local
21
+ - repo: https://github.com/astral-sh/ruff-pre-commit
22
+ rev: v0.6.2
31
23
  hooks:
32
- - id: flake8
33
- name: flake8
34
- additional_dependencies:
35
- - hacking>=3.0.1,<3.1.0
36
- language: python
37
- entry: flake8
38
- files: '^.*\.py$'
39
- exclude: '^(doc|releasenotes|tools)/.*$'
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)/.*$'
@@ -59,9 +59,11 @@ Scott Rifenbark <srifenbark@gmail.com>
59
59
  Sean Dague <sean@dague.net>
60
60
  Sean M. Collins <sean@coreitpro.com>
61
61
  Sean McGinnis <sean.mcginnis@gmail.com>
62
+ Sean Mooney <work@seanmooney.info>
62
63
  Sebastian Marcet <smarcet@gmail.com>
63
64
  SeongSoo Cho <nexusz99@gmail.com>
64
65
  Stephen Finucane <sfinucan@redhat.com>
66
+ Stephen Finucane <stephenfin@redhat.com>
65
67
  Stone <ronald.stone@windriver.com>
66
68
  Takashi Kajinami <kajinamit@oss.nttdata.com>
67
69
  Thierry Carrez <thierry@openstack.org>
@@ -1,6 +1,21 @@
1
1
  CHANGES
2
2
  =======
3
3
 
4
+ 3.4.1
5
+ -----
6
+
7
+ * fix support for py39
8
+
9
+ 3.4.0
10
+ -----
11
+
12
+ * Bump minimum Sphinx version
13
+ * Resolve Sphinx 8.x warnings
14
+ * Make Sphinx a required dependency
15
+ * setup: Update Python classifiers
16
+ * pre-commit: Add ruff, ruff-format
17
+ * pre-commit: Bump dependencies
18
+
4
19
  3.3.0
5
20
  -----
6
21
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: openstackdocstheme
3
- Version: 3.3.0
3
+ Version: 3.4.1
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 = u'Test API Reference'
48
- copyright = u'2018, OpenStack Contributors'
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 = {"sidebar_dropdown": "api_ref",
88
- "display_badge": False,
89
- "sidebar_mode": "toc"}
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 = u'2015-2018, OpenStack Contributors'
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
- ('index', 'doc-openstackdocstheme.tex',
80
- u'OpenStack Docs Theme Documentation',
81
- u'OpenStack Contributors', 'manual'),
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
 
@@ -69,8 +68,9 @@ def _get_other_versions(app):
69
68
  refs = repo.get_refs()
70
69
  for ref in refs.keys():
71
70
  ref = ref.decode('utf-8')
72
- if (ref.startswith('refs/remotes/origin/stable') or
73
- ref.startswith('refs/remotes/origin/unmaintained')):
71
+ if ref.startswith('refs/remotes/origin/stable') or ref.startswith(
72
+ 'refs/remotes/origin/unmaintained'
73
+ ):
74
74
  series = ref.rpartition('/')[-1]
75
75
  all_series.append(series)
76
76
  elif ref.startswith('refs/tags/') and ref.endswith('-eol'):
@@ -86,9 +86,10 @@ def _get_other_versions(app):
86
86
  # automatically include everything they actually have available
87
87
  # because the start point is not present in the list.
88
88
  earliest_desired = app.config.html_theme_options.get(
89
- 'earliest_published_series', 'zed')
89
+ 'earliest_published_series', 'zed'
90
+ )
90
91
  if earliest_desired and earliest_desired in all_series:
91
- interesting_series = all_series[all_series.index(earliest_desired):]
92
+ interesting_series = all_series[all_series.index(earliest_desired) :]
92
93
  else:
93
94
  interesting_series = all_series
94
95
 
@@ -127,7 +128,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
127
128
  "[openstackdocstheme] "
128
129
  "the 'repository_name' config option has been deprecated and "
129
130
  "replaced by the 'openstackdocs_repo_name' option; support "
130
- "for the former will be dropped in a future release")
131
+ "for the former will be dropped in a future release"
132
+ )
131
133
  app.config.openstackdocs_repo_name = app.config.repository_name
132
134
 
133
135
  if app.config.use_storyboard is not None:
@@ -135,7 +137,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
135
137
  "[openstackdocstheme] "
136
138
  "the 'use_storyboard' config option has been deprecated and "
137
139
  "replaced by the 'openstackdocs_use_storyboard' option; "
138
- "support for the former will be dropped in a future release")
140
+ "support for the former will be dropped in a future release"
141
+ )
139
142
  app.config.openstackdocs_use_storyboard = app.config.use_storyboard
140
143
 
141
144
  if app.config.bug_project is not None:
@@ -143,7 +146,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
143
146
  "[openstackdocstheme] "
144
147
  "the 'bug_project' config option has been deprecated and "
145
148
  "replaced by the 'openstackdocs_bug_project' option; support "
146
- "for the former will be dropped in a future release")
149
+ "for the former will be dropped in a future release"
150
+ )
147
151
  app.config.openstackdocs_bug_project = app.config.bug_project
148
152
 
149
153
  if app.config.bug_tag is not None:
@@ -151,14 +155,19 @@ def _html_page_context(app, pagename, templatename, context, doctree):
151
155
  "[openstackdocstheme] "
152
156
  "the 'bug_tag' config option has been deprecated and "
153
157
  "replaced by the 'openstackdocs_bug_tag' option; support "
154
- "for the former will be dropped in a future release")
158
+ "for the former will be dropped in a future release"
159
+ )
155
160
  app.config.openstackdocs_bug_project = app.config.bug_project
156
161
 
157
162
  _html_context_data = {}
158
163
  try:
159
- _html_context_data['gitsha'] = subprocess.check_output(
160
- ['git', 'rev-parse', 'HEAD'],
161
- ).decode('utf-8').strip()
164
+ _html_context_data['gitsha'] = (
165
+ subprocess.check_output(
166
+ ['git', 'rev-parse', 'HEAD'],
167
+ )
168
+ .decode('utf-8')
169
+ .strip()
170
+ )
162
171
  except Exception:
163
172
  logger.warning(
164
173
  '[openstackdocstheme] cannot get gitsha from git repository'
@@ -172,7 +181,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
172
181
  if repo_name and doc_path:
173
182
  _html_context_data['giturl'] = _giturl.format(repo_name, doc_path)
174
183
  logger.debug(
175
- '[openstackdocstheme] giturl %r', _html_context_data['giturl'],
184
+ '[openstackdocstheme] giturl %r',
185
+ _html_context_data['giturl'],
176
186
  )
177
187
 
178
188
  use_storyboard = app.config.openstackdocs_use_storyboard
@@ -181,7 +191,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
181
191
  bug_project = app.config.openstackdocs_bug_project
182
192
  if bug_project:
183
193
  logger.debug(
184
- '[openstackdocstheme] bug_project (from user) %r', bug_project,
194
+ '[openstackdocstheme] bug_project (from user) %r',
195
+ bug_project,
185
196
  )
186
197
  elif use_storyboard:
187
198
  bug_project = repo_name
@@ -209,12 +220,14 @@ def _html_page_context(app, pagename, templatename, context, doctree):
209
220
 
210
221
  _html_context_data['pdf_link'] = app.config.openstackdocs_pdf_link
211
222
  logger.debug(
212
- '[openstackdocstheme] pdf_link %r', _html_context_data['pdf_link'],
223
+ '[openstackdocstheme] pdf_link %r',
224
+ _html_context_data['pdf_link'],
213
225
  )
214
226
 
215
227
  if app.config.openstackdocs_pdf_filename:
216
228
  _html_context_data['pdf_filename'] = (
217
- app.config.openstackdocs_pdf_filename)
229
+ app.config.openstackdocs_pdf_filename
230
+ )
218
231
  else:
219
232
  short_repo_name = repo_name.split('/')[-1]
220
233
  _html_context_data['pdf_filename'] = f'doc-{short_repo_name}.pdf'
@@ -227,7 +240,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
227
240
 
228
241
  _html_context_data['series'] = _get_series_name()
229
242
  logger.debug(
230
- '[openstackdocstheme] series %r', _html_context_data['series'],
243
+ '[openstackdocstheme] series %r',
244
+ _html_context_data['series'],
231
245
  )
232
246
 
233
247
  # Do not show the badge in these cases:
@@ -262,7 +276,8 @@ def _html_page_context(app, pagename, templatename, context, doctree):
262
276
  context.update(_html_context_data)
263
277
  context['other_versions'] = _get_other_versions(app)
264
278
  logger.debug(
265
- '[openstackdocstheme] other_versions %s', context['other_versions'],
279
+ '[openstackdocstheme] other_versions %s',
280
+ context['other_versions'],
266
281
  )
267
282
 
268
283
 
@@ -271,9 +286,13 @@ def _get_series_name():
271
286
  global _series
272
287
  if _series is None:
273
288
  try:
274
- git_root_dir = subprocess.check_output(
275
- ['git', 'rev-parse', '--show-toplevel'],
276
- ).decode('utf-8').strip()
289
+ git_root_dir = (
290
+ subprocess.check_output(
291
+ ['git', 'rev-parse', '--show-toplevel'],
292
+ )
293
+ .decode('utf-8')
294
+ .strip()
295
+ )
277
296
  except Exception:
278
297
  logger.info(
279
298
  '[openstackdocstheme] cannot find git top directory, '
@@ -301,7 +320,8 @@ def _setup_link_roles(app):
301
320
  series = _get_series_name()
302
321
  for project_name in app.config.openstackdocs_projects:
303
322
  url = 'https://docs.openstack.org/{}/{}/%s'.format(
304
- project_name, series)
323
+ project_name, series
324
+ )
305
325
  role_name = '{}-doc'.format(project_name)
306
326
  logger.debug(
307
327
  '[openstackdocstheme] adding role %s to link to %s',
@@ -309,10 +329,7 @@ def _setup_link_roles(app):
309
329
  url,
310
330
  )
311
331
 
312
- if sphinx.version_info >= (4, 0, 0):
313
- role = extlinks.make_link_role(project_name, url, project_name)
314
- else:
315
- role = extlinks.make_link_role(url, project_name)
332
+ role = extlinks.make_link_role(project_name, url, project_name)
316
333
 
317
334
  app.add_role(role_name, role)
318
335
 
@@ -327,8 +344,9 @@ def _find_setup_cfg(srcdir):
327
344
  # an sdist or wheel? Perhaps we should check for 'PKG-INFO' or
328
345
  # 'METADATA' files, a la 'pbr.packaging._get_version_from_pkg_metadata'
329
346
  for path in [
330
- os.path.join(srcdir, os.pardir, 'setup.cfg'),
331
- os.path.join(srcdir, os.pardir, os.pardir, 'setup.cfg')]:
347
+ os.path.join(srcdir, os.pardir, 'setup.cfg'),
348
+ os.path.join(srcdir, os.pardir, os.pardir, 'setup.cfg'),
349
+ ]:
332
350
  if os.path.exists(path):
333
351
  return path
334
352
 
@@ -374,7 +392,6 @@ def _get_project_name(srcdir):
374
392
 
375
393
 
376
394
  def _config_inited(app, config):
377
-
378
395
  if config.openstack_projects is not None:
379
396
  logger.info(
380
397
  "[openstackdocstheme] "
@@ -398,7 +415,8 @@ def _config_inited(app, config):
398
415
  "overriding configured project name (%s) with name extracted "
399
416
  "from the package (%s); you can disable this behavior with "
400
417
  "the 'openstackdocs_auto_name' option",
401
- config.project, project_name,
418
+ config.project,
419
+ project_name,
402
420
  )
403
421
 
404
422
  if project_name:
@@ -449,7 +467,6 @@ def _config_inited(app, config):
449
467
 
450
468
 
451
469
  def _builder_inited(app):
452
-
453
470
  theme_dir = paths.get_html_theme_path()
454
471
  logger.info('[openstackdocstheme] using theme from %s', theme_dir)
455
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 = subprocess.check_output(
35
- [
36
- 'git', 'log', '-n1', '--format=%ad',
37
- '--date=format:%Y-%m-%d %H:%M:%S',
38
- '--', src_file,
39
- ]
40
- ).decode('utf-8').strip()
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, err)
56
+ src_file,
57
+ err,
58
+ )
49
59
  else:
50
60
  if last_updated_t:
51
61
  try:
52
- return datetime.datetime.strptime(last_updated_t,
53
- '%Y-%m-%d %H:%M:%S')
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, last_updated_t)
69
+ src_file,
70
+ last_updated_t,
71
+ )
59
72
  return None
60
73
 
61
74
 
@@ -67,7 +80,14 @@ 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
- src_file = full_src_file[len(str(app.builder.env.srcdir)):].lstrip('/')
83
+ # NOTE(sean-k-mooney): on python 3.9 we clamp sphinx to <8
84
+ # app.builder.env.srcdir is a string on py39
85
+ if sphinx.version_info >= (8, 0):
86
+ src_file = str(full_src_file.relative_to(app.builder.env.srcdir))
87
+ else: # Sphinx < 8.0
88
+ src_file = full_src_file[len(str(app.builder.env.srcdir)) :].lstrip(
89
+ '/'
90
+ )
71
91
  candidates.append(src_file)
72
92
 
73
93
  if not os.path.exists(src_file):
@@ -82,7 +102,9 @@ def _get_last_updated(app, pagename):
82
102
  if last_updated:
83
103
  LOG.debug(
84
104
  '[openstackdocstheme] Last updated for %s is %s',
85
- pagename, last_updated)
105
+ pagename,
106
+ last_updated,
107
+ )
86
108
  return last_updated
87
109
 
88
110
  if pagename not in ('genindex', 'search'):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: openstackdocstheme
3
- Version: 3.3.0
3
+ Version: 3.4.1
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
@@ -9,10 +9,10 @@ Makefile
9
9
  README.rst
10
10
  bindep.txt
11
11
  index.rst
12
+ pyproject.toml
12
13
  requirements.txt
13
14
  setup.cfg
14
15
  setup.py
15
- test-requirements.txt
16
16
  tox.ini
17
17
  api-ref/source/conf.py
18
18
  api-ref/source/image.inc
@@ -0,0 +1 @@
1
+ {"git_version": "f34b94a", "is_release": true}
@@ -1,2 +1,3 @@
1
1
  dulwich>=0.15.0
2
2
  pbr!=2.1.0,>=2.0.0
3
+ sphinx>=6.0.0
@@ -0,0 +1,6 @@
1
+ [tool.ruff]
2
+ line-length = 79
3
+
4
+ [tool.ruff.format]
5
+ quote-style = "preserve"
6
+ docstring-code-format = true
@@ -52,8 +52,8 @@ source_suffix = '.rst'
52
52
  master_doc = 'index'
53
53
 
54
54
  # General information about the project.
55
- project = u'OpenStackdocstheme Release Notes'
56
- copyright = u'2017, OpenStack Documentation team'
55
+ project = 'OpenStackdocstheme Release Notes'
56
+ copyright = '2017, OpenStack Documentation team'
57
57
 
58
58
  # Release notes are version independent.
59
59
  # The full version, including alpha/beta/rc tags.
@@ -193,10 +193,8 @@ htmlhelp_basename = 'OpenStackDocsThemeReleaseNotesdoc'
193
193
  latex_elements = {
194
194
  # The paper size ('letterpaper' or 'a4paper').
195
195
  # 'papersize': 'letterpaper',
196
-
197
196
  # The font size ('10pt', '11pt' or '12pt').
198
197
  # 'pointsize': '10pt',
199
-
200
198
  # Additional stuff for the LaTeX preamble.
201
199
  # 'preamble': '',
202
200
  }
@@ -205,9 +203,13 @@ latex_elements = {
205
203
  # (source start file, target name, title,
206
204
  # author, documentclass [howto, manual, or own class]).
207
205
  latex_documents = [
208
- ('index', 'OpenStackdocstheme-ReleaseNotes.tex',
209
- u'OpenStackdocstheme Release Notes Documentation',
210
- u'Documentation Team', 'manual'),
206
+ (
207
+ 'index',
208
+ 'OpenStackdocstheme-ReleaseNotes.tex',
209
+ 'OpenStackdocstheme Release Notes Documentation',
210
+ 'Documentation Team',
211
+ 'manual',
212
+ ),
211
213
  ]
212
214
 
213
215
  # The name of an image file (relative to this directory) to place at the top of
@@ -236,9 +238,13 @@ latex_documents = [
236
238
  # One entry per manual page. List of tuples
237
239
  # (source start file, name, description, authors, manual section).
238
240
  man_pages = [
239
- ('index', 'openstackdocstheme-releasenotes',
240
- u'OpenStackdocstheme Release Notes Documentation',
241
- [u'Documentation team'], 1)
241
+ (
242
+ 'index',
243
+ 'openstackdocstheme-releasenotes',
244
+ 'OpenStackdocstheme Release Notes Documentation',
245
+ ['Documentation team'],
246
+ 1,
247
+ )
242
248
  ]
243
249
 
244
250
  # If true, show URL addresses after external links.
@@ -251,11 +257,15 @@ man_pages = [
251
257
  # (source start file, target name, title, author,
252
258
  # dir menu entry, description, category)
253
259
  texinfo_documents = [
254
- ('index', 'OpenStackDocsTheme-ReleaseNotes',
255
- u'OpenStackDocsTheme Release Notes Documentation',
256
- u'Documentation Team', 'OpenStackDocsTheme-ReleaseNotes',
257
- 'One line description of project.',
258
- 'Miscellaneous'),
260
+ (
261
+ 'index',
262
+ 'OpenStackDocsTheme-ReleaseNotes',
263
+ 'OpenStackDocsTheme Release Notes Documentation',
264
+ 'Documentation Team',
265
+ 'OpenStackDocsTheme-ReleaseNotes',
266
+ 'One line description of project.',
267
+ 'Miscellaneous',
268
+ ),
259
269
  ]
260
270
 
261
271
  # Documents to append as an appendix to all manuals.
@@ -0,0 +1,3 @@
1
+ pbr!=2.1.0,>=2.0.0 # Apache-2.0
2
+ dulwich>=0.15.0 # Apache-2.0
3
+ sphinx>=6.0.0 # BSD
@@ -17,8 +17,10 @@ classifier =
17
17
  Programming Language :: Python :: 3
18
18
  Programming Language :: Python :: 3.8
19
19
  Programming Language :: Python :: 3.9
20
+ Programming Language :: Python :: 3.10
21
+ Programming Language :: Python :: 3.11
22
+ Programming Language :: Python :: 3.12
20
23
  Programming Language :: Python :: 3 :: Only
21
- Programming Language :: Python :: Implementation :: CPython
22
24
  Topic :: Documentation
23
25
 
24
26
  [files]
@@ -16,6 +16,4 @@
16
16
  # THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
17
17
  import setuptools
18
18
 
19
- setuptools.setup(
20
- setup_requires=['pbr>=2.0.0'],
21
- pbr=True)
19
+ setuptools.setup(setup_requires=['pbr>=2.0.0'], pbr=True)