Skip to content

Commit

Permalink
fix(project): Correct baseurl to .
Browse files Browse the repository at this point in the history
Signed-off-by: Helio Chissini de Castro <[email protected]>
  • Loading branch information
heliocastro committed Dec 28, 2023
1 parent a6348e1 commit 95f2527
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 48 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/build_and_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@ 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
runs-on: ubuntu-latest
needs: [build_website]
steps:
- name: Archive
uses: actions/upload-artifact@v2
with:
name: website
path: ./public
if: startsWith(github.ref, 'refs/tags/')

create_release:
name: Archive and Published Tagged Build
runs-on: ubuntu-latest
needs: [build_website]
steps:
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -74,14 +74,19 @@ jobs:
prerelease: false
if: startsWith(github.ref, 'refs/tags/')

- name: Download Artifact
uses: actions/download-artifact@v2
with:
name: website

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./public
asset_path: ./website
asset_name: website.zip
asset_content_type: application/zip
if: startsWith(github.ref, 'refs/tags/')
80 changes: 39 additions & 41 deletions config.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
baseurl = "sw360/"
title = "Eclipse SW360"

theme = ["docsy"]
Expand Down Expand Up @@ -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"]
Expand All @@ -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
Expand Down Expand Up @@ -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:[email protected]"
icon = "fa fa-envelope"
desc = "Discussion and help from your fellow users"
name = "User mailing list"
url = "mailto:[email protected]"
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:[email protected]"
icon = "fa fa-envelope"
desc = "Discuss development issues around the project"
name = "Developer mailing list"
url = "mailto:[email protected]"
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"
Expand All @@ -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

0 comments on commit 95f2527

Please sign in to comment.