Giter VIP home page Giter VIP logo

scitools.org.uk's Introduction

scitools.org.uk

This is the repository containing content found at scitools.org.uk.

Building content for scitools.org.uk

The content is generated by running the build.py script at the root of the repository. build.py takes the content in source and templates and constructs the resulting html. Both source and build content are stored in this repository.

Adding built docs

The html in this repository is a combination of generated and static content. Running the build.py script will overwrite any static content which shares a directory structure to that found in source. The built documentation for documentation such as Iris and cartopy are not generated from the source directory, and are instead generated with sphinx as a separate step. To add further released version documentation, create the appropriate folder (e.g. iris/docs/v1.2.3) with the built documentation (typically created via sphinx). Once the content is in place, consider running tools/symlink_common.py . which will look through all files and share any common assets into the shared_assets folder, thus reducing the overall repository size.

Example workflow

To update scitools.org.uk so that it includes the Iris documentation for the Iris 1.12.0 release the following steps need to be followed.

  1. Build the Iris documentation using sphinx and add it to the scitools.org.uk repo.
$ cd <path_to_iris_repo>/docs/iris
$ make html
$ cp -a build/html/ <path_to_scitools.org.uk_repo>/iris/docs/v1.12.0
  1. Update the latest symlink.
$ cd <path_to_scitools.org.uk_repo>/iris/docs
$ rm latest
$ ln -s v1.12.0 latest
$ cd -
  1. Update "Latest" and "Previous releases" in source/iris/documentation.html.

  2. Run the build.py script.

$ python build.py
  1. Generate the shared_assets.
$ python tools/symlink_common.py .

Adding contributors

contributors.json contains a JSON dictionary of all contributors who have signed the scitools CLA. It is the definitive source (as rendered in scitools.org.uk/about.html) of such contributors, and is where core developers will look when considering whether a PR is ready for merging. If you've signed the CLA and aren't yet on this list, please consider submitting a PR to speed the process up.

(C) British Crown Copyright 2010 - 2017, Met Office

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.