add chapters content
This commit is contained in:
parent
f8b63dae70
commit
2587380ad3
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
build/*.md
|
||||
build/*.html
|
||||
build/img
|
@ -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
|
||||
|
@ -1 +1,2 @@
|
||||
# Chapitre
|
||||
# Chapitre 2
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
# Chapitre
|
||||
# Chapitre 3
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
# Chapitre
|
||||
# Chapitre 4
|
||||
|
||||
|
0
source/img/.gitkeep
Normal file
0
source/img/.gitkeep
Normal file
Loading…
Reference in New Issue
Block a user