-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deployed 47a38fb to 2.9.0 with MkDocs 1.6.0 and mike 2.1.2
- Loading branch information
1 parent
82d00ab
commit 1ddeaf0
Showing
95 changed files
with
42,652 additions
and
3 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
== Create a local build of the documentation | ||
|
||
Documentation is built using the `mkdocs` tool. | ||
See link:https://www.mkdocs.org/user-guide/installation/[Installation guide] on how to install it. | ||
On top of that install these 3 plugins: | ||
``` | ||
pip install mkdocs-material | ||
pip install mkdocs-build-plantuml-plugin | ||
pip install mkdocs-macros-plugin | ||
``` | ||
Then, building the documentation locally will be as simple as running `mkdocs build` in the root | ||
of this repository (NOT in the `docs` directory) - the output should appear in the `site` directory. | ||
To fix a few things, like making links work correctly, you should serve the site | ||
via Jekyll (`jekyll serve` from the `site` directory) | ||
rather than directly open the HTML files in a browser. | ||
|
||
== Push a build manually | ||
|
||
GitHub actions take care of building the site on each tag push, and adding it to the `gh-pages` branch. | ||
To push a documentation build manually, you also need `mike` (`pip install mike`). After building the docs, use | ||
``` | ||
mike deploy --push --update-aliases $DOCS_VERSION latest --branch gh-pages --remote $NAME_OF_YOUR_REMOTE | ||
``` | ||
`latest` (in the command above) is an optional alias for the docs version. The default version that | ||
will be opened by browsers is set to be the one with the `latest` alias. | ||
|
||
This command also overwrites any possible build if it already exists labeled by the specified version. | ||
|
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.