Skip to content

Commit

Permalink
pin docs dependencies & fix docs override
Browse files Browse the repository at this point in the history
  • Loading branch information
M00nF1sh committed May 20, 2021
1 parent 07a29df commit 35ec0b8
Show file tree
Hide file tree
Showing 5 changed files with 458 additions and 43 deletions.
12 changes: 10 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,17 @@ else
CONTROLLER_GEN=$(shell which controller-gen)
endif

# preview docs
docs-preview: docs-dependencies
pipenv run mkdocs serve

# publish the versioned docs using mkdocs mike util
docs-publish:
mike deploy v2.0 latest -p
docs-publish: docs-dependencies
pipenv run mike deploy v2.2 latest -p --update-aliases

# install dependencies needed to preview and publish docs
docs-dependencies:
pipenv install --dev

lint:
echo "TODO"
Expand Down
14 changes: 14 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]

[dev-packages]
mkdocs = "==1.1.2"
mkdocs-material = "==7.1.5"
mike = "==1.0.0"

[requires]
python_version = "3.9"
Loading

0 comments on commit 35ec0b8

Please sign in to comment.