kivy/doc/README.md

50 lines
1.1 KiB
Markdown
Raw Normal View History

2010-11-03 21:05:03 +00:00
Kivy - Documentation
====================
2015-10-05 16:54:29 +00:00
You can access the latest documentation on the web:
2010-11-03 21:05:03 +00:00
* http://kivy.org/docs
2010-11-03 21:05:03 +00:00
Contributing
------------
2010-11-03 21:05:03 +00:00
If you intend on editing and contributing documentation, assure the kivy source
code is up to date before proceeding. If your documentation is outdated, it
could result in merge conflicts.
2013-04-12 06:43:09 +00:00
Install Sphinx
--------------
- With pip:
``pip install sphinx``
- With apt-get:
``apt-get install python-sphinx``
2015-10-05 16:54:29 +00:00
- With MacPorts:
``port install py34-sphinx``
2015-10-05 16:54:29 +00:00
- On Windows (or from inside your virtualenv):
2015-10-05 16:54:29 +00:00
Get pip (https://pypi.python.org/pypi/pip). You'll use it to install the dependencies.
2013-04-12 06:43:09 +00:00
To install pip, run ``python setup.py install`` in the pip directory. Now run:
``pip install sphinxcontrib-blockdiag sphinxcontrib-seqdiag``
``pip install sphinxcontrib-actdiag sphinxcontrib-nwdiag``
Or just use the provided *doc-requirements.txt*:
``pip install -r doc-requirements.txt``
Building the documentation
--------------------------
2010-11-03 21:05:03 +00:00
Generate documentation using make: ``make html``.
2010-11-03 21:05:03 +00:00
Documentation will be accessible in ``build/html/``.