This commit is contained in:
kristof de spiegeleer 2025-02-05 08:25:52 +03:00
parent 8466fc55ee
commit 9e16aec7ad
6 changed files with 93 additions and 7 deletions

11
.gitignore vendored
View File

@ -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

View File

@ -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
View 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
View 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
View 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"
}
]
}

View File

@ -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