Closed jon-edward closed 5 months ago
Tried to rebuild HTML docs using generate_html_docs_from_markdown.sh
and it made an unexpected number of line changes...
The updated docs on my side look visually similar to the docs hosted at http://aardappel.github.io/lobster, not sure what's causing the difference.
what's your pandoc --version
? I'm on 3.1.2
Ok, guess my pandoc was pretty old, so I upgraded to 3.1.11.1 (latest release on the pandoc site) which makes some of the changes that yours also makes. I've committed those for the whole repo.
It does however not reformat all parapgraphs to be wider, which causes most of the churn in your diff. So:
Hey @aardappel, just removed the affected HTML files from my PR. Even with ensuring I had pandoc at 3.1.11.1, I still found that the line widths were slightly different from the hosted docs. Turns out I was running an even older version of pandoc than you, lol.
Slight aside, it might be worth running doc generation and Pages upload on a GH Action to keep this in a consistent environment. I'll see if I can get this working, I think this should automate away a lot of this manual doc building and the version issues.
Your current PR deletes the htmls, and can't be merged like this.. please rebase and/or remove the html modifications from your PR.
As for using a GH action, that sounds nice, but we do want these html files part of the repo.. unless there is a way to automatically commit them afterwards or whatever.
@aardappel, I think everything is good now.
There is a way to do this, you can push changes from a GH action with the Workflow permissions setting.
Ok, thanks!
Tried to be as faithful as possible to the original documentation! Cleaned up a few typos.