Skip to content

README.md Generation Issue #48

@rwjblue-glean

Description

@rwjblue-glean

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions