passagemath-docbuild 10.5.10__tar.gz → 10.5.12__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.5.10/passagemath_docbuild.egg-info → passagemath_docbuild-10.5.12}/PKG-INFO +1 -1
  2. passagemath_docbuild-10.5.12/VERSION.txt +1 -0
  3. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12/passagemath_docbuild.egg-info}/PKG-INFO +1 -1
  4. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/conf.py +6 -0
  5. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/ext/sage_autodoc.py +10 -6
  6. passagemath_docbuild-10.5.10/VERSION.txt +0 -1
  7. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/MANIFEST.in +0 -0
  8. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/README.rst +0 -0
  9. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/passagemath_docbuild.egg-info/SOURCES.txt +0 -0
  10. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/passagemath_docbuild.egg-info/dependency_links.txt +0 -0
  11. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/passagemath_docbuild.egg-info/requires.txt +0 -0
  12. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/passagemath_docbuild.egg-info/top_level.txt +0 -0
  13. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/pyproject.toml +0 -0
  14. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/requirements.txt +0 -0
  15. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/__init__.py +0 -0
  16. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/__main__.py +0 -0
  17. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/build_options.py +0 -0
  18. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/builders.py +0 -0
  19. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/ext/__init__.py +0 -0
  20. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/ext/inventory_builder.py +0 -0
  21. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/ext/multidocs.py +0 -0
  22. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/sphinxbuild.py +0 -0
  23. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/utils.py +0 -0
  24. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/sage_docbuild/vendor.py +0 -0
  25. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/setup.cfg +0 -0
  26. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/setup.py +0 -0
  27. {passagemath_docbuild-10.5.10 → passagemath_docbuild-10.5.12}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-docbuild
3
- Version: 10.5.10
3
+ Version: 10.5.12
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.5.12
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: passagemath-docbuild
3
- Version: 10.5.10
3
+ Version: 10.5.12
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
@@ -670,6 +670,7 @@ for macro in sage_latex_macros():
670
670
  # used when building html version
671
671
  pngmath_latex_preamble += macro + '\n'
672
672
 
673
+
673
674
  # ------------------------------------------
674
675
  # add custom context variables for templates
675
676
  # ------------------------------------------
@@ -713,10 +714,12 @@ def add_page_context(app, pagename, templatename, context, doctree):
713
714
 
714
715
  dangling_debug = False
715
716
 
717
+
716
718
  def debug_inf(app, message):
717
719
  if dangling_debug:
718
720
  app.info(message)
719
721
 
722
+
720
723
  def call_intersphinx(app, env, node, contnode):
721
724
  r"""
722
725
  Call intersphinx and make links between Sage manuals relative.
@@ -750,6 +753,7 @@ def call_intersphinx(app, env, node, contnode):
750
753
  debug_inf(app, "---- Intersphinx: %s not Found" % node['reftarget'])
751
754
  return res
752
755
 
756
+
753
757
  def find_sage_dangling_links(app, env, node, contnode):
754
758
  r"""
755
759
  Try to find dangling link in local module imports or all.py.
@@ -860,6 +864,7 @@ skip_picklability_check_modules = [
860
864
  '__builtin__',
861
865
  ]
862
866
 
867
+
863
868
  def check_nested_class_picklability(app, what, name, obj, skip, options):
864
869
  """
865
870
  Print a warning if pickling is broken for nested classes.
@@ -880,6 +885,7 @@ def check_nested_class_picklability(app, what, name, obj, skip, options):
880
885
  'sage.misc.nested_class.NestedClassMetaclass.' % (
881
886
  v.__module__ + '.' + name + '.' + nm))
882
887
 
888
+
883
889
  def skip_member(app, what, name, obj, skip, options):
884
890
  """
885
891
  To suppress Sphinx warnings / errors, we
@@ -81,8 +81,12 @@ from sage.misc.sageinspect import (sage_getdoc_original,
81
81
  is_function_or_cython_function)
82
82
 
83
83
  _getdoc = getdoc
84
+
85
+
84
86
  def getdoc(obj, *args, **kwargs):
85
87
  return sage_getdoc_original(obj)
88
+
89
+
86
90
  # ------------------------------------------------------------------
87
91
 
88
92
  if TYPE_CHECKING:
@@ -1616,7 +1620,7 @@ class ClassDocumenter(DocstringSignatureMixin, ModuleLevelDocumenter): # type:
1616
1620
  try:
1617
1621
  result_bool = isinstance(member, type) or (
1618
1622
  isattr and isinstance(member, NewType | TypeVar))
1619
- except:
1623
+ except Exception:
1620
1624
  result_bool = isinstance(member, type) or (
1621
1625
  isattr and (inspect.isNewType(member) or isinstance(member, TypeVar)))
1622
1626
  return result_bool
@@ -1695,7 +1699,7 @@ class ClassDocumenter(DocstringSignatureMixin, ModuleLevelDocumenter): # type:
1695
1699
  # support both sphinx 8 and py3.9/older sphinx
1696
1700
  try:
1697
1701
  test_bool = isinstance(self.object, NewType | TypeVar)
1698
- except:
1702
+ except Exception:
1699
1703
  test_bool = inspect.isNewType(self.object) or isinstance(self.object, TypeVar)
1700
1704
  if test_bool:
1701
1705
  modname = getattr(self.object, '__module__', self.modname)
@@ -1709,7 +1713,7 @@ class ClassDocumenter(DocstringSignatureMixin, ModuleLevelDocumenter): # type:
1709
1713
  # support both sphinx 8 and py3.9/older sphinx
1710
1714
  try:
1711
1715
  test_bool = isinstance(self.object, NewType | TypeVar)
1712
- except:
1716
+ except Exception:
1713
1717
  test_bool = inspect.isNewType(self.object) or isinstance(self.object, TypeVar)
1714
1718
  if test_bool:
1715
1719
  # Suppress signature
@@ -1899,7 +1903,7 @@ class ClassDocumenter(DocstringSignatureMixin, ModuleLevelDocumenter): # type:
1899
1903
  # support both sphinx 8 and py3.9/older sphinx
1900
1904
  try:
1901
1905
  test_bool = isinstance(self.object, NewType | TypeVar)
1902
- except:
1906
+ except Exception:
1903
1907
  test_bool = inspect.isNewType(self.object) or isinstance(self.object, TypeVar)
1904
1908
  if test_bool:
1905
1909
  return
@@ -1911,7 +1915,7 @@ class ClassDocumenter(DocstringSignatureMixin, ModuleLevelDocumenter): # type:
1911
1915
  # support both sphinx 8 and py3.9/older sphinx
1912
1916
  try:
1913
1917
  newtype_test = isinstance(self.object, NewType)
1914
- except:
1918
+ except Exception:
1915
1919
  newtype_test = inspect.isNewType(self.object)
1916
1920
  if (not self.doc_as_attr and not newtype_test
1917
1921
  and canonical_fullname and self.fullname != canonical_fullname):
@@ -2053,7 +2057,7 @@ class ClassDocumenter(DocstringSignatureMixin, ModuleLevelDocumenter): # type:
2053
2057
  # support both sphinx 8 and py3.9/older sphinx
2054
2058
  try:
2055
2059
  newtype_test = isinstance(self.object, NewType)
2056
- except:
2060
+ except Exception:
2057
2061
  newtype_test = inspect.isNewType(self.object)
2058
2062
  if newtype_test:
2059
2063
  if self.config.autodoc_typehints_format == "short":
@@ -1 +0,0 @@
1
- 10.5.10