Giter Site home page Giter Site logo

pyrobotsim-docs's Introduction

PyRobotSim documentation

Installing dependencies

The dependencies are managed by poetry, which can be installed with following command:

curl -sSL https://install.python-poetry.org | python3 -

The dependencies can then be installed through

poetry install

Build the documentation

Activating the virtual environment

Most commands from Makefile require the poetry virtual environment to be activated. The folloewing command has to be run in the project directory:

poetry shell

Build the online documentation

To build the documentation and for live development server, use the following command from the root folder of the project containing the Makefile :

make livehtml

Build the LaTeX (PDF) documentation

To be able to generate the PDF, you must first install LaTeX on your system. On a Linux system, you just have to issue the commands

sudo apt update
sudo apt-get install texlive-latex-extra texlive-lang-french texlive-fonts-recommended latexmk

To generate the PDF, issue the following command in project root _

make tmpdf

The PDF output is then output to the build/latex/ folder.

Live development (HTML preview)

On a local machine

Then, to view the result, simply visit http://localhost:8000/ in the web browser.

Edit online with the gitpod.io cloud IDE

The Gitpod online IDE allows to have complete virtual machines on which to run the Sphinx / LaTeX on which to run the Sphinx / LaTeX toolchain to write the documentation of TM projects in computer science.

Here are the steps to follow:

  1. Fork the https://github.com/informatiquecsud/sphinx-tm-template/ repository into your GitHub account.

  2. Open your version of the repository on GitHub and, in the address bar of your browser, add https://gitpod.io# to the far left of the address of your GitHub repository. For this to work, you must have an account on the platform https://gitpod.io/.

  3. In Gitpod, install the dependencies

  4. You can then generate the HTML with

    make livehtml
  5. To generate the PDF, simply run the following command in a terminal.

    make tmpdf

pyrobotsim-docs's People

Contributors

donnerc avatar

Stargazers

Tobias Antensteiner avatar

Watchers

 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.