Skip to content

Commit

Permalink
Merge branch 'development' into doc_util
Browse files Browse the repository at this point in the history
  • Loading branch information
zingale committed Jan 6, 2025
2 parents 8638acc + 5aa5c4c commit bc36128
Show file tree
Hide file tree
Showing 53 changed files with 1,593 additions and 2,738 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:

- name: Build docs
run: |
cd sphinx_docs/
cd Docs/
make SPHINXOPTS='-v -W --keep-going' html
- name: Link check
run: |
cd sphinx_docs/
cd Docs/
make SPHINXOPTS=-v linkcheck
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ extern.f90
# sphinx
build/
doxy_files
sphinx_docs/source/runtime_parameters.rst
Docs/source/runtime_parameters.rst


# C++ parameters
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions sphinx_docs/source/design.rst → Docs/source/design.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ and the generic solvers:

* ``constants``: fundamental constants

* ``Docs``: the sphinx source for this documentation

* ``EOS/``: the various equations of state

* ``integration/``: the ODE integration routines used for the
Expand All @@ -34,8 +36,6 @@ and the generic solvers:
* ``screening/``: common electron screening factors used by some of the
reaction networks.

* ``sphinx_docs``: the sphinx source for this documentation

* ``unit_test/``: self-contained unit tests for Microphysics. These don’t
need any application code to build, but will require AMReX.

Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
1,580 changes: 1,580 additions & 0 deletions Docs/source/runtime_parameters.rst

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

# Microphysics

*A collection of astrophysical microphysics routines for stellar explosions and interstellar medium chemistry (including primordial chemistry)*
*A collection of astrophysical microphysics routines for stellar
explosions and interstellar medium chemistry (including primordial
chemistry)*

There are several core types of microphysics routines hosted here:

Expand Down Expand Up @@ -87,7 +89,7 @@ system to ensure the interfaces are tested.
A user's guide for Microphysics is available at:
http://amrex-astro.github.io/Microphysics/docs/

The sphinx source for the documentation is in `Microphysics/sphinx_docs/`
The Sphinx source for the documentation is in `Microphysics/Docs/`

## Development Model:

Expand Down
8 changes: 4 additions & 4 deletions deploy_docs_action.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ mkdir out
# if on the dev branch, use the dev_layout.html template to get the
# links correct
if [ "$GITHUB_BRANCH" = "$DEV_BRANCH" ]; then
mv sphinx_docs/source/_templates/dev_layout.html sphinx_docs/source/_templates/layout.html
mv Docs/source/_templates/dev_layout.html Docs/source/_templates/layout.html
fi

# Build the Sphinx documentation
cd sphinx_docs
cd Docs
make html
cd ../

mkdir -p out/docs/
if [ "$GITHUB_BRANCH" = "$MAIN_BRANCH" ]; then
mkdir -p out/docs
mv sphinx_docs/build/html/* out/docs
mv Docs/build/html/* out/docs
else
mkdir -p out/docs/dev/
mv sphinx_docs/build/html/* out/docs/dev
mv Docs/build/html/* out/docs/dev
fi
Loading

0 comments on commit bc36128

Please sign in to comment.