Git Product home page Git Product logo

docs-ci-test's Introduction

NERSC Technical Documentation

About

This repository contains NERSC technical documentation written in Markdown which is converted to html/css/js with the mkdocs static site generator. This file mainly describes how to contribute.

Rules

  1. Follow this Markdown styleguide.
  2. Do not commit large files (e.g. very high-res images, binary data, executables)
  3. Do not commit directly to master branch

Setup

Instructions to setup your local environment to allow for a live-reloading local server for development.

  1. Clone this repo
  2. Create a new conda env/ virtualenv
  3. cd nersc-docs
  4. pip install -r requirements.txt

Run a local server for a live preview of changes

In the root directory of the repository run mkdocs serve and navigate your browser to the displayed address. Edits to source files will automatically trigger rebuilds of the site as needed.

Output a static site

To build a self-contained directory containing the full html/css/js of the site:

mkdocs build

How to make a new page

  1. Create a new branch git checkout master && git branch my-new-page
  2. Create/edit your content
  3. Edit the mkdocs.yml file to include your content in the site
  4. Check that your new content is built properly and without errors
    mkdocs build --clean --strict
  5. Commit your changes
  6. Submit a pull request for review

docs-ci-test's People

Contributors

brandongc avatar

Watchers

 avatar  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.