Merge pull request #32614 from openedx/feanil/reorg_guides
feanil/reorg guides
This commit is contained in:
9
docs/guides/.gitignore
vendored
9
docs/guides/.gitignore
vendored
@@ -1,5 +1,6 @@
|
||||
_build
|
||||
cms
|
||||
common
|
||||
lms
|
||||
openedx
|
||||
references/docstrings/cms
|
||||
references/docstrings/common
|
||||
references/docstrings/lms
|
||||
references/docstrings/openedx
|
||||
references/docstrings/xmodule
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
Guides
|
||||
******
|
||||
Concepts and Guides
|
||||
###################
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
@@ -62,6 +62,7 @@ extensions = [
|
||||
'sphinx.ext.mathjax',
|
||||
'sphinx.ext.napoleon',
|
||||
'sphinxcontrib.openapi',
|
||||
'sphinx_design',
|
||||
'code_annotations.contrib.sphinx.extensions.featuretoggles',
|
||||
'code_annotations.contrib.sphinx.extensions.settings',
|
||||
]
|
||||
@@ -272,10 +273,11 @@ autodoc_mock_imports = [
|
||||
# run sphinx-apidoc against and the directories under "docs" in which to store
|
||||
# the generated *.rst files
|
||||
modules = {
|
||||
'cms': 'cms',
|
||||
'lms': 'lms',
|
||||
'openedx': 'openedx',
|
||||
'xmodule': 'xmodule',
|
||||
'cms': 'references/docstrings/cms',
|
||||
'lms': 'references/docstrings/lms',
|
||||
'openedx': 'references/docstrings/openedx',
|
||||
'common': 'references/docstrings/common',
|
||||
'xmodule': 'references/docstrings/xmodule',
|
||||
}
|
||||
|
||||
|
||||
|
||||
8
docs/guides/how-tos/index.rst
Normal file
8
docs/guides/how-tos/index.rst
Normal file
@@ -0,0 +1,8 @@
|
||||
"How-To" Guides
|
||||
###############
|
||||
|
||||
|
||||
.. toctree::
|
||||
:glob:
|
||||
|
||||
*
|
||||
@@ -24,17 +24,65 @@ locations.
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
|
||||
lms_apis
|
||||
guides
|
||||
docstrings/docstrings
|
||||
celery
|
||||
settings
|
||||
featuretoggles
|
||||
|
||||
.. toctree::
|
||||
:hidden:
|
||||
|
||||
how-tos/index
|
||||
references/index
|
||||
concepts/index
|
||||
|
||||
.. grid:: 1 2 2 2
|
||||
:gutter: 3
|
||||
:padding: 0
|
||||
|
||||
.. grid-item-card:: How-tos
|
||||
:class-card: sd-shadow-md sd-p-2
|
||||
:class-footer: sd-border-0
|
||||
|
||||
* :doc:`how-tos/celery`
|
||||
+++
|
||||
.. button-ref:: how-tos/index
|
||||
:color: primary
|
||||
:outline:
|
||||
:expand:
|
||||
|
||||
.. grid-item-card:: Referencs
|
||||
:class-card: sd-shadow-md sd-p-2
|
||||
:class-footer: sd-border-0
|
||||
|
||||
* :doc:`references/lms_apis`
|
||||
* :doc:`references/settings`
|
||||
* :doc:`references/featuretoggles`
|
||||
+++
|
||||
.. button-ref:: references/index
|
||||
:color: primary
|
||||
:outline:
|
||||
:expand:
|
||||
|
||||
.. grid-item-card:: Concepts
|
||||
:class-card: sd-shadow-md sd-p-2
|
||||
:class-footer: sd-border-0
|
||||
|
||||
* :doc:`concepts/extension_points`
|
||||
* :doc:`concepts/testing/testing`
|
||||
* :doc:`concepts/frontend/javascript`
|
||||
+++
|
||||
.. button-ref:: concepts/index
|
||||
:color: primary
|
||||
:outline:
|
||||
:expand:
|
||||
|
||||
|
||||
Change History
|
||||
**************
|
||||
|
||||
* Jun 30, 2023
|
||||
|
||||
* Added API, Feature Toggle and Settings docs.
|
||||
* Re-organized how the docs are laid out.
|
||||
|
||||
* December, 2020: Added documentation about new protocols for writing celery tasks.
|
||||
|
||||
* April, 2019: API and repository-specific documentation builds resumed.
|
||||
|
||||
@@ -10,5 +10,4 @@ package.
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
common_djangoapps
|
||||
common_lib
|
||||
common/common
|
||||
9
docs/guides/references/index.rst
Normal file
9
docs/guides/references/index.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
References
|
||||
##########
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 1
|
||||
:glob:
|
||||
|
||||
*
|
||||
docstrings/index
|
||||
@@ -4,4 +4,4 @@ LMS APIs
|
||||
The LMS currently has the following API Endpoints.
|
||||
|
||||
|
||||
.. openapi:: ../lms-openapi.yaml
|
||||
.. openapi:: ../../lms-openapi.yaml
|
||||
@@ -12,11 +12,10 @@
|
||||
|
||||
-r ../pip-tools.txt # pip-tools and its dependencies, for managing requirements files
|
||||
-r testing.txt # Dependencies for running the various test suites
|
||||
-r doc.txt # Dependencies for building the documentation locally.
|
||||
|
||||
click # Used for perf_tests utilities in modulestore
|
||||
django-debug-toolbar # A set of panels that display debug information about the current request/response
|
||||
sphinx-book-theme # Documentation theme
|
||||
mypy # static type checking
|
||||
pywatchman # More efficient checking for runserver reload trigger events
|
||||
sphinxcontrib-openapi[markdown] # OpenAPI (fka Swagger) spec renderer for Sphinx
|
||||
vulture # Detects possible dead/unused code, used in scripts/find-dead-code.sh
|
||||
|
||||
@@ -5,3 +5,5 @@ code-annotations # provides annotations for certain documentation
|
||||
sphinx-book-theme # Common theme for all Open edX projects
|
||||
gitpython # fetch git repo information
|
||||
Sphinx # Documentation builder
|
||||
sphinx-design # provides various responsive web-components
|
||||
sphinxcontrib-openapi[markdown] # Be able to render openapi schema in a sphinx project
|
||||
|
||||
@@ -82,8 +82,11 @@ sphinx==6.2.1
|
||||
# -r requirements/edx/doc.in
|
||||
# pydata-sphinx-theme
|
||||
# sphinx-book-theme
|
||||
# sphinx-design
|
||||
sphinx-book-theme==1.0.1
|
||||
# via -r requirements/edx/doc.in
|
||||
sphinx-design==0.4.1
|
||||
# via -r requirements/edx/doc.in
|
||||
sphinxcontrib-applehelp==1.0.4
|
||||
# via sphinx
|
||||
sphinxcontrib-devhelp==1.0.2
|
||||
|
||||
Reference in New Issue
Block a user