Purpose
Before merging develop into main, reviewers need a quick, self-contained way to check out
develop locally and preview both documentation sites:
- the Quarto site under
quarto/
(the project's main site, published to GitHub Pages), and
- the Sphinx API docs under
docs/
(published to ReadTheDocs).
This issue documents the commands to do that.
1. Clone the repository and check out develop
git clone https://github.com/INGEOTEC/CompStats.git
cd CompStats
git checkout develop
2. Install the package and its dependencies
pip install -e .
pip install -r requirements.txt
3. Preview the Quarto site (quarto/)
Requires Quarto to be installed locally.
quarto preview renders the site and opens it in the browser with live reload, so it is the
fastest way to review pages (index.ipynb, pages/sklearn_users.ipynb,
pages/competition_organizers.ipynb, pages/multiple_testing.ipynb) as they will appear once
published.
Alternatively, a static render (matching what CI publishes via
.github/workflows/publish.yml) can be produced without a live server:
The output is written to quarto/_site/; open quarto/_site/index.html in a browser.
4. Build the Sphinx API documentation (docs/)
Open docs/build/html/index.html in a browser to review the rendered API reference.
Reviewer checklist
Purpose
Before merging
developintomain, reviewers need a quick, self-contained way to check outdeveloplocally and preview both documentation sites:quarto/(the project's main site, published to GitHub Pages), and
docs/(published to ReadTheDocs).
This issue documents the commands to do that.
1. Clone the repository and check out
developgit clone https://github.com/INGEOTEC/CompStats.git cd CompStats git checkout develop2. Install the package and its dependencies
pip install -e . pip install -r requirements.txt3. Preview the Quarto site (
quarto/)Requires Quarto to be installed locally.
cd quarto quarto previewquarto previewrenders the site and opens it in the browser with live reload, so it is thefastest way to review pages (
index.ipynb,pages/sklearn_users.ipynb,pages/competition_organizers.ipynb,pages/multiple_testing.ipynb) as they will appear oncepublished.
Alternatively, a static render (matching what CI publishes via
.github/workflows/publish.yml) can be produced without a live server:cd quarto quarto renderThe output is written to
quarto/_site/; openquarto/_site/index.htmlin a browser.4. Build the Sphinx API documentation (
docs/)cd docs make htmlOpen
docs/build/html/index.htmlin a browser to review the rendered API reference.Reviewer checklist
developpip install -e .,pip install -r requirements.txt)quarto previewfromquarto/) and review each pagemake htmlfromdocs/)main