1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
Description: Remove notebooks/* non-free files reference from conf.py
These files are non-free and were removed from upstream orig tarball.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2024-04-22
--- python-contextily-1.5.2+dfsg1.orig/docs/conf.py
+++ python-contextily-1.5.2+dfsg1/docs/conf.py
@@ -80,28 +80,6 @@ intersphinx_mapping = {
# ---------------------------------------------------------------------------
-# Copy notebooks into the docs/ directory so sphinx sees them
-
-HERE = pathlib.Path(os.path.abspath(os.path.dirname(__file__)))
-
-
-files_to_copy = [
- "notebooks/add_basemap_deepdive.ipynb",
- "notebooks/intro_guide.ipynb",
- "notebooks/places_guide.ipynb",
- "notebooks/providers_deepdive.ipynb",
- "notebooks/warping_guide.ipynb",
- "notebooks/working_with_local_files.ipynb",
- "notebooks/friends_gee.ipynb",
- "notebooks/friends_cenpy_osmnx.ipynb",
- "tiles.png",
-]
-
-
-for filename in files_to_copy:
- shutil.copy(HERE / ".." / filename, HERE)
-
-
# convert README to rst
subprocess.check_output(["pandoc", "--to", "rst", "-o", "README.rst", "../README.md"])
|