Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Expand on how to enable a theme #73

Merged
merged 1 commit into from
Nov 14, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion docs/devstack_faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,18 @@ Make sure that you enable the following code in ./edx-platform/lms/envs/devstack
ENABLE_COMPREHENSIVE_THEMING = True
COMPREHENSIVE_THEME_DIRS = [
"/edx/app/edxapp/edx-platform/themes/",
"/edx/app/edx-themes/edx-platform/"
"/edx/app/edx-themes/edx-platform/",
]
TEMPLATES[1]["DIRS"] = _make_mako_template_dirs
derive_settings(__name__)

Enabling a theme
~~~~~~~~~~~~~~~~

To enable a theme, go to the Django theme admin page and select "Add site theme". You'll need to create a Site with the "domain" including the port. For the theme, specify the name of a subdirectory in one of the configured theme dirs. After this, the theme will immediately become available and enabled, and changes will show up live.

For example, to enable the ``edx.org-next`` theme from the ``edx/edx-themes`` repo, you'd visit `<http://localhost:18000/admin/theming/sitetheme/>`_, use ``localhost:18000`` as the site domain, and specify ``edx.org-next`` as the theme directory.

How do I connect to the databases from an outside editor?
---------------------------------------------------------

Expand Down
Loading