From c88ffd299443a365a54a2e4dbd3c2a4c35410d5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Wed, 17 Jun 2020 11:50:21 +0200 Subject: [PATCH] Fix theme installation instructions Close #339. --- docs/configuration.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/configuration.rst b/docs/configuration.rst index 4ae88325fb..cb3ae4c6ba 100644 --- a/docs/configuration.rst +++ b/docs/configuration.rst @@ -218,9 +218,11 @@ These arguments can be specified from the command line, `very much like Docker < Adding custom themes ~~~~~~~~~~~~~~~~~~~~ -Comprehensive theming is enabled by default, but only the default theme is compiled. To compile your own theme, add it to the ``env/build/openedx/themes/`` folder:: +Comprehensive theming is enabled by default, but only the default theme is compiled. `Indigo `__ is a better, ready-to-run theme which you can start using today. - git clone https://github.com/me/myopenedxtheme.git "$(tutor config printroot)/env/build/openedx/themes/" +To compile your own theme, add it to the ``env/build/openedx/themes/`` folder:: + + git clone https://github.com/me/myopenedxtheme.git "$(tutor config printroot)/env/build/openedx/themes/myopenedxtheme" The ``themes`` folder should have the following structure:: @@ -237,7 +239,7 @@ Then you must rebuild the openedx Docker image:: tutor images build openedx -Finally, follow the `Open edX documentation to apply your themes `_. You will not have to modify the ``lms.env.json``/``cms.env.json`` files; just follow the instructions to add a site theme in http://localhost/admin (starting from step 3). +Finally, you should enable your theme with the :ref:`settheme command `. Installing extra xblocks and requirements ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~