-
Notifications
You must be signed in to change notification settings - Fork 35
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
Revise documentation #33
Conversation
Also add more detailed instructions for making the first commit, and suggestions to install and link `cruft` to integrate future releases of `govcookiecutter`.
eb82624
to
fe81251
Compare
Apologies, missed a few bullet list fixes for style formatting, hence the force push. |
Codecov Report
@@ Coverage Diff @@
## main #33 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 2 2
Lines 29 29
=========================================
Hits 29 29
Continue to review full report at Codecov.
|
If a user chooses to use `cruft`, this prevents them running into an issue with this hook, as the `.cruft.json` file will have a SHA commit hash that is secret-like.
Also add an accessibility statement, and use more accessible `sphinx.extension.autosummary` templates.
Also keeping any extension options. Amend tests to reflect changes to cookiecutter variables.
Added Will raise a separate PR later to include the theme as an option for all future projects build from |
Also updated tests and the `CONTRIBUTING.md` to be clearer about getting started.
Review progressI ran the GitHub Action on Here's how they look currently: Running GitHub actions locallyUsing act:
|
A live checklist of what I have checked, with remarks inline.
Also refactor documentation (Markdown/reStructuredText files only, predominately excluding
|
Long sentences (found by tokenising into paragraphs, then sentences, then words):
|
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 represents a lot of careful work, thank you @ESKYoung!
I have skim-read the diffs to check that nothing has accidentally been pasted in and committed. Most of the changes seem to be the odd word here and there, to meet accessibility guidelines, alexjs, etc. There are some structural changes, such as moving chunks of text into separate files -- I haven't read those carefully, so I trust that nothing has been accidentally lost in the transfer.
I ran alexjs myself. I couldn't get the WAVE browser addin to work with the locally rendered website, and I haven't created my own repo to render it online, so I trust that WAVE's suggestions have been addressed.
For some textual checks, such as heading hierarchy and sentence length, I wrote R scripts to help, and have mentioned things that turned up. They're pretty trivial.
So all in all, a great PR. Approved!
@nacnudus thanks for the thorough review! I've made the changes in commit
I've also added some guidance on writing accessible documentation that captures the above checklist. Grateful if you could have a quick skim! |
{{ cookiecutter.repo_name }}/docs/contributor_guide/writing_accessible_documentation.md
Outdated
Show resolved
Hide resolved
Thanks @ESKYoung! Just one typo, otherwise good to go. |
See PR #33 comment: https://github.com/ukgovdatascience/govcookiecutter/pull/33/files/9934740a4314a860e199ab2767e8d55968b006f9#r668012493 Co-authored-by: Duncan Garmonsway <[email protected]>
Thanks for your very thorough review @nacnudus! Merging! 🚀 |
Summary
Revise documentation to include further detail on the
cookiecutter
package, and how to modify the structure ofgovcookiecutter
. Fixed incorrect contact email address.Added tests to check for broken links in the Sphinx documentation - ensures future releases of
govcookiecutter
have the correct links throughout the documentation.Added information on
cruft
, which could help future projects generated fromgovcookiecutter
stay up-to-date with any changes we release here.Also refactor documentation (Markdown/reStructuredText files only, predominately excluding
CODE_OF_CONDUCT.md
andCONTRIBUTING.md
) so that it is more accessible. Accessibility checks include:govuk-tech-docs-sphinx-theme
[currently private, but soon to be public repository]alex.js
click
withselect
orchoose
Oncegovuk-tech-docs-sphinx-theme
goes live (July? Preview site here), I will raise a new PR separately to publish thegovcookiecutter
documentation on GitHub Pages, adding a corresponding accessibility statement.@alexander-newton - for interest!
Checklists
This pull/merge request meets the following requirements:
docs
folderComments have been added below around the incomplete checks.