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

Fix relative URLs when serving the specification with a custom baseURL #1984

Merged
merged 11 commits into from
Nov 14, 2024
9 changes: 9 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@ sidebar_menu_compact = true
[[module.imports]]
path = "github.com/matrix-org/docsy"
disable = false
# Mounting /assets and /static as assets directories helps Hugo to generate
# the correct URL.
[[module.mounts]]
source = 'assets'
target = 'assets'
anoadragon453 marked this conversation as resolved.
Show resolved Hide resolved
[[module.mounts]]
source = 'static'
target = 'assets'
anoadragon453 marked this conversation as resolved.
Show resolved Hide resolved


# custom output formats

Expand Down