From ca0d5e087e10a50decc913c3f55dc744774c764e Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Tue, 17 Sep 2024 16:31:59 +0200 Subject: Github pages are auto-generated from the Markdown files and HTML manuals now * This pushes to the gh-pages branch since we don't yet want to introduce a new workflow (that would have to rebuild SciTECO). * Built as part of the nightly MacOS builds. The Ubuntu builds directly build Debian packages which do not contain the HTML manuals. * I don't want to check in images into the master branch. The gh-pages branch is cleaned with every build. Therefore I still cross-link to Sourceforge for any additional images and documents. * We could automatically build the cheat-sheet.pdf (TODO?). For the time being, we are still linking to Sourceforge. --- www/build.tes | 114 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100755 www/build.tes (limited to 'www') diff --git a/www/build.tes b/www/build.tes new file mode 100755 index 0000000..1c96608 --- /dev/null +++ b/www/build.tes @@ -0,0 +1,114 @@ +#!/usr/local/bin/sciteco -m +!* + * Generate the website at https://rhaberkorn.github.io/sciteco + * This reuses content from Markdown documents and the manpages. + * Everything else is cross-linked to Sourceforge. + * It must currently be run from the www/ subdirectory of an in-tree-build. + * The HTML manuals must be in ../doc. + * Required tools: lowdown + *! + +!* + * Perhaps everything should be white on black, like in a terminal? + * The first line could be inverted (black on white). + *! +@[header]{I + + + + SciTECO - <Website> Q[title] + + + + + SciTECO - <Website> + Home / + Screenshots / + Downloads / + sciteco(1) / + sciteco(7) / + Wiki / + Github + +
+} + +!* This is a macro, so we can potentially customize the content per page *! +@[footer]{I +
+ + + + + +
*IThis page was made with SciTECO.$-EX$$ + +
+
+ + +} + +EBindex.html HK + [title]Home M[header] + EClowdown -thtml --html-no-skiphtml --html-no-escapehtml ../README.md + M[footer] +EW + +EBscreenshots.html HK + [title]Screenshots M[header] + EClowdown -thtml --html-no-skiphtml --html-no-escapehtml ../screenshots.md + M[footer] +EW + +[manpage-header] +

This documents the project's HEAD revision.

+
 + +EB../doc/sciteco.1.html + SS

S .,ZK + M[footer] +EWsciteco.1.html + +EB../doc/sciteco.7.html + SS

S .,ZK + M[footer] +EWsciteco.7.html + +!* + * These manpages are not in the header bar, but still postprocessed + * for consinstency. + *! + +EB../doc/grosciteco.tes.1.html + SS

S .,ZK + M[footer] +EWgrosciteco.tes.1.html + +EB../doc/tedoc.tes.1.html + SS

S .,ZK + M[footer] +EWtedoc.tes.1.html + +EX -- cgit v1.2.3