-
Notifications
You must be signed in to change notification settings - Fork 826
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
Upgrade Docsy #3382
Closed
Closed
Upgrade Docsy #3382
Changes from 2 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
f56d6c9
Upgrade Docsy
Kalaiselvi84 3c1b6d2
followed migrate to hugo modules instructions
Kalaiselvi84 1a7852f
Merge branch 'main' into docsy
Kalaiselvi84 b7a54f4
year changed in apache copyright
Kalaiselvi84 8c189bb
delete site/themes/docsy
Kalaiselvi84 9bc06bf
Cover page: title alignment, fix release_dropdown/search_site_bar
Kalaiselvi84 b352020
Header alignment
Kalaiselvi84 8d33b7a
more alignment
Kalaiselvi84 5af2895
Landing page alignment
Kalaiselvi84 309d7b9
Merge branch 'main' into docsy
Kalaiselvi84 c28c58b
Revert "delete site/themes/docsy"
Kalaiselvi84 b00129c
Merge branch 'main' into docsy
Kalaiselvi84 b1576a0
Merge branch 'main' into docsy
Kalaiselvi84 f1699b2
delete site/themes/docsy
Kalaiselvi84 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ site-static: ensure-build-image | |
docker run --rm $(common_mounts) --workdir=$(mount_path)/site $(DOCKER_RUN_ARGS) $(build_tag) \ | ||
bash -c "npm list autoprefixer || npm install [email protected]" | ||
docker run --rm $(common_mounts) --workdir=$(mount_path)/site $(DOCKER_RUN_ARGS) $(build_tag) bash -c \ | ||
"git config --global --add safe.directory /go/src/agones.dev/agones && $(ENV) hugo --config=config.toml $(ARGS)" | ||
"git config --global --add safe.directory /go/src/agones.dev/agones && $(ENV) hugo --config=hugo.toml $(ARGS)" | ||
|
||
site-gen-app-yaml: SERVICE ?= default | ||
site-gen-app-yaml: | ||
|
@@ -128,7 +128,7 @@ del-data-proofer-ignore: ensure-build-image | |
docker run --rm $(common_mounts) --workdir=$(mount_path) $(DOCKER_RUN_ARGS) $(build_tag) \ | ||
go run build/scripts/remove-data-proofer-ignore/main.go -file=$(FILENAME) | ||
|
||
# update release version and replicate data between dev and prod in site/config.toml | ||
# update release version and replicate data between dev and prod in site/hugo.toml | ||
site-config-update-version: ensure-build-image | ||
docker run --rm $(common_mounts) --workdir=$(mount_path) $(DOCKER_RUN_ARGS) $(build_tag) \ | ||
go run build/scripts/site-config-update-version/main.go | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ module github.com/agones/agones/site | |
go 1.20 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Apache header please. |
||
|
||
require gopkg.in/yaml.v2 v2.2.8 | ||
markmandel marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
require github.com/google/docsy v0.7.1 // indirect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ title = "Agones" | |
enableRobotsTXT = true | ||
|
||
# Hugo allows theme composition (and inheritance). The precedence is from left to right. | ||
theme = ["docsy"] | ||
theme = ["github.com/google/docsy", "github.com/google/docsy/dependencies"] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we delete the |
||
|
||
# Will give values to .Lastmod etc. | ||
enableGitInfo = true | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this value in the hugo.toml? Looks like it's still in config.toml?