From 244d0a4aa4b22cef49cf6040e9a7d638de71f202 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 9 Sep 2024 10:04:34 +0200 Subject: [PATCH] export for mdbook --- heroscript/exporter/book_collections.md | 46 +++++++++++++++++++++++++ heroscript/exporter/run.sh | 12 +++++++ 2 files changed, 58 insertions(+) create mode 100644 heroscript/exporter/book_collections.md create mode 100755 heroscript/exporter/run.sh diff --git a/heroscript/exporter/book_collections.md b/heroscript/exporter/book_collections.md new file mode 100644 index 0000000..4f16aca --- /dev/null +++ b/heroscript/exporter/book_collections.md @@ -0,0 +1,46 @@ + + +```js + +!!book.export path:'~/hero/var/collections' reset:1 production:1 + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/def' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/tech' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/projectinca' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/projectmycelium' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/partners_utilization' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/why' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/vindo' + + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/mkondo' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/values' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/tfgrid4' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/tfgrid3' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/p2p' + + +``` + diff --git a/heroscript/exporter/run.sh b/heroscript/exporter/run.sh new file mode 100755 index 0000000..4537849 --- /dev/null +++ b/heroscript/exporter/run.sh @@ -0,0 +1,12 @@ +#!/bin/bash +set -ex + +~/code/github/freeflowuniverse/crystallib/cli/hero/compile_debug.sh + +hero run -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/heroscript/exporter + + +#result will be in /root/hero/var/mdbuild/tfgrid4simulator +#~/hero/www/info/tfgrid4simulator/ + +#https://threefold.info/tfgrid4simulator/ \ No newline at end of file