diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 2470304a120..31764d8135b 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -9,6 +9,10 @@ on: jobs: merge_job: runs-on: ubuntu-latest + concurrency: + group: build-docs + cancel-in-progress: true + permissions: contents: write diff --git a/docs/index.md b/docs/index.md index 2990065d7bb..3620d7296e4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -101,15 +101,14 @@ Welcome, this is the starting point for all NEAR documentation. Learn to build a - - - - - - + + + @@ -117,13 +116,12 @@ Welcome, this is the starting point for all NEAR documentation. Learn to build a - - - - - + + + + @@ -136,7 +134,7 @@ Here are more sources from our ecosystem that can help you to learn more about N
- +
Discover diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index b57247eb009..8a961e76ebe 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -119,6 +119,14 @@ const config = { label: 'Tutorials', position: 'left', }, + { + href: '/api/rpc/introduction', + label: 'RPC', + }, + { + type: 'html', + value: '' + }, { type: 'dropdown', label: 'Tools', @@ -147,15 +155,27 @@ const config = { { label: "BOS Web IDE (Jutsu)", href: "https://jutsu.ai/editor" }, { label: "Remix IDE Plugin", href: "https://docs.welldonestudio.io/code/getting-started" },], }, - { - href: '/api/rpc/introduction', - label: 'RPC', - }, { type: 'dropdown', - label: 'Other Docs', + label: 'Resources', position: 'left', items: [ + { + type: "html", + value: '
Support ', + }, + { + href: 'https://discord.gg/GZ7735Xjce', + label: 'Discord', + }, + { + href: 'https://t.me/neardev', + label: 'Telegram', + }, + { + type: "html", + value: '
Other Docs ', + }, { href: 'https://nomicon.io', label: 'Protocol Docs', diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index 9fbb604aaa1..8ed700fcab8 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -186,6 +186,10 @@ img+em, color: #999; } +.navbar .separator { + border: 1px #999 solid; +} + /* fonts and headers */ h1, h2, @@ -374,6 +378,10 @@ iframe+em { .navbar__search-input { width: 9rem } + + .navbar .separator { + display: none; + } } @media (max-width: 996px) {