updated pbtest link
diff --git a/docs/advanced.rst b/docs/advanced.rst
index da99dac..1ef7fdb 100644
--- a/docs/advanced.rst
+++ b/docs/advanced.rst
@@ -1533,7 +1533,7 @@
Sphinx [#f4]_ has the ability to inspect the signatures and documentation
strings in pybind11-based extension modules to automatically generate beautiful
-documentation in a variety formats. The pbtest repository [#f5]_ contains a
+documentation in a variety formats. The python_example repository [#f5]_ contains a
simple example repository which uses this approach.
There are two potential gotchas when using this approach: first, make sure that
@@ -1561,4 +1561,4 @@
)mydelimiter");
.. [#f4] http://www.sphinx-doc.org
-.. [#f5] http://github.com/pybind/pbtest
+.. [#f5] http://github.com/pybind/python_example
diff --git a/docs/compiling.rst b/docs/compiling.rst
index 886ab0d..9ec3bc2 100644
--- a/docs/compiling.rst
+++ b/docs/compiling.rst
@@ -7,9 +7,9 @@
For projects on PyPI, building with setuptools is the way to go. Sylvain Corlay
has kindly provided an example project which shows how to set up everything,
including automatic generation of documentation using Sphinx. Please refer to
-the [pbtest]_ repository.
+the [python_example]_ repository.
-.. [pbtest] https://github.com/pybind/pbtest
+.. [python_example] https://github.com/pybind/python_example
Building with cppimport
========================