-
Notifications
You must be signed in to change notification settings - Fork 12
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
docs: Reworks documentation to use mkdocs #1079
base: main
Are you sure you want to change the base?
Conversation
I've explicitly ignored the The other pre-commit error rises from the I can't see any method of ignoring this individual line as the |
Reading through the documentation for mike, the Mkdocs extension that builds and mike depoly [version] ...to build documentation for older versions/releases. It is a little unclear but it is stated that it will Currently though we don't have any versions released with I think a useful strategy would therefore be to merge this pull request which will trigger building and deployment of
...and have these manually uploaded. Probably not quite as straight-forward as it sounds but would be useful to get |
Closes #175 On the back of approval in todays Code Clean I got stuck in refactoring the code to use [mkdocs](https://mkdocs.org). Not quite there yet as the following need addressing. - [versioning](https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/) is configured but not used. This may be my misunderstanding of how the extension is meant to work as I thought it would make new sites for each version. Reading the [mike documentation](https://github.com/jimporter/mike) this may not be the case and it may require a one-off task of sitting down and going through building documentation on the `gh-pages` branch locally for each version we wish to provision documentation for. - [syntax highlighting](https://ntno.github.io/mkdocs-terminal/configuration/code-highlighting/) is again configured but not working/used when the site is rendered. Need to work out why. - expanding menus - these work when using the `material` theme without any action but don't when using the `terminal` theme which the team liked.
- Fixes some internal links that were wrong - Adds a page on Matplotlib Style - Tweaks advice in `topostats/topostats.mplstyle` on usage - Adds `--unsafe` flat to `check-yaml` pre-commit hook so it doesn't complain about Mermaid config in `mkdocs.yaml`
9ce315f
to
2c299ae
Compare
Closes #175
On the back of positive feedback on the AFMReader website in todays
Code Clean I got stuck in refactoring the code to use mkdocs.
Not quite there yet as the following need addressing.
used. This may be my misunderstanding of how the extension is meant to work as I thought it would make new sites for
each version. Reading the mike documentation this may not be the case and it may
require a one-off task of sitting down and going through building documentation on the
gh-pages
branch locally foreach version we wish to provision documentation for.
not working/used when the site is rendered. Need to work out why.
material
theme without any action but don't when using theterminal
theme which the team liked.
To test this out locally you can...
...and got to the URL output in the terminal.