Skip to content

Commit b81350e

Browse files
authored
build: Migrate notebooks directory (#186)
Part of a process to breakout the notebooks directory into a separate branch for easier maintainence. All subsequent notebook PRs should be made against the notebooks branch. This PR removes notebooks, updates the binderhub link to reference the new layout and updates the documentation.
1 parent a1869ac commit b81350e

6 files changed

Lines changed: 22 additions & 2246 deletions

File tree

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ Added
1010

1111
- isort for automatic import sorting
1212

13+
Updated
14+
~~~~~~~
15+
16+
- Remove notebooks directory as we break it out into a `separate repository <https://github.com/open-strateos/txpy_jupyter_notebooks>`_
17+
1318
Fixed
1419
~~~~~
1520

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Version Compatibility
3232
---------------------
3333

3434
TxPy is written with Python 3.6+ compatibility in mind. Python 2 is no
35-
longer officialy supported.
35+
longer officially supported.
3636

3737
General Setup
3838
-------------

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ RUN mkdir /pip_cache && \
2828
ENV XDG_CONFIG_HOME /pip_cache
2929
ENV PYTHON_EGG_CACHE /python_eggs
3030

31-
# Install Jupyter
32-
RUN pip install --no-cache-dir notebook==5.*
31+
# Install Jupyter, nbgitpuller for separate notebook/environment
32+
RUN pip install --no-cache-dir notebook==5.* && \
33+
pip install nbgitpuller
3334

3435
# Install TxPy
3536
RUN pip install 'transcriptic[jupyter, analysis]'

README.rst

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,23 @@ Here’s an example script for installing it on a bash shell in your
106106
Documentation
107107
-------------
108108

109+
CLI
110+
~~~
111+
109112
See the `Transcriptic Developer
110113
Documentation <https://developers.transcriptic.com/docs/getting-started-with-the-cli>`__
111114
for detailed information about how to use this package, including
112115
learning about how to package protocols and build releases.
113116

117+
Jupyter
118+
~~~~~~~
119+
120+
Click on the |Binder| icon to open an interactive notebook environment
121+
for using the library.
122+
123+
Developer
124+
~~~~~~~~~
125+
114126
View `Developer Specific
115127
Documentation <http://transcriptic.readthedocs.io/en/latest/>`__
116128

@@ -137,4 +149,4 @@ Read `Contributing <http://transcriptic.readthedocs.io/en/latest/contributing.ht
137149
.. |Downloads| image:: https://img.shields.io/pypi/dm/transcriptic?logo=pypi
138150
:target: https://transcriptic.readthedocs.io/en/latest
139151
.. |Binder| image:: https://mybinder.org/badge_logo.svg
140-
:target: https://mybinder.org/v2/gh/strateos/transcriptic/master
152+
:target: https://mybinder.org/v2/gh/strateos/transcriptic/master?urlpath=git-pull%3Frepo%3Dhttps%253A%252F%252Fgithub.com%252Fopen-strateos%252Ftxpy_jupyter_notebooks%26urlpath%3Dtree%252Ftxpy_jupyter_notebooks%252Findex.ipynb%26branch%3Dmain

notebooks/analysis.ipynb

Lines changed: 0 additions & 1080 deletions
This file was deleted.

0 commit comments

Comments
 (0)