diff options
| author | Daniele Nicolodi <daniele@grinta.net> | 2025-01-11 17:13:14 +0100 |
|---|---|---|
| committer | Jussi Pakkanen <jpakkane@gmail.com> | 2025-01-19 20:36:40 +0200 |
| commit | 74aab8a42c479cdeeda9371dbd591a19d070c48e (patch) | |
| tree | 27e6ab29308e99814550492c7fc0141820b1a765 /docs/meson.build | |
| parent | 74bef61a26b6a910ecc826733126fbb1f123a87b (diff) | |
| download | meson-74aab8a42c479cdeeda9371dbd591a19d070c48e.tar.gz | |
docs: Add a test to validate URLs in markdown/Users.md
Avoid piling up dead URLs.
Diffstat (limited to 'docs/meson.build')
| -rw-r--r-- | docs/meson.build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/meson.build b/docs/meson.build index 3ad12b7fd..0ce884062 100644 --- a/docs/meson.build +++ b/docs/meson.build @@ -1,7 +1,7 @@ project('Meson documentation', version: '1.0') yaml_modname = get_option('unsafe_yaml') ? 'yaml' : 'strictyaml' -py = import('python').find_installation('python3', modules: [yaml_modname], required: false) +py = import('python').find_installation('python3', modules: [yaml_modname, 'aiohttp'], required: false) if not py.found() error(f'Cannot build documentation without yaml support') endif @@ -145,3 +145,5 @@ run_target('upload', ], depends: documentation, ) + +test('validate_links', find_program('./validatelinks.py'), args: meson.current_source_dir() / 'markdown' / 'Users.md') |
