Skip to content

Commit

Permalink
Merge pull request #156 from lsst-sqre/tickets/DM-38388-0.7
Browse files Browse the repository at this point in the history
DM-38388: Backport for 0.7
  • Loading branch information
jonathansick authored Mar 20, 2023
2 parents f6f6522 + 9cbb88a commit 0a24725
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 0.7.3 (2023-03-20)

Fixes:

- Add `requirements.txt` and `.venv`/`venv` to the default `exclude_patterns` for User Guides.

## 0.7.2 (2023-03-01)

Fixes:
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -176,3 +176,4 @@ strict_equality = true
warn_redundant_casts = true
warn_unreachable = true
warn_unused_ignores = true
plugins = ["pydantic.mypy"]
11 changes: 10 additions & 1 deletion src/documenteer/conf/guide.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,16 @@

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ["_build", "README.rst", "README.md"]
exclude_patterns = [
"_build",
"README.rst",
"README.md",
".venv",
"venv",
"requirements.txt",
".github",
".tox",
]

if _conf.rst_epilog_path:
exclude_patterns.append(str(_conf.rst_epilog_path))
Expand Down

0 comments on commit 0a24725

Please sign in to comment.