Skip to content

Commit

Permalink
docs: refactor navbar and sidebar out of config
Browse files Browse the repository at this point in the history
Signed-off-by: Rui Chen <[email protected]>
  • Loading branch information
chenrui333 committed May 8, 2024
1 parent 745e8e7 commit a78490d
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ tmp-CHANGELOG.md

# vuepress
**/.vuepress/*
!runatlantis.io/.vuepress/config.ts
!runatlantis.io/.vuepress/navbar.ts
!runatlantis.io/.vuepress/sidebar.ts
!runatlantis.io/.vuepress/config.*
!runatlantis.io/.vuepress/navbar.*
!runatlantis.io/.vuepress/sidebar.*
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"license": "Apache-2.0",
"devDependencies": {
"@playwright/test": "^1.44.0",
"@types/node": "^20.12.11",
"@vuepress/bundler-webpack": "2.0.0-rc.9",
"@vuepress/plugin-docsearch": "2.0.0-rc.21",
"@vuepress/plugin-google-analytics": "2.0.0-rc.21",
Expand Down
3 changes: 0 additions & 3 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import { defaultTheme } from '@vuepress/theme-default';
import { defineUserConfig } from 'vuepress';
import { sitemapPlugin } from '@vuepress/plugin-sitemap';
import { webpackBundler } from '@vuepress/bundler-webpack';
import * as navbar from "./navbar";
import * as sidebar from "./sidebar";
import navbar from "./navbar";
import sidebar from "./sidebar";

const __dirname = getDirname(import.meta.url)

Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit a78490d

Please sign in to comment.