summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHynek Schlawack <hs@ox.cx>2022-08-18 08:50:58 +0200
committerHynek Schlawack <hs@ox.cx>2022-08-18 08:50:58 +0200
commit837bd093d02f1e9d3c8d78471762772f59940919 (patch)
treefd23ffb8772ea5393cce712a2dc619c4a8eacaca
parent66223a2eadc885af523f7d1392006502031b3e36 (diff)
downloadjsonschema-837bd093d02f1e9d3c8d78471762772f59940919.tar.gz
Cut the middle part
-rw-r--r--README.rst4
-rw-r--r--pyproject.toml5
2 files changed, 9 insertions, 0 deletions
diff --git a/README.rst b/README.rst
index 0003c50..fe45039 100644
--- a/README.rst
+++ b/README.rst
@@ -91,6 +91,8 @@ Installation
$ pip install jsonschema
+<!-- start cut from PyPI -->
+
Running the Test Suite
----------------------
@@ -125,6 +127,8 @@ schemas can be found there.
Otherwise, asking questions on Stack Overflow is another means of
getting help if you're stuck.
+<!-- end cut from PyPI -->
+
About
-----
diff --git a/pyproject.toml b/pyproject.toml
index 46b6ed6..24a2a63 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -81,6 +81,11 @@ content-type = "text/x-rst"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
path = "README.rst"
+end-before = "<!-- start cut from PyPI -->"
+
+[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
+path = "README.rst"
+start-after = "<!-- end cut from PyPI -->\n\n\n"
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
text = """