Giter Club home page Giter Club logo

modding_handbook-rf2's Introduction

Modding Handbook - rF2

This is the repository of the "Modding Handbook - rF2" source.

Requirements

The documentation is written in reStructuredText (RST) and generated using Spinx. To work on the source and compile the documentation on your own, you would need at least the following:

Packaging scripts

There are a couple of packaging scripts provided. These are very simple bash scripts, intended to work on a Ubuntu Linux OS. Maybe batch scripts for Windows will be added later.

Generating the documentation locally

The requirements above mention you need sphinx-doc to "compile" the documentation from source on your machine. To use it, you need to install Python on your computer.

Windows

For Windows the installation for that is described in the Getting started using Python on Windows for beginners guide, where you should follow the steps to install Python, optionally Visual Studio Code, and probably Git (if you have not done so already to clone this repository). This version of Python comes with "pip", a package manager for Python which makes the installation of sphinx-doc easy.

You need to install the following packages:

pip install sphinx
pip install sphinx-rtd-theme
pip install sphinxprettysearchresults
pip install readthedocs-sphinx-search

If that worked without generating any error messages, you can go to the folder where you've cloned the git repository and then type:

make html

This will build the whole documentation into a subfolder called build\html so to read that type:

start build\html\index.html

That should open the documentation in your default browser. You can run the make command again after every update you do to the documentation.

Linux

To avoid conflicts with existing Python packages, it's recommended to use a virtual environment.

Install packages python3 and python3-env from your package manager in case they're not already installed.

Go to the folder where you've cloned the git repository and create the virtual enviroment with the following command:

python3 -m venv python-env

Activate the virtual environment with command:

source python-env/bin/activate

Notice the command prompt changes when the virtual environment is active to remind you Python commands are using this environment.

You need to install the following packages:

pip install sphinx
pip install sphinx-rtd-theme
pip install sphinxprettysearchresults
pip install readthedocs-sphinx-search

If that worked without generating any error messages then type:

make html

This will build the whole documentation into a subfolder called build\html so to read that type:

xdg-open build/html/index.html

Deactivate the virtual environment by closing the terminal or typing the command:

deactivate

Mac OS X

TODO

modding_handbook-rf2's People

Contributors

berarma avatar m4rr5 avatar mrfunk1 avatar

Stargazers

 avatar  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.