Official upstream source mirror. Do not make UH changes here.
  • Ruby 78.5%
  • HTML 15.3%
  • Gherkin 3%
  • JavaScript 2.3%
  • SCSS 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-28 10:02:00 +01:00
.github Bump ruby/setup-ruby from 1.324.0 to 1.325.0 2026-09-24 15:03:14 +00:00
.yarn/releases Upgraded yarn to version 4 2023-11-20 10:50:06 +00:00
app Link superseded assets before adopting the replacement 2026-09-08 08:45:53 +01:00
bin Update Rails config to 8.1 via bin/rails app:update 2026-02-16 15:03:22 +00:00
config Update Rails config to 8.1 via bin/rails app:update 2026-02-16 15:03:22 +00:00
db Remove stray migration file 2024-07-11 15:00:03 +01:00
docs Update docs on withdraw_and_redirect_manuals_to_multiple_paths 2026-06-05 15:11:36 +01:00
features Create a new asset when a manual attachment is replaced 2026-09-08 08:45:53 +01:00
lib/tasks Upgrade sass-embedded 2026-08-26 14:16:56 +01:00
log Add gitkeep to log so Docker can compile production assets 2018-01-05 12:08:20 +00:00
public Rails 8 upgrade 2025-01-29 16:20:55 +00:00
script Fix Style/StringLiterals 2020-01-17 12:13:45 +00:00
spec Link superseded assets before adopting the replacement 2026-09-08 08:45:53 +01:00
.dockerignore Remove obsolete Jenkinsfile. 2024-01-31 16:20:47 +00:00
.gitignore Correction to gitignore asset build path 2024-01-19 11:00:54 +00:00
.govuk_dependabot_merger.yml Allow auto-merging of patch versions of Rails 2024-09-24 11:30:18 +01:00
.rspec Automatically require spec_helper 2024-08-05 09:50:55 +01:00
.rubocop.yml Disable Rails/FindEach cop as it's not supported by Mongoid 2023-12-28 13:54:44 +00:00
.ruby-version Upgraded ruby to version 3.3 2024-12-05 13:57:55 +00:00
.yarnrc.yml Upgraded yarn to version 4 2023-11-20 10:50:06 +00:00
config.ru Run app:update task 2021-10-05 13:00:32 +01:00
Dockerfile Upgraded ruby to version 3.3 2024-12-05 13:57:55 +00:00
Gemfile Pin to 'mongo' version 2.23.0 2026-08-12 08:52:50 +01:00
Gemfile.lock Bump rubyzip from 3.2.2 to 3.4.0 2026-09-26 07:43:18 +00:00
LICENCE Use the GOV.UK conventional approach for a Licence 2022-10-05 16:25:35 +01:00
package.json Bump postcss from 8.5.26 to 8.5.28 2026-09-08 08:55:16 +00:00
Procfile Include the unicorn config when starting app from Procfile 2018-02-23 14:35:17 +00:00
Rakefile Run jasmine tests after Ruby tests 2022-10-05 16:25:32 +01:00
README.md Document Manuals Publisher data model and edition workflow 2024-09-12 16:29:56 +01:00
yarn.lock Bump js-yaml from 3.15.1 to 3.15.2 2026-09-09 08:49:56 +00:00

Manuals publisher

Publishing app for manuals. E.g. The Highway Code.

Nomenclature

  • Manual: Parent document which is made up of a number of sections
  • Section: Individual segment / page of a Manual
  • Attachment: File attachment which can be added to a section

Technical documentation

This is a Ruby on Rails app, and should follow our Rails app conventions.

You can use the GOV.UK Docker environment to run the application and its tests with all the necessary dependencies. Follow the usage instructions to get started.

Running the test suite

$ bundle exec rake

Documentation

2017 Migration Project Archive

Licence

MIT License