citations.lsst.io: A website to help you cite Rubin Observatory data, software, and facilities.
This site is built with Rubin Observatory's Documenteer User Guide theme.
To build this documentation site you need Python 3.11 or later. To get started, clone this repository:
git clone https://github.com/lsst/citations
cd citationsSet up and activate a Python virtual environment:
python -m venv .venv
source .venv/bin/activateInstall the dependencies:
make initBuild the site's HTML:
make htmlThe built HTML files will be in _build/html.
To clean up the build files:
make cleanIt can be useful to clean up the build if you are having issues with the build.
You can check for formatting issues with the Pre-commit hooks by running:
make lintThese pre-commit hooks are also run automatically on commit if you previously ran make init.
You can also check for broken links with:
make linkcheckSome broken links may be false positives that need to be ignored by a configuration in technote.toml.
See the Documenteer docs for the sphinx.linkcheck configuration.
A GitHub Actions workflow (.github/workflows.ci.yaml) handles testing, building, and publishing the site.
Pushes to the main branch trigger a new build and deployment of the site.
Pull requests made from branches on this repository also trigger builds, with deployments to citations.lsst.io/v for preview.