Skip to content

Commit 1063621

Browse files
authored
Merge pull request #3488 from jasongrout/introdocs
Add more overview info on docs front page
2 parents 575ce74 + 8e82d1c commit 1063621

File tree

4 files changed

+61
-28
lines changed

4 files changed

+61
-28
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,10 +67,10 @@
6767

6868
master_doc = 'index'
6969
project = 'Jupyter Widgets'
70-
copyright = '2017-2021 Project Jupyter'
70+
copyright = '2017-2022 Project Jupyter'
7171
author = 'Jupyter Team'
7272

73-
language = None
73+
language = "en"
7474
exclude_patterns = [
7575
'**.ipynb_checkpoints',
7676
'examples.md',

docs/source/dev_install.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Developer Install
22

3+
The core Jupyter Widgets packages are developed in the
4+
[https://github.com/jupyter-widgets/ipywidgets](https://github.com/jupyter-widgets/ipywidgets) git repository.
5+
6+
37
## Prerequisites
48

59
To install ipywidgets from git, you will need:

docs/source/developer_docs.rst

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

docs/source/index.rst

Lines changed: 55 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,67 @@
1-
ipywidgets
2-
==========
1+
Jupyter Widgets
2+
===============
33

44
.. only:: html
55

66
:Release: |release|
77
:Date: |today|
88

9-
**ipywidgets**, also known as jupyter-widgets or simply widgets, are
10-
`interactive HTML widgets <https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb>`_
11-
for Jupyter notebooks and the IPython kernel.
9+
Jupyter Widgets are `interactive browser controls
10+
<https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb>`_
11+
for Jupyter notebooks. Examples include:
12+
- Basic form controls like sliders, checkboxes, text inputs
13+
- Container controls like tabs, accordions, horizontal and vertical layout boxes, grid layouts
14+
- Advanced controls like maps, 2d and 3d visualizations, datagrids, and more
1215

13-
Notebooks come alive when interactive widgets are used. Users gain control of
14-
their data and can visualize changes in the data.
16+
Notebooks come alive when interactive widgets are used. Users can visualize and
17+
manipulate their data in intuitive and easy ways. Researchers can easily see
18+
how changing inputs to a model impact the results. Scientists can share
19+
interactive results with graphical user interfaces that others can play with
20+
without seeing code. Exploring, learning, and sharing becomes a fun immersive
21+
experience.
1522

16-
Learning becomes an immersive, fun experience. Researchers can easily see
17-
how changing inputs to a model impact the results. We hope you will add
18-
ipywidgets to your notebooks, and we're here to help you get started.
23+
.. todo: Add screenshot
1924
25+
Core Jupyter Widgets
26+
--------------------
27+
28+
Jupyter Widgets is primarily a framework to provide interactive controls (see
29+
:doc:`examples/Widget Basics` for more information). The ``ipywidgets`` package
30+
also provides a basic, lightweight set of core form controls that *use* this
31+
framework. These included controls include a text area, text box, select and
32+
multiselect controls, checkbox, sliders, tab panels, grid layout, etc.
33+
34+
The framework for building rich interactive objects is the foremost purpose of
35+
the Jupyter Widgets project, and the set of included core form controls is
36+
purposefully kept small and self-contained. We encourage and support a robust
37+
ecosystem of packages built on top of the Jupyter Widgets framework to provide
38+
more complicated interactive objects, such as maps, 2d and 3d visualizations, or
39+
other form control systems built on a variety of popular Javascript frameworks
40+
such as Material or Vue.
41+
42+
See the `Jupyter Widgets wiki page
43+
<https://github.com/jupyter/jupyter/wiki/Jupyter-Widgets>`_ for more information
44+
about custom widget packages built on top of the Jupyter Widgets framework.
45+
46+
Jupyter Widgets components
47+
--------------------------
48+
49+
The Jupyter Widgets framework has several components:
50+
51+
1. A package in the kernel to provide an interface for widgets. The
52+
``ipywidgets`` Python package provides Jupyter Widgets for the IPython
53+
kernel. Other kernels may also provide Jupyter Widgets support.
54+
2. An extension for the browser Jupyter frontend to manage Jupyter Widgets.
55+
Installing ``ipywidgets`` automatically installs extensions for JupyterLab
56+
and Jupyter Notebook (the ``jupyterlab-widgets`` and ``widgetsnbextension``
57+
packages). The Jupyter Widgets project also maintains a plain HTML interface
58+
for embedding Jupyter Widgets on a webpage, and many other frontends support
59+
Jupyter Widgets.
60+
61+
See the `Jupyter Widgets wiki
62+
page <https://github.com/jupyter/jupyter/wiki/Jupyter-Widgets>`_ for more
63+
information from the community about kernels and frontends that support Jupyter Widgets, as well as
64+
some custom widget packages built on top of the Jupyter Widgets framework.
2065

2166
.. toctree::
2267
:caption: User Guide
@@ -46,7 +91,6 @@ ipywidgets to your notebooks, and we're here to help you get started.
4691
:caption: Developer Guide
4792
:maxdepth: 1
4893

49-
developer_docs
5094
dev_install.md
5195
dev_testing.md
5296
dev_docs.md

0 commit comments

Comments
 (0)