-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
197 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ dist | |
coverage | ||
**/*.d.ts | ||
tests | ||
docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -113,3 +113,4 @@ dmypy.json | |
|
||
# built labextension | ||
jupyter_videochat/labextension | ||
docs/_build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ node_modules | |
**/package.json | ||
**/build | ||
**/dist | ||
docs/_build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
version: 2 | ||
|
||
conda: | ||
environment: docs/environment.yml | ||
|
||
sphinx: | ||
builder: html | ||
configuration: docs/conf.py | ||
fail_on_warning: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```{include} ../CHANGELOG.md | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
"""documentation for jupyterlite""" | ||
import datetime | ||
import json | ||
import os | ||
from pathlib import Path | ||
from configparser import ConfigParser | ||
|
||
RTD = json.loads(os.environ.get("READTHEDOCS", "False").lower()) | ||
|
||
CONF_PY = Path(__file__) | ||
HERE = CONF_PY.parent | ||
ROOT = HERE.parent | ||
APP_PKG = ROOT / "package.json" | ||
APP_DATA = json.loads(APP_PKG.read_text(encoding="utf-8")) | ||
|
||
SETUP_CFG = ROOT / "setup.cfg" | ||
SETUP_DATA = ConfigParser() | ||
SETUP_DATA.read_file(SETUP_CFG.open()) | ||
|
||
# metadata | ||
author = APP_DATA["author"] | ||
project = SETUP_DATA["metadata"]["name"] | ||
copyright = f"{datetime.date.today().year}, {author}" | ||
|
||
# The full version, including alpha/beta/rc tags | ||
release = APP_DATA["version"] | ||
|
||
# The short X.Y version | ||
version = ".".join(release.rsplit(".", 1)) | ||
|
||
# sphinx config | ||
extensions = [ | ||
# first-party sphinx extensions | ||
"sphinx.ext.todo", | ||
"sphinx.ext.autosectionlabel", | ||
# for pretty schema | ||
"sphinx-jsonschema", | ||
# mostly markdown (some ipynb) | ||
"myst_nb", | ||
# autodoc-related stuff must be in order | ||
"sphinx.ext.autodoc", | ||
"sphinx.ext.napoleon", | ||
] | ||
|
||
autosectionlabel_prefix_document = True | ||
myst_heading_anchors = 3 | ||
suppress_warnings = ["autosectionlabel.*"] | ||
|
||
# files | ||
# templates_path = ["_templates"] | ||
# html_favicon = "../app/lab/favicon.ico" | ||
# rely on the order of these to patch json, labextensions correctly | ||
html_static_path = [ | ||
# docs stuff | ||
"_static", | ||
] | ||
exclude_patterns = [ | ||
"_build", | ||
".ipynb_checkpoints", | ||
"**/.ipynb_checkpoints", | ||
"**/~.*", | ||
"**/node_modules", | ||
"babel.config.*", | ||
"jest-setup.js", | ||
"jest.config.js", | ||
"jupyter_execute", | ||
".jupyter_cache", | ||
"test/", | ||
"tsconfig.*", | ||
"webpack.config.*", | ||
] | ||
jupyter_execute_notebooks = "auto" | ||
|
||
execution_excludepatterns = [ | ||
"_static/**/*", | ||
] | ||
# html_css_files = [ | ||
# "theme.css", | ||
# ] | ||
|
||
# theme | ||
html_theme = "pydata_sphinx_theme" | ||
html_logo = "_static/logo.svg" | ||
html_theme_options = { | ||
"github_url": APP_DATA["homepage"], | ||
"use_edit_page_button": True, | ||
} | ||
|
||
html_context = { | ||
"github_user": "jupyterlab-contrib", | ||
"github_repo": "jupyter-videochat", | ||
"github_version": "master", | ||
"doc_path": "docs", | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```{include} ../CONTRIBUTING.md | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: jupyter-videochat-docs | ||
|
||
channels: | ||
- conda-forge | ||
|
||
dependencies: | ||
# run | ||
- escapism | ||
- jupyterlab >=3,<4 | ||
- python >=3,6,<3.10 | ||
# build | ||
- nodejs >=14,<15 | ||
- pip | ||
- twine | ||
# docs | ||
- myst-nb | ||
- pydata-sphinx-theme | ||
- sphinx | ||
- sphinx-jsonschema | ||
# check | ||
- pytest-check-links | ||
- hunspell | ||
- hunspell-en |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# jupyter-videochat | ||
|
||
> Video Chat with JupyterHub peers (or the world) inside JupyterLab, powered by [Jitsi]. | ||
![jupyter-videochat screenshot][lab-screenshot] | ||
|
||
## Quick Start | ||
|
||
```bash | ||
pip install jupyter-videochat | ||
``` | ||
|
||
This will install: | ||
|
||
- a Python package named `jupyter-videochat` on PyPI, which offers: | ||
- a `jupyter_server` extension which provides convenient, [configurable](./user-guide.md#configuration) | ||
defaults for rooms on a JupyterHub | ||
- will start as soon as you re-launch your `jupyter_server` | ||
- a JupyterLab 3+ _federated extension_ named `jupyterlab-videochat` | ||
- will be available immediately | ||
- can launch a meet via [URL](./user-guide.md#start-a-meet-by-url) | ||
- also distributed on [npm] | ||
- for more about the TypeScript/JS API, see the [developer guide](./developer-guide.md) | ||
|
||
## Learn More | ||
|
||
```{toctree} | ||
:maxdepth: 2 | ||
user-guide | ||
developer-guide | ||
changelog | ||
``` | ||
|
||
[npm]: https://www.npmjs.com/package/jupyterlab-videochat | ||
[jupyterhub]: https://github.com/jupyterhub/jupyterhub | ||
[jitsi]: https://jitsi.org | ||
[lab-screenshot]: | ||
https://user-images.githubusercontent.com/45380/106391412-312d0400-63bb-11eb-9ed9-af3c4fe85ee4.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
```{include} ../README.md | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters