GithubHelp home page GithubHelp logo

pranaypareek / docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from davehorton/docs

0.0 2.0 0.0 2.34 MB

Shippable Documentation

Makefile 2.37% JavaScript 15.82% Python 3.09% HTML 26.25% CSS 52.47%

docs's Introduction

Shippable Documentation

Overview

Shippable is a docker based continuous integration and deployment platform. This repository contains the documentation, which is open source to allow anyone to make quick changes if needed.

The source is under sources/ in the form of .rst files. These files use reStructuredText formatting with Sphinx extensions for structure, cross-linking and indexing.

The HTML files are built and hosted on readthedocs.org, appearing via proxy on docs.shippable.com. The HTML files update automatically after each change to the master.

Getting Started

To edit and test the docs, you'll need to install the Sphinx tool and its dependencies. There are two main ways to install this tool:

Native Installation

Install dependencies from requirements.txt file in your docs directory:

  • Linux: pip install -r docs/requirements.txt
  • Mac OS X: [sudo] pip-2.7 install -r docs/requirements.txt

Contributing

Working using GitHub's file editor

For small changes and typos you might want to use GitHub's built in file editor. It allows you to preview your changes right online (though there can be some differences between GitHub markdown and Sphinx RST). Just be careful not to create many commits.

Images

When you need to add images, try to make them as small as possible (e.g. as gif). Usually images should go in the same directory as the .rst file which references them, or in a subdirectory if one already exists.

Notes

Guides on using sphinx

  • To make links to certain sections create a link target like so:

      .. _hello_world:
    
      Hello world
      ===========
    
      This is a reference to :ref:`hello_world` and will work even if we
      move the target to another file or change the title of the section. 
    

    The _hello_world: will make it possible to link to this position (page and section heading) from all other pages. See the Sphinx docs for more information and examples.

  • Notes, warnings and alarms

      # a note (use when something is important)
      .. note::
    
      # a warning (orange)
      .. warning::
    
      # danger (red, use sparsely)
      .. danger::
    
    
  • Code examples

    • Start typed commands with $ (dollar space) so that they are easily differentiated from program output.

Manpages

  • To make the manpages, run make man. Please note there is a bug in Sphinx 1.1.3 which makes this fail. Upgrade to the latest version of Sphinx.
  • Then preview the manpage by running man _build/man/shippable.1, where _build/man/shippable.1 is the path to the generated manfile

docs's People

Contributors

manishas avatar avinci avatar cadbot avatar anowak avatar manaswini80211 avatar xdothackerx avatar oneredoak avatar avdrav avatar a-murphy avatar rageshkrishna avatar seemabeniwal avatar rolandpoulter avatar galeksandrp avatar bittner avatar pranaypareek avatar ajcstriker avatar naveensky avatar stigkj avatar kelvinn avatar kristigray avatar linyudong avatar

Watchers

James Cloos 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.