diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index d96fa16..76a03df 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -20,8 +20,6 @@ jobs: # if your docs needs submodules, uncomment the following line # submodules: true - - - name: Setup Node.js uses: actions/setup-node@v3 with: diff --git a/src/.vuepress/navbar.ts b/src/.vuepress/navbar.ts index 8f91682..d82825b 100644 --- a/src/.vuepress/navbar.ts +++ b/src/.vuepress/navbar.ts @@ -2,29 +2,24 @@ import { navbar } from "vuepress-theme-hope"; export default navbar([ "/", - "/demo/", + "/get-started/", { - text: "Guide", - icon: "lightbulb", + text: "Docs", + icon: "book", prefix: "/guide/", children: [ { text: "Bar", - icon: "lightbulb", + icon: "book", prefix: "bar/", children: ["baz", { text: "...", icon: "ellipsis", link: "#" }], }, { text: "Foo", - icon: "lightbulb", + icon: "book", prefix: "foo/", children: ["ray", { text: "...", icon: "ellipsis", link: "#" }], }, ], - }, - { - text: "V2 Docs", - icon: "book", - link: "https://theme-hope.vuejs.press/", - }, + } ]); diff --git a/src/.vuepress/theme.ts b/src/.vuepress/theme.ts index 268d8d0..e0c9a40 100644 --- a/src/.vuepress/theme.ts +++ b/src/.vuepress/theme.ts @@ -28,6 +28,8 @@ export default hopeTheme({ displayFooter: true, + fullscreen: true, + encrypt: { config: { "/demo/encrypt.html": ["1234"], diff --git a/src/README.md b/src/README.md index 6c2ac29..80f021c 100644 --- a/src/README.md +++ b/src/README.md @@ -5,12 +5,18 @@ title: Node.js Home image: /assets/image/layout.svg bgImage: https://theme-hope-assets.vuejs.press/bg/4-light.svg bgImageDark: https://theme-hope-assets.vuejs.press/bg/4-dark.svg -bgImageStyle: - background-attachment: fixed heroFullScreen: true heroImage: /assets/icon/node.png heroText: Node.Js tagline: A comprehensive companion for understanding JavaScript's runtime environment ⚡️ +actions: + - text: Get started + icon: lightbulb + link: ./get-started/ + type: primary + - text: Docs + link: ./docs + icon: book footer: false ---