-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a3ca769
commit fe66727
Showing
17 changed files
with
7,735 additions
and
8,821 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"type": "none", | ||
"comment": "Update doc site to vuepress 2", | ||
"packageName": "beachball", | ||
"email": "[email protected]", | ||
"dependentChangeType": "none" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
20 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// @ts-check | ||
import { defineClientConfig } from 'vuepress/client'; | ||
import { defineMermaidConfig } from 'vuepress-plugin-md-enhance/client'; | ||
|
||
defineMermaidConfig({ | ||
// This can use a CSS variable because text is rendered in HTML tags | ||
fontFamily: 'var(--font-family)', | ||
themeVariables: { | ||
// Background and border colors can't use CSS variables since they're rendered in SVG... | ||
mainBkg: '#fff5cc', // node background | ||
nodeBorder: '#cb9f0c', | ||
edgeLabelBackground: '#f8de87', | ||
// Some of these node colors are conditionally set in index.scss for dark mode... | ||
// titleColor: 'red', // sub-graph title | ||
// nodeTextColor: 'red', // yes | ||
// secondaryColor: 'red', // edgeLabelBackground default | ||
// tertiaryColor: 'red', // sub-graph backgrouns | ||
// tertiaryBorderColor: 'red', // sub-graph border | ||
// tertiaryTextColor: 'red', // sub-graph title | ||
// clusterBkg: 'red', // sub-graph background | ||
// clusterBorder: 'red', // sub-graph border | ||
}, | ||
// some spacing options available under "flowchart" | ||
}); | ||
|
||
export default defineClientConfig({ | ||
enhance: context => { | ||
context.app.directive; | ||
}, | ||
}); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// @ts-check | ||
import { viteBundler } from '@vuepress/bundler-vite'; | ||
import { searchPlugin } from '@vuepress/plugin-search'; | ||
import { defaultTheme } from '@vuepress/theme-default'; | ||
import { defineUserConfig } from 'vuepress'; | ||
import { mdEnhancePlugin } from 'vuepress-plugin-md-enhance'; | ||
|
||
export default defineUserConfig({ | ||
title: 'beachball', | ||
description: 'The Sunniest Semantic Version Bumper', | ||
base: '/beachball/', | ||
bundler: viteBundler(), | ||
theme: defaultTheme({ | ||
navbar: [ | ||
{ text: 'Home', link: '/' }, | ||
{ text: 'Getting Started', link: '/overview/getting-started' }, | ||
{ text: 'Github', link: 'https://github.com/microsoft/beachball' }, | ||
], | ||
sidebar: [ | ||
{ | ||
text: 'Overview', | ||
collapsible: false, | ||
children: ['/overview/getting-started', '/overview/installation', '/overview/configuration'], | ||
}, | ||
{ | ||
text: 'Concepts', | ||
collapsible: false, | ||
children: [ | ||
'/concepts/bump-algorithm', | ||
'/concepts/change-files', | ||
'/concepts/ci-integration', | ||
'/concepts/groups', | ||
], | ||
}, | ||
{ | ||
text: 'Command Line Args', | ||
collapsible: false, | ||
children: ['/cli/options', '/cli/bump', '/cli/change', '/cli/check', '/cli/publish', '/cli/sync'], | ||
}, | ||
], | ||
}), | ||
plugins: [ | ||
mdEnhancePlugin({ | ||
mermaid: true, | ||
}), | ||
searchPlugin(), | ||
], | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
// https://ecosystem.vuejs.press/themes/default/styles.html | ||
|
||
:root { | ||
// link text | ||
--vp-c-accent: #a17d08; | ||
// homepage action | ||
--vp-c-accent-bg: #cb9f0c; | ||
// homepage action hover | ||
--vp-c-accent-hover: #eab60b; | ||
|
||
--graph-node-bg: #fff5cc; | ||
} | ||
|
||
[data-theme='dark'] { | ||
--vp-c-accent: #ffd700; | ||
--vp-c-accent-bg: #ffd700; | ||
|
||
// fix mermaid colors in dark mode | ||
.clusterLabel .nodeLabel { | ||
color: var(--vp-c-text); | ||
} | ||
|
||
.label .nodeLabel, | ||
.edgeLabel { | ||
color: var(--vp-c-bg) !important; | ||
} | ||
} | ||
|
||
p a code { | ||
// make link text inside code visible | ||
color: var(--vp-c-text); | ||
} | ||
|
||
.vp-sidebar a:hover, | ||
.vp-hero-action-button:hover { | ||
// make sidebar and action links more obvious | ||
text-decoration: underline; | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.