J’ai donc repris “mon CV” au format Markdown : https://github.com/farias06/resume . Mais cette fois le but est de faire un ReadTheDocs avec mkdocs : https://mkdocs.readthedocs.io/en/0.10/ .
# apt-get install mkdocs
# apt-get install pip
# pip install mkdocs-mermaid2-plugin
# mkdocs build
INFO - Cleaning site directory
INFO - Building documentation to directory: /.../site
INFO - The following pages exist in the docs directory, but are not included in the "nav" configuration:
- Competitions/Velo/README.md
WARNING - Documentation file 'README.md' contains a link to 'www.cyber-neurones.org' which is not found in the documentation files.
WARNING - Documentation file 'README.md' contains a link to 'descente-canyon.com' which is not found in the documentation files.
WARNING - Documentation file 'README.md' contains a link to 'descente-canyon.com' which is not found in the documentation files.
WARNING - Documentation file 'README.md' contains a link to 'descente-canyon.com' which is not found in the documentation files.
WARNING - Documentation file 'README.md' contains a link to 'descente-canyon.com' which is not found in the documentation files.
WARNING - Documentation file 'README.md' contains a link to 'descente-canyon.com' which is not found in the documentation files.
INFO - Documentation built in 0.67 seconds
# rm -rf /var/arias-frederic.org/public/*
# cp -r site/* /var/arias-frederic.org/public/.
# chown -R www-data.www-data /var/arias-frederic.org/public/
J’ai donc remplacé le site fait bien Hugo par le MKdocs.
Attention ceci est mon brouillon avant de faire une belle documentation sur Docker (il y a à boire et à manger).
Maintenant je vais faire un test avec GitHub : https://github.com . D’abord il faut créer un compte farias06 :
Ensuite on fait un projet, pour la part c’est hello_world :
Et maintenant il va falloir mettre les sources :