Sphinx: Difference between revisions

From FreeCAD Documentation
(Sphinx is a documentation system similar to Doxygen, designed primarily to document Python code.)
 
(Visit the Sphinx website to learn more about the system, and consult the Sphinx manual for the full information.)
Line 1: Line 1:
<languages/>
<translate>

== Introduction ==
== Introduction ==


[[Sphinx|Sphinx]] is a documentation system similar to [[Doxygen|Doxygen]], designed primarily to document [[Python|Python]] code.
[[Sphinx|Sphinx]] is a documentation system similar to [[Doxygen|Doxygen]], designed primarily to document [[Python|Python]] code. With the use of "Breathe" it can also be used to parse C++ code, so it can be used in projects that mix C++ and Python.

Visit the [https://www.sphinx-doc.org/en/master/ Sphinx] website to learn more about the system, and consult the [https://www.sphinx-doc.org/en/master/contents.html Sphinx manual] for the full information.

== Sphinx and FreeCAD ==

This document gives a brief introduction to Sphinx, in particular how it is used in FreeCAD to document its sources. Visit the [[source_documentation|source documentation]] page for instructions on building the FreeCAD documentation, which is also hosted online on the [https://www.freecadweb.org/api/ FreeCAD API website].

[[File:FreeCAD_sphinx_workflow.svg|800px]]

{{Caption|General workflow to produce source code documentation with Sphinx. (Editor's note: update this image)}}

</translate>
[[Category:Developer_Documentation{{#translation:}}]]

Revision as of 23:45, 29 March 2020

Other languages:

Introduction

Sphinx is a documentation system similar to Doxygen, designed primarily to document Python code. With the use of "Breathe" it can also be used to parse C++ code, so it can be used in projects that mix C++ and Python.

Visit the Sphinx website to learn more about the system, and consult the Sphinx manual for the full information.

Sphinx and FreeCAD

This document gives a brief introduction to Sphinx, in particular how it is used in FreeCAD to document its sources. Visit the source documentation page for instructions on building the FreeCAD documentation, which is also hosted online on the FreeCAD API website.

File:FreeCAD sphinx workflow.svg

General workflow to produce source code documentation with Sphinx. (Editor's note: update this image)