From ae2af6b1f870f3e20cf3c9fe884d146648edad38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 16 Mar 2020 22:33:56 +0100 Subject: [PATCH] Fix minor docs issues --- docs/dev.rst | 2 +- tutor/commands/local.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/dev.rst b/docs/dev.rst index ec44d08..bec2b72 100644 --- a/docs/dev.rst +++ b/docs/dev.rst @@ -111,7 +111,7 @@ To debug a local edx-platform repository, add a ``import ipdb; ipdb.set_trace()` XBlock and edx-platform plugin development ------------------------------------------ -In some cases you will have to develop features for packages that are pip-installed next to edx-platform. This is quite easy with Tutor. Just add your packages to the `$(tutor config printroot)/env/build/openedx/requirements/private.txt`` file. To avoid re-building the openedx Docker image at every change, you should add your package in editable mode. For instance:: +In some cases you will have to develop features for packages that are pip-installed next to edx-platform. This is quite easy with Tutor. Just add your packages to the ``$(tutor config printroot)/env/build/openedx/requirements/private.txt`` file. To avoid re-building the openedx Docker image at every change, you should add your package in editable mode. For instance:: echo "-e ./mypackage" >> "$(tutor config printroot)/env/build/openedx/requirements/private.txt" diff --git a/tutor/commands/local.py b/tutor/commands/local.py index c88ad2c..1f6a8c8 100644 --- a/tutor/commands/local.py +++ b/tutor/commands/local.py @@ -30,9 +30,7 @@ class LocalContext(Context): ) -@click.group( - help="Run Open edX locally with docker-compose", -) +@click.group(help="Run Open edX locally with docker-compose",) @click.pass_context def local(context): context.obj = LocalContext(context.obj.root)