Skip to content

Commit 8d7dc3f

Browse files
authored
fix all sphinx build errors for docs and add CI action (#1092)
* fix all sphinx build errors for docs there are still a number of warnings * add doc build CI
1 parent e76a7c3 commit 8d7dc3f

4 files changed

Lines changed: 43 additions & 2 deletions

File tree

‎.github/workflows/docs-test.yml‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: docs build
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
workflow_dispatch:
11+
12+
concurrency:
13+
group: ${{ github.workflow }}-${{ github.job }}-${{ github.ref }}-${{ github.head_ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
docs:
18+
runs-on: ubuntu-latest
19+
20+
steps:
21+
- uses: actions/checkout@v7
22+
23+
- name: Setup python
24+
uses: actions/setup-python@v7
25+
with:
26+
python-version: '3.14'
27+
cache: "pip"
28+
cache-dependency-path: |
29+
requirements-dev.txt
30+
docs/requirements.txt
31+
32+
- name: Install dependencies
33+
run: |
34+
pip install -r ./requirements-dev.txt -r docs/requirements.txt
35+
36+
- name: Build docs
37+
run: |
38+
cd docs/
39+
# add -W to fail on warnings too
40+
make SPHINXOPTS='-v --keep-going -n' html

‎data/net_data/nets/README.rst‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ by thermonuclear processes. This is generally sufficient for stellar
1111
structure calculations, but not for detailed nucleosynthesis studies.
1212

1313
The default behavior (see ``auto_extend_net`` in ``star_job``) is:
14+
1415
- include only 8 isotopes (h1, he3, he4, c12, n14, o16, ne20, mg24)
1516
until central depletion of helium (``basic.net``)
1617
- add si28 (``co_burn.net``) until central depletion of carbon

‎docs/source/changelog.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ Fixed a small bug where diffusive overshooting (overmixing) routines did not
177177
respect changes to the mixing length set by ``other_alpha_mlt``, and used the
178178
``mixing_length_alpha`` instead. See `gh-1003 <https://github.com/MESAHub/mesa/pull/1003>`_.
179179

180-
The parameter ``report_max_infall_inside_fe_core`` was ignored in versions r25.12.1 and r26.4.1 and always had it's default value. See `gh-981 https://github.com/MESAHub/mesa/pull/981`_.
180+
The parameter ``report_max_infall_inside_fe_core`` was ignored in versions r25.12.1 and r26.4.1 and always had it's default value. See `gh-981 <https://github.com/MESAHub/mesa/pull/981>`_.
181181

182182
``fe_core_infall_limit`` now obeys ``when_to_stop_rtol`` and ``when_to_stop_atol`` again (broken since r11532).
183183

‎docs/source/known_bugs.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ interval. This is fixed after ``r26.4.1``.
184184
Controls: ``report_max_infall_inside_fe_core`` is ignored
185185
---------------------------------------------------------
186186

187-
The parameter ``report_max_infall_inside_fe_core`` was ignored in versions r25.12.1 and r26.4.1 and always had it's default value. See `gh-981 https://github.com/MESAHub/mesa/pull/981`_.
187+
The parameter ``report_max_infall_inside_fe_core`` was ignored in versions r25.12.1 and r26.4.1 and always had it's default value. See `gh-981 <https://github.com/MESAHub/mesa/pull/981>`_.
188188

189189
r25.12.1
190190
========

0 commit comments

Comments
 (0)