27
loading...
This website collects cookies to deliver better user experience
src
: The relative path to the code to pull in, or the URL
where the raw code livessrc
: The relative path to the JSON file to pull in.npm i -g markdown-autodocs
dineshsonachalam@macbook ~ % markdown-autodocs --help
Usage: markdown-autodocs [options]
Options:
-o, --outputFilePath <outputFilePaths...> Output file paths
-c, --category <categories...> code-block, json-to-html-table, workflow-artifact-table
-r, --repo <type> Repo name
-b, --branch <type> Branch name
-a, --accessToken <type> Github Access token
-h, --help display help for command
markdown-autodocs -c code-block -o ./README.md
markdown-autodocs -c json-to-html-table -o ./README.md
markdown-autodocs -c workflow-artifact-table -o ./README.md -r $REPO -b $BRANCH -a $ACCESSTOKEN
uses: dineshsonachalam/markdown-[email protected]
- name: Markdown autodocs
- uses: dineshsonachalam/markdown-[email protected]
with:
# Optional, defaults to author of the commit that triggered the run
commit_author: Author <[email protected]>
# Optional, defaults to "[email protected]"
commit_user_email: [email protected]
# Optional, but recommended
# Defaults to "Apply automatic changes"
commit_message: Apply automatic changes
# Optional branch name where commit should be pushed to.
# Defaults to the current branch.
branch: feature-123
# Optional output file paths, defaults to '[./README.md]'.
output_file_paths: '[./README.md]'
# Categories to automatically sync or transform its contents in the markdown files.
# Defaults to '[code-block,json-to-html-table,workflow-artifact-table]'
categories: '[code-block,json-to-html-table,workflow-artifact-table]'