Skip to content

Commit 53fb46f

Browse files
committed
improve description
1 parent cfbc2d4 commit 53fb46f

File tree

4 files changed

+25
-30
lines changed

4 files changed

+25
-30
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ repos:
99
- id: isort
1010
name: isort
1111
- repo: https://github.com/pre-commit/mirrors-prettier
12-
rev: v2.7.1
12+
rev: v3.0.0-alpha.4
1313
hooks:
1414
- id: prettier

README.md

+7-10
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
# ReactPy · [![Tests](https://github.com/reactive-python/reactpy/workflows/test/badge.svg)](https://github.com/reactive-python/reactpy/actions?query=workflow%3ATest) [![PyPI Version](https://img.shields.io/pypi/v/reactpy.svg)](https://pypi.python.org/pypi/reactpy) [![License](https://img.shields.io/badge/License-MIT-purple.svg)](https://github.com/reactive-python/reactpy/blob/main/LICENSE)
22

3-
ReactPy is a library for building user interfaces in Python without any Javascript.
4-
Interfaces made using ReactPy are composed of encapsulated components which look and
5-
behave similarly to those found in [ReactJS](https://reactjs.org/). These components are
6-
easy to create and reason about when you're getting started, as well as simple to extend
7-
and maintain when you need to make changes later.
8-
9-
Whether you need to run a full blown application with a standalone server, or just want
10-
try things out in a Jupyter Notebook. ReactPy has you covered - it's both approachable
11-
for those without web development experience while also being powerful enough to grow
12-
with your ambitions.
3+
ReactPy is a library for building user interfaces in Python without Javascript. ReactPy
4+
interfaces are made from components which look and behave similarly to this found in
5+
[ReactJS](https://reactjs.org/). Designed with simplicity in mind, ReactPy can be used
6+
by those without web development experience while also being powerful enough to grow
7+
with your ambitions. It has you covered whether you need to run a full blown application
8+
with a standalone server, or simply want try things out in a
9+
[Jupyter Notebook](https://jupyter.org/).
1310

1411
<table>
1512
<thead>

docs/README.md

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# ReactPy's Documentation
22

3-
We provide two main ways to run the docs. Both use `nox` which has a `noxfile.py` at the
4-
root of the repository. Running the docs with `nox -s docs` will start up an iteractive
5-
session which will rebuild the docs any time a file is modified. Using `nox -s docs_in_docker` on the other hand, will build a docker image and run the docs from
6-
there. The latter command mimics how the docs will behave in production. As such, if any
7-
changes to the core of the documentation are made (i.e. to non-`*.rst` files), then you
8-
should run a manual test of the documentation using the `docs_in_docker` session.
3+
We provide two main ways to run the docs. Both use
4+
[`nox`](https://pypi.org/project/nox/):
95

10-
If you with to build and run the docs by hand you need to perform two commands, each
6+
- `nox -s docs` - displayes the docs and rebuilds when files are modified.
7+
- `nox -s docs-in-docker` - builds a docker image and runs the docs from there.
8+
9+
If any changes to the core of the documentation are made (i.e. to non-`*.rst` files),
10+
then you should run a manual test of the documentation using the `docs_in_docker`
11+
session.
12+
13+
If you wish to build and run the docs by hand you need to perform two commands, each
1114
being run from the root of the repository:
1215

1316
- `sphinx-build -b html docs/source docs/build`

docs/source/index.rst

+7-12
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,13 @@ ReactPy
3838
Source Code <https://github.com/reactive-python/reactpy>
3939
Community <https://github.com/reactive-python/reactpy/discussions>
4040

41-
42-
ReactPy is a library for building user interfaces in Python without any Javascript.
43-
These interfaces are composed of encapsulated :ref:`"components" <Your First
44-
Components>` which look and behave similarly to those found in `ReactJS
45-
<https://reactjs.org/>`__. Components made using ReactPy are easy to create and reason
46-
about when you're getting started, as well as simple to extend and maintain when you
47-
have to make changes later.
48-
49-
Whether you need to run a full blown application with a standalone server, or just want
50-
try things out in a Jupyter Notebook. ReactPy has you covered - it's both approachable
51-
for those without web development experience while also being powerful enough to grow
52-
with your ambitions.
41+
ReactPy is a library for building user interfaces in Python without Javascript. ReactPy
42+
interfaces are made from :ref:`components <Your First Components>` which look and behave
43+
similarly to this found in `ReactJS <https://reactjs.org/>`__. Designed with simplicity
44+
in mind, ReactPy can be used by those without web development experience while also
45+
being powerful enough to grow with your ambitions. It has you covered whether you need
46+
to run a full blown application with a standalone server, or simply want try things out
47+
in a `Jupyter Notebook <https://jupyter.org/>`__.
5348

5449

5550
At a Glance

0 commit comments

Comments
 (0)