Commit cd580cf7b8076f15a87bb92d981f90ab97c14141

Authored by Etienne Pallier
1 parent 33a270b3
Exists in dev

sphinx doc autogen (v7b) + codestyle pyreverse

Showing 1 changed file with 9 additions and 0 deletions   Show diff stats
doc/doc_rst/make_rst_then_html
... ... @@ -8,6 +8,9 @@
8 8 #sphinx-apidoc -f -o source ../../src/core
9 9  
10 10 # 1) guitastro package (celme)
  11 +echo
  12 +echo "- Guitastro : generating UML class diagrams and API doc"
  13 +echo
11 14 # Doc au format de Alain
12 15 cd ../../vendor/guitastro/doc_rst/
13 16 pwd
... ... @@ -31,9 +34,14 @@ pwd
31 34 #sphinx-apidoc -f -o source --tocfile pyros_django_package ../../src/core/pyros_django
32 35  
33 36 # 4) Code style package
  37 +echo
  38 +echo "- Codestyle : generating UML class diagrams and API doc"
  39 +echo
  40 +echo "-- generating UML class diagrams (pyreverse)"
34 41 cd ../codestyle_examples/
35 42 pyreverse -p codestyle_examples -o png codestyle_examples
36 43 cd -
  44 +echo "-- generating API doc RST files (Sphinx)"
37 45 sphinx-apidoc -f -o source/generated_api -a --separate --module-first --tocfile codestyle_examples_package ../codestyle_examples
38 46 ##sphinx-apidoc -f -o source -a --separate --module-first --tocfile codestyle_examples_package ../codestyle_examples
39 47 #sphinx-apidoc -o source -a --separate --module-first --tocfile code_style_package ../code_style/my_package1
... ... @@ -45,5 +53,6 @@ sphinx-apidoc -f -o source/generated_api -a --separate --module-first --tocfile
45 53 # B - Generate HTML (and pdf) files (from RST)
46 54 # ---------------------------------
47 55  
  56 +echo "-- generating API doc HTML files (from RST, with Sphinx)"
48 57 sphinx-build -b html source build/html/
49 58 #sphinx-build -b pdf source build
... ...