Skip to content

Commit

Permalink
cleanup (#888)
Browse files Browse the repository at this point in the history
* remove binder

* update readme badges
  • Loading branch information
CagtayFabry authored Aug 25, 2023
1 parent 741cfce commit 513cb0c
Show file tree
Hide file tree
Showing 11 changed files with 8 additions and 89 deletions.
28 changes: 0 additions & 28 deletions .binder/environment.yml

This file was deleted.

3 changes: 0 additions & 3 deletions .binder/postBuild

This file was deleted.

17 changes: 0 additions & 17 deletions .github/workflows/trigger_binder_build.yml

This file was deleted.

1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ recursive-include weldx/schemas *.yaml
recursive-include weldx/manifests *.yaml
include CITATION.cff

prune .binder
prune .github
prune devtools
prune doc
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@
<hl/>

[![CF](https://anaconda.org/conda-forge/weldx/badges/version.svg)](https://anaconda.org/conda-forge/weldx)
[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/BAMWelDX/weldx/master?urlpath=lab/tree/tutorials/welding_example_01_basics.ipynb)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/5e7ede6d978249a781e5c580ed1c813f)](https://www.codacy.com/gh/BAMWelDX/weldx)
[![DeepSource](https://static.deepsource.io/deepsource-badge-light-mini.svg)](https://deepsource.io/gh/BAMWelDX/weldx/?ref=repository-badge)
[![Documentation](https://readthedocs.org/projects/weldx/badge/?version=latest)](https://weldx.readthedocs.io/en/latest/?badge=latest)
[![License](https://img.shields.io/badge/License-BSD%203--Clause-orange.svg)](https://opensource.org/licenses/BSD-3-Clause)
[![Zenodo](https://zenodo.org/badge/DOI/10.5281/zenodo.5565185.svg)](https://doi.org/10.5281/zenodo.5565185)
[![codecov](https://codecov.io/gh/BAMWelDX/weldx/branch/master/graph/badge.svg)](https://codecov.io/gh/BAMWelDX/weldx)
[![conda build](https://github.com/BAMWelDX/weldx/workflows/conda%20build/badge.svg?branch=master)](https://github.com/BAMWelDX/weldx/actions?query=workflow%3A%22conda+build%22+branch%3Amaster)
[![documentation-gh](https://github.com/BAMWelDX/weldx/workflows/documentation/badge.svg?branch=master)](https://github.com/BAMWelDX/weldx/actions?query=workflow%3Adocumentation+branch%3Amaster)
[![package builds](https://github.com/BAMWelDX/weldx/workflows/package%20builds/badge.svg?branch=master)](https://github.com/BAMWelDX/weldx/actions?query=workflow%3A%22package%20builds%22+branch%3Amaster)
[![documentation-gh](https://github.com/BAMWelDX/weldx/workflows/documentation%20builds/badge.svg?branch=master)](https://github.com/BAMWelDX/weldx/actions?query=workflow%3Adocumentation%20builds+branch%3Amaster)
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/BAMWelDX/weldx/master.svg)](https://results.pre-commit.ci/latest/github/BAMWelDX/weldx/master)
[![pytest](https://github.com/BAMWelDX/weldx/workflows/pytest/badge.svg?branch=master)](https://github.com/BAMWelDX/weldx/actions?query=workflow%3Apytest+branch%3Amaster)
[![static analysis](https://github.com/BAMWelDX/weldx/workflows/static%20analysis/badge.svg?branch=master)](https://github.com/BAMWelDX/weldx/actions?query=workflow%3A%22static+analysis%22+branch%3Amaster)
Expand Down
15 changes: 1 addition & 14 deletions doc/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,20 +173,7 @@ def _prevent_sphinx_circular_imports_bug():
]

# This is processed by Jinja2 and inserted before each notebook
nbsphinx_prolog = r"""
{% set docname = env.doc2path(env.docname, base=None).replace("\\","/") %}
.. only:: html
.. role:: raw-html(raw)
:format: html
.. nbinfo::
Run the interactive online version of this notebook (takes 1-2 minutes to load):
:raw-html:`<a href="https://mybinder.org/v2/gh/BAMWelDX/weldx/master?urlpath=lab/tree/{{ docname }}"><img alt="Binder badge" src="https://mybinder.org/badge_logo.svg" style="vertical-align:text-bottom"></a>`
"""
# nbsphinx_prolog = ""

nbsphinx_epilog = """
----
Expand Down
5 changes: 1 addition & 4 deletions doc/src/tutorials/01_01_introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
"\n",
"However, we strongly recommend to run and read the tutorials in a running jupyter-lab session.\n",
"Some features like interactive plots can only be displayed correctly by a jupyter server.\n",
"In case you don't have the `weldx` package or jupyter-lab installed yet but want to test the tutorial code, you can click on the binder link button that can be found at the top of each tutorial in the online version of the documentation.\n",
"This will start a virtual machine with everything set up correctly that you can access through your browser.\n",
"\n",
"## Opening and navigating through WelDX Files\n",
Expand Down Expand Up @@ -102,9 +101,7 @@
"If you are running a jupyter notebook, you can use the `header` method of `WeldxFile` to get a nicely rendered overview of the file content. \n",
"The output might vary if you are running the classic notebook environment or a Jupyter-Lab environment.\n",
"In the latter case, you will get an interactive, clickable tree view to navigate through the file content.\n",
"Uncomment the code in the next cell to try it out:\n",
"\n",
"> HINT: Remember that you can start a jupyter-lab version of this notebook in our online documentation by clicking at the binder link at the start of this tutorial"
"Uncomment the code in the next cell to try it out:\n"
]
},
{
Expand Down
4 changes: 1 addition & 3 deletions doc/src/tutorials/01_02_time_dependent_data.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,7 @@
"metadata": {},
"source": [
"Now let's plot the welding voltage. \n",
"Try to interact with the plot if you are running this tutorial as a jupyter notebook.\n",
"\n",
"> HINT: Remember that you can run the code of this tutorial by clicking on the binder link at the beginning"
"Try to interact with the plot if you are running this tutorial as a jupyter notebook.\n"
]
},
{
Expand Down
5 changes: 1 addition & 4 deletions doc/src/tutorials/01_03_geometry.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -298,10 +298,7 @@
"By default, `plot` relies on matplotlib as rendering backend.\n",
"We have already mentioned before that this is not ideal for 3d renderings.\n",
"Therefore, the `weldx` package offers an alternative for jupyter notebook users.\n",
"You can select the `k3d` package as rendering backend as follows:\n",
"\n",
"> HINT: In the plain html documentation, you can't interact with the plots. \n",
" Click on the binder link button at the beginning of the tutorial to start a jupyter-lab session of this tutorial."
"You can select the `k3d` package as rendering backend as follows:\n"
]
},
{
Expand Down
5 changes: 1 addition & 4 deletions doc/src/tutorials/01_04_coordinate_systems.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,7 @@
"So we can safely use the original CSM that we stored in the variable `csm`.\n",
"\n",
"The CSM's `plot`method offers a high level of interactivity when using `k3d` as renderer.\n",
"This reduces the amount of parameters you need to remember or look up if you want to modify the graphical output to your liking.\n",
"\n",
"> Note that the the control surfaces below the plot are not functional in the online documentation.\n",
"You can start a jupyter-lab server inside your browser by clicking at the binder link at the start of this tutorial."
"This reduces the amount of parameters you need to remember or look up if you want to modify the graphical output to your liking.\n"
]
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
"\n",
"This tutorial builds upon the [tutorial about coordinate systems](transformations_01_coordinate_systems.ipynb), but its content can still be understood without reading the other one first.\n",
"\n",
"> HINT: \n",
"> This tutorial contains interactive plots. \n",
"> In the readthedocs/html version of this tutorial, the function set is very limited.\n",
"> By clicking on the binder-link at the top of the document, you can start a fully interactive jupyter-lab online session of this tutorial.\n",
"\n",
"## Imports"
]
},
Expand Down Expand Up @@ -336,9 +331,7 @@
"If you are running a jupyter notebook, you can use k3d as rendering backend.\n",
"It has a much more powerful rendering engine suited for 3d plots that can handle a vast amount of data and provides an interactive rendering window.\n",
"Furthermore, the `plot` function of the CSM creates some additional control surfaces if k3d is used.\n",
"This gives you the opportunity to modify the plot directly using buttons, checkboxes, sliders, etc. instead of recreating it with a different set of function parameters: \n",
"\n",
"> HINT: Note that some of the interactive functionality can't be used in the readthedocs documentation. Click on the binder link at the top of the document to start a jupyter-lab session that runs this tutorial online."
"This gives you the opportunity to modify the plot directly using buttons, checkboxes, sliders, etc. instead of recreating it with a different set of function parameters: \n"
]
},
{
Expand Down

0 comments on commit 513cb0c

Please sign in to comment.