build: Correct the make targets for building the docs.

This commit is contained in:
Feanil Patel
2024-06-10 11:28:10 -04:00
parent 5e1fffe3ab
commit 1d2569be14

View File

@@ -27,17 +27,12 @@ clean: ## archive and delete most git-ignored files
SWAGGER = docs/lms-openapi.yaml
docs: guides technical-docs ## build all the developer documentation for this repository
docs: swagger guides technical-docs ## build the documentation for this repository
$(MAKE) -C docs html
swagger: ## generate the swagger.yaml file
DJANGO_SETTINGS_MODULE=docs.docs_settings python manage.py lms generate_swagger --generator-class=edx_api_doc_tools.ApiSchemaGenerator -o $(SWAGGER)
technical-docs: ## build the technical docs
$(MAKE) -C docs/technical html
guides: swagger ## build the developer guide docs
cd docs/guides; make clean html
extract_translations: ## extract localizable strings from sources
i18n_tool extract --no-segment -v
cd conf/locale/en/LC_MESSAGES && msgcat djangojs.po underscore.po -o djangojs.po