-
Notifications
You must be signed in to change notification settings - Fork 205
Description
Problem Statement
Right now in the repo we have internal/readme/
which has a small Makefile
that is used to generate the top level README.md
. It seems like the goal here is to ensure that the code snippets stay in sync across changes to the repo (which makes total sense!).
Unfortunately, it's super easy for folks to just throw PRs that target the top level README.md
and then we end up in an out of sync situation.
Proposed Solution
Add CI automation to ensure that make
in internal/readme/
results in "no changes". This would ensure that anyone that updates the top level README.md
is guided towards updating internal/readme/README.src.md
, and anyone that updates internal/readme/README.src.md
is guided to running make
to regenerate the top level with their changes.
Additionally, update CONTRIBUTING.md
to have steps to update README.md
documented.
Alternatives
If the internal/readme/
package isn't desired anymore, we can just remove it?