Skip to content

Commit c79ce87

Browse files
authored
Doc tweaks (#140)
* versions * parameterlist * add links to relevant functions * add sphinx_mdinclude to requirements
1 parent d9d9e7a commit c79ce87

File tree

10 files changed

+43
-7
lines changed

10 files changed

+43
-7
lines changed

docs/pages/template_schema/data_tables/companionparameters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ CompanionParameters
33

44
.. seealso::
55

6-
:doc:`../lookup_tables/paramaterlist`
6+
:doc:`../lookup_tables/parameterlist`
77
Documentation for the ParamaterList table
88

99
:doc:`companion_relationships`

docs/pages/template_schema/data_tables/photometry.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Notes
99

1010
.. seealso::
1111

12+
:py:mod:`ingest_photometry<astrodb_utils.photometry.ingest_photometry>`
13+
Function to ingest photometry data
14+
1215
:doc:`../lookup_tables/photometryfilters`
1316
Documentation for the PhotometryFilters table
1417

docs/pages/template_schema/data_tables/spectra.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ Spectra
99
:doc:`../lookup_tables/regimelist`
1010
Documentation for the RegimeList table`
1111

12+
:py:mod:`check_spectrum_plottable<astrodb_utils.spectra.check_spectrum_plottable>`
13+
Function to check if a spectrum is plottable
14+
1215

1316
Relevant functions: `spectra.ingest_spectrum`, `spectra.spectrum_plottable`, `spectra.find_spectra`
1417

docs/pages/template_schema/lookup_tables/instruments.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ Instruments
33

44
.. seealso::
55

6+
:py:mod:`ingest_instrument<astrodb_utils.utils.ingest_instrument>`
7+
Function to ingest instrument data
8+
69
:doc:`../lookup_tables/telescopes`
710
Documentation for the Telescopes table
811

docs/pages/template_schema/lookup_tables/photometryfilters.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ Notes
2525
:doc:`../data_tables/photometry`
2626
Documentation for the Photometry table
2727

28-
:py:mod:`ingest_photometry_filter <astrodb_utils.photometry.ingest_photometry_filter>` function
28+
:py:mod:`ingest_photometry_filter <astrodb_utils.photometry.ingest_photometry_filter>`
2929
Function to ingest photometry filters
3030

31-
:py:mod:`fetch_svo <astrodb_utils.photometry.fetch_svo>` function
31+
:py:mod:`fetch_svo <astrodb_utils.photometry.fetch_svo>`
3232
Function to fetch SVO filter profiles
3333

34-
:py:mod:`assign_ucd <astrodb_utils.photometry.assign_ucd>` function
34+
:py:mod:`assign_ucd <astrodb_utils.photometry.assign_ucd>`
3535
Function to assign UCDs to photometry filters
3636

3737
Table documentation

docs/pages/template_schema/lookup_tables/publications.rst

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ Notes
1717
:ref:`ingesting_publications`
1818
Documenation on ingesting publications
1919

20-
:py:mod:`find publication <astrodb_utils.publications.find_publication>` function
21-
22-
:py:mod:`ingest_publication <astrodb_utils.publications.ingest_publication>` function
20+
:py:mod:`ingest_publication <astrodb_utils.publications.ingest_publication>`
21+
Function to ingest publication data
22+
23+
:py:mod:`find publication <astrodb_utils.publications.find_publication>`
24+
Function to find publications in the database
2325

2426

2527
Table documentation

docs/pages/template_schema/main_tables/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ Main tables
77

88
sources
99
names
10+
versions
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1+
Names
2+
#####
3+
4+
.. seealso::
5+
:py:mod:`ingest_name<astrodb_utils.names.ingest_name>`
6+
Function to ingest name data
7+
8+
9+
Table Documentation
10+
===================
11+
.. _source: https://github.com/astrodbtoolkit/astrodb-template-db/blob/main/docs/schema/Names.md
12+
13+
The below table is built directly from the schema and is
14+
included here from the `astrodb-template-db` documentation: `source`_.
15+
116
.. mdinclude:: ../../../../astrodb-template-db/docs/schema/Names.md
217

docs/pages/template_schema/main_tables/sources.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,14 @@ Notes
1414
* In the case of multiple discovery references, for example independent discovery, choose one
1515
reference for the `reference` column and put the rest in the `other_references` column.
1616

17+
.. seealso::
18+
19+
:py:mod:`ingest_source<astrodb_utils.sources.ingest_source>`
20+
Function to ingest source data
21+
22+
:py:mod:`find_source_in_db<astrodb_utils.sources.find_source_in_db>`
23+
Function to find sources in the database
24+
1725

1826
Table documentation
1927
-------------------

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ docs = [
4444
"nbsphinx",
4545
"pydata-sphinx-theme",
4646
"pandoc",
47+
"sphinx_mdinclude",
4748
]
4849
all = ["astrodb_utils[test, docs]"]
4950

0 commit comments

Comments
 (0)