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
Conversation
The example doesn't work without running the build steps first, which aren't mentioned anywhere else in the doc.
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.
Ready for another look :) |
yarn run jasmine:browser | ||
``` |
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.
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)
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.
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.
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.
Ah cool, thanks! I'll add.
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.
Done!
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.