Skip to content

Commit 4d0abf8

Browse files
committed
FORD CI handling
1 parent ab4ae5e commit 4d0abf8

3 files changed

Lines changed: 3 additions & 6 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,8 @@ jobs:
3939
with:
4040
python-version: ${{ matrix.python-version }}
4141
uv-dependency-install-flags: "--all-extras --group docs"
42+
- name: FORD docs
43+
run: ford ford_example.md
4244
- name: docs
4345
run: |
4446
uv run --no-sync mkdocs build --strict

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,10 @@ test: ## run the tests (re-installs the package every time so you might want to
6868

6969
.PHONY: docs
7070
docs: ## build the docs
71-
@echo "Building Fortran docs"
72-
uv run --no-sync ford ford_example.md
73-
@echo "Building documentation"
7471
uv run --no-sync mkdocs build
7572

7673
.PHONY: docs-strict
7774
docs-strict: ## build the docs strictly (e.g. raise an error on warnings, this most closely mirrors what we do in the CI)
78-
@echo "Building Fortran docs"
79-
uv run --no-sync ford ford_example.md
80-
@echo "Building documentation"
8175
uv run --no-sync mkdocs build --strict
8276

8377
.PHONY: docs-serve

mkdocs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ theme:
2828
name: Switch to light mode
2929

3030
plugins:
31+
- ford ford_example.md
3132
# https://mkdocstrings.github.io/autorefs/
3233
- autorefs
3334
# Required for auto-generating our documentation stubs

0 commit comments

Comments
 (0)