This repository contains the source files that are used to generate the VAT (MTD) end-to-end service guide on the HMRC Developer Hub.
To make changes, edit the files that are located in ./source/documentation
. All pages are written in Markdown.
To add new pages simply copy and paste one of the existing pages, it will automatically appear in the menu.
Requirements:
Tip: On macOS, use Homebrew to install colima and then Docker client. Then start colima.
To live preview:
./batect preview
The local URL and port where the files can be previewed will be output, this is normally http://localhost:4567.
Note: The first time this is run it builds the Docker image and installs dependencies so may take 5 mins. Subsequent runs will be much quicker.
Requirements:
To live preview:
bundle install
bundle exec middleman serve
The local URL and port where the files can be previewed will be output, this is normally http://localhost:4567.
Requirements:
- Scala/sbt
./batect build
sbt run
The local URL and port where the files can be previewed will be output, this is normally http://localhost:9000.
To update the Ruby Gems to the latest versions, run
./batect update
This will update the Gemfile.lock
Edit .ruby-version
with the required version of Ruby.
Edit .node-version
with the required version of Node.
This code is open source software licensed under the Apache 2.0 License.