This repository was archived by the owner on Nov 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
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
e731714
commit 519b2ae
Showing
119 changed files
with
10,800 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
pids | ||
logs | ||
node_modules | ||
npm-debug.log | ||
coverage/ | ||
run | ||
dist | ||
.DS_Store | ||
.nyc_output | ||
.basement | ||
config.local.js | ||
basement_dist |
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,2 +1,13 @@ | ||
# psappdeploytoolkit-website | ||
PSAppDeployToolkit Website | ||
# PSAppDeploymentToolkit | ||
|
||
> PowerShell Application Deployment Toolkit | ||
## Development | ||
|
||
```bash | ||
yarn dev | ||
yarn build | ||
``` | ||
|
||
For more details, please head VuePress's [documentation](https://v1.vuepress.vuejs.org/). | ||
|
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,24 @@ | ||
{ | ||
"name": "PSAppDeploymentToolkit", | ||
"version": "0.0.1", | ||
"description": "PowerShell Application Deployment Toolkit", | ||
"main": "index.js", | ||
"authors": { | ||
"name": "The PSAppDeployToolkit Team", | ||
"email": "info@psappdeploytoolkit.com" | ||
}, | ||
"repository": "https://github.com/PSAppDeploytToolkit//PSAppDeploymentToolkit", | ||
"scripts": { | ||
"dev": "vuepress dev src", | ||
"build": "vuepress build src" | ||
}, | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@vuepress/plugin-back-to-top": "^1.3.1", | ||
"@vuepress/plugin-medium-zoom": "^1.3.1", | ||
"vuepress": "^1.3.1" | ||
}, | ||
"dependencies": { | ||
"vuepress-theme-reco": "^1.5.5" | ||
} | ||
} |
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,15 @@ | ||
<template> | ||
<p class="demo"> | ||
{{ msg }} | ||
</p> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data () { | ||
return { | ||
msg: 'Hello this is <Foo-Bar>' | ||
} | ||
} | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<template> | ||
<p class="demo">This is another component</p> | ||
</template> |
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,15 @@ | ||
<template> | ||
<p class="demo"> | ||
{{ msg }} | ||
</p> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
data() { | ||
return { | ||
msg: 'Hello this is <demo-component>' | ||
} | ||
} | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
const { description } = require('../../package') | ||
// Auto sidebar for Functions, MIT License | ||
// https://techformist.com/automatic-dynamic-sidebar-vuepress/ | ||
// https://techformist.com/license/ | ||
const fs = require("fs"); | ||
const path = require("path"); | ||
|
||
module.exports = { | ||
/** | ||
* Ref:https://v1.vuepress.vuejs.org/config/#title | ||
*/ | ||
title: 'PSAppDeployToolkit', | ||
/** | ||
* Ref:https://v1.vuepress.vuejs.org/config/#description | ||
*/ | ||
description: 'PowerShell Application Deployment Toolkit', | ||
|
||
/** | ||
* Extra tags to be injected to the page HTML `<head>` | ||
* | ||
* ref:https://v1.vuepress.vuejs.org/config/#head | ||
*/ | ||
head: [ | ||
['meta', { name: 'theme-color', content: '#3eaf7c' }], | ||
['meta', { name: 'apple-mobile-web-app-capable', content: 'yes' }], | ||
['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }] | ||
], | ||
|
||
/** | ||
* Theme configuration, here is the default theme configuration for VuePress. | ||
* | ||
* ref:https://v1.vuepress.vuejs.org/theme/default-theme-config.html | ||
*/ | ||
theme: 'reco', | ||
themeConfig: { | ||
noFoundPageByTencent: false, | ||
codeTheme: 'tomorrow', | ||
blogConfig: { | ||
category: { | ||
location: 1, // The position occupied in the navigation bar menu, default to 2 | ||
text: 'Blog' // Text default to "Category" | ||
}, | ||
tag: { | ||
location: 2, // The position occupied in the navigation bar menu, default to 3 | ||
text: 'Tag' // Text default to "Tag" | ||
} | ||
}, | ||
vssueConfig: { | ||
platform: 'github', | ||
owner: 'PSAppDeployToolkit', | ||
repo: 'PSAppDeployToolkit-Website', | ||
clientId: 'YOUR_CLIENT_ID', | ||
clientSecret: 'YOUR_CLIENT_SECRET', | ||
}, | ||
repo: 'https://github.com/PSAppDeployToolkit/PSAppDeployToolkit', | ||
docsRepo: 'https://github.com/PSAppDeployToolkit/PSAppDeployToolkit-Website', | ||
docsDir: '', | ||
editLinks: true, | ||
editLinkText: '', | ||
lastUpdated: true, | ||
nav: [ | ||
{ | ||
text: 'Guide', | ||
link: '/guide/', | ||
icon: 'reco-document' | ||
}, | ||
{ | ||
text: 'Functions', | ||
link: '/functions/', | ||
icon: 'reco-api' | ||
}, | ||
{ | ||
text: 'About', | ||
ariaLabel: 'About Menu', | ||
items: [ | ||
{ text: 'About PSADT', link: '/about/about-psadt' }, | ||
{ text: 'Screenshots', link: '/about/screenshots' }, | ||
{ text: 'Team', link: '/about/team' }, | ||
{ text: 'Donations', link: '/about/donations' }, | ||
{ text: 'Licensing', link: '/about/licensing' }, | ||
], | ||
icon: 'reco-faq' | ||
}, | ||
{ | ||
text: 'Forum', | ||
link: 'https://discourse.psappdeploytoolkit.com/', | ||
icon: 'reco-suggestion' | ||
} | ||
], | ||
sidebar: { | ||
'/guide/': getSideBar('guide','Guide'), | ||
'/functions/': getSideBar('functions','Functions') | ||
} | ||
}, | ||
|
||
/** | ||
* Apply plugins,ref:https://v1.vuepress.vuejs.org/zh/plugin/ | ||
*/ | ||
plugins: [ | ||
'@vuepress/plugin-back-to-top', | ||
'@vuepress/plugin-medium-zoom' | ||
] | ||
} | ||
|
||
function getSideBar(folder, title) { | ||
const extension = [".md"]; | ||
|
||
const files = fs | ||
.readdirSync(path.join(`${__dirname}/../${folder}`)) | ||
.filter( | ||
item => | ||
item.toLowerCase() != "readme.md" && | ||
item != "readme.md" && | ||
fs.statSync(path.join(`${__dirname}/../${folder}`, item)).isFile() && | ||
extension.includes(path.extname(item)) | ||
); | ||
|
||
return [{ title: title, children: ["", ...files] }]; | ||
} |
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,14 @@ | ||
/** | ||
* Client app enhancement file. | ||
* | ||
* https://v1.vuepress.vuejs.org/guide/basic-config.html#app-level-enhancements | ||
*/ | ||
|
||
export default ({ | ||
Vue, // the version of Vue being used in the VuePress app | ||
options, // the options for the root Vue instance | ||
router, // the router instance for the app | ||
siteData // site metadata | ||
}) => { | ||
// ...apply enhancements for the site. | ||
} |
Binary file not shown.
Oops, something went wrong.