|
30 | 30 | @echo " test - run tests against local files"
|
31 | 31 | @echo " test-image - run tests against files in docker image"
|
32 | 32 | @echo " test-cdn - run CDN tests against TEST_DOMAIN"
|
33 |
| - @echo " docs - generate Sphinx HTML documentation with server and live reload using Docker" |
34 |
| - @echo " livedocs - generate Sphinx HTML documentation with server and live reload" |
35 |
| - @echo " build-docs - generate Sphinx HTML documentation using Docker" |
| 33 | + @echo " docs - generate mkdocs HTML documentation with server and live reload using Docker" |
| 34 | + @echo " docs-setup - install dependencies required for building the docs" |
| 35 | + @echo " livedocs - generate mkdocs HTML documentation with server and live reload" |
| 36 | + @echo " build-docs - generate mkdocs HTML documentation using Docker" |
36 | 37 | @echo " build-ci - build docker images for use in our CI pipeline"
|
37 | 38 | @echo " test-ci - run tests against files in docker image built by CI"
|
38 | 39 | @echo " compile-requirements - update Python requirements files using pip-compile"
|
@@ -131,10 +132,13 @@ docs: .docker-build-pull
|
131 | 132 | ${DC} up docs
|
132 | 133 |
|
133 | 134 | build-docs: .docker-build-pull
|
134 |
| - ${DC} run app make -C docs/ clean html |
| 135 | + ${DC} run app make -C docs/ clean build |
| 136 | + |
| 137 | +docs-setup: |
| 138 | + ${MAKE} -C docs/ clean preflight |
135 | 139 |
|
136 | 140 | livedocs:
|
137 |
| - ${MAKE} -C docs/ clean livehtml |
| 141 | + ${MAKE} -C docs/ clean serve |
138 | 142 |
|
139 | 143 | test_infra/fixtures/tls.json:
|
140 | 144 | ${DOCKER} run -it --rm jumanjiman/ssllabs-scan:latest --quiet https://${TEST_DOMAIN}/en-US/ > "test_infra/fixtures/tls.json"
|
@@ -204,4 +208,4 @@ install-custom-git-hooks:
|
204 | 208 | uninstall-custom-git-hooks:
|
205 | 209 | rm .git/hooks/post-merge
|
206 | 210 |
|
207 |
| -.PHONY: all clean build pull docs livedocs build-docs lint run stop kill run-shell shell test test-image rebuild build-ci test-ci fresh-data djshell run-prod build-prod test-cdn compile-requirements check-requirements install-local-python-deps preflight clean-local-deps install-custom-git-hooks uninstall-custom-git-hooks run-local-task-queue |
| 211 | +.PHONY: all clean build pull docs docs-setup livedocs build-docs lint run stop kill run-shell shell test test-image rebuild build-ci test-ci fresh-data djshell run-prod build-prod test-cdn compile-requirements check-requirements install-local-python-deps preflight clean-local-deps install-custom-git-hooks uninstall-custom-git-hooks run-local-task-queue |
0 commit comments