This commit is contained in:
2025-06-15 16:30:40 +02:00
parent d0baac83a9
commit 89b7f0d465
38 changed files with 73 additions and 73 deletions

View File

@@ -19,7 +19,7 @@ pub fn cmd_mdbook(mut cmdroot Command) {
example:
hero mdbook -u https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/heroscript
hero mdbook -u https://git.threefold.info/tfgrid/info_tfgrid/src/branch/main/heroscript
If you do -gp it will pull newest book content from git and give error if there are local changes.
If you do -gr it will pull newest book content from git and overwrite local changes (careful).

View File

@@ -17,7 +17,7 @@ heroscript has numerous ways to execute actions using your hero tool.
example:
hero run -u https://git.ourworld.tf/threefold_coop/info_asimov/src/branch/main/heroscript
hero run -u https://git.threefold.info/threefold_coop/info_asimov/src/branch/main/heroscript
Can also do -e or -st to see sourcetree

View File

@@ -47,10 +47,10 @@ fn test_parser() {
fn test_parser2() {
mut pb := new(
text: "!!play.run url:'https://git.ourworld.tf/despiegk/cfg/src/branch/main/myit/hetzner.md'"
text: "!!play.run url:'https://git.threefold.info/despiegk/cfg/src/branch/main/myit/hetzner.md'"
) or { panic(err) }
mut a := pb.actions[0]
assert a.actor == 'play'
assert a.name == 'run'
assert a.params.get('url')! == 'https://git.ourworld.tf/despiegk/cfg/src/branch/main/myit/hetzner.md'
assert a.params.get('url')! == 'https://git.threefold.info/despiegk/cfg/src/branch/main/myit/hetzner.md'
}

View File

@@ -27,7 +27,7 @@ pub fn play_juggler(mut plbook playbook.PlayBook) ! {
port := p.get_int_default('port', 8000)!
j = juggler.configure(
url: 'https://git.ourworld.tf/projectmycelium/itenv'
url: 'https://git.threefold.info/projectmycelium/itenv'
username: username
password: password
reset: true

View File

@@ -11,14 +11,14 @@ fn test_play_publisher() {
s2 := "
!!publisher.new_collection
url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/main/collections'
url:'https://git.threefold.info/tfgrid/info_tfgrid/src/branch/main/collections'
reset: false
pull: true
!!book.define
name:'info_tfgrid'
summary_url:'https://git.ourworld.tf/tfgrid/info_tfgrid/src/branch/development/books/tech/SUMMARY.md'
summary_url:'https://git.threefold.info/tfgrid/info_tfgrid/src/branch/development/books/tech/SUMMARY.md'
title:'ThreeFold Technology'
collections: 'about,dashboard,farmers,library,partners_utilization,tech,p2p'