Commit 36f04733 authored by pennae's avatar pennae
Browse files

nixos-render-docs: add manual html converter

this converter is currently supposed to be able to reproduce the
docbook-generated html DOMs exactly, though not necessarily the
html *files*. it mirrors many docbook behaviours that seem rather odd,
such as top-level sections in chapters using the same heading depth as
understood by html as their parent chapters do. over time we can
hopefully remove all special casing needed to reproduce docbook
rendering, but for now at least it doesn't hurt *too* much.
parent feaa97e5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -8,7 +8,6 @@ from pprint import pprint
from typing import Any, Dict

from .md import Converter
from . import html
from . import manual
from . import options
from . import parallel
+433 −22

File changed.

Preview size limit exceeded, changes collapsed.