Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kadrlica committed Jul 2, 2020
1 parent 879793e commit fd4efbb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ help:

.PHONY: help Makefile

# Build the notebooks (needs to be better make-ified)
notebook:
jupyter nbconvert --to html --execute --output-dir . ../tutorial/*.ipynb

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
Expand Down
6 changes: 6 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,9 @@
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']

html_extra_path = ['tutorial1_baseclass.html',
'tutorial2_subclass.html',
'tutorial3_healpix.html',
'tutorial4_decam.html',
]
7 changes: 7 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,18 @@ Welcome to CartoSky's documentation!
:maxdepth: 2
:caption: Contents:

Tutorials
==================

* `Tutorial 1 <./tutorial1_baseclass.html>`_
* `Tutorial 2 <./tutorial2_subclass.html>`_
* `Tutorial 3 <./tutorial3_healpix.html>`_
* `Tutorial 4 <./tutorial4_decam.html>`_

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

0 comments on commit fd4efbb

Please sign in to comment.