Fixes bugs in documentation and improves it.
This commit is contained in:
7
docs/source/calc.rst
Normal file
7
docs/source/calc.rst
Normal file
@@ -0,0 +1,7 @@
|
||||
*******************************************
|
||||
Calc
|
||||
*******************************************
|
||||
|
||||
.. automodule:: calc
|
||||
:members:
|
||||
:show-inheritance:
|
||||
@@ -8,14 +8,6 @@ Contents:
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
chem.rst
|
||||
|
||||
Calc
|
||||
====
|
||||
|
||||
.. automodule:: capa.calc
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Capa_problem
|
||||
============
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
*******************************************
|
||||
Chem module
|
||||
Chemistry modules
|
||||
*******************************************
|
||||
|
||||
.. module:: chem
|
||||
@@ -7,7 +7,7 @@ Chem module
|
||||
Miller
|
||||
======
|
||||
|
||||
.. automodule:: capa.chem.miller
|
||||
.. automodule:: chem.miller
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -47,14 +47,14 @@ Documentation from **crystallography.js**::
|
||||
Chemcalc
|
||||
========
|
||||
|
||||
.. automodule:: capa.chem.chemcalc
|
||||
.. automodule:: chem.chemcalc
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Chemtools
|
||||
=========
|
||||
|
||||
.. automodule:: capa.chem.chemtools
|
||||
.. automodule:: chem.chemtools
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
@@ -62,7 +62,7 @@ Chemtools
|
||||
Tests
|
||||
=====
|
||||
|
||||
.. automodule:: capa.chem.tests
|
||||
.. automodule:: chem.tests
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
|
||||
@@ -4,86 +4,3 @@ CMS module
|
||||
|
||||
.. module:: cms
|
||||
|
||||
Auth
|
||||
====
|
||||
|
||||
.. automodule:: auth
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Authz
|
||||
-----
|
||||
|
||||
.. automodule:: auth.authz
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Content store
|
||||
=============
|
||||
|
||||
.. .. automodule:: contentstore
|
||||
.. :members:
|
||||
.. :show-inheritance:
|
||||
|
||||
.. Utils
|
||||
.. -----
|
||||
|
||||
.. .. automodule:: contentstore.untils
|
||||
.. :members:
|
||||
.. :show-inheritance:
|
||||
|
||||
.. Views
|
||||
.. -----
|
||||
|
||||
.. .. automodule:: contentstore.views
|
||||
.. :members:
|
||||
.. :show-inheritance:
|
||||
|
||||
.. Management
|
||||
.. ----------
|
||||
|
||||
.. .. automodule:: contentstore.management
|
||||
.. :members:
|
||||
.. :show-inheritance:
|
||||
|
||||
.. Tests
|
||||
.. -----
|
||||
|
||||
.. .. automodule:: contentstore.tests
|
||||
.. :members:
|
||||
.. :show-inheritance:
|
||||
|
||||
Github sync
|
||||
===========
|
||||
|
||||
.. automodule:: github_sync
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Exceptions
|
||||
----------
|
||||
|
||||
.. automodule:: github_sync.exceptions
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Views
|
||||
-----
|
||||
|
||||
.. automodule:: github_sync.views
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Management
|
||||
----------
|
||||
|
||||
.. automodule:: github_sync.management
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Tests
|
||||
-----
|
||||
|
||||
.. .. automodule:: github_sync.tests
|
||||
.. :members:
|
||||
.. :show-inheritance:
|
||||
@@ -6,4 +6,9 @@ Contents:
|
||||
:maxdepth: 2
|
||||
|
||||
xmodule.rst
|
||||
capa.rst
|
||||
capa.rst
|
||||
chem.rst
|
||||
sandbox-packages.rst
|
||||
symmath.rst
|
||||
calc.rst
|
||||
|
||||
|
||||
@@ -16,20 +16,11 @@ import os
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
# documentation root, use os.path.abspath to make it absolute, like shown here.
|
||||
sys.path.insert(0, os.path.abspath('.'))
|
||||
# sys.path.insert(0, os.path.abspath('.'))
|
||||
sys.path.insert(0, os.path.abspath('../..')) # mitx folder
|
||||
sys.path.insert(0, os.path.join(os.path.abspath('../..'), 'common', 'lib', 'calc')) # calc module
|
||||
sys.path.insert(0, os.path.join(os.path.abspath('../..'), 'common', 'lib', 'chem')) # calc module
|
||||
sys.path.insert(0, os.path.join(os.path.abspath('../..'), 'common', 'lib', 'sandbox-packages')) # calc module
|
||||
sys.path.insert(0, os.path.join(os.path.abspath('../..'), 'common', 'lib', 'capa')) # capa module
|
||||
sys.path.insert(0, os.path.join(os.path.abspath('../..'), 'common', 'lib', 'xmodule')) # xmodule
|
||||
sys.path.insert(0, os.path.join(os.path.abspath('../..'), 'lms', 'djangoapps')) # lms djangoapps
|
||||
sys.path.insert(0, os.path.join(os.path.abspath('../..'), 'cms', 'djangoapps')) # cms djangoapps
|
||||
sys.path.insert(0, os.path.join(os.path.abspath('../..'), 'common', 'djangoapps')) # common djangoapps
|
||||
|
||||
# django configuration - careful here
|
||||
import os
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'lms.envs.dev'
|
||||
os.environ['DJANGO_SETTINGS_MODULE'] = 'lms.envs.test'
|
||||
|
||||
|
||||
# -- General configuration -----------------------------------------------------
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
.. MITx documentation master file, created by
|
||||
.. EdX Dev documentation master file, created by
|
||||
sphinx-quickstart on Fri Nov 2 15:43:00 2012.
|
||||
You can adapt this file completely to your liking, but it should at least
|
||||
contain the root `toctree` directive.
|
||||
|
||||
Welcome to MITx's documentation!
|
||||
================================
|
||||
Welcome to EdX's Dev documentation!
|
||||
===================================
|
||||
|
||||
Contents:
|
||||
|
||||
|
||||
@@ -1,20 +1,9 @@
|
||||
*******************************************
|
||||
What the pieces are?
|
||||
Overview
|
||||
*******************************************
|
||||
|
||||
What
|
||||
====
|
||||
|
||||
...
|
||||
This is EdX Dev documentation, mainly extracted from docstrings.
|
||||
Autogenerated by Sphinx from python code.
|
||||
Soon support for JS will be impemented.
|
||||
|
||||
How
|
||||
===
|
||||
|
||||
...
|
||||
|
||||
|
||||
Who
|
||||
===
|
||||
|
||||
|
||||
...
|
||||
11
docs/source/sandbox-packages.rst
Normal file
11
docs/source/sandbox-packages.rst
Normal file
@@ -0,0 +1,11 @@
|
||||
*******************************************
|
||||
Sandbox-packages
|
||||
*******************************************
|
||||
.. module:: sandbox-packages
|
||||
|
||||
Loncapa
|
||||
=======
|
||||
|
||||
.. automodule:: loncapa.loncapa_check
|
||||
:members:
|
||||
:show-inheritance:
|
||||
31
docs/source/symmath.rst
Normal file
31
docs/source/symmath.rst
Normal file
@@ -0,0 +1,31 @@
|
||||
*******************************************
|
||||
Symmath
|
||||
*******************************************
|
||||
|
||||
.. module:: symmath
|
||||
|
||||
|
||||
Formula
|
||||
=======
|
||||
|
||||
.. automodule:: symmath.formula
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Symmath check
|
||||
=============
|
||||
|
||||
.. automodule:: symmath.symmath_check
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
Symmath tests
|
||||
=============
|
||||
|
||||
.. automodule:: symmath.test_formula
|
||||
:members:
|
||||
:show-inheritance:
|
||||
|
||||
.. automodule:: symmath.test_symmath_check
|
||||
:members:
|
||||
:show-inheritance:
|
||||
Reference in New Issue
Block a user