Skip to content

Commit

Permalink
Dedup PyPI readme
Browse files Browse the repository at this point in the history
  • Loading branch information
hynek committed Jul 4, 2023
1 parent 19f8366 commit 188cb7f
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ text = "# *stamina*: Production-grade Retries Made Easy"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "README.md"
start-after = "## Production-grade Retries Made Easy"
end-before = "## Project Information"


[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
Expand All @@ -78,8 +79,13 @@ start-after = "<!-- changelog follows -->"
pattern = "\n(###.+?\n)## "

[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "README.md"
start-at = "## License"
text = """
---
[→ Full Changelog](https://github.com/hynek/stamina/blob/main/CHANGELOG.md)
"""


[tool.pytest.ini_options]
Expand Down

0 comments on commit 188cb7f

Please sign in to comment.