You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 [Feature]: Publish module docs using Material on MkDocs (#34)
## Description
- Uses newest version of Build-PSModule to build the docs folder for
creating the site.
- Publish docs to GitHub Pages using MkDocs.
## Type of change
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [ ] 📖 [Docs]
- [ ] 🪲 [Fix]
- [ ] 🩹 [Patch]
- [ ] ⚠️ [Security fix]
- [x] 🚀 [Feature]
- [ ] 🌟 [Breaking change]
## Checklist
<!-- Use the check-boxes [x] on the options that are relevant. -->
- [x] I have performed a self-review of my own code
- [x] I have commented my code, particularly in hard-to-understand areas
description: The path to the output directory for the documentation.
27
27
required: false
28
28
default: outputs/docs
29
+
SiteOutputPath:
30
+
type: string
31
+
description: The path to the output directory for the site.
32
+
required: false
33
+
default: outputs/site
29
34
SkipTests:
30
35
type: string
31
36
description: Defines what types of tests to skip. Allowed values are 'All', 'SourceCode', 'Module', 'None', 'macOS', 'Windows', 'Linux', 'Desktop', 'Core'.
@@ -45,14 +50,19 @@ on:
45
50
description: Whether the version is a prerelease.
46
51
required: false
47
52
default: false
53
+
PublishDocs:
54
+
type: boolean
55
+
description: Whether to publish the documentation using MkDocs and GitHub Pages.
56
+
required: false
57
+
default: true
48
58
49
59
env:
50
60
GITHUB_TOKEN: ${{ github.token }} # Used for GitHub CLI authentication
51
61
52
62
permissions:
53
-
contents: write
54
-
pull-requests: write
55
-
statuses: write
63
+
contents: write# to checkout the repo and create releases on the repo
64
+
pull-requests: write# to write comments to PRs
65
+
statuses: write# to update the status of the workflow from linter
0 commit comments