Skip to content

Commit

Permalink
Merge pull request openedx#34959 from openedx/feanil/update_drf_yasg
Browse files Browse the repository at this point in the history
Update drf-yasg and fix `make docs`
  • Loading branch information
Feanil Patel authored Jun 18, 2024
2 parents c8aabe4 + 8bfa916 commit 333d228
Show file tree
Hide file tree
Showing 7 changed files with 3,312 additions and 2,822 deletions.
9 changes: 2 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 333d228

Please sign in to comment.