Commit Graph

6 Commits

Author SHA1 Message Date
Peter J. Mello
b91e882cfe
Switch mkdocs from JS theming to Pygments at build
This commit changes several configuration options for MkDocs
that were originally made in an effort to debug the unexpected
rendering of install-gnu.md following commit a746567c. In summary, those are:

- Remove deprecated Python Markdown extension nl2br.
- Switch from client-side syntax highlighting via JavaScript
  to using Pygments at build time to bake the highlighting into
  the generated output. This had the benefit of much better
  determinism and cost only an extra minute added to the build.
- Remove deprecated CodeHilite extension in favor recommended
  Highlight and InlineHilite extensions.

Ultimately, the documentation site loads more quickly and has
greater simplicity, which seemed worth the ~50% increase in
time to generate.

Signed-off-by: Peter J. Mello <admin@petermello.net>
2024-08-21 00:57:29 +01:00
Twinaphex
0a4775ab5c
Revert "Update .travis.yml, mkdocs.yml: Fixes #44" 2019-05-30 19:01:14 +02:00
Mohmoud
d367de1f94
Update .travis.yml: Fix plugin name 2019-05-30 00:38:47 -04:00
Hedonium
9bb6b05fd6 Update .travis.yml, mkdocs.yml
- Add git revision plugin
2019-05-30 00:34:38 -04:00
Alfrix
53edcc2f9f syntax 2018-11-20 16:59:38 -03:00
twinaphex
899bb500e1 Initial commit 2018-02-23 10:11:21 +01:00