libxkbcommon/doc
Wismill 64aaa7cda2
Add support for stable doc URLs (#342)
Doc URLs may change with time because they depend on Doxygen machinery.
This is unfortunate because it is good practice to keep valid URLs
(see: https://www.w3.org/Provider/Style/URI.html).

I could not find a built-in solution in Doxygen, so the solution proposed
here is to maintain a registry of all URLs and manage legacy URLs as
redirections to their canonical page.

This commit adds a registry of URLs that has three functions:
- Check no previous URL is now invalid.
- Add aliases for moved pages.
- Generate redirection pages for aliases. The redirection works with
  a simple <meta http-equiv="refresh"> HTML tag. See:
  https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta#http-equiv

This commit also initialize the URLs registry with current pages and some
redirections needed after recent documentation refactoring.

Finally, the CI is updated to catch any change that invalidate previous
URLs.
2023-05-14 15:11:15 +02:00
..
diagrams Improve documentation 2023-05-13 22:05:23 +03:00
Doxyfile.in Improve documentation 2023-05-13 22:05:23 +03:00
compatibility.md Improve documentation 2023-05-13 22:05:23 +03:00
cool-uris.yaml Add support for stable doc URLs (#342) 2023-05-14 15:11:15 +02:00
doxygen-extra.css Improve documentation 2023-05-13 22:05:23 +03:00
introduction-to-xkb.md Improve documentation 2023-05-13 22:05:23 +03:00
keymap-format-text-v1.md Improve documentation 2023-05-13 22:05:23 +03:00
quick-guide.md tools: move the remaining tools from test to here 2020-06-25 10:32:08 +10:00
rules-format.md Improve documentation 2023-05-13 22:05:23 +03:00
user-configuration.md doc: fix user-configuration sample file 2021-04-11 10:25:56 +03:00