-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* complete refactor of the whole doc setup --------- Co-authored-by: PrashantR30 <[email protected]> Co-authored-by: Prashant Ramhit <[email protected]>
- Loading branch information
1 parent
b27986a
commit 5eb750e
Showing
32 changed files
with
1,222 additions
and
985 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,13 +1,56 @@ | ||
# Project 0x2A Documentation | ||
# Project 2A Documentation | ||
|
||
The home of the consolidated documentation for Project 0x2A sponsored by Mirantis. | ||
The home of the consolidated documentation for Project 2A sponsored by Mirantis. | ||
|
||
[Project 0x2A Docs](https://mirantis.github.io/project-2a-docs/) | ||
[Project 2A Docs](https://mirantis.github.io/project-2a-docs/) | ||
|
||
This project utilises Mkdocs with the Material theme and Mermaid for diagrams. Currently | ||
the docs are published using github actions on github pages from the branch gh-pages. | ||
|
||
Development is tracked under [Project 0x2A](https://github.com/orgs/Mirantis/projects/8) on github. | ||
Development is tracked under [Project 2A](https://github.com/orgs/Mirantis/projects/8) on github. | ||
|
||
The related Project 0x2A repositories can be found as follows: | ||
The related Project 2A repositories can be found as follows: | ||
* [HMC](https://github.com/Mirantis/hmc) | ||
|
||
|
||
## Project layout | ||
|
||
mkdocs.yml # The configuration file. | ||
docs/ | ||
index.md # The documentation homepage. | ||
stylesheets # CSS stylesheets to control look and feel | ||
assets # Images and other served material | ||
... # Other markdown pages, images and other files. | ||
|
||
|
||
## Setting up MKdocs and dependancies | ||
|
||
1. Setup python Virtual Environment | ||
|
||
`python3 -m venv ./mkdocs` | ||
`source ./mkdocs/bin/activate` | ||
|
||
2. Install MkDocs | ||
|
||
`pip install mkdocs` | ||
|
||
3. Install plugins | ||
|
||
`pip install mkdocs-mermaid2-plugin` | ||
|
||
`pip install mkdocs-material` | ||
|
||
`pip install markdown-callouts` | ||
|
||
## Run MKdocs for dev | ||
|
||
* `mkdocs serve` - Start the live-reloading docs server. | ||
|
||
For full documentation visit [mkdocs.org](https://www.mkdocs.org). | ||
|
||
## MKdocs Commands | ||
|
||
* `mkdocs new [dir-name]` - Create a new project. | ||
* `mkdocs serve` - Start the live-reloading docs server. | ||
* `mkdocs build` - Build the documentation site. | ||
* `mkdocs -h` - Print help message and exit. |
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.