From 2cd2b58a04cd86e8bf1d72e9c0a67ad8c8e9c8dd Mon Sep 17 00:00:00 2001 From: sterni Date: Wed, 10 Mar 2021 15:37:16 +0100 Subject: feat(users/sterni/htmlman): static site generator for manual pages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit htmlman is a very simple nix based static site generator which is intended for rendering HTML representations for man pages plus an index page listing all available pages. For the sake of simplicity (and unlike previous iterations of this piece of code) other documentation artifacts and formats are not supported. Usually web services like GitHub and depot's web interface are pretty good at displaying "normal" documentation artifacts like markdown files, but man pages are usually not rendered — with the additional problem that it's source is virtually unreadable. htmlman should provide a simple static site generator which can be plugged into GitHub actions or the like to automatically generate rendered version of man pages tracked in version control. Change-Id: Ib53292964b3ff84c32d70c5fde257a2edb8c2122 Reviewed-on: https://cl.tvl.fyi/c/depot/+/2596 Tested-by: BuildkiteCI Reviewed-by: tazjin Reviewed-by: Profpatsch Reviewed-by: sterni --- third_party/nixpkgs-exposed/OWNERS | 1 + third_party/nixpkgs-exposed/exposed/default.nix | 1 + 2 files changed, 2 insertions(+) (limited to 'third_party') diff --git a/third_party/nixpkgs-exposed/OWNERS b/third_party/nixpkgs-exposed/OWNERS index 32f9ac249938..a5ea8a2ae8b2 100644 --- a/third_party/nixpkgs-exposed/OWNERS +++ b/third_party/nixpkgs-exposed/OWNERS @@ -4,3 +4,4 @@ inherited: true owners: - Profpatsch + - sterni diff --git a/third_party/nixpkgs-exposed/exposed/default.nix b/third_party/nixpkgs-exposed/exposed/default.nix index 6f4441879a6f..61ae3ff677f5 100644 --- a/third_party/nixpkgs-exposed/exposed/default.nix +++ b/third_party/nixpkgs-exposed/exposed/default.nix @@ -84,6 +84,7 @@ lutris makeFontsConf makeWrapper + mandoc mdbook meson mime-types -- cgit 1.4.1