docs: rename generated manual to index.xhtml

The `nixos-render-docs` tool outputs XHTML formatted content. In
order to convince browsers like `firefox` to treat the data as XHTML
the extension must be `.xhtml` and not `.html`.

Using the XHTML-formatted content as HTML is mainly an issue with
self-closing `<a />` tags.
This commit is contained in:
Viktor Kronvall 2023-12-07 21:36:39 +09:00
parent 0a71046493
commit 613dbb35db
3 changed files with 18 additions and 8 deletions

View file

@ -9,7 +9,7 @@
};
nmt.script = ''
assertFileExists home-path/share/doc/home-manager/index.html
assertFileExists home-path/share/doc/home-manager/index.xhtml
assertFileExists home-path/share/doc/home-manager/options.html
assertFileExists home-path/share/doc/home-manager/options.json
assertFileExists home-path/share/man/man1/home-manager.1