0.0.5 • Published 1 year ago

index-markdown-repo v0.0.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

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
0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago