Skip to content

Commit

Permalink
Use official mkdocs image and github action
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf committed Apr 15, 2020
1 parent f025c31 commit 42b3a1e
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/actions/mkdocs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM squidfunk/mkdocs-material:4.6.3
FROM squidfunk/mkdocs-material:5.1.0

COPY action.sh /action.sh

Expand Down
7 changes: 1 addition & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -247,12 +247,7 @@ dev-env-stop: ## Deletes local Kubernetes cluster created by kind.

.PHONY: live-docs
live-docs: ## Build and launch a local copy of the documentation website in http://localhost:3000
@docker buildx build \
--pull \
--load \
--progress plain \
-t ingress-nginx/mkdocs images/mkdocs
@docker run --rm -it -p 3000:3000 -v ${PWD}:/docs ingress-nginx/mkdocs
@docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material:5.1.0

.PHONY: misspell
misspell: check-go-version ## Check for spelling errors.
Expand Down
1 change: 0 additions & 1 deletion images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ e2e-prow | Image to launch Prow jobs
fastcgi-helloserver | FastCGI application for e2e tests
grpc-fortune-teller | grpc server application for the nginx-ingress grpc example
httpbin | A simple HTTP Request & Response Service for e2e tests
mkdocs | Image to build the static documentation
nginx | NGINX base image using [alpine linux](https://www.alpinelinux.org)

:bangbang: Only the nginx image is meant to be published. The others are used as examples for some feature of the ingress controller or to run e2e tests.
25 changes: 0 additions & 25 deletions images/mkdocs/Dockerfile

This file was deleted.

10 changes: 6 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,19 @@ markdown_extensions:
permalink: ""
theme:
name: material
feature:
tabs: true
logo:
icon: "public" # globe icon
features:
- tabs
- instant

palette:
primary: "teal"
accent: "green"

include_sidebar: true

plugins:
- search
- awesome-pages

extra_css: [extra.css]

Expand Down
4 changes: 0 additions & 4 deletions requirements-docs.txt

This file was deleted.

0 comments on commit 42b3a1e

Please sign in to comment.