-
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.
docs: minor docs updates and apply strict mode in Github (#72)
* feat(docs): create doc for mkdocs, small back improvement, comment on data config.py * feat: create a mkdocs-requirements.txt file * check mkdocs is now in --strict mode
- Loading branch information
1 parent
005ec67
commit d1ee29c
Showing
10 changed files
with
59 additions
and
29 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
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
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
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,23 @@ | ||
# Documentation | ||
|
||
La documentation du projet est construite avec [Mkdocs 📚](https://www.mkdocs.org/). | ||
|
||
## Développement & modifications | ||
|
||
Pour pouvoir lancer `Mkdocs` en local, vous avez besoin d’installer plusieurs dépendances Python : | ||
|
||
``` | ||
pip install -r mkdocs-requirements.txt | ||
``` | ||
|
||
Vous pouvez ensuite lancer la documentation en local avec la commande suivante : | ||
|
||
``` | ||
mkdocs serve -a localhost:8001 | ||
``` | ||
|
||
Le port `8000` par défaut de mkdocs étant utilisé par le back de IA·rbre, vous risqueriez un conflit. | ||
|
||
!!! warning "Plusieurs fichiers Markdown sont des liens symboliques" | ||
|
||
Afin d'éviter de dupliquer du texte, de nombreux fichiers markdown présents dans le dossier `docs` sont en réalité des liens symboliques vers des fichiers `README.md`. C'est par exemple le cas de `docs/backend/index.md` qui est un lien symbolique vers `back/README.md`. |
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,6 @@ | ||
mkdocs | ||
mkdocs-git-revision-date-localized-plugin | ||
mkdocs-material | ||
mkdocs-minify-plugin | ||
mkdocstrings[python] | ||
pymdown-extensions |
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