Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions cspell.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ words:
- inlinehilite
- libc
- linenums
- llms
- mkdocs
- mypy
- Neta
Expand Down
12 changes: 6 additions & 6 deletions docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Here are some example workflows to get started quickly.
=== "auto-fix clang-format"

``` yaml
--8<-- ".github/workflows/examples/auto-fix.yml"
{% include "../../.github/workflows/examples/auto-fix.yml" %}
```

1. See also [`auto-fix`][auto-fix]
Expand All @@ -22,7 +22,7 @@ Here are some example workflows to get started quickly.
=== "only clang-tidy"

``` yaml
--8<-- ".github/workflows/examples/only-clang-tidy.yml"
{% include "../../.github/workflows/examples/only-clang-tidy.yml" %}
```

1. See also [`style`][style]
Expand All @@ -31,7 +31,7 @@ Here are some example workflows to get started quickly.
=== "only clang-format"

``` yaml
--8<-- ".github/workflows/examples/only-clang-format.yml"
{% include "../../.github/workflows/examples/only-clang-format.yml" %}
```

1. See also [`style`][style]
Expand All @@ -40,7 +40,7 @@ Here are some example workflows to get started quickly.
=== "only PR comments"

``` yaml
--8<-- ".github/workflows/examples/only-PR-comments.yml"
{% include "../../.github/workflows/examples/only-PR-comments.yml" %}
```

1. See also our [token permissions document](../permissions.md)
Expand All @@ -58,7 +58,7 @@ Here are some example workflows to get started quickly.
`.github/workflows/cpp-linter.yml`

``` yaml
--8<-- ".github/workflows/examples/fork-PR-comments-lint.yml"
{% include "../../.github/workflows/examples/fork-PR-comments-lint.yml" %}
```

1. The second workflow finds this one by its `name`.
Expand All @@ -70,7 +70,7 @@ Here are some example workflows to get started quickly.
`.github/workflows/cpp-linter-comment.yml`

``` yaml
--8<-- ".github/workflows/examples/fork-PR-comments-post.yml"
{% include "../../.github/workflows/examples/fork-PR-comments-post.yml" %}
```

1. Must match the `name` of the first workflow. GitHub runs this workflow from the
Expand Down
4 changes: 3 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
site_name: C/C++ Linter Action
site_description: "Developer documentation from sources."
site_description: "A GitHub Action that runs clang-format and clang-tidy on the C/C++ files a pull request changes."
site_url: "https://cpp-linter.github.io/cpp-linter-action"
repo_url: "https://github.com/cpp-linter/cpp-linter-action"
repo_name: "cpp-linter/cpp-linter-action"
Expand Down Expand Up @@ -80,6 +80,8 @@ extra_css:

plugins:
- search
# llms.txt and a Markdown copy of every page, for AI agents (MkDocs NG).
- llms_txt
- include-markdown
- gen-files:
scripts:
Expand Down
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,15 @@ dev = [
]
docs = [
"markdown-gfm-admonition>=0.1.1",
"mkdocs>=1.6.1",
"mkdocs-ng>=1.11.2",
"mkdocs-gen-files>=0.6.1",
"mkdocs-include-markdown-plugin>=7.3.1",
"mkdocs-material>=9.8.1",
"mkdocs-ng-material>=9.8.1",
"pyyaml>=6.0.3",
]

[tool.uv]
# mkdocs-ng and mkdocs-ng-material replace mkdocs and mkdocs-material, which
# are no longer maintained. The plugins still depend on "mkdocs"; mkdocs-ng
# provides it, so keep the upstream package out.
override-dependencies = ["mkdocs; sys_platform == 'never'"]
66 changes: 46 additions & 20 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading