Better approach to set the title on directives in LLM markdown output #1919
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: smoke-tests | |
| on: | |
| pull_request: ~ | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| name: build (${{ matrix.repository }}) | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| include: | |
| - repository: elastic/docs-content | |
| landing-page-path-output: /docs/ | |
| - repository: elastic/elasticsearch | |
| landing-page-path-output: /docs/reference/ | |
| - repository: elastic/opentelemetry | |
| landing-page-path-output: /docs/reference/ | |
| # This is a random repository that should not have a docset.yml | |
| - repository: elastic/oblt-actions | |
| landing-page-path-output: "" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Bootstrap Action Workspace | |
| uses: ./.github/actions/bootstrap | |
| - uses: actions/checkout@v4 | |
| with: | |
| repository: ${{ matrix.repository }} | |
| path: test-repo | |
| - name: Build documentation | |
| id: docs-build | |
| run: | | |
| dotnet run --project src/tooling/docs-builder -- --strict --path-prefix "/docs" -p test-repo | |
| - name: Verify landing-page-path output | |
| run: test ${{ steps.docs-build.outputs.landing-page-path }} == ${{ matrix.landing-page-path-output }} | |
| - name: Verify link validation | |
| run: | | |
| dotnet run --project src/tooling/docs-builder -- inbound-links validate-link-reference -p test-repo | |