Skip to content

Commit b052332

Browse files
authored
Merge pull request #487 from openmodelingfoundation/upgrade_docsy
deps: upgrade docsy 0.13.0 and hugo 1.54.5
2 parents 85ba601 + 9f44553 commit b052332

6 files changed

Lines changed: 12 additions & 21 deletions

File tree

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
HUGO_VERSION="0.133.1"
2-
DOCSY_VERSION="v0.11.0"
1+
HUGO_VERSION="0.154.5"
2+
DOCSY_VERSION="v0.13.0"

Dockerfile

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
ARG HUGO_VERSION=0.133.1
1+
ARG HUGO_VERSION=0.154.5
22
ARG DIST_TAG=-ext-ubuntu
33
FROM floryn90/hugo:${HUGO_VERSION}${DIST_TAG}
44

5-
ARG DOCSY_VERSION=v0.11.0
5+
ARG DOCSY_VERSION=v0.13.0
66

77
LABEL maintainer="CoMSES Net <support@comses.net>"
88

9-
WORKDIR /src
10-
COPY . /src/
11-
129
RUN git config --global --add safe.directory /src
1310

14-
RUN npm install
15-
11+
USER root
1612
CMD ["server"]

docker-compose.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,4 @@ services:
88
ports:
99
- "127.0.0.1:1313:1313"
1010
volumes:
11-
- ./archetypes:/src/archetypes
12-
- ./assets:/src/assets
13-
- ./content:/src/content
14-
- ./i18n:/src/i18n
15-
- ./layouts:/src/layouts
16-
- ./resources:/src/resources
17-
- ./static:/src/static
18-
- ./.git:/src/.git
19-
- /src/themes
20-
- /src/node_modules
11+
- .:/src

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ module github.com/openmodelingfoundation/openmodelingfoundation.github.io
22

33
go 1.18
44

5-
require github.com/google/docsy v0.11.0
5+
require github.com/google/docsy v0.13.0
66

77
require github.com/google/docsy/dependencies v0.7.2 // indirect

go.sum

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
github.com/FortAwesome/Font-Awesome v0.0.0-20230327165841-0698449d50f2/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
22
github.com/FortAwesome/Font-Awesome v0.0.0-20240716171331-37eff7fa00de/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
3+
github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
34
github.com/google/docsy v0.11.0 h1:QnV40cc28QwS++kP9qINtrIv4hlASruhC/K3FqkHAmM=
45
github.com/google/docsy v0.11.0/go.mod h1:hGGW0OjNuG5ZbH5JRtALY3yvN8ybbEP/v2iaK4bwOUI=
6+
github.com/google/docsy v0.13.0 h1:Y1oy5SmQ0ikJJsvkuefEVZMj0MTXLmVfpXbt7Ytc7rc=
7+
github.com/google/docsy v0.13.0/go.mod h1:1Fj1W1O3esZh7IBQ8XAYtxtg10udBXuGI89+LUQc1AU=
58
github.com/google/docsy/dependencies v0.7.2 h1:+t5ufoADQAj4XneFphz4A+UU0ICAxmNaRHVWtMYXPSI=
69
github.com/google/docsy/dependencies v0.7.2/go.mod h1:gihhs5gmgeO+wuoay4FwOzob+jYJVyQbNaQOh788lD4=
710
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
811
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
12+
github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{{/* enable heading self links, see https://www.docsy.dev/docs/adding-content/navigation/#heading-self-links */}}
2-
{{ template "_default/_markup/td-render-heading.html" . }}
2+
{{ partial "td/render-heading.html" . -}}
33

0 commit comments

Comments
 (0)