Commit 33a270b35aa1df59df5dc7e47d9346e849a9152b

Authored by Etienne Pallier
1 parent e684c1c9
Exists in dev

sphinx doc autogen (v7) + codestyle pyreverse

Showing 2 changed files with 7 additions and 1 deletions   Show diff stats
doc/doc_rst/make_rst_then_html
... ... @@ -11,7 +11,8 @@
11 11 # Doc au format de Alain
12 12 cd ../../vendor/guitastro/doc_rst/
13 13 pwd
14   -make html
  14 +#make html
  15 +./MAKE_DOC.sh
15 16 # Doc au format de Etienne (just uncomment 1st line)
16 17 ###sphinx-apidoc -f -o source/generated_api -a --separate --tocfile guitastro_package ../../vendor/guitastro
17 18 ###sphinx-apidoc -f -o source/generated_api -a --separate --module-first --tocfile guitastro_package ../../vendor/guitastro
... ... @@ -30,6 +31,9 @@ pwd
30 31 #sphinx-apidoc -f -o source --tocfile pyros_django_package ../../src/core/pyros_django
31 32  
32 33 # 4) Code style package
  34 +cd ../codestyle_examples/
  35 +pyreverse -p codestyle_examples -o png codestyle_examples
  36 +cd -
33 37 sphinx-apidoc -f -o source/generated_api -a --separate --module-first --tocfile codestyle_examples_package ../codestyle_examples
34 38 ##sphinx-apidoc -f -o source -a --separate --module-first --tocfile codestyle_examples_package ../codestyle_examples
35 39 #sphinx-apidoc -o source -a --separate --module-first --tocfile code_style_package ../code_style/my_package1
... ...
pyros.py
... ... @@ -592,6 +592,7 @@ def install_or_update(UPDATE: bool = False, with_packages: bool = True, with_dat
592 592 # Upgrade pip if new version available
593 593 os.system(VENV_PYTHON + ' -m pip install --user --upgrade pip')
594 594 venv_pip_install2(GUITASTRO_PATH + '/install/requirements.txt', '-r')
  595 + '''
595 596 print("Guitastro : Generating (updating) API documentation (using Sphinx)")
596 597 # Make html doc from RST
597 598 # cd doc/sourcedoc/
... ... @@ -601,6 +602,7 @@ def install_or_update(UPDATE: bool = False, with_packages: bool = True, with_dat
601 602 # Come back to where we were before
602 603 # cd -
603 604 change_dir("PREVIOUS")
  605 + '''
604 606  
605 607  
606 608 #if test_mode(): print("in test mode")
... ...