From 9d426f4b8937fe829a90ffdef14f5d05b9935c45 Mon Sep 17 00:00:00 2001 From: mik-tf Date: Tue, 2 Apr 2024 17:11:12 +0000 Subject: [PATCH] new mdbook --- books/new_mdbook/SUMMARY.md | 4 ++++ collections/new_mdbook/new_mdbook_example1.md | 3 +++ collections/new_mdbook/new_mdbook_example2.md | 3 +++ heroscript/new_mdbook/book_collections.md | 9 +++++++++ heroscript/new_mdbook/context.md | 11 +++++++++++ heroscript/new_mdbook/sshkey.md | 14 ++++++++++++++ 6 files changed, 44 insertions(+) create mode 100644 books/new_mdbook/SUMMARY.md create mode 100644 collections/new_mdbook/new_mdbook_example1.md create mode 100644 collections/new_mdbook/new_mdbook_example2.md create mode 100644 heroscript/new_mdbook/book_collections.md create mode 100644 heroscript/new_mdbook/context.md create mode 100644 heroscript/new_mdbook/sshkey.md diff --git a/books/new_mdbook/SUMMARY.md b/books/new_mdbook/SUMMARY.md new file mode 100644 index 0000000..f023604 --- /dev/null +++ b/books/new_mdbook/SUMMARY.md @@ -0,0 +1,4 @@ +# New mdBook Summary + +- [Example 1](new_mdbook/new_mdbook_example1.md) +- [Example 2](new_mdbook/new_mdbook_example2.md) \ No newline at end of file diff --git a/collections/new_mdbook/new_mdbook_example1.md b/collections/new_mdbook/new_mdbook_example1.md new file mode 100644 index 0000000..49cfeba --- /dev/null +++ b/collections/new_mdbook/new_mdbook_example1.md @@ -0,0 +1,3 @@ +# Example 1 + +This is some text \ No newline at end of file diff --git a/collections/new_mdbook/new_mdbook_example2.md b/collections/new_mdbook/new_mdbook_example2.md new file mode 100644 index 0000000..9abf329 --- /dev/null +++ b/collections/new_mdbook/new_mdbook_example2.md @@ -0,0 +1,3 @@ +# Example 2 + +This is some text \ No newline at end of file diff --git a/heroscript/new_mdbook/book_collections.md b/heroscript/new_mdbook/book_collections.md new file mode 100644 index 0000000..203a937 --- /dev/null +++ b/heroscript/new_mdbook/book_collections.md @@ -0,0 +1,9 @@ +```js + +!!book.generate name:'new_mdbook' title:'New mdBook' + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/books/new_mdbook' + +!!doctree.add + url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections/new_mdbook' + +``` \ No newline at end of file diff --git a/heroscript/new_mdbook/context.md b/heroscript/new_mdbook/context.md new file mode 100644 index 0000000..a8f5892 --- /dev/null +++ b/heroscript/new_mdbook/context.md @@ -0,0 +1,11 @@ + +```js + +!!books.configure + buildroot:'~/hero/var/mdbuild' + publishroot:'~/hero/www/info' + install:true + reset:false + +``` + diff --git a/heroscript/new_mdbook/sshkey.md b/heroscript/new_mdbook/sshkey.md new file mode 100644 index 0000000..85acfe6 --- /dev/null +++ b/heroscript/new_mdbook/sshkey.md @@ -0,0 +1,14 @@ + +```js +!!sshagent.key_add + name:'books' + privkey:' + -----BEGIN OPENSSH PRIVATE KEY----- + b3BlbnNzaC1rZXktdjEAAAAABG5vbmUAAAAEbm9uZQAAAAAAAAABAAAAMwAAAAtzc2gtZW + QyNTUxOQAAACDXf9Z/2AH8/8a1ppagCplQdhWyQ8wZAieUw3nNcxsDiQAAAIhb3ybRW98m + 0QAAAAtzc2gtZWQyNTUxOQAAACDXf9Z/2AH8/8a1ppagCplQdhWyQ8wZAieUw3nNcxsDiQ + AAAEC+fcDBPqdJHlJOQJ2zXhU2FztKAIl3TmWkaGCPnyts49d/1n/YAfz/xrWmlqAKmVB2 + FbJDzBkCJ5TDec1zGwOJAAAABWJvb2tz + -----END OPENSSH PRIVATE KEY----- + ' +``` \ No newline at end of file