-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from bird-house/doc_dev
Doc dev
- Loading branch information
Showing
5 changed files
with
151 additions
and
72 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
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,46 @@ | ||
# Guidelines | ||
|
||
|
||
## Build the docs | ||
|
||
Clone the docs repo from GitHub: | ||
```console | ||
git clone https://github.com/bird-house/birdhouse2-docs.git | ||
|
||
cd birdhouse2-docs | ||
``` | ||
|
||
Create conda environment: | ||
```console | ||
conda env create | ||
conda activate birdhouse2-docs | ||
``` | ||
|
||
Build the docs: | ||
```console | ||
mkdocs build | ||
|
||
# html output is in folder site/ | ||
``` | ||
|
||
Or serve the docs for your browser: | ||
```console | ||
mkdocs serve | ||
``` | ||
|
||
## Adding new pages | ||
|
||
Please read the docs at [mkdocs](https://www.mkdocs.org/) and also at [mkdocs-material](https://squidfunk.github.io/mkdocs-material/). | ||
|
||
There is a [user guide](https://www.mkdocs.org/user-guide/writing-your-docs/) on mkdocs describing how to add new pages with markdown. | ||
|
||
## Convert rst to markdown | ||
|
||
You can convert `rst` files to *markdown* using [pandoc](https://pandoc.org/). | ||
|
||
```console | ||
pandoc tutorial.rst -t markdown -o tutorial.md | ||
``` | ||
|
||
Probably some edits are neccessary after the conversion. | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.