New style documentation

This commit is contained in:
Roberto Rosario
2015-05-20 21:25:17 -04:00
parent 7dd2963a4b
commit 5e4f28c83b
12 changed files with 155 additions and 116 deletions

BIN
docs/_static/logo_pyramid_only.png vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

4
docs/_templates/donate.html vendored Normal file
View File

@@ -0,0 +1,4 @@
<h3>Donate</h3>
<p>
Help support further improvements and development by donating on: <a href="https://www.patreon.com/siloraptor">Patreon</a>
</p>

View File

@@ -1,4 +1,6 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
#
# Mayan EDMS documentation build configuration file, created by
# sphinx-quickstart on Fri Aug 19 05:13:38 2011.
@@ -43,7 +45,7 @@ source_suffix = '.rst'
# source_encoding = 'utf-8-sig'
# The master toctree document.
master_doc = 'contents'
master_doc = 'index'
# General information about the project.
project = mayan.__title__
@@ -98,7 +100,7 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'default'
html_theme = 'classic'
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
@@ -185,8 +187,8 @@ htmlhelp_basename = 'MayanEDMSdoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
('index', 'MayanEDMS.tex', u'Mayan EDMS Documentation',
u'Roberto Rosario', 'manual'),
('index', 'MayanEDMS.tex', 'Mayan EDMS Documentation',
mayan.__author__, 'manual'),
]
# The name of an image file (relative to this directory) to place at the top of
@@ -218,6 +220,29 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
('index', 'mayanedms', u'Mayan EDMS Documentation',
[u'Roberto Rosario'], 1)
('index', 'mayanedms', 'Mayan EDMS Documentation',
[mayan.__author__], 1)
]
# -- Custom options
import alabaster
html_theme_path = [alabaster.get_path()]
extensions = ['alabaster']
html_theme = 'alabaster'
html_sidebars = {
'**': [
'about.html', 'navigation.html', 'searchbox.html', 'donate.html',
]
}
html_theme_options = {
'description': 'Free Open Source Electronic Document Management System',
'github_user': 'mayan-edms',
'github_repo': 'mayan-edms',
'travis_button': True,
'gratipay_user': 'rosarior',
'github_banner': True,
}
html_logo = '_static/logo_pyramid_only.png'

View File

@@ -1,16 +0,0 @@
.. _contents:
========
Contents
========
.. toctree::
:hidden:
index
.. toctree::
:maxdepth: 3
topics/index
releases/index

View File

@@ -1,60 +1,41 @@
.. _index:
Welcome to Mayan EDMS!
======================
========================
Mayan EDMS documentation
========================
**Mayan EDMS** is a `Free Open Source`_ `Electronic Document Management System`_, coded in
the Python language using the Django_ web application framework and released
under the `Apache 2.0 License`_. It provides an electronic vault or repository for electronic documents.
.. rubric:: `Open source`_ `electronic document management system`_.
The easiest way to install and try **Mayan EDMS** is by using a Debian based Linux distribution
and installing it from PyPI with the following commands:
Getting help
============
.. code-block:: bash
* Search for information in the `archives of the mayan-edms mailing list`_, or
`post a question`_. If you prefer news servers, use the gateway provided by Gmane_.
* Report bugs with **Mayan EDMS** using Github's `ticket tracker`_.
* Try the :doc:`FAQ <topics/faq>` -- it's got answers to many common questions.
$ sudo apt-get install libjpeg-dev libmagic1 libpng-dev libreoffice libtiff-dev gcc ghostscript gpgv python-dev python-virtualenv tesseract-ocr unpaper poppler-utils -y
$ virtualenv venv
$ source venv/bin/activate
$ pip install mayan-edms
$ mayan-edms.py initialsetup
$ mayan-edms.py runserver
Point your browser to 127.0.0.1:8000 and use the automatically created admin
account.
First steps
===========
.. toctree::
:hidden:
:doc:`Features <topics/features>` |
:doc:`Installation <topics/installation>` |
:doc:`Getting started <topics/getting_started>`
Understanding Mayan EDMS
========================
:doc:`File storage <topics/file_storage>` |
:doc:`Permission system <topics/permissions>` |
:doc:`Transformations <topics/transformations>` |
:doc:`Document versioning <topics/versioning>` |
:doc:`Document signatures <topics/signatures>` |
:doc:`Indexes <topics/indexes>` |
:doc:`Smart links <topics/smart_links>` |
:doc:`Tags <topics/tags>` |
Release notes
=============
:doc:`Release notes and upgrading instructions <releases/index>`
For developers
==============
:doc:`Development <topics/development>`
Credits
=======
:doc:`Contributors <topics/contributors>` |
:doc:`Licensing <topics/license>`
Features <topics/features>
Installation <topics/installation>
Getting started <topics/getting_started>
Release notes and upgrading instructions <releases/index>
Understanding Mayan EDMS <topics/index>
Development <topics/development>
Contributors <topics/contributors>
Licensing <topics/license>
FAQ <topics/faq>
Contact <topics/contact>
.. _Django: http://www.djangoproject.com/
.. _Gmane: http://news.gmane.org/gmane.comp.python.django.mayan-edms
.. _Open source: http://en.wikipedia.org/wiki/Open_source
.. _archives of the mayan-edms mailing list: http://groups.google.com/group/mayan-edms/
.. _electronic document management system: https://en.wikipedia.org/wiki/Document_management_system
.. _post a question: http://groups.google.com/group/mayan-edms
.. _ticket tracker: https://github.com/mayan-edms/mayan-edms/issues
.. _Free Open Source: http://en.wikipedia.org/wiki/Open_source
.. _Electronic Document Management System: https://en.wikipedia.org/wiki/Document_management_system
.. _Apache 2.0 License: https://www.apache.org/licenses/LICENSE-2.0.txt

View File

@@ -49,14 +49,14 @@ ACL support
A more in-depth explanation of how this new ACL system can be found in
the :doc:`3 tier access control <../topics/permissions>` section of the
permissions chapter.
* Default class ACL support. Administrators can setup the access control
lists that new documents, folders and tags will automatically inheric
when created. Aside from asigning permission to users, groups and roles
to specific objects, there is a special user called `Creator`, use to
allow the access control list that the actual creator of an object will
inherit.
inherit.
Anonymous user support
~~~~~~~~~~~~~~~~~~~~~~
Anonymous user support is a two tier function, first is the addition of
@@ -78,32 +78,31 @@ Usability improvements
erases the previous one.
* Usability improvement in the role member's add/removal form, by using
HTML's option groups tag property
2 Step download process
~~~~~~~~~~~~~~~~~~~~~~~
The code for downloading single and multiple document and document versions
has been merged with compression support also added. This allows for the
download of documents in their original format or compressed and well as
the download of several documents in a single compressed file.
the download of several documents in a single compressed file.
Customizable GPG home directory
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Addition of the :setting:`SIGNATURES_GPG_HOME` configuration option to let
Addition of the :setting:`SIGNATURES_GPG_HOME` configuration option to let
administrators set **Mayan EDMS**'s GPG instance home directory, used to
store keyrings and other GPG configuration files.
Out of process bulk uploading
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A management command has been added to help upload a large number of documents
from a compressed file. For information about this new feature check the
:doc:`Initial data loading <../topics/initial_import>` chapter.
from a compressed file. For information about this new feature check the Initial data loading chapter.
Out of process user import
~~~~~~~~~~~~~~~~~~~~~~~~~~
A management command has been added to import a large number users
from a CSV file. More information about this new feature can also be found
in the :doc:`Initial data loading <../topics/initial_import>` chapter.
from a CSV file. More information about this new feature can also be found
in the Initial data loading chapter.
Refactored document indexing
@@ -123,7 +122,7 @@ mirrored on disk.
Help shape Mayan EDMS's future
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Included in this version is a small feedback application, found under the
Included in this version is a small feedback application, found under the
``About`` main menu, where users by just answering some questions can
help determine the priority of the next planned features on the pipeline,
or even help add new features if enough requests are received. All questions
@@ -169,7 +168,7 @@ When the following message appears
If you're unsure, answer 'no'.
Type 'yes' to continue, or 'no' to cancel:
Type ``yes`` and press **Enter**
And continue migrating database schema with::
@@ -213,7 +212,7 @@ Bugs fixed
==========
* Issue #17, special thanks to Dave Herring for all the help including
access to a machine suffering with the issue, and to Sergei Glita for
his research and eventual find of the core cause.
his research and eventual find of the core cause.
* Statistics fixes.
* Fixed get_image_cache_name regression in the OCR app.
@@ -221,12 +220,12 @@ Stuff removed
=============
* Support for Celery and Sentry has been drop
for now.
* Removed the 'db_index' argument from Text fields definition and
* Removed the 'db_index' argument from Text fields definition and
migrations as it was causing error messages for MySQL users, thanks to
Sergei Glita for reporting this one.
* Configuration options removed:
* OCR_CACHE_URI
* DOCUMENT_INDEXING_FILESYSTEM_FILESERVING_PATH - Use the newest :setting:`DOCUMENT_INDEXING_FILESYSTEM_SERVING`
* DOCUMENT_INDEXING_FILESYSTEM_FILESERVING_ENABLE - Use the newest :setting:`DOCUMENT_INDEXING_FILESYSTEM_SERVING`

View File

@@ -11,7 +11,6 @@ Update to Django 1.6.11
~~~~~~~~~~~~~~~~~~~~~~~
The required version of Django has been updated to version 1.6.11_.
Minor changes
~~~~~~~~~~~~~
- Fix make_dist.sh script
@@ -23,9 +22,24 @@ Minor changes
- Removal of installation statistics gathering
- Remove unused folder tag
- Fix usage of ugettext to ugettext_lazy
- Increase size of the lock name field
- New style documentation
Upgrading from a previous version
=================================
Using PIP
~~~~~~~~~
Type in the console::
$ pip install mayan-edms==1.1.1
the requirements will also be updated.
Using Git
~~~~~~~~~
If you installed Mayan EDMS by cloning the Git repository issue the commands::
$ git reset --hard HEAD
@@ -37,6 +51,9 @@ Next upgrade/add the new requirements::
$ pip install --upgrade -r requirements.txt
Common steps
~~~~~~~~~~~~
Add new static media::
$ mayan-edms.py collectstatic --noinput

View File

@@ -17,20 +17,13 @@ Final releases
Below are release notes through **Mayan EDMS** |version| and its minor releases. Newer
versions of the documentation contain the release notes for any later releases.
1.1 release
1.0 series
-----------
.. toctree::
:maxdepth: 1
1.1
1.1.1
1.0 release
-----------
.. toctree::
:maxdepth: 1
1.1
1.0
0.13 release

38
docs/topics/contact.rst Normal file
View File

@@ -0,0 +1,38 @@
=======
Contact
=======
FAQ
---
* Try the :doc:`FAQ <faq>` -- it's got answers to many common questions.
Mailing list
------------
Search for information in the `archives of the mayan-edms mailing list`_, or
`post a question`_. If you prefer news servers, use the gateway provided by Gmane_.
**Mayan EDMS** community developers do their best to reply to basic questions.
Be sure to check the list archives as it may already containt the answers to your
questions.
Twitter
-------
**Mayan EDMS** has an official Twitter account, `@mayanedms
<http://twitter.com/mayanedms>`_, which is used for announcements and occasional
related news tidbits.
Bugs/ticket tracker
-------------------
Report bugs with **Mayan EDMS** or search existing ones using Github's `ticket tracker`_.
.. _archives of the mayan-edms mailing list: http://groups.google.com/group/mayan-edms/
.. _post a question: http://groups.google.com/group/mayan-edms
.. _ticket tracker: https://github.com/mayan-edms/mayan-edms/issues
.. _Gmane: http://news.gmane.org/gmane.comp.python.django.mayan-edms

View File

@@ -1,23 +1,16 @@
Using Mayan EDMS
================
Understanding Mayan EDMS
========================
Introductions to all the key parts of Mayan EDMS you'll need to know:
.. toctree::
:maxdepth: 1
contributors
development
faq
features
file_storage
getting_started
indexes
installation
license
permissions
signatures
smart_links
tags
transformations
versioning
signatures
indexes
smart_links
tags

View File

@@ -118,8 +118,8 @@ to /usr/bin/ with ...
GM_PATH = '/usr/local/bin/gm'
LIBREOFFICE_PATH = '/Applications/LibreOffice.app/Contents/MacOS/soffice'
Production use
--------------
Testing the install
-------------------
To create a custom settings file for **Mayan EDMS**, create a Python (.py) file
in the directory: venv/lib/python2.7/site-packages/mayan/settings/ with the following basic content::
@@ -136,7 +136,12 @@ To test your settings launch **Mayan EDMS** using::
$ mayan-edms.py runserver --settings=mayan.settings.my_settings
After making sure everything is running correctly, stop the runserver command.
Note: Background tasks and scheduled tasks will not run when using the test server.
Production use
--------------
After making sure everything is running correctly, stop the `runserver` command.
Deploy **Mayan EDMS** using the webserver of your preference. For more information
on deployment instructions and examples, checkout Django's official documentation
on the topic https://docs.djangoproject.com/en/1.6/howto/deployment/

View File

@@ -5,4 +5,4 @@ __version__ = '1.1.1'
__build__ = 0x010101
__author__ = 'Roberto Rosario'
__license__ = 'Apache 2.0'
__copyright__ = 'Copyright 2011 Roberto Rosario'
__copyright__ = 'Copyright 2011-2015 Roberto Rosario'