Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
HeyItsGilbert committed Oct 11, 2024
1 parent 113273d commit 1564f9b
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 40 deletions.
11 changes: 10 additions & 1 deletion .frontmatter/database/mediaDb.json
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
{"static":{"img":{}}}
{
"static": {
"img": {}
},
"docs": {
"static": {
"img": {}
}
}
}
7 changes: 6 additions & 1 deletion .frontmatter/database/taxonomyDb.json
Original file line number Diff line number Diff line change
@@ -1 +1,6 @@
{}
{
"taxonomy": {
"tags": [],
"categories": []
}
}
27 changes: 2 additions & 25 deletions blog/authors.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,4 @@
yangshun:
name: Yangshun Tay
title: Front End Engineer @ Facebook
url: https://github.com/yangshun
image_url: https://github.com/yangshun.png
page: true
socials:
x: yangshunz
github: yangshun

slorber:
name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
page:
# customize the url of the author page at /blog/authors/<permalink>
permalink: '/all-sebastien-lorber-articles'
socials:
x: sebastienlorber
linkedin: sebastienlorber
github: slorber
newsletter: https://thisweekinreact.com

# https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog#authors-file
heyitsgilbert:
name: Gilbert Sanchez
title: Core Contributor
Expand All @@ -30,4 +7,4 @@ heyitsgilbert:
socials:
x: HeyItsGilbertS
linkedin: gilbertsanchez
github: HeyItsGilbert
github: HeyItsGilbert
11 changes: 7 additions & 4 deletions docs/code_of_conduct.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Contributor Covenant Code of Conduct
---
title: Contributor Covenant Code of Conduct
description: Learn how we expect our community members to conduct themselves.
---

## Our Pledge

Expand Down Expand Up @@ -39,7 +42,7 @@ This Code of Conduct applies within all community spaces, and also applies when

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [email protected]. All complaints will be reviewed and investigated promptly and fairly.
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at <[email protected]>. All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the reporter of any incident.

Expand Down Expand Up @@ -74,11 +77,11 @@ Community leaders will follow these Community Impact Guidelines in determining t
## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 2.0,
available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
available at <https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.

Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
<https://www.contributor-covenant.org/faq>. Translations are available at <https://www.contributor-covenant.org/translations>.
9 changes: 4 additions & 5 deletions docs/tutorial-basics/parameters-properties.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
---
title: Parameters & Properties
description: "How to use parameters and properties in your build script."
sidebar_position: 11
---

# Parameters & Properties

To summarize the differences between passing parameters and properties to the
`Invoke-psake` function:

* Parameters and Properties can both be passed to the Invoke-psake function
* Parameters and "properties" can both be passed to the Invoke-psake function
simultaneously
* Parameters are set before any `properties` blocks are run
* Properties are set after all `properties` blocks have run
* Parameters are set before any "properties" blocks are run
* Properties are set after all "properties" blocks have run

## Parameters

Expand Down
4 changes: 2 additions & 2 deletions docs/tutorial-basics/tasks.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
sidebar_position: 4
title: Tasks
description: "Learn how to use the most important building block in psake: The Task"
---
# Tasks

At the core of psake is the task. In it's simplest form you have a task with a
name and an action.
Expand Down
136 changes: 134 additions & 2 deletions frontmatter.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,138 @@
{
"title": "docs",
"path": "[[workspace]]/docs"
},
{
"title": "commands",
"path": "[[workspace]]/docs/commands"
}
],
"frontMatter.content.snippets": {
"MDX: Code Snippet": {
"description": "Markdown 'code' template\"",
"body": [
"```[[language]] title='[[title]]'",
"",
"```"
],
"fields": [
{
"name": "language",
"title": "language",
"type": "choice",
"single": true,
"default": "powershell",
"choices": [
"bash",
"c",
"clike",
"coffeescript",
"cpp",
"css",
"diff",
"git",
"go",
"graphql",
"handlebars",
"javascript",
"json",
"jsx",
"less",
"makefile",
"markdown",
"markup",
"objectivec",
"ocaml",
"powershell",
"python",
"reason",
"sass",
"scss",
"sql",
"stylus",
"tsx",
"typescript",
"wasm",
"yaml"
]
},
{
"name": "title",
"title": "title",
"type": "string",
"single": true,
"default": ""
}
]
},
"Markdown Image Snippet": {
"body": "![[[&caption]]]([[&mediaUrl]] [[&title]])",
"description": "",
"isMediaSnippet": true
},
"Markdown Frontmatter Sidebar Snippet": {
"body": [
"---",
"sidebar_label: [[sidebar_label]]",
"sidebar_position: [[sidebar_position]]",
"---"
],
"description": "",
"fields": [
{
"name": "sidebar_label",
"title": "sidebar_label",
"type": "string",
"single": true,
"default": ""
},
{
"name": "sidebar_position",
"title": "sidebar_position",
"type": "string",
"single": true,
"default": ""
}
]
},
"Markdown Admonitions": {
"body": [
":::[[type]] [[title]]",
"[[selection]]",
":::"
],
"description": "Markdown 'admonition' template.",
"fields": [
{
"name": "type",
"title": "type",
"type": "choice",
"single": true,
"default": "note",
"choices": [
"note",
"tip",
"info",
"caution",
"danger"
]
},
{
"name": "title",
"title": "title",
"type": "string",
"single": true,
"default": ""
},
{
"name": "selection",
"title": "selection",
"type": "string",
"single": true,
"default": "FM_SELECTED_TEXT"
}
]
}
]
}
},
"frontMatter.website.host": "https://psake.dev"
}

0 comments on commit 1564f9b

Please sign in to comment.