Giter Club home page Giter Club logo

alphagov.govuk-developer-docs's Introduction

GOV.UK Developer Docs

๐Ÿ‘‰ https://docs.publishing.service.gov.uk

This is a static site generated with Middleman, using alphagov/tech-docs-template.

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.

Technical documentation

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.

Use GOV.UK Docker to run any commands that follow.

Running the app

You will need to create a GitHub auth token to build the project or run the full test suite, otherwise you will find yourself rate limited. It doesn't need any permissions.

Store the token in a .env file like this:

GITHUB_TOKEN=somethingsomething

Testing the app

bundle exec rake

Updating the template

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

bin/update

Deployment

This project is hosted on GitHub Pages. It is redeployed hourly on weekdays (to pick up changes to external docs) and whenever a PR is merged.

As part of the deployment, we build a static set of pages to minimise the response time and potential issues with remote API calls.

NO_CONTRACTS=true bundle exec middleman build

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

Licence

MIT License

alphagov.govuk-developer-docs's People

Contributors

1pretz1 avatar andrewgarner avatar barrucadu avatar benthorner avatar bevanloon avatar bilbof avatar boffbowsh avatar brucebolt avatar camdesgov avatar cbaines avatar chao-xian avatar chrisbashton avatar davidslv avatar deborahchua avatar dependabot-preview[bot] avatar dependabot-support avatar edwardkerry avatar fredericfran-gds avatar issyl0 avatar jabrahoarder avatar kevindew avatar leenagupte avatar peteglondon avatar rubenarakelyan avatar sihugh avatar suzannehamilton avatar thomasleese avatar tijmenb avatar timblair avatar vanitabarrett avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.