Skip to content
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

Merged
merged 3 commits into from
Aug 9, 2016

Conversation

dsingleton
Copy link
Contributor

Move long README sections to docs/ directory and re-write the README a bit.

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.

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.
Copy link
Contributor

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....'

Copy link
Contributor Author

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 👍

@NickColley
Copy link
Contributor

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
@dsingleton
Copy link
Contributor Author

Added @edwardhorsford's suggestion. Otherwise I think this is good to merge?

@robinwhittleton robinwhittleton merged commit 85ea033 into master Aug 9, 2016
@robinwhittleton robinwhittleton deleted the refactor-doc branch August 9, 2016 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants