From Edd Salkield to ~adnano/kiln-discuss
> I did update the documentation to reflect this. If you think it could > be clearer, please send a patch. Just revisited this when clearing out my inbox, and have sent a mostly-trivial patch to indicate that defining template blocks is optional.
From Edd Salkield to ~adnano/kiln-devel
--- docs/kiln.1.scd | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/kiln.1.scd b/docs/kiln.1.scd index 4c5dca9..6dd4f5b 100644 --- a/docs/kiln.1.scd +++ b/docs/kiln.1.scd @@ -213,8 +213,8 @@ See *TEMPLATE FUNCTIONS* for more information. ## BASE TEMPLATES Base templates are inherited only by page and index templates. Base templates generally define at least one block which can be customized by page and index templates, according to the Go templating language.[message trimmed]
From Edd Salkield to ~adnano/kiln-devel
Apologies for not catching this the first time around. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b839b28..49d1a26 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ clean: install: mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 install -m755 gmnitohtml $(DESTDIR)$(BINDIR)/gmnitohtml [message trimmed]
From Edd Salkield to ~adnano/kiln-devel
Apologies for not catching this the first time around. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 963075c..15263c8 100644 --- a/Makefile +++ b/Makefile @@ -26,7 +26,7 @@ clean: install: mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 install -m755 mdtohtml $(DESTDIR)$(BINDIR)/mdtohtml [message trimmed]
From Edd Salkield to ~adnano/kiln-devel
--- Makefile | 10 ++++++---- gmnitohtml.1.scd => docs/gmnitohtml.1.scd | 0 2 files changed, 6 insertions(+), 4 deletions(-) rename gmnitohtml.1.scd => docs/gmnitohtml.1.scd (100%) diff --git a/Makefile b/Makefile index f827084..b767ac3 100644 --- a/Makefile +++ b/Makefile @@ -9,13 +9,15 @@ RM=rm GO=go GOFLAGS= [message trimmed]
From Edd Salkield to ~adnano/kiln-devel
Thanks for the feedback. I've fixed these in the latest patch: https://lists.sr.ht/~adnano/kiln-devel/patches/35843
From Edd Salkield to ~adnano/kiln-devel
> If we're going to do this, we should do it for all repositories. Could > you send a similar patch for gmnitohtml as well? Sure > The 'all' target needs to be updated as well. It still refers to > the old target. Good catch, fixed in the latest patch: https://lists.sr.ht/~adnano/kiln-devel/patches/35844
From Edd Salkield to ~adnano/kiln-devel
--- .gitignore | 2 +- Makefile | 10 ++++++---- mdtohtml.1.scd => docs/mdtohtml.1.scd | 0 3 files changed, 7 insertions(+), 5 deletions(-) rename mdtohtml.1.scd => docs/mdtohtml.1.scd (100%) diff --git a/.gitignore b/.gitignore index 879797a..88b2533 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ mdtohtml mdtohtml.1[message trimmed]
From Edd Salkield to ~adnano/kiln-devel
-u to render potentially unsafe HTML as written -w to hard wrap, rendering newlines as <br> -x to render as XHTML -h to show help --- main.go | 67 ++++++++++++++++++++++++++++++++++++++++++++------ mdtohtml.1.scd | 17 +++++++++++++ 2 files changed, 76 insertions(+), 8 deletions(-) diff --git a/main.go b/main.go index e53f89f..6ed7e1b 100644 --- a/main.go +++ b/main.go @@ -1,6 +1,7 @@ [message trimmed]
From Edd Salkield to ~adnano/kiln-devel
> What's the motivation for this? It's simply to bring the structure of the doc source and Makefile into closer alignment with the main kiln project's structure. Similar changes were in a previous patch I submitted[1], and I've factored them out. If you consider this is just unnecessarily adding noise to the project, feel free to reject the patch. [1]: https://lists.sr.ht/~adnano/kiln-devel/patches/35784