Skip to content

Commit 3566f51

Browse files
committed
Update dependencies, build etc.
This is likely to be the last update for mkdocs-material as the lead dev has launched a new project and put mkdocs-material into maintenance mode.
1 parent a659b3d commit 3566f51

File tree

8 files changed

+20
-18
lines changed

8 files changed

+20
-18
lines changed

.github/workflows/docker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ jobs:
55
build:
66
runs-on: ubuntu-latest
77
steps:
8-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
8+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
99
- name: Build the Docker image
1010
run: docker build -t decred/dcrdevdocs:$(date +%s) .

.github/workflows/python.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
python-version: [3.11]
9+
python-version: [3.14]
1010

1111
steps:
12-
- uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5
12+
- uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
1313
- name: Set up Python ${{ matrix.python-version }}
14-
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
14+
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
1515
with:
1616
python-version: ${{ matrix.python-version }}
1717
- name: Install dependencies

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Build image
2-
FROM python:3.11
2+
FROM python:3.14
33

44
LABEL description="dcrdevdocs build"
55
LABEL version="1.0"
6-
LABEL maintainer "[email protected]"
6+
LABEL maintainer="[email protected]"
77

88
USER root
99
WORKDIR /root
@@ -17,20 +17,20 @@ RUN pip install mkdocs && \
1717

1818
# Install dependencies for generating social cards.
1919
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards
20-
RUN apt update && \
21-
apt install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev && \
20+
RUN apt-get update && \
21+
apt-get install -y libcairo2-dev libfreetype6-dev libffi-dev libjpeg-dev libpng-dev libz-dev && \
2222
pip install pillow cairosvg
2323

24-
ENV DCRDEVDOCS_CARDS true
24+
ENV DCRDEVDOCS_CARDS="true"
2525

2626
RUN ./bin/build_docs.sh
2727

2828
# Serve image (stable nginx version)
29-
FROM nginx:1.24-alpine
29+
FROM nginx:1.28-alpine
3030

3131
LABEL description="dcrdevdocs serve"
3232
LABEL version="1.0"
33-
LABEL maintainer "[email protected]"
33+
LABEL maintainer="[email protected]"
3434

3535
COPY conf/nginx.conf /etc/nginx/conf.d/default.conf
3636

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
ISC License
22

3-
Copyright (c) 2018-2024 The Decred developers
3+
Copyright (c) 2018-2025 The Decred developers
44

55
Permission to use, copy, modify, and distribute this software for any
66
purpose with or without fee is hereby granted, provided that the above

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ dcrdevdocs
1414

1515
In order to develop on `dcrdocs` you will need [Python](https://www.python.org/)
1616
installed on your system.
17-
Version 3.9 is recommended because this is the version used by the live site,
18-
however MkDocs does also support versions 3.6 and later.
17+
Version 3.14 is recommended because this is the version used by the live site,
18+
however MkDocs does also support versions 3.8 and later.
1919
Python 2 is not supported.
2020

2121
You can verify your installation of Python by checking the output from these two

bin/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ if [ "$1" != "" ]; then
1515
IMAGE_NAME=$1
1616
fi
1717

18-
docker build -t $IMAGE_NAME .
18+
# The default logging of the docker builder folds output which can hide
19+
# important DEBUG/INFO messages. Use --progress==plain to prevent this.
20+
docker build --progress=plain -t $IMAGE_NAME .
1921

2022
echo ""
2123
echo "==================="

mkdocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,4 +132,4 @@ nav:
132132
- 'Regnet': 'environments/regnet.md'
133133
- Contributing:
134134
- 'Contributor Guidelines': 'contributing/contributor-guidelines.md'
135-
copyright: If you wish to improve this site, please <a href="https://github.com/decred/dcrdevdocs/issues/new">open an issue</a> or <a href="https://github.com/decred/dcrdevdocs/compare">send a pull request</a>.<br />dcrdevdocs v0.0.1. Decred Project 2020-2024.
135+
copyright: If you wish to improve this site, please <a href="https://github.com/decred/dcrdevdocs/issues/new">open an issue</a> or <a href="https://github.com/decred/dcrdevdocs/compare">send a pull request</a>.<br />dcrdevdocs v0.0.1. Decred Project 2020-2025.

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
mkdocs-material==9.5.21
2-
mkdocs-markdownextradata-plugin==0.2.5
1+
mkdocs-material==9.7.0
2+
mkdocs-markdownextradata-plugin==0.2.6

0 commit comments

Comments
 (0)