-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor README and split long documentation out #235
Conversation
The README has grown a lot over time, making it harder to read. And as a single page adding additional doc only adds to the problem. Split specific doc sections out into their own directory, for clarity. This is a convention used on GOV.UK projects and encouraged in the README styleguide: https://github.com/alphagov/styleguides/blob/master/use-of-READMEs.md I've done this now because I want to add more detailed documentation on the publishing process, and document how to fix missing published packages, which is likely to be super long. Hopefully this will encourage more detailed documentation on the repo in general.
- Provide more detail on how to run tests, so hopefully people do - Update the inaccurate versioning advice and describe how we do version bumps now. It could still be improved a bit, but it's an improvement over what we had before. - Fix some types/copy-paste-errors.
@@ -1,8 +1,11 @@ | |||
# GovukTemplate | |||
# GOV.UK Template | |||
|
|||
This provides a template containing the GOV.UK header and footer, and associated assets. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be outside of the scope of this PR, but it would be good for the main readme to contain something about who template is for. It's not clear (to me) that this is outward facing for services rather than just for GDS use.
eg 'GOV.UK Template is meant for all services running under the service.gov.uk domain....'
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Absolutely agree. That, and quite a lot of other stuff, did feel out of scope though.
I'll steal/add your eg line though 👍
LGTM 👍 |
Moving packaging and publishing documentation to `docs` made it less clear how to consume `govuk_template`. Add links to the common ways to consume it. It's still not super clear, but I don't think the original was either. Ideally we should re-write the README/docs based on user needs of people using the packages, based on research
4fcf3a0
to
24c3732
Compare
Added @edwardhorsford's suggestion. Otherwise I think this is good to merge? |
Move long
README
sections todocs/
directory and re-write theREADME
a bit.The
README
has grown a lot over time, making it harder to read. And as asingle page adding additional doc only adds to the problem.
Split specific doc sections out into their own directory, for clarity. This
is a convention used on GOV.UK projects and encouraged in the README
styleguide: https://github.com/alphagov/styleguides/blob/master/use-of-READMEs.md
I've done this now because I want to add more detailed documentation on the
publishing process, and document how to fix missing published packages, which
is likely to be super long.
Hopefully this will encourage more detailed documentation on the repo in general.