diff --git a/doc/default.nix b/doc/default.nix
index 638027b0a..7ad86958b 100644
--- a/doc/default.nix
+++ b/doc/default.nix
@@ -8,8 +8,8 @@ let
     name = "nmd";
     owner = "rycee";
     repo = "nmd";
-    rev = "b437898c2b137c39d9c5f9a1cf62ec630f14d9fc";
-    sha256 = "18j1nh53cfpjpdiwn99x9kqpvr0s7hwngyc0a93xf4sg88ww93lq";
+    rev = "49567e3ff2824ac8ba457f439f384eafc1eb4547";
+    sha256 = "0x2lwcryvmnr128r497bzrawi4x1yyxb4riicppdaib95iwn8jck";
   };
 
   nmd = import nmdSrc { inherit lib pkgs; };
@@ -41,6 +41,7 @@ let
     pathName = "home-manager";
     modulesDocs = [ hmModulesDocs ];
     documentsDirectory = ./.;
+    documentType = "book";
     chunkToc = ''
       <toc>
         <d:tocentry xmlns:d="http://docbook.org/ns/docbook" linkend="book-home-manager-manual"><?dbhtml filename="index.html"?>
diff --git a/doc/release-notes/release-notes.adoc b/doc/release-notes/release-notes.adoc
new file mode 100644
index 000000000..0e04aeaac
--- /dev/null
+++ b/doc/release-notes/release-notes.adoc
@@ -0,0 +1,17 @@
+[[ch-release-notes]]
+[appendix]
+== Release Notes
+
+This section lists the release notes for stable versions of Home Manager and the current unstable version.
+
+:leveloffset: 1
+
+include::rl-2003.adoc[]
+
+include::rl-1909.adoc[]
+
+include::rl-1903.adoc[]
+
+include::rl-1809.adoc[]
+
+:leveloffset: 0
diff --git a/doc/release-notes/release-notes.xml b/doc/release-notes/release-notes.xml
deleted file mode 100644
index 2c1f5fcde..000000000
--- a/doc/release-notes/release-notes.xml
+++ /dev/null
@@ -1,15 +0,0 @@
-<appendix xmlns="http://docbook.org/ns/docbook"
-          xmlns:xlink="http://www.w3.org/1999/xlink"
-          xmlns:xi="http://www.w3.org/2001/XInclude"
-          version="5.0"
-          xml:id="ch-release-notes">
- <title>Release Notes</title>
- <para>
-  This section lists the release notes for stable versions of Home Manager and
-  the current unstable version.
- </para>
- <xi:include href="rl-2003.xml" />
- <xi:include href="rl-1909.xml" />
- <xi:include href="rl-1903.xml" />
- <xi:include href="rl-1809.xml" />
-</appendix>