Skip to content

Conversation

backdround
Copy link
Contributor

@backdround backdround commented Nov 17, 2023

It's an ability to set custom title's date pattern.

with github-action:

      - name: panvimdoc
        uses: kdheepak/panvimdoc@main
        with:
          vimdoc: improved-search.nvim
          titledatepattern: "%Y"

with command line:

../panvimdoc/panvimdoc.sh --project-name "improved-search.nvim" --input-file ./README.md --title-date-pattern "%Y"

I tested it manually with panvimdoc.sh and with action. It works with and without the flag as expected.

Sorry for the late request

@kdheepak
Copy link
Owner

kdheepak commented Nov 17, 2023

This looks great! Do you think you can add at least one test for this too? If not no worries, I'll add one later and merge.

@backdround backdround mentioned this pull request Nov 17, 2023
@kdheepak kdheepak changed the title feat: Add option for setting date pattern #57 feat: Add option for setting date pattern Nov 18, 2023
@kdheepak kdheepak merged commit 3d527e3 into kdheepak:main Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants