govuk-developer-docs

? Tech docs for everyone working on GOV.UK

Github星跟蹤圖

GOV.UK Developer Docs

? https://docs.publishing.service.gov.uk

Technical documentation

This is a static site generated with Middleman.

Tech docs template

This project uses alphagov/tech-docs-template.

This means that some of the files (like the CSS, javascripts and layouts) are
managed in the template and are not supposed to be modified here. Any project-specific
Ruby code needs to go into /app.

You can pull down the latest version of the template by running:

bin/update

Dependencies

  • Ruby

Running locally

The first time you'll need to bundle:

bundle install

To run the app locally:

./startup.sh

The app will appear at http://localhost:4567/

You may need a GitHub auth token if you find yourself rate limited. You can create one here:

https://github.com/settings/tokens/new

It doesn't need any permissions.

Use it like this:

export GITHUB_TOKEN=somethingsomething
./startup.sh

Building the project

Build the site with:

NO_CONTRACTS=true bundle exec middleman build

This will create a bunch of static files in /build.

Testing

bundle exec rake

Deployment

This project is re-deployed by a production Jenkins task every hour between 9am and 7pm (to pick up external
changes). It is hosted on S3.

Pre-commit hooks

There are pre-commit hooks available to help when creating or editing markdown.

Install pre-commit and the vale linter:

brew install vale pre-commit
pre-commit install

Licence

MIT License

主要指標

概覽
名稱與所有者alphagov/govuk-developer-docs
主編程語言HTML
編程語言Ruby (語言數: 5)
平台
許可證MIT License
所有者活动
創建於2016-04-26 16:43:08
推送於2025-07-04 12:27:25
最后一次提交
發布數348
最新版本名稱release_1994 (發布於 2020-04-28 10:06:18)
第一版名稱release_1642 (發布於 2019-11-14 15:55:22)
用户参与
星數126
關注者數61
派生數31
提交數12.1k
已啟用問題?
問題數93
打開的問題數12
拉請求數4702
打開的拉請求數17
關閉的拉請求數341
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?