spatialmath-python
spatialmath-python copied to clipboard
Fix sphinx automation
The workflow to generate sphinx documentation seems to not be working. Trying to fix that with this PR.
@petercorke , it appears that the sphinx documentation workflow was dependent on a repo you had forked, sphinx-autorun (if I knew this I had forgotten). Some changes you made 3 weeks ago had a knock-on effect here. I've pinned the git hash in the automation to a previous version.
I made some mods to speed it up, and change it to use project.toml, but that file is broken. Will look at that next
I believe I have fixed the
sphinx-autoproblem, badpyproject.tomlfile. It is probably a 100x faster now, but just go with what's most expedient for you. It has revealed quite a few execution errors in the example code blocks (the example blocks are wrong, not the toolbox), I will make a PR for these, but this shouldn't stop us publishing.There are a few incorrect changes from
petercorketobdaiinstitutewhen referencing robotics toolbox, RVC book, MATLAB ancestor of this toolbox.A lot of changes seem to be just trailing white space.
Sorry about that, I did a blanket replace of "github.com/petercorke" as a stab at figuring out what was going on with the sphinx stuff and thought I had reverted it already.
A lot of changes seem to be just trailing white space.
I thought the black formatting PR I just merged would have also fixed this for all the files as well. I'll probably make one for that then.