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 41 42 43
|
@@ -19,7 +19,7 @@
import importlib
import sphobjinv
import functools
-import pylit
+#import pylit
from sphinx.ext.napoleon.docstring import NumpyDocstring
sys.path.insert(0, os.path.abspath('.'))
@@ -321,8 +321,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)
@@ -400,14 +401,14 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
-html_theme = 'pydata_sphinx_theme'
+#html_theme = 'pydata_sphinx_theme'
html_theme_options = {
'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 ------------------------------------------
|