Skip to content

feat: add --overwrite flag to generator - #182

Merged
sy-records merged 4 commits into
docsifyjs:masterfrom
trousev:feature/generator-allow-overwrite-flag
Jul 28, 2023
Merged

feat: add --overwrite flag to generator#182
sy-records merged 4 commits into
docsifyjs:masterfrom
trousev:feature/generator-allow-overwrite-flag

Conversation

@trousev

@trousev trousev commented Nov 2, 2022

Copy link
Copy Markdown
Contributor

Currently when we want to regenerate _sidebar.md file we have to remove old one and run generator.

This PR adds a flag, --overwrite, which allows to overwrite _sidebar.md

USAGE:

docsify generate ../docs --overwrite
@1337cookie

1337cookie commented Jul 28, 2023

Copy link
Copy Markdown

Works as expected on Windows 10 and Ubuntu 20.04 in WSL.

@sy-records sy-records left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@sy-records
sy-records merged commit 0fd9b1a into docsifyjs:master Jul 28, 2023
@sy-records sy-records changed the title feature: add --overwrite flag to generator Jul 28, 2023
olleolleolle added a commit to lostisland/faraday that referenced this pull request Apr 8, 2026
olleolleolle added a commit to lostisland/faraday that referenced this pull request Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants