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 links (again) #7

Merged
merged 2 commits into from
Jan 7, 2024
Merged

Fix relative links (again) #7

merged 2 commits into from
Jan 7, 2024

Conversation

ehanahamed
Copy link
Contributor

Astro's link field in the sidebar automatically adds .html if build.format is "file",
that should be okay, but it means any link to a header folder/page#header becomes folder/page#header.html.

You can't change that in astro's config, so this pull request sets build.format back to "directory", and changes relative links to work with that.

This also closes #6

Adding an extra ../ is annoying, and #5 would have fixed that, but because of how astro works, this is the only way to make everything work properly.

@Aylur Aylur merged commit 3d0a5d1 into Aylur:main Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ags installation page docs are giving 404
2 participants