Skip to content

Commit

Permalink
Merge pull request #35563 from openedx/feanil/fix_extensions_docs
Browse files Browse the repository at this point in the history
docs: Fix links to extensions docs.
  • Loading branch information
Feanil Patel authored Oct 1, 2024
2 parents a4c7413 + 999731e commit fd9ddea
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@
except git.InvalidGitRepositoryError:
edx_platform_version = "master"

featuretoggles_source_path = edxplatform_source_path
featuretoggles_source_path = str(edxplatform_source_path)
featuretoggles_repo_url = edxplatform_repo_url
featuretoggles_repo_version = edx_platform_version

settings_source_path = edxplatform_source_path
settings_source_path = str(edxplatform_source_path)
settings_repo_url = edxplatform_repo_url
settings_repo_version = edx_platform_version

Expand All @@ -108,7 +108,7 @@
#
# This is also used if you do content translation via gettext catalogs.
# Usually you set "language" from the command line for these cases.
language = None
language = 'en'

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
Expand Down Expand Up @@ -170,7 +170,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
# html_static_path = ['_static']

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down Expand Up @@ -274,7 +274,6 @@

# Example configuration for intersphinx: refer to the Python standard library.
intersphinx_mapping = {
'https://docs.python.org/2.7': None,
'django': ('https://docs.djangoproject.com/en/1.11/', 'https://docs.djangoproject.com/en/1.11/_objects/'),
}

Expand Down
14 changes: 14 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ locations.
how-tos/index
references/index
concepts/index
hooks/index
extensions/tinymce_plugins

.. grid:: 1 2 2 2
:gutter: 3
Expand Down Expand Up @@ -74,6 +76,18 @@ locations.
:outline:
:expand:

.. grid-item-card:: Hooks and Extensions
:class-card: sd-shadow-md sd-p-2
:class-footer: sd-border-0

* :doc:`hooks/index`
* :doc:`extensions/tinymce_plugins`
+++
.. button-ref:: hooks/index
:color: primary
:outline:
:expand:


Change History
**************
Expand Down

0 comments on commit fd9ddea

Please sign in to comment.