-
-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: Convert HTML to Markdown #5064
Conversation
This converts HTML markup in .md files to Markdown using the ./utils/grass_html2md.sh script.
In https://github.com/OSGeo/grass/pull/4792/files#diff-0947e2727d6bad8cd0ac4122f5314bb5b04e337393075bc4b5ef143b17fcbd5bR75 (not merged yet), I noticed it too and did not enable. I thought I added the exclusion in pre-commit too... it didn't have other problems after that. |
For the time of the conversion, even if it takes a week, ignore or disable the problematic pre-commit checks (for markdown if you want). It's quite easy to fix after the big 3-4 person effort for markdown docs is done |
The conversion from HTML to Markdown together with the automatic fixes removed a ton of warnings. I removed the relevant ignore and added three which did not occur with the HTML. I added |
…but not terribly and the history is not that important for these two (one is a recently added mkdocs template and the other may be even unused).
This converts HTML markup in .md files to Markdown using the ./utils/grass_html2md.sh script.
This is committed with --no-verify. There are new or different Markdown linting rules broken and trailing spaces are not allowed.
How do we want to do it with the trailing spaces? Our pre-commit checks don't allow them, but they are used in Markdown extensively now to accommodate the various
<br>
used for formatting and it is used to mimic<dt>
.