The pipelines.lsst.io documentation site incorporates content from the doc/ directories <layout-of-doc-directory>
of individual LSST Science Pipelines packages. This page describes how to add a package’s documentation content to the pipelines.lsst.io documentation site. The steps are:
add-to-pipelines-lsst-io-prep
add-to-pipelines-lsst-io-eups-table
add-to-pipelines-lsst-io-eups-test
add-to-pipelines-lsst-io-eups-merge
The first step is to populate the package’s doc/
directory with the boilerplate files:
- Clone the package.
- Check out a ticket branch for development (
following the usual workflow </work/flow>
). - Add files to the package’s
doc/
directory. Seelayout-of-doc-directory
for details.
At this stage, you can build the documentation content for this package alone. See Building single-package documentation locally <building-single-package-docs>
for directions.
The next step is to integrate that package’s documentation with the main documentation repository, pipelines_lsst_io:
- Clone the pipelines_lsst_io repository.
- Check out a ticket branch for development (use the same ticket as for setting up the package’s
doc/
directory). - Add the name of your package to the
ups/pipelines_lsst_io.table
file.
The combination of having a populated doc/
directory in your package and having that package set up by pipelines_lsst_io ensures that the package and any of its Python modules are listed on the homepage generated by pipelines_lsst_io.
At this stage, you can locally build the pipelines.lsst.io site with your package’s content included. The page building-pipelines-lsst-io-locally
describes how to do this.
After you set up pipelines_lsst_io with EUPS, make sure that you also follow the steps in the section local-pipelines-lsst-io-build-package-setup
to set up your package. Even though you’ve added your package to pipelines_lsst_io’s EUPS table file, you need to ensure that it’s your local copy that’s being set up, not the copy installed with your base lsst_distrib
(or equivalent) installation.
The last step is to merge the branches in both the package and pipelines_lsst_io repositories. In general, this should be done using DM’s regular review and merging workflow </work/flow>
.
Merge the package’s branch first, followed by the branch for pipelines_lsst_io.