[Ovmsdev] Trouble building the documentation

Mark Webb-Johnson mark at webb-johnson.net
Tue Feb 8 10:39:02 HKT 2022


What version of m2r and mistune do you have? I have:

m2r                                    0.2.1
mistune                                0.8.4

Regards, Mark.

> On 8 Feb 2022, at 6:11 AM, Craig Leres <leres at xse.com> wrote:
> 
> 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'
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.openvehicles.com
> http://lists.openvehicles.com/mailman/listinfo/ovmsdev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openvehicles.com/pipermail/ovmsdev/attachments/20220208/cf006bb8/attachment.htm>


More information about the OvmsDev mailing list