Skip to content

Commit

Permalink
📃New Blog Post - Perf improvements for Velaptor v1.0.0-preview.31 (#58)
Browse files Browse the repository at this point in the history
* Start work for issue #57

* Start work for issue #57

* deps,config: install and configure mermaid diagram library

* config: update logo alt image

* docs: add releases item

* docs: update truncate syntax

* docs: change slug for funding post

* refactor: replace single quotes with double

* ide: add snippet for truncate syntax

* config: update start and build scripts to install packages first

* deps: update yarn lock file

* ide: setup tabbing settings for tsx files

* ide: add code snippet for detail blocks

* docs: create blog post

* ci: add allow read permission to deno script execution

* docs: improve blog post paragraph

* docs: further improve blog post

* docs: change date of blog post
  • Loading branch information
CalvinWilkinson authored Jan 2, 2024
1 parent 9c95a04 commit 8d8a64e
Show file tree
Hide file tree
Showing 12 changed files with 2,115 additions and 1,795 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/sync-status-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
5. PAT
#>
deno run `
--allow-net `
--allow-net --allow-read `
"$scriptUrl" `
"${{ vars.ORGANIZATION_NAME }}" `
"${{ vars.PROJECT_NAME }}" `
Expand Down
25 changes: 24 additions & 1 deletion .vscode/mdx-snippets.code-snippets
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,22 @@
],
"description": "Bold Text"
},
"Section": {
"Section": {
"scope": "mdx",
"prefix": "section",
"body": [
"## <span class=\"color-section\">${1: description}</span>\n\n$3"
],
"description": "Section"
},
"Truncate": {
"scope": "mdx",
"prefix": "truncate",
"body": [
"{/*truncate*/}"
],
"description": "Blog Post Truncate"
},
"Sub-Section": {
"scope": "mdx",
"prefix": "sub-section",
Expand Down Expand Up @@ -140,4 +148,19 @@
],
"description": "A new URL component with text."
},
"Details": {
"scope": "mdx",
"prefix": "details",
"body": [
"<details closed>",
"<summary>",
"${1: title}",
"</summary>",
"",
"ADD CONTENT HERE",
"",
"</details>",
],
"description": "A new URL component with text."
},
}
5 changes: 5 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
"editor.insertSpaces": false,
"editor.tabSize": 4
},
"[tsx]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.insertSpaces": false,
"editor.tabSize": 4
},
"[yaml]": {
"editor.defaultFormatter": "vscode.typescript-language-features",
"editor.insertSpaces": true,
Expand Down
5 changes: 2 additions & 3 deletions blog/2023-07-10-deno-cicd/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors: kinson
tags: [deno, cicd, scripting, workflow, github action]
---

import URL from '@site/src/components/URL';
import URL from "@site/src/components/URL";

<br/>
<div align="center">
Expand All @@ -21,8 +21,7 @@ documentation, workflows, status checks, and a readme file, right? I can empath
Though I'm passionate about making sure those things get done and done well, I also understand
that everybody's time is limited and you just want to work on your core project.


<!--truncate-->
{/*truncate*/}

Here's the thing. An investment in those things will pay off in the long run, especially
when it comes to a good CICD pipeline. You're swapping an upfront time investment for long-term
Expand Down
12 changes: 10 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ const config = {

onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",

// Used for creating diagrams
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
// Even if you don't use internalization, you can use this field to set useful
// metadata like html lang. For example, if your site is Chinese, you may want
// to replace "en" with "zh-Hans".
Expand Down Expand Up @@ -121,7 +125,7 @@ const config = {
navbar: {
title: "KinsonDigital",
logo: {
alt: "My Site Logo",
alt: "Site Logo",
src: "img/logo.svg",
},
items: [
Expand All @@ -137,6 +141,10 @@ const config = {
{
label: "KD Org",
to: "/news/tags/kd-org",
},
{
label: "Releases",
to: "/news/tags/releases",
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion news/2023-09-25-added-funding/index.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
slug: news
slug: open-collective-funding-option
title: Introducing a New Funding Option
authors: kinson
tags: [kd-org]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
303 changes: 303 additions & 0 deletions news/2024-1-2-vel-release/index.mdx

Large diffs are not rendered by default.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build",
"start": "yarn install && docusaurus start",
"build": "yarn install && docusaurus build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"clear": "docusaurus clear",
Expand All @@ -19,6 +19,7 @@
"dependencies": {
"@docusaurus/core": "3.0.1",
"@docusaurus/preset-classic": "3.0.1",
"@docusaurus/theme-mermaid": "^3.0.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"prism-react-renderer": "^2.1.0",
Expand Down
Loading

0 comments on commit 8d8a64e

Please sign in to comment.