mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 02:36:49 +07:00
cccabc7dc355256958d0f7cc288a71f7d0db6ad2
ownCloud Documentation
======================
This is the ownCloud documentation. It currently focuses on the server, client manuals are in the respective git repositories. Because of the complexity of the server and the split into the core and apps modules, the manuals are in this separate directory.
License
-------
All documentation in this repository is licensed under the Creative Commons Attribution 3.0 Unported license (`CC BY 3.0`_).
.. _CC BY 3.0: http://creativecommons.org/licenses/by/3.0/deed.en_US
Style
-------
It is using the `Sphinx Documentation Generator <http://sphinx.pocoo.org/>`_. The syntax follows the `reStructuredText <http://docutils.sourceforge.net/rst.html>`_ style, and can also be edited from GitHub.
For PHP documentation you'll need to get the according language domain package. The documenation for PHP source is located at http://packages.python.org/sphinxcontrib-phpdomain/reference.html
Manuals
-------
At this point, this repository hosts three manuals:
* **Users Manual:** Covers topics from an end user's Point of View
* **Administrators Manual:** Setup, Deployment, Best Practices, etc.
* **Developers Manual:** Developing Apps for ownCloud & understanding the core Architecture.
Building
--------
Linux / OS X
^^^^^^^^^^^^
First make sure that these things are installed
- Python 2 (2.6.0 or better, Python 3 is not yet supported!)
- Sphinx
- Sphinx PHPDomain
- rst2pdf
On Mac this can be done by executing
sudo easy_install Sphinx sphinxcontrib-phpdomain rst2pdf
On apt-get based distros this can be done by executing
sudo apt-get install python-sphinx python-sphinxcontrib.phpdomain rst2pdf
On yum based distros this can be done by executing
sudo yum install python-sphinx rst2pdf
If you're on Arch Linux, the build script is called sphinx-build2 which will fail. Therefore you have to provide a link::
sudo ln -s /usr/bin/sphinx-build2 /usr/bin/sphinx-build
then enter any manual directory, then run ``make html``. The result can be found in the ``_build/html`` subdirectory.
PDFs can be build with the ``make latexpdf`` command and found
Windows
^^^^^^^
Running ``setup.cmd`` will install Python 2.7 and install all dependencies.
Enter any manual and clicking the "Build HTML" shortcut will create a HTML build. Likewise, "Build PDF" will build the
PDF using the more lightweight, but feature-incomplete RST2PDF tool. The results are in ``_build/html`` and ``_build/pdf``
respectively.
Description
Languages
JavaScript
23.6%
HTML
21.7%
CSS
18%
Python
11.8%
Makefile
11.1%
Other
13.8%