Skip to content

Commit

Permalink
Merge pull request #276 from astronomy-commons/restructuring-docs-tree
Browse files Browse the repository at this point in the history
Restructure docs tree
  • Loading branch information
camposandro authored Apr 11, 2024
2 parents 524f793 + 6f60afa commit 4ae2c28
Show file tree
Hide file tree
Showing 16 changed files with 51 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ repos:
"-d", # Flag for cached environment and doctrees
"./docs/_build/doctrees", # Directory
"-D", # Flag to override settings in conf.py
"exclude_patterns=notebooks/*", # Exclude our notebooks from pre-commit
"exclude_patterns=tutorials/*", # Exclude our notebooks from pre-commit
]
# Run unit tests, verify that they pass. Note that coverage is run against
# the ./src directory here because that is what will be committed. In the
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ See related projects:

[![GitHub issue custom search in repo](https://img.shields.io/github/issues-search/astronomy-commons/lsdb?color=purple&label=Good%20first%20issues&query=is%3Aopen%20label%3A%22good%20first%20issue%22)](https://github.com/astronomy-commons/lsdb/issues?q=is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22)

See the [contribution guide](https://lsdb.readthedocs.io/en/stable/gettingstarted/contributing.html)
See the [contribution guide](https://lsdb.readthedocs.io/en/stable/developer/contributing.html)
for complete installation instructions and contribution best practices.

## Acknowledgements
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?= -T -E -d _build/doctrees -D language=en
EXCLUDENB ?= -D exclude_patterns="notebooks/*","_build","**.ipynb_checkpoints"
EXCLUDENB ?= -D exclude_patterns="tutorials/*","_build","**.ipynb_checkpoints"
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = ../_readthedocs/
Expand Down
Binary file added docs/_static/gaia.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions docs/contact.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Contact us
===============================================================================

We at LINCC Frameworks pride ourselves on being a friendly bunch!

If you're encountering issues, have some gnarly dataset, have ideas for
making our products better, or pretty much anything else, reach out!

* Open an issue in our github repo for lsdb
* https://github.com/astronomy-commons/lsdb/issues/new
* If you're on LSSTC slack, so are we!
`#lincc-frameworks-qa <https://lsstc.slack.com/archives/C062LG1AK1S>`_
File renamed without changes.
12 changes: 0 additions & 12 deletions docs/gettingstarted.rst

This file was deleted.

28 changes: 23 additions & 5 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,38 @@ Built on top of Dask to efficiently scale and parallelize operations across mult
the `HiPSCat <https://hipscat.readthedocs.io/en/stable/>`_ data format for surveys in a partitioned HEALPix
(Hierarchical Equal Area isoLatitude Pixelization) structure.

.. figure:: _static/gaia.png
:class: no-scaled-link
:scale: 80 %
:align: center
:alt: A possible HEALPix distribution for Gaia DR3

A possible HEALPix distribution for Gaia DR3.

In this website you will find:

- :doc:`Getting Started <gettingstarted>` guides on how to install and run an example workflow
- :doc:`Tutorials <tutorials>`, and :doc:`Notebooks <notebooks>` with more advanced usage examples
- Getting Started guides on how to :doc:`install <installation>` and run an :doc:`example workflow <tutorials/quickstart>`
- :doc:`Tutorials <tutorials>` with more advanced usage examples
- The detailed :doc:`API Reference <autoapi/index>` documentation

Learn more about contributing to this repository in our :doc:`Contribution Guide <gettingstarted/contributing>`.
Learn more about contributing to this repository in our :doc:`Contribution Guide <developer/contributing>`.

.. toctree::
:hidden:

Home page <self>
Getting Started <gettingstarted>
Installation <installation>
Getting Started <tutorials/quickstart>
Tutorials <tutorials>
Notebooks <notebooks>

.. toctree::
:hidden:
:caption: Developer

API Reference <autoapi/index>
Contribution Guide <developer/contributing>

.. toctree::
:hidden:

Contact us <contact>
File renamed without changes.
9 changes: 0 additions & 9 deletions docs/notebooks.rst

This file was deleted.

1 change: 0 additions & 1 deletion docs/notebooks/README.md

This file was deleted.

14 changes: 13 additions & 1 deletion docs/tutorials.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,21 @@ Tutorials
These pages contain a set of tutorial notebooks for working through core and more advanced LSDB
functionality.

Core functionality
------------------
.. toctree::
:maxdepth: 1

Loading data into LSDB <tutorials/loading_data>
Working with large catalogs <tutorials/working_with_large_catalogs>
Margins <tutorials/margins>
Exporting results <tutorials/exporting_results>
Exporting results <tutorials/exporting_results>

Other tutorials
---------------
.. toctree::
:maxdepth: 1

Import catalogs <tutorials/import_catalogs>
Cross-match ZTF BTS and NGC <tutorials/ztf_bts-ngc>
Import and cross-match DES and Gaia <tutorials/des-gaia>
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 4ae2c28

Please sign in to comment.