1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
Index: petsc4py/docs/source/conf.py
===================================================================
--- petsc4py.orig/docs/source/conf.py 2025-11-06 12:00:05.003801052 +0100
+++ petsc4py/docs/source/conf.py 2025-11-06 12:01:50.862314729 +0100
@@ -19,7 +19,7 @@
import importlib
import sphobjinv
import functools
-import pylit
+#import pylit
from sphinx import __version__ as sphinx_version
from sphinx.ext.napoleon.docstring import NumpyDocstring
from packaging.version import Version
@@ -335,8 +335,9 @@
os.path.join(os.path.join('demo', os.path.splitext(demo)[0] + '.rst')),
'w',
) as outfile:
- converter = pylit.Code2Text(infile)
- outfile.write(str(converter))
+ pass
+ #converter = pylit.Code2Text(infile)
+ #outfile.write(str(converter))
demo_copy_name = os.path.join(demo_dir, os.path.basename(demo))
shutil.copyfile(demo_src, demo_copy_name)
html_static_path.append(demo_copy_name)
@@ -420,10 +421,10 @@
'navigation_with_keys': True,
'footer_end': ['theme-version', 'last-updated'],
}
-git_describe_version = (
- subprocess.check_output(['git', 'describe', '--always']).strip().decode('utf-8') # noqa: S603, S607
-)
-html_last_updated_fmt = r'%Y-%m-%dT%H:%M:%S%z (' + git_describe_version + ')'
+#git_describe_version = (
+# subprocess.check_output(['git', 'describe', '--always']).strip().decode('utf-8') # noqa: S603, S607
+#)
+#html_last_updated_fmt = r'%Y-%m-%dT%H:%M:%S%z (' + git_describe_version + ')'
# -- Options for HTMLHelp output ------------------------------------------
|