Skip to content

Commit

Permalink
Update docs (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdstein authored May 20, 2024
1 parent 7d7b08f commit 3f05933
Show file tree
Hide file tree
Showing 135 changed files with 411 additions and 1,995 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ __pycache__/
.idea/
.vscode/

# Ignore docs that are autogenerated

docs/source/mirar*.rst
docs/source/autogen/
docs/source/extra/flowcharts/

# Distribution / packaging
bin/
build/
Expand Down
7 changes: 7 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ build:
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs

pre_build:
# Generate latest various flowcharts
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python mirar/utils/docs/pipeline_visualisation.py
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH python mirar/utils/docs/auto_config_docs.py
# Generate API documentation
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry run sphinx-apidoc -o ./docs/source/ ./mirar --module-first --force

sphinx:
builder: html
fail_on_warning: false
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

![alt text](./docs/MIRAR_logo.png?raw=true)
![alt text](docs/source/extra/MIRAR_logo.png?raw=true)

# Modular Image Reduction and Analysis Resource (MIRAR)

Expand Down
Binary file removed docs/flowcharts/git/default.png
Binary file not shown.
Binary file removed docs/flowcharts/git/lt.png
Binary file not shown.
Binary file removed docs/flowcharts/git/lt_sub.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/all_phot.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/default.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/default_stellar.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/default_transient.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/realtime.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/test_stellar.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/test_transient.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/transient_PSF.png
Binary file not shown.
Binary file removed docs/flowcharts/sedmv2/transient_upload.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/_monitor.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/_monitor_2.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/crtest.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/dbtest.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/default.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/full.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/imsub.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/log.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/postprocess.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/realtime.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/simrealtime.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/test.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/test_imsub.png
Binary file not shown.
Binary file removed docs/flowcharts/summer/testlog.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/astrometry.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/buildtest.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/candidates.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning_dark.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning_flat.png
Diff not rendered.
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning_noise.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning_photcal.png
Diff not rendered.
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning_proc.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning_reduce.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning_split.png
Diff not rendered.
Diff not rendered.
Binary file removed docs/flowcharts/winter/commissioning_stack.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/detect_candidates.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/detrend_unpacked.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/diff_forced_phot.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/final.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/focus_cals.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/full.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/full_commissioning.png
Diff not rendered.
Diff not rendered.
Binary file removed docs/flowcharts/winter/full_imsub.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/full_subset.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/imsub.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/log.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/mosaic.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/only_ref.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/photcal_stacks.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/process_candidates.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/realtime.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/reduce.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/reduce_unpacked.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/refbuild.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/reftest.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/send_skyportal.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/split_stacks.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/stack_forced_phot.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/test.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/test_imsub.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/unpack_all.png
Diff not rendered.
Binary file removed docs/flowcharts/winter/unpack_subset.png
Diff not rendered.
Binary file removed docs/flowcharts/wirc/default.png
Diff not rendered.
Binary file removed docs/flowcharts/wirc/imsub.png
Diff not rendered.
Binary file removed docs/flowcharts/wirc/test.png
Diff not rendered.
Binary file removed docs/flowcharts/wirc/test_fp.png
Diff not rendered.
Binary file removed docs/flowcharts/wirc/test_imsub.png
Diff not rendered.
2 changes: 2 additions & 0 deletions docs/source/about.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
About
=====

.. image:: ./MIRAR_logo.png

What is mirar? Good question!

Errors
Expand Down
2 changes: 2 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@

templates_path = ["_templates"]

html_extra_path = ["extra"]

# -- Options for HTML output

html_theme = "sphinx_rtd_theme"
Expand Down
File renamed without changes
12 changes: 10 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ It was created by `Robert Stein <https://robertdstein.github.io/>`_ and
`Viraj Karambelkar <https://github.com/virajkaram>`_ (see everyone who contributed at :doc:`contributors`).

* How does mirar work? Check out :doc:`about`.
* How is mirar designed? See :doc:`design`.
* How can you install mirar? You can find instructions at :doc:`installation`.
* How can you use mirar? Have a look at :doc:`usage`, where there is a guide with examples.
* Want to use mirar for your own telescope? Great! Have a look at our :doc:`contributing-guide`. This also describes what to do if you find a bug or want to request a new feature.
* What does x piece of mirar do? See the full documentation at :doc:`modules`.
* Want to which configurations are available for a pipeline, and what they do? Check out :doc:`autogen/pipelines`.

If you make use of mirar in your research, please cite the version using
the DOI provided by Zenodo:
Expand All @@ -22,18 +24,24 @@ Contents
--------

.. toctree::
:maxdepth: 2

about
installation
design
usage
contributors
contributing-guide
modules

mirar.data
.. toctree::
:maxdepth: 3

autogen/pipelines
modules

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

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
34 changes: 0 additions & 34 deletions docs/source/mirar.catalog.kowalski.rst

This file was deleted.

35 changes: 0 additions & 35 deletions docs/source/mirar.catalog.rst

This file was deleted.

42 changes: 0 additions & 42 deletions docs/source/mirar.catalog.vizier.rst

This file was deleted.

50 changes: 0 additions & 50 deletions docs/source/mirar.data.rst

This file was deleted.

34 changes: 0 additions & 34 deletions docs/source/mirar.data.utils.rst

This file was deleted.

99 changes: 0 additions & 99 deletions docs/source/mirar.database.rst

This file was deleted.

Loading

0 comments on commit 3f05933

Please sign in to comment.