[Ovmsdev] Trouble building the documentation
Craig Leres
leres at xse.com
Tue Feb 8 06:11:42 HKT 2022
I saw a couple of ssh related changes I wanted to make and tried
building the docs for the first time in a long time. sphinx chews it,
log appended.
I think I meet docs/source/requirements.txt:
m2r
docutils<0.18
mistune<2.0.0
as I have:
py38-m2r-0.2.1_1
py38-docutils-0.17.1,1
py38-mistune-0.8.4
Hopefully it's obvious what I'm doing wrong?
Craig
# Sphinx version: 4.3.1
# Python version: 3.8.12 (CPython)
# Docutils version: 0.17.1 release
# Jinja2 version: 3.0.1
# Last messages:
# Loaded extensions:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/sphinx/cmd/build.py",
line 276, i
n build_main
app = Sphinx(args.sourcedir, args.confdir, args.outputdir,
File "/usr/local/lib/python3.8/site-packages/sphinx/application.py",
line 237,
in __init__
self.setup_extension(extension)
File "/usr/local/lib/python3.8/site-packages/sphinx/application.py",
line 394,
in setup_extension
self.registry.load_extension(self, extname)
File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py",
line 442, in
load_extension
metadata = setup(app)
File "/usr/local/lib/python3.8/site-packages/m2r.py", line 652, in setup
app.add_source_parser('.md', M2RParser)
File "/usr/local/lib/python3.8/site-packages/sphinx/application.py",
line 1186
, in add_source_parser
self.registry.add_source_parser(parser, override=override)
File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py",
line 273, in
add_source_parser
for filetype in parser.supported:
AttributeError: 'str' object has no attribute 'supported'
More information about the OvmsDev
mailing list