passagemath-docbuild 10.4.20__tar.gz → 10.4.22__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 (27) hide show
  1. {passagemath_docbuild-10.4.20/passagemath_docbuild.egg-info → passagemath_docbuild-10.4.22}/PKG-INFO +1 -1
  2. passagemath_docbuild-10.4.22/VERSION.txt +1 -0
  3. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22/passagemath_docbuild.egg-info}/PKG-INFO +1 -1
  4. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/conf.py +2 -1
  5. passagemath_docbuild-10.4.20/VERSION.txt +0 -1
  6. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/MANIFEST.in +0 -0
  7. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/README.rst +0 -0
  8. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/passagemath_docbuild.egg-info/SOURCES.txt +0 -0
  9. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/passagemath_docbuild.egg-info/dependency_links.txt +0 -0
  10. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/passagemath_docbuild.egg-info/requires.txt +0 -0
  11. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/passagemath_docbuild.egg-info/top_level.txt +0 -0
  12. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/pyproject.toml +0 -0
  13. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/requirements.txt +0 -0
  14. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/__init__.py +0 -0
  15. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/__main__.py +0 -0
  16. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/build_options.py +0 -0
  17. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/builders.py +0 -0
  18. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/ext/__init__.py +0 -0
  19. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/ext/inventory_builder.py +0 -0
  20. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/ext/multidocs.py +0 -0
  21. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/ext/sage_autodoc.py +0 -0
  22. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/sphinxbuild.py +0 -0
  23. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/utils.py +0 -0
  24. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/sage_docbuild/vendor.py +0 -0
  25. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/setup.cfg +0 -0
  26. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/setup.py +0 -0
  27. {passagemath_docbuild-10.4.20 → passagemath_docbuild-10.4.22}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-docbuild
3
- Version: 10.4.20
3
+ Version: 10.4.22
4
4
  Summary: passagemath: Build system of the Sage documentation
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  License: GNU General Public License (GPL) v2 or later
@@ -0,0 +1 @@
1
+ 10.4.22
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-docbuild
3
- Version: 10.4.20
3
+ Version: 10.4.22
4
4
  Summary: passagemath: Build system of the Sage documentation
5
5
  Author-email: The Sage Developers <sage-support@googlegroups.com>
6
6
  License: GNU General Public License (GPL) v2 or later
@@ -704,7 +704,8 @@ def add_page_context(app, pagename, templatename, context, doctree):
704
704
  # autodoc from the Python or Cython source files. Hence we tweak
705
705
  # here template context variables so that links to the correct
706
706
  # source files are generated.
707
- suffix = '.py' if importlib.import_module(pagename.replace('/','.')).__file__.endswith('.py') else '.pyx'
707
+ f = importlib.import_module(pagename.replace('/','.')).__file__
708
+ suffix = '.py' if not f or f.endswith('.py') else '.pyx'
708
709
  context['page_source_suffix'] = suffix
709
710
  context['theme_source_view_link'] = os.path.join(source_repository, f'blob/develop/src', '{filename}')
710
711
  context['theme_source_edit_link'] = os.path.join(source_repository, f'edit/develop/src', '{filename}')
@@ -1 +0,0 @@
1
- 10.4.20