Git Product home page Git Product logo

dispensing-token's Introduction

Digital Medicines Documentation

This is the template repository for documentation projects used in the Digital Medicines portfolio. It is designed primarily for use in developing specifications, but is suitable for other documentation types.

Creating a New Documentation Project

Setting up a repository from the template

To create a new project from the template we're going to clone the template repository, remove all its history and then set up a new repository using the same files:

  1. Create a new empty repository on Github to hold the new documentation.
    • Go to https://github.com/NHSEPS
    • Click on New repository and set name & description to sensible values - we'll assume it's called new-spec-repository here
  2. Clone the template repository to a local directory, with minimal history.
git clone --depth 1 https://github.com/NHSEPS/documentation-template.git new-spec-repository
  1. Delete the .git directory which holds history and initialize a new repository with no history before adding & committing files to the new repository.
cd new-spec-repository
rm -rf .git
git init
git add .
git commit -m "Initial commit on new documentation"
  1. Tell git where to push and fetch files to, then push them
git remote add origin https://github.com/NHSEPS/new-spec-repository.git
git push -u origin master
  1. Done

Building the specification

To build the documentation locally

  • Install Ruby
  • Install Jekyll
  • Navigate to your project directory and run: bundle install
  • Now run Jekyll: bundle exec jekyll serve
  • Browse website Browser: http://localhost:4005

Troubleshooting

  1. Fix warnings related to SSL certificate checking (by configuring the SSL_CERT_FILE env variable) by following instructions to download and reference a cacert.pem file.

  2. Fix warnings related to the Jekyll GitHub Metadata plugin, by configuring the JEKYLL_GITHUB_TOKEN environment variable.

Generating a Release

TODO

Reviewing Documentation

Often for more formal documentation like specifications formal review cycles may be required.

Issue Tracker

The Github issue tracker can be used to track comments and issues on the documentation.

Branching Model

dispensing-token's People

Watchers

 avatar  avatar

Forkers

uk-gov-mirror

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.