Merge pull request #239986 from pennae/reattach-head

nixos-render-docs: add missing head tag to html output

pennae bafe7455 6c112fb5

Changed files
+2 -1
pkgs
tools
nix
nixos-render-docs
src
nixos_render_docs
+2 -1
pkgs/tools/nix/nixos-render-docs/src/nixos_render_docs/manual.py
···
'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"',
' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">',
'<html xmlns="http://www.w3.org/1999/xhtml">',
-
' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />',
+
' <head>',
+
' <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />',
f' <title>{toc.target.title}</title>',
"".join((f'<link rel="stylesheet" type="text/css" href="{html.escape(style, True)}" />'
for style in self._html_params.stylesheets)),