Commits

Kai Diefenbach committed 71f4cbb

Removed autodoc and generation of developer API for now (as it doesn't work correctly with RTD)

  • Participants
  • Parent commits 7036f67

Comments (0)

Files changed (3)

 # 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.
-os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
-sys.path.append(os.path.abspath("../../../lfs_project"))
-sys.path.append(os.path.abspath("../../../parts/lfs"))
-sys.path.append(os.path.abspath("../../../parts/lfs/lfs/core/utils"))
-sys.path.append(os.path.abspath("../../../eggs/Django-1.3.1-py2.7.egg"))
-sys.path.append(os.path.abspath("../../../parts/reviews"))
-sys.path.append(os.path.abspath("../../../eggs/django_paypal-0.1.2-py2.7.egg/"))
 
 # -- General configuration -----------------------------------------------------
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo']
+# extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']

docs/developer/api/core.rst

-====
-Core
-====
-
-Utilities
-=========
-
-.. warning::
-
-    LFS is in alpha state. Please consider the API as supposed to be changed
-    until it reaches beta state.
-
-Classes
--------
-
-.. autoclass:: lfs.core.utils.CategoryTree
-    :members:
-
-.. autoclass:: lfs.core.utils.LazyEncoder
-    :members:
-
-Functions
----------
-
-Miscellaneous
-^^^^^^^^^^^^^
-
-.. autofunction:: lfs.core.utils.get_default_shop
-
-.. autofunction:: lfs.core.utils.lfs_quote
-
-.. autofunction:: lfs.core.utils.import_module
-
-.. autofunction:: lfs.core.utils.get_current_categories
-
-.. autofunction:: lfs.core.utils.set_category_levels
-
-.. autofunction:: lfs.core.utils.getLOL
-
-.. autofunction:: lfs.core.utils.render_to_ajax_response
-
-Date
-^^^^
-
-.. autofunction:: lfs.core.utils.get_start_day
-
-.. autofunction:: lfs.core.utils.get_end_day
-
-Redirect
-^^^^^^^^
-
-.. autofunction:: lfs.core.utils.get_redirect_for
-
-.. autofunction:: lfs.core.utils.set_redirect_for
-
-.. autofunction:: lfs.core.utils.remove_redirect_for
 
    developer/settings
 
-API
----
-
-.. toctree::
-   :maxdepth: 2
-
-   developer/api/core
-
 How-tos
 -------