From 2fa32da4e96cff689baac333bee76eb3b7655520 Mon Sep 17 00:00:00 2001 From: wpbonelli Date: Fri, 15 Sep 2023 09:22:24 -0400 Subject: [PATCH] docs(binder): remove configuration, links, badges (#1947) * https://discourse.jupyter.org/t/mybinder-org-reducing-capacity-unstable/19163 * https://blog.jupyter.org/mybinder-org-reducing-capacity-c93ccfc6413f --- .docs/prolog.rst | 2 +- README.md | 2 -- binder/postBuild | 8 -------- scripts/update_version.py | 6 ------ 4 files changed, 1 insertion(+), 17 deletions(-) delete mode 100755 binder/postBuild diff --git a/.docs/prolog.rst b/.docs/prolog.rst index f80f86e4b..3efa2ef7d 100644 --- a/.docs/prolog.rst +++ b/.docs/prolog.rst @@ -5,6 +5,6 @@ .. note:: - | This page was generated from `{{ docname[:-6] }}`__. Download as :download:`a Jupyter notebook (.ipynb) <../{{ docname }}>` or :download:`Python script (.py) <../{{ docname[:-6] }}.py>` or launch interactively with Binder :raw-html:`Binder badge.` + | This page was generated from `{{ docname[:-6] }}`__. Download as :download:`a Jupyter notebook (.ipynb) <../{{ docname }}>` or :download:`Python script (.py) <../{{ docname[:-6] }}.py>`. __ https://github.com/modflowpy/flopy/blob/develop/.docs/{{ docname[:-6] }}.py \ No newline at end of file diff --git a/README.md b/README.md index 113a79949..eace01e9f 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,6 @@ [![PyPI Status](https://img.shields.io/pypi/status/flopy.png)](https://pypi.python.org/pypi/flopy) [![PyPI Versions](https://img.shields.io/pypi/pyversions/flopy.png)](https://pypi.python.org/pypi/flopy) -[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/modflowpy/flopy.git/develop) - Introduction ----------------------------------------------- diff --git a/binder/postBuild b/binder/postBuild deleted file mode 100755 index 0d53a66c1..000000000 --- a/binder/postBuild +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -# install modflow & related executables to the Python bindir -get-modflow :python - -# required for jupytext -# https://jupytext.readthedocs.io/en/latest/faq.html#can-i-use-jupytext-with-jupyterhub-binder-nteract-colab-saturn-or-azure -jupyter lab build diff --git a/scripts/update_version.py b/scripts/update_version.py index c7ecdd369..19390073d 100644 --- a/scripts/update_version.py +++ b/scripts/update_version.py @@ -190,12 +190,6 @@ def update_readme_markdown( "(https://coveralls.io/github/modflowpy/" "flopy?branch=develop)" ) - elif "[Binder]" in line: - # [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/modflowpy/flopy.git/develop) - line = ( - "[![Binder](https://mybinder.org/badge_logo.svg)]" - "(https://mybinder.org/v2/gh/modflowpy/flopy.git/develop)" - ) elif "doi.org/10.5066/F7BK19FH" in line: line = get_software_citation(timestamp, version, approved) elif "Disclaimer" in line: