Aylur / ags-docs

Documentation for Aylur's GTK Shell
11 stars 27 forks source link

Fix relative links (again) #7

Closed ehanahamed closed 8 months ago

ehanahamed commented 8 months ago

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.