-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
871447b
commit 8c3b348
Showing
21 changed files
with
1,172 additions
and
2,656 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,56 @@ | ||
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 Dotnet Plugin', | ||
description: 'The offical Lando plugin for Dotnet.', | ||
landoDocs: 3, | ||
landoPlugin, | ||
version, | ||
head: [ | ||
['meta', {name: 'viewport', content: 'width=device-width, initial-scale=1'}], | ||
['link', {rel: 'icon', href: '/acquia/favicon.ico', size: 'any'}], | ||
['link', {rel: 'icon', href: '/acquia/favicon.svg', type: 'image/svg+xml'}], | ||
], | ||
themeConfig: { | ||
sidebar: sidebar(), | ||
}, | ||
}); | ||
|
||
function sidebar() { | ||
return [ | ||
{ | ||
text: 'Introduction', | ||
collapsed: false, | ||
items: [ | ||
{text: 'Overview', link: '/'}, | ||
{text: 'Installation', link: '/install'}, | ||
{text: 'Usage', link: '/config'}, | ||
], | ||
}, | ||
{ | ||
text: 'Contribution', | ||
collapsed: false, | ||
items: [ | ||
{text: 'Development', link: '/development'}, | ||
{text: 'Team', link: '/team'}, | ||
], | ||
}, | ||
{ | ||
text: 'Help & Support', | ||
collapsed: false, | ||
items: [ | ||
{text: 'GitHub', link: 'https://github.com/lando/acquia/issues/new/choose'}, | ||
{text: 'Slack', link: 'https://launchpass.com/devwithlando'}, | ||
{text: 'Contact Us', link: '/support'}, | ||
], | ||
}, | ||
{text: 'Examples', link: 'https://github.com/lando/acquia/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 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,45 @@ | ||
--- | ||
title: Installation | ||
description: How to install the Lando Dotnet Plugin. | ||
--- | ||
|
||
# Installation | ||
|
||
If you are using Lando 3 then its *highly likely* you already have this plugin as its included by default in most installation pathways. You can verify this by running: | ||
|
||
```sh | ||
lando version --component @lando/acquia | ||
``` | ||
|
||
However if you would like to manually install the plugin, update it to the bleeding edge or install a particular version then use the below. | ||
|
||
::: code-group | ||
```sh [lando 3.21+] | ||
lando plugin-add @lando/acquia | ||
``` | ||
|
||
```sh [hyperdrive] | ||
# @NOTE: This doesn't actaully work yet | ||
hyperdrive install @lando/acquia | ||
``` | ||
|
||
```sh [docker] | ||
# Ensure you have a global plugins directory | ||
mkdir -p ~/.lando/plugins | ||
|
||
# Install plugin | ||
# NOTE: Modify the "npm install @lando/acquia" line to install a particular version eg | ||
# npm install @lando/[email protected] | ||
docker run --rm -it -v ${HOME}/.lando/plugins:/plugins -w /tmp node:18-alpine sh -c \ | ||
"npm init -y \ | ||
&& npm install @lando/acquia --production --flat --no-default-rc --no-lockfile --link-duplicates \ | ||
&& npm install --production --cwd /tmp/node_modules/@lando/acquia \ | ||
&& mkdir -p /plugins/@lando \ | ||
&& mv --force /tmp/node_modules/@lando/acquia /plugins/@lando/acquia" | ||
|
||
# Rebuild the plugin cache | ||
lando --clear | ||
``` | ||
::: | ||
|
||
You should be able to verify the plugin is installed by running `lando config --path plugins` and checking for `@lando/acquia`. This command will also show you _where_ the plugin is being loaded from. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
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,25 @@ | ||
--- | ||
description: Learn about the team that made the acquia plugin. | ||
layout: page | ||
title: Team | ||
--- | ||
|
||
<VPLTeamPage> | ||
<VPLTeamPageTitle> | ||
<template #title> | ||
Team | ||
</template> | ||
<template #lead> | ||
We are the people who brought acquia to Lando. | ||
</template> | ||
</VPLTeamPageTitle> | ||
<VPLTeamMembers :members="members" size="small"/> | ||
</VPLTeamPage> | ||
|
||
<script setup> | ||
import {VPLTeamPage, VPLTeamPageTitle, VPLTeamMembers} from '@lando/vitepress-theme-default-plus' | ||
import {useTeam} from '@lando/vitepress-theme-default-plus'; | ||
|
||
const members = useTeam(); | ||
|
||
</script> |
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.