API

autodoc directive for Python APIs

Connected objects

Flowchart

@startuml

' Nodes definition 

node "<size:12>Problem</size>\n**Document Python**\n**API**\n<size:10>python_api_doc</size>" as python_api_doc [[../problems/api.html#python_api_doc]] #cb5d7e 
node "<size:12>Solution</size>\n**autodoc**\n**directive for**\n**Python APIs**\n<size:10>sphinx_autodoc</size>" as sphinx_autodoc [[../solutions/api.html#sphinx_autodoc]] #7dca5d 
node "<size:12>Tool</size>\n**Sphinx**\n<size:10>sphinx</size>" as sphinx [[../tools/sphinx.html#sphinx]] #5d7ecb 

' Connection definition 

sphinx_autodoc -[bold,#7dca5d]-> python_api_doc: solves
sphinx_autodoc -[bold,#5d7ecb]-> sphinx: uses

@enduml

Tool: Sphinx sphinx ../_images/arrow-right-circle.svg

Documentation generation framework for “Doc-As-Code” approach.

link

https://www.sphinx-doc.org

No needs passed the filters

Doxygen + breathe for C++ APIs in Sphinx

Tool: Doxygen doxygen ../_images/arrow-right-circle.svg
style: blue_border
link

https://www.doxygen.nl/index.html

Tool: Sphinx sphinx ../_images/arrow-right-circle.svg

Documentation generation framework for “Doc-As-Code” approach.

link

https://www.sphinx-doc.org

Tool: Breathe breathe ../_images/arrow-right-circle.svg
style: blue_border

Breathe provides a bridge between the Sphinx and Doxygen documentation systems.

link

https://breathe.readthedocs.io/en/latest/