Skip to content

Commit 45c7685

Browse files
authored
Doc and Makefile fixes (openedx-unsupported#447)
1 parent 82e8026 commit 45c7685

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ include *.mk
3636
# Generates a help message. Borrowed from https://github.com/pydanny/cookiecutter-djangopackage.
3737
help: ## Display this help message
3838
@echo "Please use \`make <target>' where <target> is one of"
39-
@perl -nle'print $& if m{^[\.a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m %-25s\033[0m %s\n", $$1, $$2}'
39+
@awk -F ':.*?## ' '/^[a-zA-Z]/ && NF==2 {printf "\033[36m %-25s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | sort
4040

4141
requirements: ## Install requirements
4242
pip install -r requirements/base.txt

docs/pycharm_integration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ use the following options:
6969
- For example, the path would be the following for the Ecommerce Service:
7070

7171
- ``/edx/app/ecommerce/venvs/ecommerce/bin/python``
72-
- Note: The Credentials Service might not have a virtualenv set up in the container.
72+
- Note: The Credentials Service might not have a virtualenv set up in the container.
7373

7474
- For either lms or studio, you need to use edxapp:
7575

@@ -324,6 +324,6 @@ One way to do this is to follow these instructions:
324324
.. _Django Server Run/Debug Configuration: https://www.jetbrains.com/help/pycharm/2017.1/run-debug-configuration-django-server.html
325325
.. _Jetbrains ticket PY-22893: https://youtrack.jetbrains.com/issue/PY-22893
326326
.. _PyCharm: https://www.jetbrains.com/pycharm/
327-
.. _PyCharm IDE setup: https://openedx.atlassian.net/wiki/spaces/OpenDev/pages/92209229/PyCharm
327+
.. _PyCharm IDE setup: https://openedx.atlassian.net/wiki/spaces/AC/pages/92209229/PyCharm
328328
.. _README: ../README.rst
329329
.. _vendor documentation: https://www.jetbrains.com/help/pycharm/2017.1/configuring-remote-interpreters-via-docker-compose.html

marketing.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
help-marketing: ## Display this help message
22
@echo "Please use \`make <target>' where <target> is one of"
3-
@perl -nle'print $& if m{^[\.a-zA-Z_-]+:.*?## .*$$}' $(MAKEFILE_LIST) | grep marketing | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m %-25s\033[0m %s\n", $$1, $$2}'
3+
@awk -F ':.*?## ' '/^[a-zA-Z]/ && NF==2 {printf "\033[36m %-25s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST) | grep marketing | sort
44

55
marketing-shell: ## Run a shell on the marketing site container
66
docker exec -it edx.devstack.marketing env TERM=$(TERM) bash -c 'cd /edx/app/edx-mktg/edx-mktg; exec /bin/bash -sh'

0 commit comments

Comments
 (0)