...
This commit is contained in:
parent
9cfca9aba0
commit
c25cad62fe
14
build.sh
Executable file
14
build.sh
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||||
|
cd "${script_dir}"
|
||||||
|
|
||||||
|
echo "Docs directory: $script_dir"
|
||||||
|
cd docs_website
|
||||||
|
yarn build
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
rsync -rv ${script_dir}/docs_website/build/ root@info.ourworld.tf:/root/hero/www/info/docs/
|
||||||
|
|
@ -8,10 +8,10 @@ const config: Config = {
|
|||||||
favicon: 'img/favicon.ico',
|
favicon: 'img/favicon.ico',
|
||||||
|
|
||||||
// Set the production url of your site here
|
// Set the production url of your site here
|
||||||
url: 'https://docs.threefold.pro',
|
url: 'https://docs.threefold.info',
|
||||||
// Set the /<baseUrl>/ pathname under which your site is served
|
// Set the /<baseUrl>/ pathname under which your site is served
|
||||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||||
baseUrl: '/',
|
baseUrl: '',
|
||||||
|
|
||||||
// GitHub pages deployment config.
|
// GitHub pages deployment config.
|
||||||
// If you aren't using GitHub pages, you don't need these.
|
// If you aren't using GitHub pages, you don't need these.
|
||||||
|
@ -2,6 +2,6 @@
|
|||||||
// This file is not used in compilation. It is here just for a nice editor experience.
|
// This file is not used in compilation. It is here just for a nice editor experience.
|
||||||
"extends": "@docusaurus/tsconfig",
|
"extends": "@docusaurus/tsconfig",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "."
|
"baseUrl": "docs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
8344
docs_website/yarn.lock
Normal file
8344
docs_website/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
12
install.sh
Executable file
12
install.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
script_dir=$(dirname "$0")
|
||||||
|
cd ${script_dir}
|
||||||
|
echo "Docs directory: $script_dir"
|
||||||
|
cd docs_website
|
||||||
|
yarn
|
||||||
|
yarn build
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user