From 2c46b6ec66043f1f03250802dfb5eff0999f837f Mon Sep 17 00:00:00 2001 From: Helio Chissini de Castro Date: Thu, 28 Dec 2023 23:38:25 +0100 Subject: [PATCH] fix(project): Correct baseurl to . Signed-off-by: Helio Chissini de Castro --- .github/workflows/build_and_publish.yml | 2 +- config.toml | 80 ++++++++++++------------- 2 files changed, 40 insertions(+), 42 deletions(-) diff --git a/.github/workflows/build_and_publish.yml b/.github/workflows/build_and_publish.yml index 1262031..d4f32fa 100644 --- a/.github/workflows/build_and_publish.yml +++ b/.github/workflows/build_and_publish.yml @@ -48,7 +48,7 @@ jobs: shell: bash run: | mkdir -p themes/docsy - hugo --minify -b 'https://www.eclipse.org/sw360/' + hugo --minify -b . archive_publish: name: Archive and Published Tagged Build diff --git a/config.toml b/config.toml index 8de0f56..d18a493 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,3 @@ -baseurl = "sw360/" title = "Eclipse SW360" theme = ["docsy"] @@ -34,19 +33,19 @@ anchor = "smart" [languages.en] title = "Eclipse SW360" description = "Eclipse SW360 official website" -languageName ="English" +languageName = "English" # Weight used for sorting. weight = 1 [markup] - [markup.goldmark] - [markup.goldmark.renderer] - unsafe = true - [markup.highlight] - # See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html - style = "manni" - # Uncomment if you want your chosen highlight style used for code blocks without a specified language - guessSyntax = true +[markup.goldmark] +[markup.goldmark.renderer] +unsafe = true +[markup.highlight] +# See a complete list of available styles at https://xyproto.github.io/splash/docs/all.html +style = "manni" +# Uncomment if you want your chosen highlight style used for code blocks without a specified language +guessSyntax = true [outputs] section = ["HTML", "RSS"] @@ -72,7 +71,7 @@ github_project_repo = "https://github.com/eclipse/sw360" # Uncomment this if your GitHub repo does not have "main" as the default branch, # or specify a new value if you want to reference another branch in your GitHub links -github_branch= "main" +github_branch = "main" # Enable Algolia DocSearch algolia_docsearch = false @@ -112,33 +111,33 @@ enable = false # End user relevant links. These will show up on left side of footer and in the community page if you have one. [[params.links.user]] - name = "User mailing list" - url = "mailto:sw360-dev@eclipse.org" - icon = "fa fa-envelope" - desc = "Discussion and help from your fellow users" +name = "User mailing list" +url = "mailto:sw360-dev@eclipse.org" +icon = "fa fa-envelope" +desc = "Discussion and help from your fellow users" # Developer relevant links. These will show up on right side of footer and in the community page if you have one. [[params.links.developer]] - name = "GitHub" - url = "https://github.com/eclipse/sw360" - icon = "fab fa-github" - desc = "Development takes place here!" +name = "GitHub" +url = "https://github.com/eclipse/sw360" +icon = "fab fa-github" +desc = "Development takes place here!" [[params.links.developer]] - name = "Slack" - url = "https://sw360chat.slack.com" - icon = "fab fa-slack" - desc = "Chat with other project developers" +name = "Slack" +url = "https://sw360chat.slack.com" +icon = "fab fa-slack" +desc = "Chat with other project developers" [[params.links.developer]] - name = "Developer mailing list" - url = "mailto:sw360-dev@eclipse.org" - icon = "fa fa-envelope" - desc = "Discuss development issues around the project" +name = "Developer mailing list" +url = "mailto:sw360-dev@eclipse.org" +icon = "fa fa-envelope" +desc = "Discuss development issues around the project" [params.about] - enable = true - title = "About" +enable = true +title = "About" [[menu.main]] url = "https://github.com/eclipse/sw360" @@ -149,15 +148,14 @@ weight = 100 # THIS NEED TO BE THE LAST ENTRY [module] - # uncomment line below for temporary local development of module - # replacements = "github.com/google/docsy -> ../../docsy" - [module.hugoVersion] - extended = true - min = "0.75.0" - [[module.imports]] - path = "github.com/google/docsy" - disable = false - [[module.imports]] - path = "github.com/google/docsy/dependencies" - disable = false - +# uncomment line below for temporary local development of module +# replacements = "github.com/google/docsy -> ../../docsy" +[module.hugoVersion] +extended = true +min = "0.75.0" +[[module.imports]] +path = "github.com/google/docsy" +disable = false +[[module.imports]] +path = "github.com/google/docsy/dependencies" +disable = false