- Drop site/ + RenderSite.sh: repo now carries grav/user/pages as native Grav markdown pages (home/services/terms/sign/execution) - Add knel-contract theme: inherits quark2 via stream fallback, adds sign.html.twig (Twig) driving the DocuSeal flow through the APISIX gateway; esign wiring lives in the theme yaml for forks to retarget - CreateDocument.sh refreshes the Grav services page from the rendered catalogs instead of invoking the removed site renderer Ticket: https://projects.knownelement.com/issues/924
32 lines
796 B
Bash
Executable File
32 lines
796 B
Bash
Executable File
#!/bin/bash
|
|
# Put together the KNEL services contract template
|
|
|
|
set -euo pipefail
|
|
|
|
# Pull in contract variables
|
|
echo "Sourcing contract template variables..."
|
|
source ./KNEL-Contract-Template-Variables.env
|
|
|
|
echo "Rendering templates..."
|
|
bash RenderTemplates.sh
|
|
|
|
echo "Rendering CSV..."
|
|
bash RenderCSVToMarkdown.sh
|
|
|
|
echo "Putting it all together..."
|
|
bash RenderBook.sh
|
|
|
|
echo "Refreshing the Grav services page from the rendered catalogs..."
|
|
{
|
|
echo "---"
|
|
echo "title: 'Services'"
|
|
echo "visible: true"
|
|
echo "menu: Services"
|
|
echo "---"
|
|
cat src/services-general.md
|
|
for f in cloudron-all cloudron-lob coolify-techops-all coolify-techops-lob coolify-randd-all coolify-randd-lob kneldc-all kneldc-lob; do
|
|
echo
|
|
cat src/services-$f.md
|
|
done
|
|
} > grav/user/pages/02.services/default.md
|