Skip to content

Commit 88766c1

Browse files
committed
Fix Code of Conduct linking in docs
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]>
1 parent d9fad67 commit 88766c1

File tree

5 files changed

+5
-7
lines changed

5 files changed

+5
-7
lines changed

.github/workflows/build-docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
paths:
99
- mkdocs.yml
1010
- embedded-bins/Makefile.variables
11+
- CODE_OF_CONDUCT.md
1112
- docs/**
1213

1314
jobs:

CODE_OF_CONDUCT.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# k0s Community Code Of Conduct
1+
# K0s Community Code of Conduct
22

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

docs/CODE_OF_CONDUCT.md

-1
This file was deleted.

docs/contributors/CODE_OF_CONDUCT.md

-3
This file was deleted.

docs/contributors/CODE_OF_CONDUCT.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../CODE_OF_CONDUCT.md

docs/contributors/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ When contributing to this repository, please consider first discussing the chang
88

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

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

1313
## GitHub Workflow
1414

0 commit comments

Comments
 (0)