Skip to content

Template repo. for a gov.uk tech-docs-template documentation site published via github pages • This repository is defined and managed in Terraform

License

Notifications You must be signed in to change notification settings

ministryofjustice/template-documentation-site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Template repo. for a gov.uk tech-docs-template documentation site published via github pages • This repository is defined and managed in Terraform

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages