This is the source for the site that holds documentation for development on Mono.
The site that displays the documentation is read-only.
To contribute to the documentation itself, submit pull requests against the GitHub repository.
You will need VirtualBox and Vagrant installed.
And you need the mono_framework
repo to be a directory next to this repo.
Then you need to build and get into the virtual machine:
$ vagrant up
$ vagrant ssh
Inside the virtual machine, generate the documentation and restart the web server.
$ cd /vagrant
$ ./doxyrun.sh /mono_framework
$ ./makeapi.py
$ sphinx-build . _build/
$ sudo service nginx restart
Now the documentation site is running at localhost:8080
.
When the virtual machine has been set up, you only need to run one or more of the generating steps to get the web site updated:
$ ./doxyrun.sh /mono_framework
$ ./makeapi.py
$ sphinx-build . _build/
To build the docs locally you need the Python Package manager pip
. On a mac with brew, install python (pip is included). (This will not overwrite the python that is distributed with OS X.)
$ brew install python
With brew
's python distribution installed, install sphinx
and then recommonmark
to support markdown:
$ pip install sphinx
$ pip install recommonmark
$ pip install breathe
In the project root dir, the conf.py
file contains the build settings. In the root dir, run:
$ sphinx-build . _build/