Skip to content

Latest commit

 

History

History
61 lines (33 loc) · 5.39 KB

README.md

File metadata and controls

61 lines (33 loc) · 5.39 KB

Template Documentation Site

repo standards badge

Use this repository to create a documentation site using the Government Digital Service's tech-docs-gem.

This is recommended for MoJ's technical documentation because:


How to use this template

  1. Create a repository using this template (shortcut)

  2. Follow the setup instructions from ministryofjustice/template-repository

  3. Remove the legacy technical documentation site

    • source/legacy-tdt-documentation

For guidance on using the tech-docs-gem, please refer to the legacy documentation.

Developing

Requirements

  • Docker

Previewing locally

Running the following command will run your technical documentation site locally using ministryofjustice/tech-docs-github-pages-publisher, allowing you to access it by visiting http://127.0.0.1:4567 in your browser

make preview

Checking links locally

This repository includes a GitHub Actions workflow that uses Lychee for checking links.

To perform this locally, you will either need to use the dev container or install Lychee, and the run:

make link-check

Publishing

This template includes a GitHub Actions workflow (.github/workflows/publish.yml) for publishing to GitHub Pages when merging to main.