Skip to content

Conversation

@slusarz
Copy link
Contributor

@slusarz slusarz commented Oct 23, 2024

Two Dovecot-specific documentation features need access to the list of pages, and their mapping rewrite paths (files to URL path).

We previously created our system to handle this, but this is already done internally by VitePress, so take advantage of that.

This does require one change to delay dovecot link parsing, for bootstrapping reasons (the page/mapping list only becomes available after the defineConfig() call is completed in .vitepress/config.js).

Two Dovecot-specific documentation features need access to the list of
pages, and their mapping rewrite paths (files to URL path).

We previously created our system to handle this, but this is already done
internally by VitePress, so take advantage of that.

This does require one change to delay dovecot link parsing, for
bootstrapping reasons (the page/mapping list only becomes available after
the defineConfig() call is completed in .vitepress/config.js).
@slusarz slusarz mentioned this pull request Oct 23, 2024
These are generally useful pages for all users of Dovecot (not just
developers).

But this is a necessity for Pro as there are links to some of these pages that
otherwise break builds (e.g. to events page)
@cmouse cmouse merged commit ed66512 into dovecot:main Oct 24, 2024
5 checks passed
@slusarz slusarz deleted the use_vitepress_rewrites branch October 24, 2024 15:12
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.

2 participants