binyomen / pwsh-live-doc

Run real code examples to generate empirical documentation of the complex nonsense that is PowerShell semantics.
https://www.pwsh-live-doc.com/
MIT License
5 stars 0 forks source link

Get rid of category names in page URLs #53

Closed binyomen closed 3 years ago

binyomen commented 3 years ago

There isn't really much risk of page URLs conflicting without the category name. Plus, this method allows more flexibility to move pages between categories or even get rid of the concept of categories altogether.

This change also introduces a redirects file which is used to generate placeholder HTML pages for pages that no longer exist. These pages use a meta tag to redirect to the new URL, which is a server-independent way of doing redirection. This is necessary, since links might exist to the old pages with the category URLs (no matter how unlikely).

github-actions[bot] commented 3 years ago

🚀 Deployed on https://60b83bd73e19d33f9aa52f0f--dazzling-easley-c1a84e.netlify.app