Skip to content

Commit

Permalink
Fix Code of Conduct linking in docs
Browse files Browse the repository at this point in the history
There was a symlink that pulled in the Code of Conduct from the
repository root into the docs build. The link in the Code of Conduct was
supposed to be working from within the docs.

Cleanup that situation by removing one Code of Conduct file and update
the symlink. Also let changes to the Code of Conduct trigger the docs
build workflow, so that these errors might be caught earlier in the
future.

Fixes: 7aa222f ("Update link to Code of Conduct document")
Signed-off-by: Tom Wieczorek <[email protected]>
  • Loading branch information
twz123 committed Dec 14, 2023
1 parent d9fad67 commit 88766c1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
paths:
- mkdocs.yml
- embedded-bins/Makefile.variables
- CODE_OF_CONDUCT.md
- docs/**

jobs:
Expand Down
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# k0s Community Code Of Conduct
# K0s Community Code of Conduct

Please refer to our [contributor code of conduct](docs/contributors/CODE_OF_CONDUCT.md).
K0s follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md).
1 change: 0 additions & 1 deletion docs/CODE_OF_CONDUCT.md

This file was deleted.

3 changes: 0 additions & 3 deletions docs/contributors/CODE_OF_CONDUCT.md

This file was deleted.

1 change: 1 addition & 0 deletions docs/contributors/CODE_OF_CONDUCT.md
2 changes: 1 addition & 1 deletion docs/contributors/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ When contributing to this repository, please consider first discussing the chang

Our code of conduct can be found in the link below. Please follow it in all your interactions with the project.

- [Code Of Conduct](./CODE_OF_CONDUCT.md)
- [Code of Conduct](./CODE_OF_CONDUCT.md)

## GitHub Workflow

Expand Down

0 comments on commit 88766c1

Please sign in to comment.