Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump hugo version to 1.135.0 #242

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ It's free and open-source forever!
docker run --rm -it \
-v $(pwd):/src \
--entrypoint npm \
klakegg/hugo:ext-alpine \
hugomods/hugo:exts \
install
```

#### Development server

```
# starts hugo using the klakegg/hugo:ext-alpine docker image
./hugo.sh server
./hugo.sh server --bind=0.0.0.0
```

#### Build
Expand Down
2 changes: 2 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ module github.com/osrd-project/osrd-website
go 1.21

require github.com/osrd-project/docsy v0.0.1

require github.com/google/docsy v0.10.0 // indirect
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20230802202706-f0c25837a3fe/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/FortAwesome/Font-Awesome v0.0.0-20240402185447-c0f460dca7f7/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/google/docsy v0.10.0 h1:6tMDacPwAyRWNCfvsn/9qGOZDQ8b0aRzjRZvnZPY5dg=
github.com/google/docsy v0.10.0/go.mod h1:c0nIAqmRTOuJ01F85U/wJPQtc3Zj9N58Kea9bOT2AJc=
github.com/osrd-project/docsy v0.0.1 h1:2v4y+BNwTimJG30yt+v1GsWw5KHZ5eKFH/bywXYyJ14=
github.com/osrd-project/docsy v0.0.1/go.mod h1:fJCcfDe+OJ3Oq7b3NZCTAcJfx74/hBBhHAZM+Jya6aE=
github.com/twbs/bootstrap v5.2.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
3 changes: 2 additions & 1 deletion hugo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ exec docker run --rm -it \
-u "${new_uid}:${new_gid}" \
-v "${root_dir}":/src \
-e HUGO_CACHEDIR=/src/.hugo_cache \
-p 1313:1313 klakegg/hugo:ext-alpine \
--entrypoint hugo \
-p 1313:1313 hugomods/hugo:exts \
"$@"
4 changes: 2 additions & 2 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ enable = false
# replacements = "github.com/google/docsy -> ../../docsy"
[module.hugoVersion]
extended = true
min = "0.121.2"
min = "0.135.0"
[[module.imports]]
path = "github.com/osrd-project/docsy"
path = "github.com/google/docsy"
disable = false
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
},
"devDependencies": {
"autoprefixer": "^10.4.17",
"hugo-bin-extended": "^0.121.2",
"hugo-bin-extended": "^0.135.0",
"postcss": "^8.4.33",
"postcss-cli": "^11.0.0"
}
Expand Down
Loading