Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
acb9cdf
PIPE-1545: correct a misspelling; spell out the full term of 'PIMS'.
r-xue Jun 15, 2022
4553ef9
PIPE-2414: add the initial draft of heuristics_dev_integration.md
r-xue Dec 5, 2024
995d9ac
PIPE-2414: refine the description for use cases of the `pipeline.exte…
r-xue Dec 6, 2024
cb67d31
PIPE-1669: add the Conda env yaml file for setting up CASA-6.6.1py3.8…
r-xue Feb 28, 2024
f5bdf4b
PIPE-1669: add imagemagick.
r-xue Feb 28, 2024
a1ade94
PIPE-1669: remove the extra 'h'.
r-xue Feb 28, 2024
9be0954
PIPE-1669: explicit pick openmpi rather than mpich.
r-xue Feb 28, 2024
ed9df83
PIPE-1669: add additional notes on macOS installations.
r-xue Feb 28, 2024
7dc4d92
PIPE-1669: correct the statement about the NRAO casatools wheel tag.
r-xue Feb 29, 2024
6b80a75
PIPE-1669: add the aliases/shortcuts defs to emulate the monolithic C…
r-xue Feb 29, 2024
2d40292
PIPE-1669: update the comment section titles.
r-xue Feb 29, 2024
c0f3628
PIPE-1669: make the 'start_mpi' workaround friendly to macOS monolith…
r-xue Feb 29, 2024
e44a93a
PIPE-1669: add the statement of casalog.ompGet/SetNumThreads API on m…
r-xue Feb 29, 2024
7db023e
PIPE-1669: minor comment updates.
r-xue Feb 29, 2024
54a566f
PIPE-1669: replace alias with export for cmd shorthand.
r-xue Feb 29, 2024
cac0bbe
PIPE-1669: add an example to show how to execute a headless parallel …
r-xue Feb 29, 2024
1332644
PIPE-1669: ensure time-based logfile names.
r-xue Mar 1, 2024
fd7cac5
PIPE-1669: minor update for the PL-custom flags.
r-xue Mar 1, 2024
548062f
PIPE-1669: add the default session configuration YAML file.
r-xue Mar 5, 2024
7a0af0f
PIPE-1669: add requirements_dev.txt
r-xue Mar 12, 2024
f4b8957
PIPE-1669: update the casatools/casatasks version specification; upda…
r-xue Mar 13, 2024
4ae13fa
PIPE-1669: migrate the packaging specs to pyproject.toml; add optiona…
r-xue Mar 13, 2024
abec947
PIPE-1669: update building_the_pipeline.md .
r-xue Mar 13, 2024
963ecf3
PIPE-1669: minor typo fix.
r-xue Mar 14, 2024
2f03d98
PIPE-1931: replace the Java/closure-compiler-based JS optimizing meth…
r-xue Mar 15, 2024
c3ff744
PIPE-1669: update casa modules version specs using the wildcard syntax.
r-xue Mar 15, 2024
7847436
PIPE-931: tweak the code format inside minified JS files.
r-xue Mar 16, 2024
e14fcd7
PIPE-2141: refactoring to use pyproject.toml for configuring the pipe…
r-xue Mar 18, 2024
6ad2d6d
PIPE-1669: rename the config file.
r-xue Mar 18, 2024
97fed74
PIPE-1669: add the Pipeline versioning description in docs/building_t…
r-xue Mar 19, 2024
2b6fe65
PIPE-1669: fix the circular import after auto-import sorting.
r-xue Mar 21, 2024
f90e374
PIPE-1719: replace the deprecated Element.getchildren() method.
r-xue Mar 21, 2024
c86a712
PIPE-1669: improve the forward compatibility solution for CAS-14218.
r-xue Mar 21, 2024
52e1fd3
PIPE-1669: improve the compatibility of the installation procedure fo…
r-xue Mar 21, 2024
c5b4f4d
PIPE-1669: remove config.yaml that was committed accidentally.
r-xue Apr 24, 2024
579f767
PIPE-1883: add the first draft of the PL release / recipes tables.
r-xue Apr 25, 2024
9f29678
PIPE-1669: fix the conflicts with PIPE-2196 and PIPE-1867.
r-xue Aug 8, 2024
fa4780c
PIPE-1883: reformat the recipe markdown table.
r-xue Oct 11, 2024
f76f89b
PIPE-1669: refactor version.py; update inline comments.
r-xue Oct 11, 2024
27dc6c0
PIPE-1883: Update pipeline recipes markdown file to match updated con…
krlberry Sep 18, 2024
c31d9ae
PIPE-2359: update the versions of three dependency libraries.
r-xue Oct 12, 2024
fd6e5c6
PIPE-1669: switch to Python 3.10 and CASA ver 6.6.6 modules in pipe16…
r-xue Oct 12, 2024
6deaf3e
PIPE-1669: remove `casadata` from the dependency list.
r-xue Oct 12, 2024
03945b8
PIPE-1669: pin mpi4py to ver3.x in pipe1669.yaml
r-xue Oct 13, 2024
b7721b8
PIPE-1883: rename regression-tester.py to regression_tester.py
r-xue Oct 15, 2024
d7e2805
PIPE-1883: add a GH action to build the documentation.
r-xue Oct 15, 2024
849d04f
PIPE-1883: prevent module import failures from pipeline/runpipeline.p…
r-xue Oct 15, 2024
0fc9f4d
PIPE-1883: update .gitignore
r-xue Oct 15, 2024
16b2fb0
PIPE-1883/PIPE-2160: add the documentation for the modular setup.
r-xue Oct 15, 2024
053d14c
PIPE-1883: Update sphinx.yml
r-xue Oct 15, 2024
565a53e
PIPE-1669: add the conda-forge flavor `pandoc` as it's required for `…
r-xue Oct 15, 2024
34e5e8f
Create README.rst
r-xue Oct 15, 2024
5832e22
Delete docs/README.md
r-xue Oct 15, 2024
5ad83b0
PIPE-1883: remove releases.md (replaced by releases.rst) and obsolete…
r-xue Oct 15, 2024
3869f02
PIPE-1883: update docs/README.rst
r-xue Oct 15, 2024
f856d6e
PIPE-1883: add additional inheritance diagram shortcut directives.
r-xue Oct 15, 2024
156605b
PIPE-1883: update docs/README.rst
r-xue Oct 15, 2024
7b678e7
PIPE-1883: language/typo fixes; add additional module/diagram sections.
r-xue Oct 15, 2024
52ebad1
PIPE-1883: rename `hifa.tasks.tsysflag.tsysflag::Tsysflag` to `hifa.t…
r-xue Oct 15, 2024
836211f
PIPE-1883: clean up index.rst
r-xue Oct 16, 2024
8228b98
PIPE-1883: correct the directive arguments inside classes.rst
r-xue Oct 16, 2024
c5479f5
PIPE-1883: fix the "Unexpected section title or transition." errors w…
r-xue Oct 16, 2024
df9cea6
PIPE-1883: reorganize a couple of sections; add the clickable link to…
r-xue Oct 16, 2024
2bfe607
PIPE-1883: switch back on the `sphinx-astrorefs` demos.
r-xue Oct 22, 2024
7a97e6c
PIPE-1883: use the right .bib file for `bibtext_bibfiles`.
r-xue Oct 22, 2024
7749fda
PIPE-1669: add a custom tier0-switched-on hifa_calimage test recipe.
r-xue Oct 23, 2024
daff993
PIPE-2375: add the dask-future-based parallelization changes.
r-xue Oct 23, 2024
61b32f7
PIPE-2375: add a workaround for the NumPy2 effect described in PIPE-2…
r-xue Oct 23, 2024
f48bf02
PIPE-1669: remove dated in-line comments in pipe1669.yaml
r-xue Oct 23, 2024
0241c74
PIPE-2375: add a Jupyter Notebook for the "tier0dask" demo.
r-xue Oct 23, 2024
41b4017
PIPE-2375: use pyvirtualdisplay to replace the subprocess/xvfb-run ap…
r-xue Oct 23, 2024
8ad8d94
PIPE-1669: add a CLI interface for trigger typical Pipeline workflows…
r-xue Oct 24, 2024
cd1a7e1
PIPE-2375: update tier0dask.ipynb with section titles.
r-xue Oct 24, 2024
a1f834d
PIPE-1669: update the pipeline.__main__ CLI interface.
r-xue Oct 25, 2024
2d15eda
PIPE-1669: handle a custom working path either as a Slurm or subproce…
r-xue Oct 25, 2024
a963622
PIPE-2375: update the switching sequence of tier0 backends; add the `…
r-xue Oct 28, 2024
a5c5eb2
PIPE-2375: better handle of missing sections in session config YAML f…
r-xue Oct 28, 2024
670622f
PIPE-1669: disable the CLI `xvfb-run` wrapper.
r-xue Oct 28, 2024
8885ea3
PIPE-2378: avoid coloring the logging entries to StreamHandler.
r-xue Oct 29, 2024
a562cd6
PIPE-1669: relocate the CLI interface def into a seperate module impo…
r-xue Oct 29, 2024
961dc34
PIPE-1669: remove the duplicated `argparse` block.
r-xue Oct 29, 2024
9355924
PIPE-2375: improve the daskhelpers module.
r-xue Oct 31, 2024
70c2f1a
PIPE-1883/PIPE-1669: avoid the CLI opt collision between the interfac…
r-xue Oct 31, 2024
de30cc6
PIPE-1883: fix a typo in releases.rst
r-xue Dec 11, 2024
68ae896
PIPE-1883: comment out the reference of deprecated `create_docs.py`.
r-xue Dec 11, 2024
6ba5b9e
PIPE-1669: switch to use miniforge3 for GH actions.
r-xue Dec 11, 2024
1df25e6
PIPE-1669: update the `setup-miniconda` action version.
r-xue Dec 11, 2024
f2c221b
PIPE-1970: switch to `latex.rst` for the pdf generation.
r-xue Dec 11, 2024
09479e4
PIPE-1970: add the latex dependencies into the build environment.
r-xue Dec 11, 2024
6fdf57d
PIPE-1970: fix the LaTeX installation permission issue.
r-xue Dec 11, 2024
abc5293
Update README.rst
r-xue Dec 11, 2024
2ca6dc8
PIPE-1883: reorganize the documentation structure, incremental update…
r-xue Dec 13, 2024
f87eae2
PIPE-1883: switch autosummary back on.
r-xue Dec 13, 2024
294a482
PIPE-1883: switch back to the default Pygments style.
r-xue Dec 13, 2024
bec09ac
PIPE-1883: add the OS-side runtime dependencies into the build/test i…
r-xue Dec 13, 2024
5a4ccf5
PIPE-1883: fetch all Git history to correctly derive the version / bu…
r-xue Dec 13, 2024
64dd37e
Update sphinx.yml
r-xue Dec 14, 2024
49585ef
PIPE-1669: use the full path of the Git executable in subprocess (she…
r-xue Dec 14, 2024
faf3426
PIPE-1669: remove the conda-distributed Git installation.
r-xue Dec 14, 2024
4057b9f
PIPE-1669: revert to the code state before the Git failure test.
r-xue Dec 14, 2024
72e4cf8
PIPE-1883: add copy buttons and additional customization for nbsphinx.
r-xue Dec 15, 2024
7d7d3ba
PIPE-1883: update context.ipynb and conf.py
r-xue Dec 16, 2024
69dac2a
PIPE-1883: update config.py and context.ipynb
r-xue Dec 17, 2024
280b81a
PIPE-1883: add .readthedocs.yaml
r-xue Dec 17, 2024
e5fef7a
PIPE-2426/PIPE-2422: Migrate GitHub Actions HTML/PDF autobuild to Rea…
r-xue Dec 18, 2024
9743d23
PIPE-2426: add a missed dependency entry.
r-xue Dec 18, 2024
99bdb9f
PIPE-2426: add readthedocs.md
r-xue Dec 18, 2024
3ae1084
PIPE-2426: correct the artifacts path.
r-xue Dec 18, 2024
4335ac6
PIPE-1883: update conf.py and context.ipynb
r-xue Dec 18, 2024
46ef59c
PIPE-1883: Limit the height of rich.inspect output cells.
r-xue Dec 18, 2024
6a9e772
PIPE-1883: update context.ipynb
r-xue Dec 18, 2024
46d8b15
PIPE-2359: bump the Astropy version to v6.1.6
r-xue Jan 10, 2025
b436430
PIPE-2359: Update reference links to use readthedocs.io
r-xue Jan 10, 2025
dba8a43
PIPE-2359: fix the PDF link.
r-xue Jan 10, 2025
2586561
PIPE-1669: fix after rebase
r-xue Mar 11, 2025
22a303b
PIPE-1669: rename `pipe1669.yaml` to `environment.yml`; minor formatt…
r-xue Mar 11, 2025
7529756
PIPE-1669: update the old references to pipe1669.yaml
r-xue Mar 11, 2025
0d8a352
PIPE-2366: use the tsysspwmap helper function from the Pipeline codeb…
r-xue Oct 12, 2024
1756fc0
PIPE-2366: use the right argument from the Pipeline version of `tsyss…
r-xue Oct 12, 2024
3130cfc
PIPE-2366: use the `tsysspwmap` helper function from a copy of `almah…
r-xue Oct 13, 2024
4782597
PIPE-2366: add docstring to almahelpers.py for improved code document…
r-xue Mar 11, 2025
0d85c65
PIPE-2359: update dependency specifications to align with current com…
r-xue Mar 11, 2025
aee7fe1
PIPE-2392: Add .ruff.toml with recommended Ruff configuration for dev…
r-xue Nov 16, 2024
2f84b99
PIPE-2392: prefers the single quote form for string literals.
r-xue Nov 17, 2024
d1c3051
PIPE-2392: integrate code linting and formatting into the optional pr…
r-xue Mar 11, 2025
b4688d7
PIPE-2392: add a developer note on setting up pre-commit hooks.
r-xue Mar 11, 2025
42824b7
PIPE-2335: add the additional note for testing setup after the introd…
r-xue Nov 18, 2024
ed2dfe5
PIPE-2335: handle the case when no valid "casa-data" entry exist in t…
r-xue Nov 22, 2024
96ea1f7
PIPE-2359: bump the Astropy version to v6.1.7
r-xue Mar 12, 2025
501217a
PIPE-2359: remove the reference of `almatasks.wvrgcal` as it has been…
r-xue Mar 13, 2025
fbd5ddc
PIPE-1669: Remove Pipeline session configurator proposal and CLI inte…
r-xue Mar 13, 2025
2c0daf5
PIPE-2529: update the docstring in `runvlapipeline.py` and `runpipeli…
r-xue Mar 18, 2025
652667d
PIPE-2375: add `dask_jobqueue` to experimental dependencies
r-xue Mar 18, 2025
e2bd637
PIPE-1669: prevent circular importing.
r-xue Mar 18, 2025
fd73586
PIPE-1669: update some docstrings to the Google style and clean up un…
r-xue Mar 19, 2025
20b4f1f
Merge remote-tracking branch 'origin/main' into update-docs-build-and…
r-xue Mar 20, 2025
4b63603
Merge remote-tracking branch 'origin/PIPE-2414-summarize-the-prototyp…
r-xue Mar 26, 2025
8270d46
PIPE-2359: separate dependency specifications for VLASS-PL2025 release.
r-xue Apr 2, 2025
5824ee4
PIPE-2528: Update releases.rst with planned PL2025 release schedule.
r-xue Apr 3, 2025
91577eb
Merge remote-tracking branch 'origin/main' into update-docs-build-and…
r-xue Apr 3, 2025
e3389ae
PIPE-2347: add PL2025 development roadmap generated in Mermaid.
r-xue Apr 3, 2025
dc8793c
PIPE-2359: add a named optional dependency group/tag for VLASS-PL2025.
r-xue Apr 4, 2025
fae7ac3
PIPE-2375: add unit tests and configure Dask cluster initialization f…
r-xue Apr 4, 2025
c5535b9
PIPE-2375: keep the configurations set by casaconfig without overrides.
r-xue Apr 4, 2025
2c01dd3
PIPE-2375: make `daskhelpers.is_dask_worker` work without `dask.distr…
r-xue Apr 4, 2025
a368be5
Merge remote-tracking branch 'origin/PIPE-1545-update-the-markdown-do…
r-xue Apr 8, 2025
a09fbd4
PIPE-2347: update the docstring for `pipeline.recipereducer::reduce`.
r-xue Apr 8, 2025
0aa142d
PIPE-2347: update ALMA PL2025 test and review timeline.
r-xue Apr 9, 2025
f7f8dcf
PIPE-2347: update `.mailmap`.
r-xue Apr 9, 2025
f2b85ee
Merge remote-tracking branch 'origin/main' into update-docs-build-and…
r-xue Apr 15, 2025
156bc01
PIPE-2393: pin PyBDSF to a version compatible with NumPy 2.x
r-xue Apr 23, 2025
3566130
PIPE-1669: Add docstring and refactor `infrastructure/version.py`.
r-xue Apr 25, 2025
d13e517
Merge remote-tracking branch 'origin/main' into update-docs-build-and…
r-xue Apr 25, 2025
d35705c
PIPE-2426: fix cosmetic issue with `-detached` labels in RTD builds; …
r-xue Apr 25, 2025
47681ea
PIP-1669: verify the version string from Git history parsing is PEP44…
r-xue Apr 25, 2025
3a5d97e
PIPE-1669: update modular.rst to correct some re-formatting errors.
r-xue Apr 26, 2025
c4961a1
PIPE-1793: add `is_mpi_server` and `exec_func` to `mpihelpers.py`.
r-xue Apr 26, 2025
aa91ccd
PIPE-1669: ensure correct casaplotms .whl selections (a workaround); …
r-xue Apr 30, 2025
66504fc
PIPE-1669: update repo configuration files.
r-xue Apr 30, 2025
2d1f9c2
PIPE-1669: minor changes to requirements.txt .
r-xue May 5, 2025
330b6ae
Merge remote-tracking branch 'origin/main' into update-docs-build-and…
r-xue May 7, 2025
46f402d
PIPE-1669: remove the reference to the deprecated `almatasks` package.
r-xue May 7, 2025
6380ebf
PIPE-1669: add `human_file_size*()` to `pipeline/infrastructure/utils…
r-xue May 7, 2025
7faeaa6
PIPE-1669: clean up unused import statements to avoid potential circu…
r-xue May 8, 2025
eb151cc
PIPE-1669: refactor the pipeline configuration module; move configura…
r-xue May 8, 2025
6111e17
PIPE-1836: Replace deprecated `pkg_resources` with `importlib.resourc…
r-xue May 8, 2025
5b29652
PIPE-2375: refactor the Dask cluster autostart initialization sequenc…
r-xue May 8, 2025
02d318e
Merge remote-tracking branch 'origin/main' into update-docs-build-and…
r-xue May 20, 2025
013a976
Merge remote-tracking branch 'origin/main' into `update-docs-build-an…
r-xue Sep 18, 2025
073624f
PIPE-1669: Adapt globals search for both IPython and CASA/casashell s…
r-xue Sep 18, 2025
440ea36
PIPE-2854/PIPE-1883: Remove unused CLI task interfaces from pipeline.…
r-xue Sep 18, 2025
34428a6
PIPE-1883: allow `make pdf_taskdocs` to refresh `autosummary` output.
r-xue Sep 18, 2025
32a95f9
PIPE-2855: upgrade `cachetools` to `6.2.0`.
r-xue Sep 18, 2025
408fec5
PIPE-2854: remove the `Indices and tables` section.
r-xue Sep 18, 2025
aa4ea9a
PIPE-2854: disable smart quotes.
r-xue Sep 19, 2025
2d1998b
PIPE-2854: present code snippets / variables / variable values in the…
r-xue Sep 19, 2025
ce2a8b8
PIPE-2854: clean up the tagline of CLI functions and fix some codesty…
r-xue Sep 19, 2025
a05b83f
PIPE-2859: refactor task execution boilerplate into the reusable `cli…
r-xue Sep 20, 2025
0447baa
update for formatting
tnakazato Sep 24, 2025
10bcdc1
update description on freqeuncy reference frame of output images
tnakazato Sep 24, 2025
a3a4604
PIPE-2854: remove the reference to unexposed `h_export_calstate`/`h_i…
r-xue Sep 24, 2025
5ea5c84
Pull request #1671: SD reference manual update
tnakazato Sep 24, 2025
19b0889
PIPE-2854: additional refinement of CLI docstring.
r-xue Sep 29, 2025
c805b11
Merge branch 'update-docs-build-and-packaging-setup' of https://open-…
r-xue Sep 29, 2025
66a4d76
PIPE-2870: correct `hm_resolvecals` to `hm_resolvedcals` in `cli.hifa…
r-xue Sep 29, 2025
a18a928
PIPE-2870: correct `linefiles` to `linefile` in `cli.hifa_fluxcalflag`.
r-xue Sep 29, 2025
1dfc7a9
PIPE-2854: additional refinement of CLI docstring.
r-xue Sep 29, 2025
df94fb8
PIPE-2854: improve the docstring of `hif_editimlist`; remove `hif_ant…
r-xue Sep 29, 2025
34b5f76
PIPE-2871: raise `PipelineException` if the pipeline global context i…
r-xue Sep 29, 2025
ee64cb1
Merge remote-tracking branch 'origin/main' into update-docs-build-and…
r-xue Sep 29, 2025
85613d9
PIPE-2738: update PL2026 development timeline and branching plans.
r-xue Oct 1, 2025
f068eac
PIPE-2738: update the timeline of "late-PL2025" reference benchmark.
r-xue Oct 1, 2025
b24f319
PIPE-2738: additional updates to `timeline.rst`.
r-xue Oct 1, 2025
b7fe2cc
PIPE-2738: allow `zoom` for Mermaid-based graphs.
r-xue Oct 2, 2025
415a60b
Merge remote-tracking branch 'origin/main' into update-docs-build-and…
r-xue Oct 3, 2025
73b3b20
PIPE-2877/PIPE-1682/PIPE-2855: reintroduce `pympler` as the default m…
r-xue Oct 8, 2025
f04b4c5
PIPE-1883: clear up the Sphinx/Napoleon extension configuration.
r-xue Oct 8, 2025
386406b
Merge branch 'main' into update-docs-build-and-packaging-setup
r-xue Oct 8, 2025
6cdcd03
PIPE-1330: remove unused import after the test session setup/initiali…
r-xue Oct 8, 2025
645680f
PIPE-2877: reverse the use of `Pympler` due to additional issues with…
r-xue Oct 8, 2025
7399c39
PIPE-1793/PIPE-1330: allow `utils.work_directory()` to create a full …
r-xue Oct 8, 2025
5023efd
PIPE-2878: Save a copy of the selected reference file used for regres…
r-xue Oct 8, 2025
c9ef57d
PIPE-2880: add a `Coverage.py` configuration table in `pyproject.toml`.
r-xue Oct 9, 2025
36ea401
PIPE-1504/2859: remove the less reliable stack inspection approach fo…
r-xue Oct 10, 2025
b7ef787
PIPE-2375: update Dask client initialization logic and enhance config…
r-xue Oct 11, 2025
166f1ad
PIPE-2375/PIPE-2884/PIPE-2885/PIPE-2886/PIPE-2887: improve the manage…
r-xue Oct 12, 2025
dc53299
PIPE-2880: reverse an early problematic approach of getting version s…
r-xue Oct 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
56 changes: 56 additions & 0 deletions .github/workflows/sphinx.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: "Sphinx: Build"

on: push

jobs:
build:
name: (${{ matrix.os }}, Miniforge)
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest"]
permissions:
contents: write
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true
- uses: conda-incubator/setup-miniconda@v3
with:
activate-environment: pipeline
environment-file: environment.yml
channel-priority: strict
use-only-tar-bz2: true
show-channel-urls: true
miniforge-version: latest
- run: conda info
- run: conda list
- run: conda config --show
- run: conda env list
- name: Pre-Build Setup (os misc. latex, git)
run: sudo apt-get update -y && sudo apt-get install -y git xvfb imagemagick poppler-utils latexmk texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended
- name: Pre-build Setup (python/sphinx)
run: python -m pip install .[docs] && mkdir -p ~/.casa/data
- name: Build HTML
working-directory: ./docs
run: make html_docs
- name: Build PDF
working-directory: ./docs
run: make latexpdf
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: docs-artifact
path: |
docs/_build/html/
docs/_build/latex/taskdocs.pdf
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/update-docs-build-and-packaging-setup'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build
37 changes: 34 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,17 @@ instance/

# Sphinx documentation
docs/_build/**
docs/source/_apidoc/**
docs/source/_autosummary/**
docs/source/_taskdocs/**
docs/source/_automodapi/**

# CASA log files
casa-*.log
**/casa-*.log
docs/casa-*.log
docs/source/casa-*.log
*.last

# Slurm
**/*.out

# PyBuilder
target/
Expand Down Expand Up @@ -164,3 +167,31 @@ tags

# ignore _version.py, created by setup.py
_version.py
docs/source/references/pipeline-resolved.bib

**/.DS_Store

# Ruff cache
.ruff_cache

# data etc.
**/*.zarr
**/*.ms
**/*.tar
**/*.zip
**/*.fits
**/*.im
**/*.image
**/*.model
**/*.residual
**/*.mask
**/*.pbcor
**/*.sumwt
**/*.flux
**/*.weight
**/*.sigma
**/*.cube
**/*.moment
**/*.moment0
**/*.moment1
**/*.moment2
4 changes: 4 additions & 0 deletions .mailmap
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# git shortlog -se
Ajay Vibhute <avibhute@nrao.edu> Ajay Vibhute <avibhute@cvpost125.cv.nrao.edu>
Akira Yoshino <yoshino.akira@nao.ac.jp>
Brian Kent <bkent@nrao.edu> brian.kent <brian.kent@ac9c0da5-131f-0410-9009-a9c195f183e6>
Expand All @@ -15,8 +16,11 @@ Laszlo Szucs <lszucs@nrao.edu> László Szűcs <laszlo.szucs@mpe.mpg.de>
Laszlo Szucs <lszucs@nrao.edu> László Szűcs <laszlo.szucs@nrao.edu>
Luke Maud <lmaud@eso.org> lmaud <lmaud@eso.org>
Remy Indebetouw <rindebet@nrao.edu> <remy@virginia.edu>
Remy Indebetouw <rindebet@nrao.edu> <indebetouw@gmail.com>
Rui Xue <rxue@nrao.edu> <rx.astro@gmail.com>
Rui Xue <rxue@nrao.edu> <r-xue@users.noreply.github.com>
Shawn Booth <sbooth@nrao.edu>
Shawn Booth <sbooth@nrao.edu> <stb5585@gmail.com>
Stewart Williams <stewart.williams@stfc.ac.uk> Stewart Williams <16945415+bravostuzero@users.noreply.github.com>
Stewart Williams <stewart.williams@stfc.ac.uk> Stewart Williams <swilliam@cvpost002.cv.nrao.edu>
Stewart Williams <stewart.williams@stfc.ac.uk> Stewart Williams <swilliam@cvpost008.cv.nrao.edu>
Expand Down
14 changes: 14 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.9.10
hooks:
- id: ruff # Run the linter.
types_or: [python, pyi]
args: ["--fix", "--show-fixes"]
- id: ruff-format # Run the formatter.
types_or: [python, pyi]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: no-commit-to-branch
args: ["--pattern", "main|^release/.*"]
26 changes: 26 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
version: 2

# Build tools and environment setup
build:
os: ubuntu-24.04
tools:
python: miniconda-latest # use miniconda-latest before miniforge3 becomes available.
apt_packages:
- git
- xvfb
- imagemagick
- poppler-utils
- latexmk
- texlive-latex-recommended
- texlive-latex-extra
- texlive-fonts-recommended
# Build commands for HTML and PDF
commands:
- conda env update --file=environment.yml
- conda run -n pipeline python -m pip install .[docs]
- mkdir -p ~/.casa/data
- cd docs && conda run -n pipeline make html_docs
- cd docs && conda run -n pipeline make latexpdf
- mkdir --parents _readthedocs/html/ _readthedocs/pdf/
- cp --recursive docs/_build/html/* _readthedocs/html/
- cp --recursive docs/_build/latex/*.pdf _readthedocs/pdf/
22 changes: 22 additions & 0 deletions .ruff.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
line-length = 120
indent-width = 4

[lint]
# Enable pydocstyle (`D`) rules, in addition to the defaults.
select = ["E4", "E7", "E9", "F", "D"]
preview = true

[lint.pycodestyle]
max-doc-length = 140
max-line-length = 120

[lint.pydocstyle]
convention = "google"

[format]
preview = true
exclude = ["*.pyi"]
docstring-code-format = true
docstring-code-line-length = 140
quote-style = "single"
skip-magic-trailing-comma = false
Binary file removed closure-compiler.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def pytest_addoption(parser):

nologfile_help = r"""
Do not create CASA log files, equivalent to 'casa --nologfile'.
Please note that if you're using regression-tester.py, casa logfiles
Please note that if you're using regression_tester.py, casa logfiles
will still be generated within individual test "working/" directories and
appear in test weblogs. In general, this option is only recommended when
manually/frequently running unit tests, to keep your local repo clean.
Expand Down
16 changes: 7 additions & 9 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# export pythonbin=${casa_dir}/bin/python3
PYTHON := $(if $(pythonbin),$(pythonbin),python3)

SPHINXOPTS = -v -j auto
SPHINXOPTS = -v # -j auto
SPHINXBUILD = ${PYTHON} -msphinx
#SPHINXOPTS = -v -j auto -b coverage
SPHINXPROJ = pipeline_docs
Expand Down Expand Up @@ -40,19 +40,17 @@ taskapidoc:
@sphinx-apidoc -o ./source/_apidoc/ ../pipeline ../pipeline/recipes/*.py ../pipeline/run*pipeline.py ../pipeline/domain/*.py ../pipeline/extern/*.py ../pipeline/infrastructure/*.py ../pipeline/qa/*.py ../pipeline/h*/heuristics/*.py ../pipeline/h*/tasks/*.py ../pipeline/h*/templates/*.py ../pipeline/h*/environment/*.py


taskdocs:
@rm -rf ${SOURCEDIR}/_taskdocs
@${PYTHON} ./source/pipeline_tasks/create_docs.py --outdir ${SOURCEDIR}/_taskdocs --srcdir ../

html_docs:
@make taskdocs
@make apidoc
@rm -rf ${BUILDDIR}/html ${BUILDDIR}/doctrees ${SOURCEDIR}/_autosummary
@rm -rf ${SOURCEDIR}/_apidoc
# @make apidoc
@rm -rf ${BUILDDIR}/html ${BUILDDIR}/doctrees
@rm -rf ${SOURCEDIR}/_autosummary*
@rm -rf ${SOURCEDIR}/_automodapi
@make html
@rm -rf casa-*.log ${SOURCEDIR}/casa-*log

pdf_taskdocs:
@make taskdocs
@rm -rf ${BUILDDIR}/latex ${BUILDDIR}/doctrees
@rm -rf ${SOURCEDIR}/_autosummary*
@make latexpdf
@rm -rf casa-*.log ${SOURCEDIR}/casa-*log
21 changes: 0 additions & 21 deletions docs/README.md

This file was deleted.

39 changes: 39 additions & 0 deletions docs/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
Pipeline
========
*The operational data processing pipelines for ALMA, VLA, and the NRO 45m telescope.*

|Sphinx Build|

.. important::

This is a **demonstration** of the new internal documentation framework for the Pipeline development.
It is designed to provide *up-to-date and version-controlled* supplementary technical information to complement the official Pipeline documentatios from the `ALMA <https://almascience.nrao.edu/processing/science-pipeline>`_ and `VLA <https://science.nrao.edu/facilities/vla/data-processing>`_ science portals.
Pipeline development is a collaborative effort led by `NRAO`_, `ESO`_ (in partnership with `UKATC`_ and `MPIfR`_), and `NAOJ`_.


Official Repository
--------------------

The official public repository is accessible here:
- `Open Bitbucket @ NRAO - PIPE <https://open-bitbucket.nrao.edu/projects/PIPE>`_

Highlights
----------

`This demo <pipe-docs.readthedocs.io>`_ is automatically generated from `a development branch <https://open-bitbucket.nrao.edu/projects/PIPE/repos/pipeline/browse?at=refs%2Fheads%2FPIPE-1669-run-dev-pipeline-with-modular-casa6>`_ of the official repository and remains under active restructuring
Some sections are highlighted below:

* `Past Pipeline Releases <https://pipe-docs.readthedocs.io/en/latest/releases.html#>`_
* `Pipeline Dependencies <https://pipe-docs.readthedocs.io/en/latest/dependencies.html>`_
* `Running a Pipeline Session in Python <https://pipe-docs.readthedocs.io/en/latest/modular.html>`_
* The latest Pipeline task reference manual: `PDF <https://pipe-docs.readthedocs.io/_/downloads/en/latest/pdf/>`_ `HTML <https://pipe-docs.readthedocs.io/en/latest/apisummary.html#pipeline-tasks-autosummary>`_

.. _NRAO: http://www.nrao.edu
.. _ESO: https://www.eso.org
.. _UKATC: https://www.ukatc.stfc.ac.uk
.. _MPIfR: https://www.mpifr-bonn.mpg.de
.. _NAOJ: https://www.nao.ac.jp

.. |Sphinx Build| image:: https://github.com/r-xue/pipeline/actions/workflows/sphinx.yml/badge.svg
:target: https://github.com/r-xue/pipeline/actions/workflows/sphinx.yml
:alt: Sphinx: Build
77 changes: 0 additions & 77 deletions docs/pipeline_docs.yaml

This file was deleted.

Loading
Loading