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

docs: Fix test instructions and generally spruce up the README. #3952

Merged
merged 3 commits into from Mar 26, 2024

Conversation

sengi
Copy link
Contributor

@sengi sengi commented Mar 25, 2024

The 'Run the test suite' instructions didn't work without a couple of build steps which weren't mentioned anywhere in the README. Add them to the example so that it works for new contributors.

Also remove some confusing information about GOV.UK Docker and generally tidy up the README to bring it in line with GDS tech writing style.

No changes to the gem itself apart from the README.

The example doesn't work without running the build steps first, which
aren't mentioned anywhere else in the doc.
README.md Outdated Show resolved Hide resolved
Tech writing style fixes:

- avoid unnecessary use of the passive voice
- prefer imperative over present continuous in headings
- use a separate paragraph for the point about accessibility standards

Remove confusing information about GOV.UK Docker. Docker isn't necessary
for development work on this gem.
@sengi
Copy link
Contributor Author

sengi commented Mar 26, 2024

Ready for another look :)

yarn run jasmine:browser
```
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just realised this doesn't state that the tests can be seen in a browser at http://localhost:8888 - do you think it's worth adding? (non-blocking)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also worth noting that the test server needs a restart to pick up any changes to the JavaScript - again potentially out of scope, might be better to link to another page to go more in depth. Happy to raise a separate PR if you think it's useful.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah cool, thanks! I'll add.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@govuk-ci govuk-ci temporarily deployed to components-gem-pr-3952 March 26, 2024 12:29 Inactive
@sengi sengi merged commit a195814 into main Mar 26, 2024
11 checks passed
@sengi sengi deleted the sengi/readme branch March 26, 2024 13:21
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.

None yet

3 participants