diff --git a/doc/Makefile b/doc/Makefile index 5bb1ce5b23..8ee4aaee39 100755 --- a/doc/Makefile +++ b/doc/Makefile @@ -32,6 +32,7 @@ pdf: # Build HTML files and generate examples as .py files html: + @$(SPHINXBUILD) -M linkcheck "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) @$(SPHINXBUILD) -M html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) cd $(BUILDDIR)/html/examples for d in */ ; do diff --git a/doc/make.bat b/doc/make.bat index 5e7d9a4836..6b90d1581c 100644 --- a/doc/make.bat +++ b/doc/make.bat @@ -32,6 +32,7 @@ if errorlevel 9009 ( goto end :html +%SPHINXBUILD% -M linkcheck %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% %SPHINXBUILD% -M html %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% goto build-examples-py diff --git a/doc/source/examples/01_getting_started/02_units.mystnb b/doc/source/examples/01_getting_started/02_units.mystnb index 85fa7a4454..3900dea1ea 100644 --- a/doc/source/examples/01_getting_started/02_units.mystnb +++ b/doc/source/examples/01_getting_started/02_units.mystnb @@ -37,7 +37,7 @@ Now, with this ``UnitRegistry`` object called ``UNITS``, we will create ``Quantity`` objects also have convenience methods for: transforming to different units, comparing magnitudes/values, units, etc. For more information on their functioning please refer to the [pint.Quantity](https://pint.readthedocs.io/en/stable/api/base.html#most-important-classes) -docs or the [Pint tutorial](https://pint.readthedocs.io/en/stable/getting/tutorial.html?#tutorial). +docs or the [Pint tutorial](https://pint.readthedocs.io/en/stable/getting/tutorial.html). ```{code-cell} ipython3 from pint import Quantity diff --git a/doc/source/getting_started/docker.rst b/doc/source/getting_started/docker.rst index a56865c969..315975c331 100644 --- a/doc/source/getting_started/docker.rst +++ b/doc/source/getting_started/docker.rst @@ -49,7 +49,7 @@ Docker container. #. If you have Docker installed, use a GitHub personal access token (PAT) with packages read permission to authorize Docker to access this repository. For more information, - see `creating a personal access token `_. + see `creating a personal access token `_. #. Save the token to a file: