jupyter-book / mystmd

Command line tools for working with MyST Markdown.
https://mystmd.org/guide
MIT License
191 stars 61 forks source link

🤫 Update gitignore based on `git check-ignore` #1484

Closed rowanc1 closed 2 weeks ago

rowanc1 commented 3 weeks ago

MyST was previously creating .gitignore's in subfolders of a git repository. We only want that to happen if the main repo does not already ignore _build.

This updates the logic to be based on git check-ignore _build rather than parsing the .gitignore in the current folder (and not traversing upwards, etc.)

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: 2718809465ff158bad0d1ce51b642cd489c7d9aa

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | -------- | ----- | | myst-cli | Patch | | mystmd | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR