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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
Author: Andreas Tille <tille@debian.org>
Last-Update: Wed, 02 Oct 2019 09:37:28 +0200
Description: Prevent privacy breach in docs
Forwarded: not-needed
--- brian.orig/dev/tools/docs/build_tutorials.py
+++ brian/dev/tools/docs/build_tutorials.py
@@ -53,7 +53,7 @@
note = deindent('''
.. only:: html
- .. |launchbinder| image:: http://mybinder.org/badge.svg
+ .. |launchbinder| image:: file:///usr/share/doc/python-brian-doc/docs/badge.svg
.. _launchbinder: https://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=tutorials/{tutorial}.ipynb
.. note::
@@ -120,7 +120,7 @@
'''
for tutorial, _ in tutorials:
text += indent(deindent('''
- .. |launchbinder{tutid}| image:: http://mybinder.org/badge.svg
+ .. |launchbinder{tutid}| image:: file:///usr/share/doc/python-brian-doc/docs/badge.svg
.. _launchbinder{tutid}: https://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=tutorials/{tutorial}.ipynb
'''.format(tutorial=tutorial, tutid=tutorial.replace('-', ''))))
--- brian.orig/README.md
+++ brian/README.md
@@ -14,28 +14,9 @@
> Stimberg, M, Brette, R, Goodman, DFM. “Brian 2, an Intuitive and Efficient Neural Simulator.” eLife 8 (2019): e47314. doi: [10.7554/eLife.47314](https://doi.org/10.7554/eLife.47314).
-
-[](https://pypi.python.org/pypi/Brian2)
-[](https://anaconda.org/conda-forge/brian2)
-[](https://packages.debian.org/testing/python3-brian)
-[](https://packages.fedoraproject.org/pkgs/python-brian2/python3-brian2/)
-[](https://packages.spack.io/package.html?name=py-brian2)
-[](https://aur.archlinux.org/packages/python-brian2)
-
-[](https://hub.docker.com/r/briansimulator/brian)
-[](https://zenodo.org/doi/10.5281/zenodo.14717489)
-[](https://archive.softwareheritage.org/browse/origin/?origin_url=https://github.com/brian-team/brian2)
-[](https://archive.softwareheritage.org/swh:1:rel:ebe093b900f2e7bca5f790820549353d569ad6b1;origin=https://github.com/brian-team/brian2;visit=swh:1:snp:9fe208825df28a39f95474965cd171d690744327)
-
-[](CODE_OF_CONDUCT.md)
-[](https://brian.discourse.group)
-[](https://brian.discourse.group/chat)
-[](https://github.com/psf/black)
-
## Quickstart
-Try out Brian on the [mybinder](https://mybinder.org/) service:
-[](https://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=index.ipynb)
+[Try out Brian on the mybinder service.](https://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=index.ipynb)
## Dependencies
The following packages need to be installed to use Brian 2 (cf. [`pyproject.toml`](pyproject.toml)):
@@ -63,10 +44,3 @@
* pytest
* pytest-xdist (optional)
-
-## Testing status for master branch
-
-[](https://github.com/brian-team/brian2/actions/workflows/testsuite.yml)
-[](https://github.com/brian-team/brian2/actions/workflows/publish.yml)
-[](https://coveralls.io/r/brian-team/brian2?branch=master)
-[](https://brian2.readthedocs.io/en/stable/?badge=stable)
--- brian.orig/brian2/sphinxext/generate_examples.py
+++ brian/brian2/sphinxext/generate_examples.py
@@ -143,7 +143,7 @@
note = f"""
.. only:: html
- .. |launchbinder| image:: http://mybinder.org/badge.svg
+ .. |launchbinder| image:: file:///usr/share/doc/python-brian-doc/docs/badge.svg
.. _launchbinder: https://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=examples/{exname.replace('.', '/')}.ipynb
.. note::
--- brian.orig/docs_sphinx/index.rst
+++ brian/docs_sphinx/index.rst
@@ -17,7 +17,7 @@
install Brian, using the Binder service (note: sometimes this service is down
or running slowly):
- .. image:: http://mybinder.org/badge.svg
+ .. image:: file:///usr/share/doc/python-brian-doc/docs/badge.svg
:target: http://mybinder.org/v2/gh/brian-team/brian2-binder/master?filepath=demo.ipynb
Once you have a feel for what is involved in using Brian, we recommend you
|