From 49c1417b8a445df29af6049b2fb667bbfa15e894 Mon Sep 17 00:00:00 2001 From: Malin Freeborn Date: Fri, 6 Dec 2024 22:39:45 +0100 Subject: [PATCH] make soft man pages --- Makefile | 10 ++++++++-- splintrs/soft-serve/README.md | 6 ++++++ splintrs/soft-serve/webhooks.md | 6 ++++++ 3 files changed, 20 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index be86900..7eb64a9 100644 --- a/Makefile +++ b/Makefile @@ -29,6 +29,12 @@ krovmans = $(krov_docs:krov/%/README.md=$(mandir)/%.6) $(mandir)/%.6: krov/%/README.md lowdown -stman $< > $@ +splint_docs != grep -rl "^section:" splintrs +splintmans = $(splint_docs:splintrs/%/README.md=$(mandir)/%.6) + +$(mandir)/%.6: splintrs/%/README.md + lowdown -stman $< > $@ + setup_docs != grep -rl "^section:" setup setupmans = $(setup_docs:setup/%.md=$(mandir)/%.6) @@ -38,10 +44,10 @@ $(mandir)/%.6: setup/%.md $(mandir): mkdir -p $@ -$(kralmans) $(krovmans) $(setupmans) :| $(mandir) +$(kralmans) $(krovmans) $(splintmans) $(setupmans) :| $(mandir) .PHONY: pages -pages: $(kralmans) $(krovmans) $(setupmans) +pages: $(kralmans) $(krovmans) $(setupmans) $(splintmans) $(info $(kralmans)) @test ! $(command -v mandb) || mandb --user-db $(info Open DMZ's man pages with 'man 6 ') diff --git a/splintrs/soft-serve/README.md b/splintrs/soft-serve/README.md index 1b1cf7b..2967660 100644 --- a/splintrs/soft-serve/README.md +++ b/splintrs/soft-serve/README.md @@ -1,3 +1,9 @@ +--- +source: Decentrala +section: 6 +title: Soft-Serve Basics +--- + Soft Serve has its configurations stored inside itself in a repo. Admins can pull: `git clone ssh://soft.dmz.rs:2222/.soft-serve` diff --git a/splintrs/soft-serve/webhooks.md b/splintrs/soft-serve/webhooks.md index 8c43d6e..df18930 100644 --- a/splintrs/soft-serve/webhooks.md +++ b/splintrs/soft-serve/webhooks.md @@ -1,3 +1,9 @@ +--- +source: Decentrala +section: 6 +title: Soft-Serve Webhooks +--- + ### Soft serve webhooks Soft serve supports [webhooks](https://en.wikipedia.org/wiki/Webhook)