Verified Commit fe0a42bc authored by Stefano's avatar Stefano
Browse files

Initial Commit

parents
Pipeline #112403034 failed with stage
in 1 minute and 32 seconds
node_modules
yarn.lock
/public/
image: node:9.11.1
pages:
cache:
paths:
- node_modules/
script:
- npm install yarn
- yarn add -D vuepress
- yarn build
artifacts:
paths:
- public
only:
- master
\ No newline at end of file
# Code of Conduct
All participants of Pinewood Builders Security Team are expected to abide by our Code of Conduct, both online and during in-person events that are hosted and/or associated with Pinewood Builders Security Team.
# The Pledge
In the interest of fostering an open and welcoming environment, we pledge to make participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, nationality, personal appearance, race, religion, or sexual identity and orientation.
# The Standards
Examples of behaviour that contributes to creating a positive environment include:
* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Referring to people by their preferred pronouns and using gender-neutral pronouns when uncertain
Examples of unacceptable behaviour by participants include:
* Trolling, insulting/derogatory comments, public or private harassment
* Publishing others' private information, such as a physical or electronic address, without explicit permission
* Not being respectful to reasonable communication boundaries, such as 'leave me alone,' 'go away,' or 'Im not discussing this with you.'
* The usage of sexualised language or imagery and unwelcome sexual attention or advances
* Swearing, usage of strong or disturbing language
* Demonstrating the graphics or any other content you know may be considered disturbing
* Starting and/or participating in arguments related to politics
* Assuming or promoting any kind of inequality including but not limited to: age, body size, disability, ethnicity, gender identity and expression, nationality and race, personal appearance, religion, or sexual identity and orientation
* Drug promotion of any kind
* Attacking personal tastes
* Other conduct which you know could reasonably be considered inappropriate in a professional setting.
# Enforcement
Violations of the Code of Conduct may be reported by sending an email to stefano@stefanocoding.me.
All reports will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. Further details of specific enforcement policies may be posted separately.
We hold the right and responsibility to remove comments or other contributions that are not aligned to this Code of Conduct, or to ban temporarily or permanently any members for other behaviours that they deem inappropriate, threatening, offensive, or harmful.
\ No newline at end of file
This diff is collapsed.
# VuePress Starter Kit
A sample project to let you see what makes VuePress so great!
* [Presentation Slides](https://www.slides.com/bencodezen/vuepress-docs-made-easy)
## Getting Setup
### Requirements
1. [Node.js](https://nodejs.org/en/) v8.0+
### Instructions
1. Clone the repo
2. Run `yarn` or `npm install`
3. Run `yarn dev` or `npm run dev`
## Contributing
This site is built on [VuePress](https://vuepress.vuejs.org/). Please see their [Guide](https://vuepress.vuejs.org/guide/) for more information on how it works.
## Deployment
If you haven't tried it yet, [Netlify](https://www.netlify.com) is highly recommended!
<!-- EMOJIS -->
:rocket: :tada: :100:
<!-- FRONT MATTER -->
---
title: Basic Page Title
meta:
- name: description
content: Custom basic page description
- name: keywords
content: Epic keywords for awesome SEO
---
<!-- GITHUB-STYLE TABLES -->
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
<!-- CODE BLOCK HIGHLIGHTING -->
```js
// Here is some code
let msg = 'this was easy'
const list = [1, 2, 3, 4, 5]
list.forEach(item => {
alert(item)
})
```
<!-- LINE HIGHLIGHTING IN CODE BLOCKS -->
```js{4-6}
// Here is some code
let msg = 'this was easy'
const list = [1, 2, 3, 4, 5]
list.forEach(item => {
alert(item)
})
```
<!-- CUSTOM CONTAINERS -->
::: tip
Here's a tip!
:::
::: warning
And a warning!
:::
::: danger
Something's wrong!
:::
\ No newline at end of file
<template>
<div>
<p>{{ count }}</p>
<button @click="count++">Increment</button>
</div>
</template>
<script>
export default {
name: 'Counter',
data() {
return {
count: 0
}
}
}
</script>
<style>
</style>
module.exports = {
dest: 'public/',
title: 'PBST Handbook 2.0',
head: [
['link', { rel: 'icon', href: `/favicon.png` }]
],
ga: '',
description: 'The unofficiall PBST handbook. (Version 2.0)',
themeConfig: {
repo: 'https://gitlab.com/TCOOfficiall/pbst-handbook.git',
editLinks: false,
editLinkText: '',
lastUpdated: 'Last updated',
nav: [
{
text: 'Home',
link: '/'
},
{
text: 'The Guide',
link: '/guide/'
},
{
text: 'Ranks',
items: [
{
text: 'All PBST Officers Rules',
link: '/ranks/#all-pbst-officers'
},
{
text: 'Trainees',
link: '/ranks/#trainee-s'
},
{
text: 'Tiers',
link: '/ranks/#tiers'
},
{
text: 'Special Defence',
link: '/ranks/#special-defence'
},
{
text: 'Trainers',
link: '/ranks/#trainers'
},
]
},
{
text: 'Contact',
items: [
{
text: 'Discord',
link: 'https://discord.gg/JHUnGsQ'
}
]
}
],
docsDir: 'docs'
}
};
module.exports = {
dest: 'public/',
title: 'PBST Handbook',
description: 'The unofficial PBST Handbook'
themeConfig: {
repo: 'https://gitlab.com/TCOOfficiall/PBST-Handbook',
editLinks: true,
docsDir: 'docs/',
logo: '/PBST-Logo.png',
smoothScroll: true,
},
sidebarDepth: 2,
plugins: [
[
'vuepress-plugin-zooming',
{
selector: '.theme-default-content img.zooming',
delay: 1000,
options: {
bgColor: 'white',
zIndex: 10000,
},
},
],
],
}
\ No newline at end of file
module.exports = [{
text: 'Home',
link: '/de/'
},
{
text: 'PBST Handbuch',
link: '/de/pbst/'
},
]
\ No newline at end of file
module.exports = [{
text: 'Home',
link: '/'
},
{
text: 'PBST Handbook',
link: '/pbst/'
},
{
text: 'Credits',
link: '/credits/'
}
]
\ No newline at end of file
module.exports = [{
text: 'Koti',
link: '/fi/'
},
{
text: 'PBST-käsikirja',
link: '/fi/pbst/'
},
{
text: 'Kiitokset',
link: '/fi/credits/'
}
]
module.exports = [{
text: 'Hoofdpagina',
link: '/nl/'
},
{
text: 'PBST Handboek',
link: '/nl/pbst/'
},
]
\ No newline at end of file
module.exports = [{
text: 'Home',
link: '/'
},
{
text: 'PBST Handbook',
link: '/pl/pbst/'
},
{
text: 'Credits',
link: '/pl/credits/'
}
]
\ No newline at end of file
module.exports = [{
text: '首頁',
link: '/zh/'
},
{
text: 'PBST手冊',
link: '/zh/pbst/'
},
]
\ No newline at end of file
The MIT License (MIT)
Copyright (c) 2018-present, Yuxi (Evan) You
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
<template>
<form
id="search-form"
class="algolia-search-wrapper search-box"
role="search"
>
<input
id="algolia-search-input"
class="search-query"
:placeholder="placeholder"
>
</form>
</template>
<script>
export default {
props: ['options'],
data () {
return {
placeholder: undefined
}
},
mounted () {
this.initialize(this.options, this.$lang)
this.placeholder = this.$site.themeConfig.searchPlaceholder || ''
},
methods: {
initialize (userOptions, lang) {
Promise.all([
import(/* webpackChunkName: "docsearch" */ 'docsearch.js/dist/cdn/docsearch.min.js'),
import(/* webpackChunkName: "docsearch" */ 'docsearch.js/dist/cdn/docsearch.min.css')
]).then(([docsearch]) => {
docsearch = docsearch.default
const { algoliaOptions = {}} = userOptions
docsearch(Object.assign(
{},
userOptions,
{
inputSelector: '#algolia-search-input',
// #697 Make docsearch work well at i18n mode.
algoliaOptions: Object.assign({
'facetFilters': [`lang:${lang}`].concat(algoliaOptions.facetFilters || [])
}, algoliaOptions),
handleSelected: (input, event, suggestion) => {
const { pathname, hash } = new URL(suggestion.url)
this.$router.push(`${pathname}${hash}`)
}
}
))
})
},
update (options, lang) {
this.$el.innerHTML = '<input id="algolia-search-input" class="search-query">'
this.initialize(options, lang)
}
},
watch: {
$lang (newValue) {
this.update(this.options, newValue)
},
options (newValue) {
this.update(newValue, this.$lang)
}
}
}
</script>
<style lang="stylus">
.algolia-search-wrapper
& > span
vertical-align middle
.algolia-autocomplete
line-height normal
.ds-dropdown-menu
background-color #fff
border 1px solid #999
border-radius 4px
font-size 16px
margin 6px 0 0
padding 4px
text-align left
&:before
border-color #999
[class*=ds-dataset-]
border none
padding 0
.ds-suggestions
margin-top 0
.ds-suggestion
border-bottom 1px solid $borderColor
.algolia-docsearch-suggestion--highlight
color #2c815b
.algolia-docsearch-suggestion
border-color $borderColor
padding 0
.algolia-docsearch-suggestion--category-header
padding 5px 10px
margin-top 0
background $accentColor
color #fff
font-weight 600
.algolia-docsearch-suggestion--highlight
background rgba(255, 255, 255, 0.6)
.algolia-docsearch-suggestion--wrapper
padding 0
.algolia-docsearch-suggestion--title
font-weight 600
margin-bottom 0
color $textColor
.algolia-docsearch-suggestion--subcategory-column
vertical-align top
padding 5px 7px 5px 5px
border-color $borderColor
background #f1f3f5
&:after
display none
.algolia-docsearch-suggestion--subcategory-column-text
color #555
.algolia-docsearch-footer
border-color $borderColor
.ds-cursor .algolia-docsearch-suggestion--content
background-color #e7edf3 !important
color $textColor
@media (min-width: $MQMobile)
.algolia-search-wrapper
.algolia-autocomplete
.algolia-docsearch-suggestion
.algolia-docsearch-suggestion--subcategory-column
float none
width 150px
min-width 150px
display table-cell
.algolia-docsearch-suggestion--content
float none
display table-cell
width 100%
vertical-align top
.ds-dropdown-menu
min-width 515px !important
@media (max-width: $MQMobile)
.algolia-search-wrapper
.ds-dropdown-menu
min-width calc(100vw - 4rem) !important
max-width calc(100vw - 4rem) !important
.algolia-docsearch-suggestion--wrapper
padding 5px 7px 5px 5px !important
.algolia-docsearch-suggestion--subcategory-column
padding 0 !important
background white !important
.algolia-docsearch-suggestion--subcategory-column-text:after
content " > "
font-size 10px
line-height 14.4px
display inline-block
width 5px
margin -3px 3px 0
vertical-align middle
</style>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment