Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

more nbs for docs #174

Merged
merged 5 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,13 @@ Notes:

## Dev Guide - Adding notebooks to Read The Docs

- Copy notebook into `docs/notebooks` (N.B. the notebook must have at least one section header and be using the "Python 3 (ipykernel)" kernel, not some conda env kernel that may only be installed locally)
- Copy notebook into `docs/notebooks` (N.B. the notebook must have at least one section header* and be using the "Python 3 (ipykernel)" kernel, not some conda env kernel that may only be installed locally)
- Update the toctree in the file `docs/notebooks.rst`
- Ensure necessary requirements are declared in `pyproject.toml` and `docs/requirements.txt`. Also, make sure that the notebook being added to the docs is using the python3 (ipykernel) kernel, not some conda env kernel that may only be installed locally
- To update the docs locally, from the `docs` dir run: `python -m sphinx -T -E -b html -d _build/doctrees -D language=en . ../_readthedocs/html`

* Multiple section headers from a notebook will also show up in the table of contents.

## Dev Guide - Updating pyproject.toml

If you are adding code that requires a new dependency, this needs to be included in pyproject.toml under the `[project]' section:
Expand Down
5 changes: 5 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
Welcome to adler's documentation!
========================================================================================

Introduction
------------

Adler is an open source package which provides tools for detecting and characterising activity in observations of solar system objects.

Dev Guide - Getting Started
---------------------------

Expand Down
3 changes: 3 additions & 0 deletions docs/notebooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ Notebooks

Introducing Jupyter Notebooks <notebooks/intro_notebook>
Adler phasecurve models <notebooks/adler_phasecurve_example>
Adler plotting example <notebooks/plotting_utilities_example>
Adler outlier detection <notebooks/outlier_detection_example>
Adler colour measurement <notebooks/colour_functions_example>
Loading
Loading