index-markdown-repo
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

index-markdown-repo

Add navigation to a GitHub repo of Markdown files

Usage

Designed to be run as GitHub Workflow.

Put the following into .github/workflows/index-markdown.yaml:

name: index-markdown-repo
on:
  pull_request_target:
    branches:
      - 'main'
jobs:
  build:
    runs-on: ubuntu-latest
    timeout-minutes: 5
    permissions:
      contents: write
    steps:
      - uses: actions/checkout@v2
        with:
          ref: ${{ github.head_ref }}
      - run: npx index-markdown-repo && git add -A .
      - uses: stefanzweifel/git-auto-commit-action@v4
        with:
          commit_message: Automatically update Markdown nav

Tip

To browse the results locally:

$ pip install grip
$ grip

Readme

Keywords

none

Package Sidebar

Install

npm i index-markdown-repo

Weekly Downloads

5

Version

0.0.5

License

Apache-2.0

Unpacked Size

65.6 kB

Total Files

17

Last publish

Collaborators

  • rix0rrr