source: flex_extract.git/For_developers/Sphinx/source/Developers/gen_docu.rst @ ba99230

ctbtodev
Last change on this file since ba99230 was ba99230, checked in by Anne Philipp <anne.philipp@…>, 5 years ago

capitalize all directory names and adapt pathes in files

  • Property mode set to 100644
File size: 1.8 KB

Update Documentation

UNDER CONSTRUCTION

Additional Software

Developers working on flex_extract should make extensive use of the prepared test cases, unit tests and update the documentation. For this, some additional software is necessary:

  • pylint
  • pytest
  • mock
  • graphviz
  • sphinx
  • pip install sphinxcontrib-exceltable
  • pip install seqdiag
  • pip install sphinxcontrib-seqdiag
  • pip install sphinxcontrib-blockdiag
  • pip install pycallgraph

#- pip install sphinx-fortran

Online-documentation with Sphinx

Use the scriot gen_docu.sh to generate an update of the online documentation of the python component.

It uses pyreverse to generate a class and a package diagram with graphviz and overwrites the old files in the developers directory. pyreverse creates dot files and with the dot program of the graphviz software the png files are created. Everything happens in the Python source directory before moving them finally to the for_developers directory. The Sphinx source code has a _files directory which contains links to these png files and therefore they should not be renamed.

Sequence diagramms

You might need to adapt the fonts path for the diagrams to a true type font. Currently it is set to:

# Fontpath for seqdiag (truetype font)
seqdiag_fontpath = '/usr/share/fonts/dejavu/DejaVuSerif.ttf'

Block diagramms

You might need to adapt the fonts path for the diagrams to a true type font. Currently it is set to:

# Fontpath for blockdiag (truetype font)
blockdiag_fontpath = '/usr/share/fonts/dejavu/DejaVuSerif.ttf'
?
.. toctree::
    :hidden:
    :maxdepth: 2
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG