Giter Club home page Giter Club logo

docs's Introduction

About

This repo is the InfraSIM documentation's source code ( http://infrasim.readthedocs.org )

Documentation Build Status

  • if you are a user of InfraSIM and would like to find documents, Please go to: http://infrasim.readthedocs.org/
  • if you are going to contribute the the InfraSIM's documents, you can refer to follow below steps , which explain how to edit and build the documentation on a local system.

Steps for Linux

  1. Create a virtualenv and set up the requirements.

    virtualenv .venv
    source .venv/bin/activate
    cd docs
    pip install -r requirements.txt
    
  2. Build the HTML documentation in the _build directory.

     cd docs
    make html
    
  3. To automatically rebuild the documentation as you update the documentation files.

    cd docs
    sphinx-autobuild -H 0.0.0.0 -p 8000 . _build/html
    

    Access the documentation by navigating to http://127.0.0.1:8000.

Steps for Windows

Prerequisites: Ensure that Sphinx, Python, and a Sphinx-supported editor is installed on the system. (The project team uses Atom as the editor.) For Pythin, install https://www.python.org/ftp/python/2.7.0/python-2.7.10.msi with the default location and components.

  1. Clone the docs repository from Github to your system.

  2. Install and set up the virtualenv

    c:\python27\scripts\pip install virtualenv
    c:\python27\scripts\virtualenv .venv
    .venv\scripts\activate
    pip install -r requirements.txt
    
  3. Build the HTML documentation.

    venv\scripts\activate
    cd docs
    .\make.bat html
    
  4. Access the documentation in a browser.

    .venv\scripts\activate
    cd docs
    start .\_build\html\index.html
    
  5. Preview the changes , by automatically rebuilding the documentation as you make changes.

    sphinx-autobuild -H 0.0.0.0 -p 8000 . _build/html
    

    Access the documentation by navigating to http://127.0.0.1:8000

Push change to online docs

you don't need to do anything. After your Pull Request gets merged into "docs" repository, CI(Continous Intergration) will push and update the online docs(http://infrasim.readthedocs.org) for you .

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.