AIM-Harvard / pyradiomics

Open-source python package for the extraction of Radiomics features from 2D and 3D images and binary masks. Support: https://discourse.slicer.org/c/community/radiomics
http://pyradiomics.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.15k stars 499 forks source link

Investigate integration of formulas into docstrings #53

Closed fedorov closed 8 years ago

fedorov commented 8 years ago

also see

https://pythonhosted.org/an_example_pypi_project/sphinx.html

fedorov commented 8 years ago

and http://www.sphinx-doc.org/en/stable/ext/math.html

references courtesy @jcfr !

naucoin commented 8 years ago

Related to Issue #3 ?

fedorov commented 8 years ago

useful tutorial: http://gisellezeno.com/tutorials/sphinx-for-python-documentation.html

fedorov commented 8 years ago

Sample screenshots of the look and features of the sphinx generated html pages

Top-level page (different themes are available, I liked this one the most)

image

Full text search capability:

image

Documentation for the specific function, search result highlight:

image

Source code for the specific function is cross-linked:

image

fedorov commented 8 years ago

wiki page https://github.com/Radiomics/pyradiomics/wiki/Documentation-infrastructure

jcfr commented 8 years ago

Nice.

Using the sphinx-quickstart is also helpful to generate the initial skeleton. See http://read-the-docs.readthedocs.io/en/latest/getting_started.html

pieper commented 8 years ago

+1

On Tue, Jun 28, 2016 at 2:52 PM, Jean-Christophe Fillion-Robin < notifications@github.com> wrote:

Nice.

Using the sphinx-quickstart is also helpful to generate the initial skeleton. See http://read-the-docs.readthedocs.io/en/latest/getting_started.html

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Radiomics/pyradiomics/issues/53#issuecomment-229146583, or mute the thread https://github.com/notifications/unsubscribe/AAHsfZujVtKTxnc0nPBSScsFAdhqNbEzks5qQW2GgaJpZM4IXNzR .

fedorov commented 8 years ago

Using the sphinx-quickstart is also helpful to generate the initial skeleton.

yes, that is what I did. The wiki I references has a link to this guide http://gisellezeno.com/tutorials/sphinx-for-python-documentation.html, which uses quickstart, and I didn't duplicate the steps in that guide in the wiki.

pieper commented 8 years ago

Looks great!

jcfr commented 8 years ago

@fedorov Nice. Formula looks great too. Let me know when you have a PR ready for review.

fedorov commented 8 years ago

Resolved by #74