-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Initial vitepress migration. * Make checklink happy. * Fix more checklinks. * Configure sidebar. * Get rid of vuepress stuff. * Make sure vitepress deps are devDeps. * Update vitepress and theme to latest versions. * Update netlify.toml patterns. * Update path to from source install insructions and update vitepress-theme-default-plus. * chxlnx * Test commit. * Test commit. --------- Co-authored-by: Mike Pirog <[email protected]>
- Loading branch information
1 parent
7610f6f
commit e69ddc0
Showing
26 changed files
with
2,123 additions
and
5,213 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
.temp | ||
.cache | ||
temp | ||
cache | ||
dist | ||
_site | ||
!.vitepress |
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,58 @@ | ||
import {createRequire} from 'module'; | ||
|
||
import {defineConfig} from '@lando/vitepress-theme-default-plus/config'; | ||
|
||
const require = createRequire(import.meta.url); | ||
|
||
const {name, version} = require('../../package.json'); | ||
const landoPlugin = name.replace('@lando/', ''); | ||
|
||
export default defineConfig({ | ||
title: 'Lando Backdrop Plugin', | ||
description: 'The offical Lando plugin for Backdrop.', | ||
landoDocs: 3, | ||
landoPlugin, | ||
version, | ||
head: [ | ||
['meta', {name: 'viewport', content: 'width=device-width, initial-scale=1'}], | ||
['link', {rel: 'icon', href: '/backdrop/favicon.ico', size: 'any'}], | ||
['link', {rel: 'icon', href: '/backdrop/favicon.svg', type: 'image/svg+xml'}], | ||
], | ||
themeConfig: { | ||
sidebar: sidebar(), | ||
}, | ||
}); | ||
|
||
function sidebar() { | ||
return [ | ||
{ | ||
text: 'Introduction', | ||
collapsed: false, | ||
items: [ | ||
{text: 'Introduction', link: '/'}, | ||
{text: 'Installation', link: '/install'}, | ||
{text: 'Getting Started', link: '/getting-started'}, | ||
{text: 'Configuration', link: '/config'}, | ||
{text: 'Tooling', link: '/tooling'}, | ||
], | ||
}, | ||
{ | ||
text: 'Contribution', | ||
collapsed: true, | ||
items: [ | ||
{text: 'Development', link: '/development'}, | ||
{text: 'Team', link: '/team'}, | ||
], | ||
}, | ||
{ | ||
text: 'Help & Support', | ||
collapsed: true, | ||
items: [ | ||
{text: 'GitHub', link: 'https://github.com/lando/backdrop/issues/new/choose'}, | ||
{text: 'Slack', link: 'https://www.launchpass.com/devwithlando'}, | ||
{text: 'Contact Us', link: '/support'}, | ||
], | ||
}, | ||
{text: 'Examples', link: 'https://github.com/lando/backdrop/tree/main/examples'}, | ||
]; | ||
}; |
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,3 @@ | ||
import VPLTheme from '@lando/vitepress-theme-default-plus'; | ||
|
||
export default VPLTheme; |
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
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
Oops, something went wrong.