threefoldtech / home

Starting point for the threefoldtech organization
https://threefold.io
Apache License 2.0
9 stars 4 forks source link

wiki basic functionality [development_basicwiki] #569

Closed xmonader closed 4 years ago

xmonader commented 4 years ago
abom commented 4 years ago

All is working on unstable, need to configure gdrive client (main instance)

cl = j.clients.gdrive.get_from_file(name="main", path="/sandbox/var/cred.json")
cl.save()

Had some problems not related to wikis, but all of them should be fixed now, and i could load examples wiki using:

jsx wiki-load -n examples -u https://github.com/threefoldtech/jumpscaleX_threebot/tree/unstable/ThreeBotPackages/zerobot/wiki_examples/wiki -f -r

Going to https://172.17.0.2/wiki/examples to verify includes, macros...etc

abom commented 4 years ago

For documentation, all of wiki macros and link formats are still documented here

https://github.com/threefoldtech/jumpscaleX_threebot/tree/unstable/docs/wikis

abom commented 4 years ago

For links, it resolves the link if it's a custom one, otherwise we cannot do it with a single file name, yields lots of problems that has been discussed before.

xmonader commented 4 years ago

using links with just the filename is supported now using custom link : before the filename https://github.com/threefoldtech/jumpscaleX_threebot/blob/unstable/docs/wikis/links.md#a-custom-link-with-only-paths

same for includes

abom commented 4 years ago

Will test :filename links with includes

Also, will add a pull button (https://github.com/threefoldtech/jumpscaleX_threebot/issues/473)

abom commented 4 years ago

Includes work with file names (even without a colon)

All macros are documented https://github.com/threefoldtech/jumpscaleX_threebot/tree/unstable/docs/wikis/macro

abom commented 4 years ago

Added pull button at https://github.com/threefoldtech/jumpscaleX_threebot/commit/252b6beb73c52ed866a3fe7c94795916911b5198.

abom commented 4 years ago

Added more examples to test_include of wiki_examples too at https://github.com/threefoldtech/jumpscaleX_threebot/blob/252b6beb73c52ed866a3fe7c94795916911b5198/ThreeBotPackages/zerobot/wiki_examples/wiki/test_include.md#only-filenames.

john-kheir commented 4 years ago

Verified