Skip to content

Commit

Permalink
Fix invalid paths for documentation & other tools (#453)
Browse files Browse the repository at this point in the history
* fixed paths for publishing documentation

* fixed filtering paths for workflow triggers

* updated path for the reuse tool
  • Loading branch information
fktn-k authored Jan 2, 2025
1 parent 8633c19 commit 859389e
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 17 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- .github/workflows/coverage.yml
- cmake/**
- include/**
- test/**
- tests/**
- CMakeLists.txt
- Makefile
# to grant pull-requests write permission to fork repos as well
Expand All @@ -18,7 +18,7 @@ on:
- .github/workflows/coverage.yml
- cmake/**
- include/**
- test/**
- tests/**
- CMakeLists.txt
- Makefile
workflow_dispatch:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/format_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- include/**
- scripts/**
- single_include/**
- test/**
- tool/amalgamation/**
- tests/**
- tools/amalgamation/**
- CMakeLists.txt
- .clang-format
# to grant contents write permission to fork repos as well
Expand All @@ -21,8 +21,8 @@ on:
- include/**
- scripts/**
- single_include/**
- test/**
- tool/amalgamation/**
- tests/**
- tools/amalgamation/**
- CMakeLists.txt
- .clang-format
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:
- cmake/**
- include/**
- single_include/**
- test/**
- tests/**
- CMakeLists.txt
pull_request:
paths:
- .github/workflows/macos.yml
- cmake/**
- include/**
- single_include/**
- test/**
- tests/**
- CMakeLists.txt
workflow_dispatch:

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:
- develop
paths:
- .github/workflows/publish_docs.yml
- docs/examples/**
- docs/mkdocs/**
- examples/**
- docs/**
workflow_dispatch:

# no cancellation during uploads to avoid broken publications
Expand Down Expand Up @@ -37,15 +37,15 @@ jobs:
cmake --build ${{github.workspace}}/build --config Debug
- name: Build documentation
run: make -C docs/mkdocs build
run: make build-docs

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Upload API documents
uses: actions/upload-pages-artifact@v3
with:
path: ${{github.workspace}}/docs/mkdocs/site
path: ${{github.workspace}}/docs/site

deploy:
if: github.repository == 'fktn-k/fkYAML'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:
- cmake/**
- include/**
- single_include/**
- test/**
- tool/**
- tests/**
- tools/**
- .clang-tidy
- CMakeLists.txt
- Makefile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ on:
- cmake/**
- include/**
- single_include/**
- test/**
- tests/**
- CMakeLists.txt
pull_request:
paths:
- .github/workflows/windows.yml
- cmake/**
- include/**
- single_include/**
- test/**
- tests/**
- CMakeLists.txt
workflow_dispatch:

Expand Down
2 changes: 1 addition & 1 deletion REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ SPDX-FileCopyrightText = ["2017 Georg Sauthoff <[email protected]>", "2022, Alexander
SPDX-License-Identifier = "GPL-3.0-only"

[[annotations]]
path = "tool/amalgamation/**"
path = "tools/amalgamation/**"
precedence = "aggregate"
SPDX-FileCopyrightText = "2012 Erik Edlund <[email protected]>"
SPDX-License-Identifier = "BSD-3-Clause"
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ nav:
- (destructor): api/exception/destructor.md
- what: api/exception/what.md
- invalid_encoding: api/exception/invalid_encoding.md
- invalid_tag: api/exception/invalid_tag.md
- out_of_range: api/exception/out_of_range.md
- parse_error: api/exception/parse_error.md
- type_error: api/exception/type_error.md
Expand Down

0 comments on commit 859389e

Please sign in to comment.