Skip to content

Documentation deployment

Emilio Gamba edited this page Feb 23, 2021 · 1 revision

Deployment information

The full enter_name_of_package documentation is available at cpmpy.

The documentation is automatically generated using Sphinx and deployed using readthedocs.io.

Requirements

Assuming you have Python already, install Sphinx:

$ pip install sphinx

Compiling the docs

Inside the docs/ folder:

  1. Clean the build folder, with the following command:

     make clean
    
  2. Build the documentation

     make html
    

Once the documentation is successfully compiled and generated, push it to github and readthedocs automatically deploys the new documentation to the website.

Clone this wiki locally