Closed GwnDaan closed 4 months ago
Hmm.. I am having some troubles building the docs recently which I don't really understand...
writing output... [ 3%] Concepts
Extension error (sphinxext.opengraph):
Handler <function html_page_context at 0x7f48d1d37ca0> for event 'html-page-context' threw an exception (exception: First argument must be a path or binary-mode file object)
Does this mean anything to you? Either way, could you add a version/branch build of this on readthedocs so I can check it out?
Hmm, that doesn't ring a bell for me. I'd suggest doing a clean build (i.e. removing all build folders first), but you probably already tried that. Also make sure to build doxygen before sphinx, although that still should give a different error compared to yours. Lastly, you could try removing some python packages with pip, it seems it has trouble with sphinxext.opengraph
which I don't think we actively use?
Either way, here is a link to the readthedocs documentation for this PR: https://agisostack-plus-plus.readthedocs.io/en/daan-add-esc-button/
Issues
1 New issue
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Hmm.. I am having some troubles building the docs recently which I don't really understand...
writing output... [ 3%] Concepts Extension error (sphinxext.opengraph): Handler <function html_page_context at 0x7f48d1d37ca0> for event 'html-page-context' threw an exception (exception: First argument must be a path or binary-mode file object)
In case any future people stumble upon this issue, I worked around it by just creating a venv
for it.
python3 -m venv .
source bin/activate
pip install -r requirements.txt
sphinx-build -M html source build
Describe your changes
0
key number.Closes #424
How has this been tested?
Ran both examples, one with SocketCAN and the other with platformio on ESP32-S3. For the tutorials, I followed them and at the same time made the necessary adjustments. I also removed a bit of the ESP-IDF setup since PlatformIO will handle that for you. The ESP32 tutorial I tested on a fresh dev container, to avoid dependencies being already installed.