Skip to content

Commit

Permalink
Merge pull request #238 from nipreps/docs/fix-build
Browse files Browse the repository at this point in the history
DOC: Fix documentation build
  • Loading branch information
oesteban authored Oct 23, 2024
2 parents bc48575 + 5fbd32e commit bcbe011
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs-build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ jobs:
- name: Build docs
run: |
python -m hatch build --hooks-only
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
make -C docs/ SPHINXOPTS="-W -v" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
2 changes: 1 addition & 1 deletion .github/workflows/docs-build-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Build docs
run: |
python -m hatch build --hooks-only
make -C docs/ SPHINXOPTS="-W" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
make -C docs/ SPHINXOPTS="-W -v" BUILDDIR="$HOME/docs" OUTDIR="${CURBRANCH:-html}" html
- name: Push created tag to gh-pages
if: startsWith(github.ref, 'refs/tags/')
Expand Down
4 changes: 1 addition & 3 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
*Eddymotion*
============
**Estimating head-motion and deformations derived from eddy-currents in diffusion MRI data**.
Estimating head-motion and deformations derived from eddy-currents in diffusion MRI data.

.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.4680599.svg
:target: https://doi.org/10.5281/zenodo.4680599
Expand Down Expand Up @@ -47,11 +47,9 @@ More recently, Cieslak et al. [#r3]_ integrated both approaches in *SHORELine*,
the work of ``eddy`` and *SHORELine*, while generalizing these methods to multiple acquisition schemes
(single-shell, multi-shell, and diffusion spectrum imaging) using diffusion models available with DIPY [#r5]_.


.. image:: https://raw.githubusercontent.com/nipreps/eddymotion/507fc9bab86696d5330fd6a86c3870968243aea8/docs/_static/eddymotion-flowchart.svg
:alt: The eddymotion flowchart


.. [#r1] S. Ben-Amitay et al., Motion correction and registration of high b-value diffusion weighted images, Magnetic
Resonance in Medicine 67:1694–1702 (2012)
.. [#r2] J. L. R. Andersson. et al., An integrated approach to correction for off-resonance effects and subject movement
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ doc = [
"packaging",
"pydot >= 1.2.3",
"pydotplus",
"sphinx >= 4.5",
"sphinx >= 4.5, <8",
"sphinx-argparse",
"sphinx_rtd_theme",
"sphinxcontrib-apidoc ~= 0.3.0",
"sphinxcontrib-apidoc",
"sphinxcontrib-napoleon",
"sphinxcontrib-versioning",
"sphinx-argparse",
Expand Down

0 comments on commit bcbe011

Please sign in to comment.