Giter Site home page Giter Site logo

bharatsim / documentation Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 9.0 6.66 MB

Tutorial for the BharatSim agent based modelling framework

License: Creative Commons Attribution Share Alike 4.0 International

Makefile 10.86% Batchfile 13.60% Python 57.68% CSS 17.87%

documentation's Introduction

BharatSim Documentation

This repository contains the source code of the documentation of BharatSim, an agent based modelling framework for India. This documentation is hosted on ReadTheDocs here.

Contributing

The documentation uses Sphinx with the Sphinx-RTD theme. Read about Sphinx here.

If you plan on contributing to this documentation, get in touch with us at [email protected]. Then, fork this repository on GitHub and make changes to your fork. Create and modify documentation pages inside the source directory. You can then submit a pull request on GitHub. Your changes will then be merged after a review.

Prerequisites

  • Python 3 - Sphinx is based on Python, therefore you must have Python installed
  • A Python package installer like pip or conda

Setting up the documentation environment

The following commands will make a local copy of this repository, and install the required python packages.

  • Clone the repository: git clone [email protected]:bharatsim/documentation.git
  • Move into the repository: cd documentation
  • Install requirements: pip install -r requirements.txt

Building the Sphinx site locally

You can preview the final version of your local edits by building the HTML pages from your source. Note that this is only to check the final documentation. The build files should not be committed to version control. The final documentation site is built automatically from source files.

In order to build a local version of the HTML pages, navigate to within the repository and:

  • If you have make installed, simply run make html
  • If not, run sphinx-build -b html source build/html

You can now edit the source files and preview the results using any text editor. Sphinx uses reStructuredText, a "a simple, unobtrusive markup language" that will not take you too long to learn if you have not already used it.

If you wish, you can use a code editor like VS Code to edit the files, along with the reStructuredText plugin which includes many additional features, including a live preview.

License

CC BY-SA 4.0

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

CC BY-SA 4.0

documentation's People

Contributors

dpcherian avatar rizfn avatar aleena-jose avatar prathithbhargav avatar soumilk1 avatar thereconpilot avatar antonykiran10 avatar yeriksingh avatar joymonteiro avatar vaibhhav 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.