ddd
This commit is contained in:
parent
8466fc55ee
commit
9e16aec7ad
11
.gitignore
vendored
11
.gitignore
vendored
@ -19,5 +19,16 @@ npm-debug.log*
|
|||||||
yarn-debug.log*
|
yarn-debug.log*
|
||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
bun.lockb
|
bun.lockb
|
||||||
|
bun.lock
|
||||||
|
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
|
||||||
|
build.sh
|
||||||
|
build_dev.sh
|
||||||
|
develop.sh
|
||||||
|
|
||||||
|
docusaurus.config.ts
|
||||||
|
|
||||||
|
sidebars.ts
|
||||||
|
|
||||||
|
tsconfig.json
|
||||||
|
12
build.sh
12
build.sh
@ -1,14 +1,18 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
|
|
||||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
cd "${script_dir}"
|
cd "${script_dir}"
|
||||||
|
|
||||||
export PATH=${BASE}/node_modules/.bin:$PATH
|
|
||||||
|
|
||||||
echo "Docs directory: $script_dir"
|
echo "Docs directory: $script_dir"
|
||||||
|
|
||||||
|
cd /Users/despiegk/hero/var/docusaurus
|
||||||
|
|
||||||
|
export PATH=/tmp/docusaurus_build/node_modules/.bin:$PATH
|
||||||
|
|
||||||
|
rm -rf /Users/despiegk/hero/var/docusaurus/build/
|
||||||
|
|
||||||
bun docusaurus build
|
bun docusaurus build
|
||||||
|
|
||||||
rsync -rv --delete ${script_dir}/build/ root@info.ourworld.tf:/root/hero/www/info/tftech
|
rsync -rv --delete /Users/despiegk/hero/var/docusaurus/build/ root@info.ourworld.tf:/root/hero/www/info/kristof/
|
||||||
|
40
cfg/footer.json
Normal file
40
cfg/footer.json
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"style": "dark",
|
||||||
|
"links": [
|
||||||
|
{
|
||||||
|
"title": "Docs",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"label": "Introduction",
|
||||||
|
"to": "/docs"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "TFGrid V4 Docs",
|
||||||
|
"href": "https://docs.threefold.io/"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Community",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"label": "Telegram",
|
||||||
|
"href": "https://t.me/threefold"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "X",
|
||||||
|
"href": "https://x.com/threefold_io"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "Links",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"label": "ThreeFold.io",
|
||||||
|
"href": "https://threefold.io"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
16
cfg/main.json
Normal file
16
cfg/main.json
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{
|
||||||
|
"title": "Internet Geek",
|
||||||
|
"tagline": "Internet Geek",
|
||||||
|
"favicon": "img/favicon.png",
|
||||||
|
"url": "https://friends.threefold.info",
|
||||||
|
"url_home": "docs/",
|
||||||
|
"baseUrl": "/kristof/",
|
||||||
|
"image": "img/tf_graph.png",
|
||||||
|
"metadata": {
|
||||||
|
"description": "ThreeFold is laying the foundation for a geo aware Web 4, the next generation of the Internet.",
|
||||||
|
"image": "https://threefold.info/kristof/img/tf_graph.png",
|
||||||
|
"title": "ThreeFold Technology Vision"
|
||||||
|
},
|
||||||
|
"buildDest":"root@info.ourworld.tf:/root/hero/www/info",
|
||||||
|
"buildDestDev":"root@info.ourworld.tf:/root/hero/www/infodev"
|
||||||
|
}
|
15
cfg/navbar.json
Normal file
15
cfg/navbar.json
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
"title": "Kristof = Chief Executive Geek",
|
||||||
|
"items": [
|
||||||
|
{
|
||||||
|
"href": "https://threefold.info/kristof/",
|
||||||
|
"label": "ThreeFold Technology",
|
||||||
|
"position": "right"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"href": "https://threefold.io",
|
||||||
|
"label": "ThreeFold.io",
|
||||||
|
"position": "right"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
@ -1,14 +1,14 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -ex
|
set -e
|
||||||
|
|
||||||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
cd "${script_dir}"
|
cd "${script_dir}"
|
||||||
|
|
||||||
echo "Docs directory: $script_dir"
|
echo "Docs directory: $script_dir"
|
||||||
|
|
||||||
#export NODE_OPTIONS=--openssl-legacy-provider
|
cd /Users/despiegk/hero/var/docusaurus
|
||||||
|
|
||||||
#npm run start -- --host 0.0.0.0
|
export PATH=/tmp/docusaurus_build/node_modules/.bin:$PATH
|
||||||
|
|
||||||
bun run start -p 3100
|
bun run start -p 3100
|
||||||
|
Loading…
Reference in New Issue
Block a user