mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-04 15:59:08 -04:00
docs: Fix build setting
The docs need to be set to build_always_stale so you don't need to delete the directory to rebuild them. This also means we want to disable build_by_default.
This commit is contained in:
parent
c998655af6
commit
12c1c7b8d6
2 changed files with 4 additions and 3 deletions
|
@ -15,6 +15,7 @@ build:
|
||||||
- ninja -C _build
|
- ninja -C _build
|
||||||
- ninja -C _build test
|
- ninja -C _build test
|
||||||
- ninja -C _build install
|
- ninja -C _build install
|
||||||
|
- ninja -C _build docs/en
|
||||||
- git clone https://gitlab.gnome.org/jwestman/blueprint-regression-tests.git
|
- git clone https://gitlab.gnome.org/jwestman/blueprint-regression-tests.git
|
||||||
- cd blueprint-regression-tests
|
- cd blueprint-regression-tests
|
||||||
- git checkout 6f164f5e259f1602fd3bfae5e64852fed7687b9f
|
- git checkout 6f164f5e259f1602fd3bfae5e64852fed7687b9f
|
||||||
|
|
|
@ -3,9 +3,9 @@ if get_option('docs')
|
||||||
sphinx = find_program(['sphinx-build-3', 'sphinx-build'], required: true)
|
sphinx = find_program(['sphinx-build-3', 'sphinx-build'], required: true)
|
||||||
|
|
||||||
custom_target('docs',
|
custom_target('docs',
|
||||||
command: [sphinx, '-b', 'html', '-c', meson.current_source_dir(), meson.current_source_dir(), '@OUTPUT@'],
|
command: [sphinx, '-b', 'html', '-c', meson.current_source_dir(), meson.current_source_dir(), '@OUTPUT@'],
|
||||||
output: 'en',
|
output: 'en',
|
||||||
build_by_default: true
|
build_always_stale: true,
|
||||||
)
|
)
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue