adapt documentation to changed module structure

This commit is contained in:
Jan Dittberner 2015-01-19 21:54:13 +01:00
parent 5b41d93898
commit 41af99561c
9 changed files with 55 additions and 37 deletions

View file

@ -3,3 +3,8 @@ gnuviechadmin
============= =============
Customer center for gnuviech servers. Customer center for gnuviech servers.
Gnuviechadmin is based on Django_ and Celery_
.. _Django: https://djangoproject.com/
.. _Celery: http://www.celeryproject.com/

View file

@ -9,17 +9,35 @@ administrators and customers.
.. _Django: https://www.djangoproject.com/ .. _Django: https://www.djangoproject.com/
Common code
===========
.. toctree::
code/gvacommon
Celery task stubs
=================
.. toctree::
code/fileservertasks
code/ldaptasks
code/mysqltasks
code/pgsqltasks
Django app code
===============
.. toctree:: .. toctree::
code/gnuviechadmin code/gnuviechadmin
code/gvacommon
code/dashboard code/dashboard
code/domains code/domains
code/hostingpackages code/hostingpackages
code/managemails code/managemails
code/mysqltasks
code/osusers code/osusers
code/pgsqltasks
code/taskresults code/taskresults
code/userdbs code/userdbs

View file

@ -0,0 +1,12 @@
:py:mod:`fileservertasks` app
=============================
.. automodule:: fileservertasks
:py:mod:`tasks <fileservertasks.tasks>`
---------------------------------------
.. automodule:: fileservertasks.tasks
:members:
:undoc-members:

12
docs/code/ldaptasks.rst Normal file
View file

@ -0,0 +1,12 @@
:py:mod:`ldaptasks` app
=======================
.. automodule:: ldaptasks
:py:mod:`tasks <ldaptasks.tasks>`
---------------------------------
.. automodule:: ldaptasks.tasks
:members:
:undoc-members:

View file

@ -9,9 +9,4 @@
.. automodule:: mysqltasks.tasks .. automodule:: mysqltasks.tasks
:members: :members:
:undoc-members:
.. autotask:: mysqltasks.tasks.create_mysql_database
.. autotask:: mysqltasks.tasks.create_mysql_user
.. autotask:: mysqltasks.tasks.delete_mysql_database
.. autotask:: mysqltasks.tasks.delete_mysql_user
.. autotask:: mysqltasks.tasks.set_mysql_userpassword

View file

@ -23,23 +23,3 @@
.. automodule:: osusers.models .. automodule:: osusers.models
:members: :members:
:py:mod:`tasks <osusers.tasks>`
-------------------------------
.. automodule:: osusers.tasks
.. autotask:: osusers.tasks.add_ldap_user_to_group
.. autotask:: osusers.tasks.create_file_mailbox
.. autotask:: osusers.tasks.create_ldap_group
.. autotask:: osusers.tasks.create_ldap_user
.. autotask:: osusers.tasks.delete_file_mail_userdir
.. autotask:: osusers.tasks.delete_file_mailbox
.. autotask:: osusers.tasks.delete_file_sftp_userdir
.. autotask:: osusers.tasks.delete_ldap_group
.. autotask:: osusers.tasks.delete_ldap_group_if_empty
.. autotask:: osusers.tasks.delete_ldap_user
.. autotask:: osusers.tasks.remove_ldap_user_from_group
.. autotask:: osusers.tasks.setup_file_mail_userdir
.. autotask:: osusers.tasks.setup_file_sftp_userdir

View file

@ -9,9 +9,5 @@
---------------------------------- ----------------------------------
.. automodule:: pgsqltasks.tasks .. automodule:: pgsqltasks.tasks
:members:
.. autotask:: pgsqltasks.tasks.create_pgsql_database :undoc-members:
.. autotask:: pgsqltasks.tasks.create_pgsql_user
.. autotask:: pgsqltasks.tasks.delete_pgsql_database
.. autotask:: pgsqltasks.tasks.delete_pgsql_user
.. autotask:: pgsqltasks.tasks.set_pgsql_userpassword

View file

@ -1,5 +1,5 @@
""" """
This module defines Celery_ tasks to manage MySQL users and databases. This module defines Celery tasks to manage MySQL users and databases.
""" """
from __future__ import absolute_import from __future__ import absolute_import

View file

@ -1,5 +1,5 @@
""" """
This module defines Celery_ tasks to manage PostgreSQL users and databases. This module defines Celery tasks to manage PostgreSQL users and databases.
""" """
from __future__ import absolute_import from __future__ import absolute_import