Skip to content

Commit 386373b

Browse files
authored
Doc link fix (#199)
* Fix broken link for contributor docs. * Use code-generator as source of truth for additional controller files
1 parent 167669c commit 386373b

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ any 'help wanted' issues is a great place to start.
6464

6565
[See the documentation][dev-docs] for detailed development information.
6666

67-
[dev-docs]: https://aws.github.io/aws-controllers-k8s/dev-docs/overview/
67+
[dev-docs]: https://aws-controllers-k8s.github.io/community/docs/contributor-docs/overview/
6868

6969
## Code of Conduct
7070

scripts/build-controller.sh

+8-1
Original file line numberDiff line numberDiff line change
@@ -218,4 +218,11 @@ cp -r $ROOT_DIR/templates/config/overlays/namespaced/*.json $config_output_dir/o
218218
popd 1>/dev/null
219219

220220
echo "Running gofmt against generated code for $SERVICE"
221-
gofmt -w "$SERVICE_CONTROLLER_SOURCE_PATH"
221+
gofmt -w "$SERVICE_CONTROLLER_SOURCE_PATH"
222+
223+
echo "Updating additional GitHub repository maintenance files"
224+
cp "$ROOT_DIR"/CODE_OF_CONDUCT.md "$SERVICE_CONTROLLER_SOURCE_PATH"/CODE_OF_CONDUCT.md
225+
cp "$ROOT_DIR"/CONTRIBUTING.md "$SERVICE_CONTROLLER_SOURCE_PATH"/CONTRIBUTING.md
226+
cp "$ROOT_DIR"/GOVERNANCE.md "$SERVICE_CONTROLLER_SOURCE_PATH"/GOVERNANCE.md
227+
cp "$ROOT_DIR"/LICENSE "$SERVICE_CONTROLLER_SOURCE_PATH"/LICENSE
228+
cp "$ROOT_DIR"/NOTICE "$SERVICE_CONTROLLER_SOURCE_PATH"/NOTICE

0 commit comments

Comments
 (0)