add chapters content

This commit is contained in:
tykayn 2021-01-11 23:26:22 +01:00 committed by Baptiste Lemoine
parent f8b63dae70
commit 2587380ad3
7 changed files with 14 additions and 5 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
build/*.md
build/*.html
build/img

View File

@ -13,13 +13,16 @@ hash pandoc 2>/dev/null || { echo >&2 "Ce générateur peut utiliser pandoc four
# clean build
rm -rf build/*
cp -R source/img build/img
## Compilation HTML des différents chapitres
cp source/base_index.rst source/index.rst
for i in source/*.md ; do
cat $i >> build/toutes_les_pages.md
done
pandoc --standalone build/toutes_les_pages.md -o build/toutes_les_pages.html
#sphinx-build -b html source build
#
#if [ -e build/index.html ] ; then

View File

@ -1 +1,2 @@
# Chapitre
# Chapitre 2

View File

@ -1 +1,2 @@
# Chapitre
# Chapitre 3

View File

@ -1 +1,2 @@
# Chapitre
# Chapitre 4

0
source/img/.gitkeep Normal file
View File