Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add option for setting date pattern #60

Merged
merged 2 commits into from
Nov 18, 2023
Merged

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
1 check passed
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