Skip to content

Commit 84a3e4d

Browse files
🩹 [Patch]: Move documentation and link to Process-PSModule (#28)
## Description This pull request makes minor updates to the project metadata by simplifying the display names in both the `README.md` and `action.yml` files. The changes remove branding elements and redundant text for a cleaner presentation. * Project naming: * Simplified the project name by removing redundant "(by PSModule)" from both the `README.md` and the `action.yml` files. [[1]](diffhunk://#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5L1-R3) [[2]](diffhunk://#diff-1243c5424efaaa19bd8e813c5e6f6da46316e63761421b3e5f5c8ced9a36e6b6L1-L6) * Metadata cleanup: * Removed the branding section (icon and color) from `action.yml` for a more streamlined configuration. * Documentation: * Shortened the project description in `README.md` by removing detailed usage instructions and focusing on the association with the PSModule framework.
1 parent da2a725 commit 84a3e4d

File tree

2 files changed

+3
-50
lines changed

2 files changed

+3
-50
lines changed

README.md

Lines changed: 2 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,3 @@
1-
# Document-PSModule (by PSModule)
1+
# Document-PSModule
22

3-
A GitHub Action that automates the generation of documentation for PowerShell modules using Markdown help files.
4-
5-
This GitHub Action is a part of the [PSModule framework](https://github.com/PSModule). It is recommended to use the
6-
[Process-PSModule workflow](https://github.com/PSModule/Process-PSModule) to automate the whole process of managing the PowerShell module.
7-
8-
## Details
9-
10-
This action:
11-
- Installs necessary modules, including `platyPS` for documentation generation.
12-
- Loads helper scripts required by the documentation process.
13-
- Generates Markdown documentation from PowerShell module files.
14-
- Ensures Markdown documentation is properly formatted, with correctly tagged PowerShell code blocks.
15-
- Adjusts Markdown file paths to mirror the structure of the source PowerShell module files.
16-
- Outputs organized Markdown documentation suitable for publishing or distribution.
17-
18-
## Usage
19-
20-
Include this action in your workflow to automatically build and structure documentation for your PowerShell module.
21-
22-
### Inputs
23-
24-
| Input | Description | Required | Default |
25-
|--------------------|-----------------------------------------------|----------|-------------|
26-
| `Name` | Name of the module to document. | No | <Repo name> |
27-
| `WorkingDirectory` | Directory from which the script will execute. | No | `.` |
28-
| `ShowSummaryOnSuccess` | Show GitHub Step Summary even when all commands succeed. | No | `false` |
29-
30-
### Secrets
31-
32-
This action does not require any secrets.
33-
34-
### Outputs
35-
36-
This action does not have defined outputs.
37-
38-
### Example
39-
40-
```yaml
41-
- name: Document PowerShell Module
42-
uses: PSModule/Document-PSModule@v1
43-
with:
44-
Name: 'MyModule'
45-
WorkingDirectory: './module-directory'
46-
ShowSummaryOnSuccess: true # Optional: Show summary even on success
47-
```
3+
This GitHub Action is a part of the [PSModule framework](https://github.com/PSModule).

action.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
1-
name: Document-PSModule (by PSModule)
1+
name: Document-PSModule
22
description: Build documentation for a PowerShell module.
33
author: PSModule
4-
branding:
5-
icon: package
6-
color: gray-dark
74

85
inputs:
96
Name:

0 commit comments

Comments
 (0)