Skip to content

Commit

Permalink
Autogenerate doc site examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaunLawrie committed Mar 14, 2024
1 parent 49004c1 commit 4b1afea
Show file tree
Hide file tree
Showing 196 changed files with 4,436 additions and 1,290 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
**/*.cast merge=ours linguist-generated=true
3 changes: 2 additions & 1 deletion .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- prerelease

permissions:
contents: write
Expand All @@ -22,7 +23,7 @@ jobs:
$ErrorActionPreference = "Stop"
& .\PwshSpectreConsole\Build.ps1
Install-Module HelpOut -Scope CurrentUser -Force
& .\PwshSpectreConsole.Docs\UpdateDocs.ps1 -NonInteractive
& .\PwshSpectreConsole.Docs\UpdateDocs.ps1 -NonInteractive -Branch "${{ github.ref_name }}"
git config --global user.name 'Shaun Lawrie (via GitHub Actions)'
git config --global user.email '[email protected]'
git add PwshSpectreConsole.Docs/src/content || true
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
"powershell.codeFormatting.preset": "OTBS",
"editor.formatOnPaste": false,
"editor.formatOnSave": false,
"editor.formatOnType": false
"editor.formatOnType": false,
"editor.tabSize": 4
}
212 changes: 0 additions & 212 deletions PwshSpectreConsole.Docs/UpdateDocs.ps1

This file was deleted.

2 changes: 1 addition & 1 deletion PwshSpectreConsole.Docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ export default defineConfig({
tailwind({
applyBaseStyles: false,
}),
],
]
});
Loading

0 comments on commit 4b1afea

Please sign in to comment.