Skip to content

Commit

Permalink
Move .gitignore out of docs autosummary dir
Browse files Browse the repository at this point in the history
Sometimes it is necessary to delete all Sphinx `autosummary` files
in order to generate them from scratch.
For example, if a Python file is removed from source code
its corresponding autosummary `.rst` file remains.

The easy way is to delete the `autosummary` directory.
But then the `.gitignore` file is deleted as well,
which is inconvenient.
  • Loading branch information
fabcor-maxiv committed Mar 21, 2024
1 parent 3ed02c8 commit 3df262f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 7 additions & 0 deletions docs/source/dev/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#


/autosummary/


# EOF
7 changes: 0 additions & 7 deletions docs/source/dev/autosummary/.gitignore

This file was deleted.

0 comments on commit 3df262f

Please sign in to comment.