Skip to content

Commit

Permalink
Upgrade mkdocs to latest versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rifelpet committed Jun 9, 2020
1 parent 671252e commit 98c5b0c
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 10 deletions.
1 change: 1 addition & 0 deletions images/mkdocs/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Dockerfile
3 changes: 2 additions & 1 deletion images/mkdocs/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@

FROM alpine:3.10

RUN apk update && apk add --no-cache \
RUN apk add --no-cache \
bash \
git \
git-fast-import \
openssh \
python3 \
python3-dev \
curl \
build-base \
&& python3 -m ensurepip \
&& rm -r /usr/lib/python*/ensurepip \
&& pip3 install --upgrade pip setuptools \
Expand Down
9 changes: 4 additions & 5 deletions images/mkdocs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
mkdocs-material~=4.4.0
mkdocs~=1.0.4
# mkdocs-awesome-pages-plugin~=1.2.0
pymdown-extensions==6.2.1
pygments~=2.3.1
mkdocs-material~=5.2.3
mkdocs~=1.1.2
pymdown-extensions==7.1
pygments~=2.6.1
9 changes: 5 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ markdown_extensions:
permalink: ''
theme:
name: material
feature:
tabs: true
logo:
icon: 'public' # globe icon
features:
- tabs
icon:
logo: 'material/earth'
favicon: 'img/logo-notext.svg'
palette:
primary: 'teal'
accent: 'green'
Expand Down
4 changes: 4 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
publish = "site"
command = "make build-docs-netlify"
ignore = "git diff --quiet HEAD^ HEAD netlify.toml Makefile mkdocs.yml docs/ images/"
environment = {
# available here https://github.com/netlify/build-image/blob/xenial/included_software.md#languages
PYTHON_VERSION = "3.7"
}

0 comments on commit 98c5b0c

Please sign in to comment.