Skip to content

Commit

Permalink
Updating
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Mar 16, 2024
1 parent 8dce7da commit bbc72ca
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ It creates a list of each markdown file in the folders and displays it under doc
| `folder` || The folder path to start at, default uses `${{github.workspace}}` |
| `filename` || The filename of the generated file. default to `index` |
| `content-file` || The filepath (relative to where the README.md or index.md) where content will be read from and input into index file, default to `.content.md` |
| `include` || The files to additionaly include in the index file, follows grep pattern on the filenames, supports multiple patterns via multi-line string` |
| `exclude` || The files to exclude from the index file, follows grep pattern on the filenames, supports multiple patterns via multi-line string |
| `include` || The files to additionaly include in the index file, follows glob pattern on the filenames, supports multiple patterns via multi-line string` |
| `exclude` || The files to exclude from the index file, follows glob pattern on the filenames, supports multiple patterns via multi-line string |

## Examples

Expand Down Expand Up @@ -74,4 +74,9 @@ jobs:
with:
folder: ${{github.workspace}}
filename: README.md
include: |
*.pdf
*.mobi
*.epub
*.zip
```
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ inputs:
required: false
default: ".content.md"
include:
description: The files to additionaly include in the index file, follows grep pattern on the filenames, supports multiple patterns via multi-line string
description: The files to additionaly include in the index file, follows glob pattern on the filenames, supports multiple patterns via multi-line string
required: false
default: ""
exclude:
description: The files to exclude from the index file, follows grep pattern on the filenames, supports multiple patterns via multi-line string
description: The files to exclude from the index file, follows glob pattern on the filenames, supports multiple patterns via multi-line string
required: false
default: ""
runs:
Expand Down

0 comments on commit bbc72ca

Please sign in to comment.