Open ilia3101 opened 1 year ago
Checks for rst2html5
were added due to this mac user not having rst2html
6 years ago.
I'd suggest removing them.
Installing docutils on mac with pip gave me both rst2html.py
and rst2html5.py
.
Plus it was 6 years ago, things have almost certainly changed - macs don't come with python2 anymore, everything is modernised in this respect.
How to reproduce
Change this line to this:
To simulate someone who only has rst2html5 on their computer.
Now
make zip
in anyplatform/camera
.Some modules will have missing module strings errors:
Overall will fail to build.
Explanation
It becomes clear why this happens if you go to
modules/adv_int
(or any module with a long README.rst), and run both of these commands:Output 1
Output 2
rst2html5
produces different html header tags, causinghtml2text.py
to produce different markdown header tags (two # instead of one)