Skip to content

Commit

Permalink
docs: add configuration for automatic filters docs generation
Browse files Browse the repository at this point in the history
  • Loading branch information
mariajgrimaldi committed Jun 5, 2024
1 parent 16de16c commit 8676e9c
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@
# 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.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))

import os
import sys
sys.path.insert(0, os.path.abspath('..'))

# -- Project information -----------------------------------------------------

Expand All @@ -35,6 +34,8 @@
'sphinx_copybutton',
'sphinx.ext.graphviz',
'sphinxcontrib.mermaid',
'sphinx.ext.autodoc',
'sphinx.ext.autosummary',
]

# Add any paths that contain templates here, relative to this directory.
Expand Down
10 changes: 10 additions & 0 deletions docs/reference/filters.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Filters
=======

This is the list of Open edX Filters found in this repository.

.. note::
Filters can be created in other projects and plugins as well, but these default filters are guaranteed to exist.

.. automodule:: openedx_filters.learning.filters
:members:
1 change: 1 addition & 0 deletions docs/reference/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ References
:caption: Contents:

django-plugins-and-filters
filters

0 comments on commit 8676e9c

Please sign in to comment.