Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.2 KB

README.md

File metadata and controls

46 lines (33 loc) · 1.2 KB

Julia Documentation README

Julia's documentation is written in reStructuredText, a good reference for which is the Documenting Python chapter of the Python Developer's Guide.

Building the documentation

The documentation is built using Sphinx and LaTeX. On ubuntu, you'll need the following packages installed:

python-sphinx
python-pip
latex-cjk-all
texlive
texlive-lang-cjk
texlive-latex-extra

Use pip to install sphinx_rtd_theme:

$ sudo pip install sphinx_rtd_theme

Then run

$ make helpdb.jl
$ make html
$ make latexpdf

File layout

conf.py             Sphinx configuration
helpdb.jl           REPL help database
stdlib/             Julia standard library documentation
UNDOCUMENTED.rst    Undocumented functions (to be filled in and copied to 
                    the correct location in stdlib/)

Sphinx extensions and theme

The extensions to Sphinx and the theme are in the https://github.com/JuliaLang/JuliaDoc repository, and can also be used to style package documentation.