Skip to content

Commit

Permalink
Testing contents files
Browse files Browse the repository at this point in the history
  • Loading branch information
DaanV2 committed Dec 28, 2023
1 parent 3b00411 commit 34f4035
Show file tree
Hide file tree
Showing 8 changed files with 258 additions and 1,476 deletions.
9 changes: 0 additions & 9 deletions .eslintrc.yml

This file was deleted.

9 changes: 5 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ It creates a list of each markdown file in the folders and displays it under doc

## Inputs

| Parameters | Optional | Description |
| ---------- | -------- | ----------------------------------------------------------------- |
| `folder` || The folder path to start at, default uses `${{github.workspace}}` |
| `filename` || The filename of the generated file. default to `index` |
| Parameters | Optional | Description |
| -------------- | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `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` |

## Examples

Expand Down
4 changes: 4 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ inputs:
description: The name of the file, default to 'index.md'
required: false
default: index.md
content:
description: The content of to add to the index file, default to '.content.md'
required: false
default: '.content.md'
runs:
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 34f4035

Please sign in to comment.