Files
openproject/.github/workflows/docs.yaml
T
Jan Sandbrink c000df32f1 Also check static links for consistency
Previously we only checked internal linking inside the
documentation for consistency. Now there is also a basic
test to see whether links from OpenProject into the documentation
are pointing to a valid page.

I used this opportunity to move the static links into a Yaml file.
This made it easier to load the list of static links for the check
as well and it removed a long data object from the Ruby code.
2025-01-15 16:42:48 +01:00

25 lines
443 B
YAML

name: "Docs"
on:
pull_request:
branches:
- dev
- release/*
paths:
- 'docs/**'
- 'config/static_links.yml'
permissions:
contents: read
jobs:
docs-check:
name: Check internal links in documentation
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
bundler-cache: true
- run: bundle exec ./script/docs/check_links