mirror of
https://github.com/argoproj/argo-cd
synced 2026-04-21 17:07:16 +00:00
* fix docs build. prepare for google analytics v4 Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com> * fix build Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com> * fix build codegen check Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com> Signed-off-by: Alex Eftimie <alex.eftimie@getyourguide.com>
This commit is contained in:
parent
8375840344
commit
16c6e36ee4
3 changed files with 7 additions and 6 deletions
4
Makefile
4
Makefile
|
|
@ -512,7 +512,7 @@ build-docs-local:
|
|||
|
||||
.PHONY: build-docs
|
||||
build-docs:
|
||||
docker run ${MKDOCS_RUN_ARGS} --rm -it -p 8000:8000 -v ${CURRENT_DIR}:/docs ${MKDOCS_DOCKER_IMAGE} build
|
||||
docker run ${MKDOCS_RUN_ARGS} --rm -it -v ${CURRENT_DIR}:/docs --entrypoint "" ${MKDOCS_DOCKER_IMAGE} sh -c 'pip install -r docs/requirements.txt; mkdocs build'
|
||||
|
||||
.PHONY: serve-docs-local
|
||||
serve-docs-local:
|
||||
|
|
@ -520,7 +520,7 @@ serve-docs-local:
|
|||
|
||||
.PHONY: serve-docs
|
||||
serve-docs:
|
||||
docker run ${MKDOCS_RUN_ARGS} --rm -it -p 8000:8000 -v ${CURRENT_DIR}:/docs ${MKDOCS_DOCKER_IMAGE} serve -a 0.0.0.0:8000
|
||||
docker run ${MKDOCS_RUN_ARGS} --rm -it -p 8000:8000 -v ${CURRENT_DIR}/site:/site -w /site --entrypoint "" ${MKDOCS_DOCKER_IMAGE} python3 -m http.server --bind 0.0.0.0 8000
|
||||
|
||||
|
||||
# Verify that kubectl can connect to your K8s cluster from Docker
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
mkdocs==1.2.3
|
||||
mkdocs-material==7.1.7
|
||||
mkdocs-material==7.1.8
|
||||
markdown_include==0.6.0
|
||||
pygments==2.7.4
|
||||
jinja2==3.0.3
|
||||
|
|
|
|||
|
|
@ -1,10 +1,11 @@
|
|||
extra:
|
||||
analytics:
|
||||
property: UA-105170809-2
|
||||
provider: google
|
||||
extra_css:
|
||||
- assets/versions.css
|
||||
extra_javascript:
|
||||
- assets/versions.js
|
||||
google_analytics:
|
||||
- UA-105170809-2
|
||||
- auto
|
||||
markdown_extensions:
|
||||
- markdown_include.include
|
||||
- codehilite
|
||||
|
|
|
|||
Loading…
Reference in a new issue