From 6e972db92fb7f28b5fd05a1f249f1269b0dcefcf Mon Sep 17 00:00:00 2001 From: 0xroy Date: Fri, 29 Nov 2024 14:26:49 -0800 Subject: [PATCH] Direct readers to official doc website (#80) * Direct readers to official doc website * Reorder sidebar --- README.md | 24 ++++--------------- .../compute-network/marketplace.md | 7 ------ docs/build-with-0g/da-integration.md | 2 +- docs/build-with-0g/marketplace.md | 6 +++++ sidebars.ts | 20 ++++++++-------- 5 files changed, 22 insertions(+), 37 deletions(-) delete mode 100644 docs/build-with-0g/compute-network/marketplace.md create mode 100644 docs/build-with-0g/marketplace.md diff --git a/README.md b/README.md index 0c6c2c2..8b5556a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ -# Website +# Visit the Official 0G Docs Website -This website is built using [Docusaurus](https://docusaurus.io/), a modern static website generator. +If you want to learn more about 0G, visit the [0G Docs](https://docs.0g.ai/) + +# Contributing to 0G Docs ### Installation @@ -22,20 +24,4 @@ This command starts a local development server and opens up a browser window. Mo $ yarn build ``` -This command generates static content into the `build` directory and can be served using any static contents hosting service. - -### Deployment - -Using SSH: - -``` -$ USE_SSH=true yarn deploy -``` - -Not using SSH: - -``` -$ GIT_USER= yarn deploy -``` - -If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. +This command generates static content into the `build` directory and can be served using any static contents hosting service. \ No newline at end of file diff --git a/docs/build-with-0g/compute-network/marketplace.md b/docs/build-with-0g/compute-network/marketplace.md deleted file mode 100644 index 031cdb2..0000000 --- a/docs/build-with-0g/compute-network/marketplace.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -id: marketplace -title: Marketplace -sidebar_position: 4 ---- - -Coming soon diff --git a/docs/build-with-0g/da-integration.md b/docs/build-with-0g/da-integration.md index 0acc161..530242a 100644 --- a/docs/build-with-0g/da-integration.md +++ b/docs/build-with-0g/da-integration.md @@ -1,6 +1,6 @@ --- id: da-integration -title: Setting Up DA Client Nodes +title: DA Client Nodes sidebar_position: 2 --- import Tabs from '@theme/Tabs'; diff --git a/docs/build-with-0g/marketplace.md b/docs/build-with-0g/marketplace.md new file mode 100644 index 0000000..03faf06 --- /dev/null +++ b/docs/build-with-0g/marketplace.md @@ -0,0 +1,6 @@ +--- +id: marketplace +title: Marketplace (coming soon) +--- + +Coming soon diff --git a/sidebars.ts b/sidebars.ts index 8a571e7..dcd9704 100644 --- a/sidebars.ts +++ b/sidebars.ts @@ -43,6 +43,15 @@ const sidebars: SidebarsConfig = { label: 'Build with 0G', className: 'sidebar-category build-with-0g', items: [ + { + type: 'category', + label: 'Compute Network', + items: [ + 'build-with-0g/compute-network/overview', + 'build-with-0g/compute-network/provider', + 'build-with-0g/compute-network/sdk', + ], + }, 'build-with-0g/storage-sdk', 'build-with-0g/storage-cli', 'build-with-0g/da-integration', @@ -62,18 +71,9 @@ const sidebars: SidebarsConfig = { ], }, 'build-with-0g/contracts', + 'build-with-0g/marketplace', 'build-with-0g/faucet', 'build-with-0g/explorer', - { - type: 'category', - label: 'Compute Network', - items: [ - 'build-with-0g/compute-network/overview', - 'build-with-0g/compute-network/provider', - 'build-with-0g/compute-network/sdk', - 'build-with-0g/compute-network/marketplace', - ], - }, ], }, {