-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
267 changed files
with
3,884 additions
and
1,248 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
version: 1 | ||
|
||
labels: | ||
- label: "documentation" | ||
files: | ||
- "README.md" | ||
|
||
- label: "documentation" | ||
files: | ||
- "docs/.*" | ||
|
||
- label: "tests" | ||
files: | ||
- "tests/.*" | ||
|
||
- label: "CMake" | ||
files: | ||
- ".*CMakeLists.txt" | ||
|
||
- label: "CMake" | ||
files: | ||
- "cmake/.*" | ||
|
||
- label: "CI" | ||
files: | ||
- "github/workflows/.*" | ||
|
||
- label: "CI" | ||
files: | ||
- "github/external_ci/.*" | ||
|
||
- label: "S" | ||
size-below: 10 | ||
- label: "M" | ||
size-above: 9 | ||
size-below: 100 | ||
- label: "L" | ||
size-above: 100 |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: "Pull Request Labeler" | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, synchronize] | ||
|
||
jobs: | ||
label: | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: srvaroa/labeler@master | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Publish documentation | ||
|
||
# publish the documentation on every merge to develop branch | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
paths: | ||
- docs/mkdocs/** | ||
- docs/examples/** | ||
workflow_dispatch: | ||
|
||
# we don't want to have concurrent jobs, and we don't want to cancel running jobs to avoid broken publications | ||
concurrency: | ||
group: documentation | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
publish_documentation: | ||
if: github.repository == 'nlohmann/json' | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- name: Install and update PlantUML | ||
run: sudo apt-get update ; sudo apt-get install -y plantuml | ||
|
||
- name: Install virtual environment | ||
run: make install_venv -C docs/mkdocs | ||
|
||
- name: Publish documentation | ||
run: make publish -C docs/mkdocs |
Oops, something went wrong.