Skip to content

Commit

Permalink
docs: add some images
Browse files Browse the repository at this point in the history
  • Loading branch information
zhudotexe committed Jul 17, 2024
1 parent d412d1b commit a7ae71a
Show file tree
Hide file tree
Showing 14 changed files with 33 additions and 2 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ $ OPENAI_API_KEY="..." python -m redel.server

## Screenshots

TODO
![The ReDel homepage](docs/_static/home.png)

![Interactive](docs/_static/delegate2.png)

![Loading saved logs](docs/_static/loader.png)

![Replay](docs/_static/replay.png)

## Usage

Expand Down
Binary file added docs/_static/busytree.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/delegate1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/delegate2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/demo1.mov
Binary file not shown.
Binary file added docs/_static/demo1.webm
Binary file not shown.
3 changes: 3 additions & 0 deletions docs/_static/furo_fixes.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
video {
max-width: 100%;
}
Binary file added docs/_static/home.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/loader.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/replay.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"sphinx_inline_tabs", # https://sphinx-inline-tabs.readthedocs.io/en/latest/usage.html
"sphinx_copybutton", # https://sphinx-copybutton.readthedocs.io/en/latest/
"sphinxemoji.sphinxemoji", # https://sphinxemojicodes.readthedocs.io/en/stable/
"sphinxcontrib.video", # https://sphinxcontrib-video.readthedocs.io/en/latest/quickstart.html
"myst_parser",
]

Expand All @@ -43,6 +44,10 @@
# html_favicon = "_extra/favicon.ico"
html_baseurl = "https://redel.readthedocs.io/en/latest/"

html_css_files = [
"furo_fixes.css",
]

nitpicky = True
nitpick_ignore_regex = [
(r"py:class", r"aiohttp\..*"), # aiohttp intersphinx is borked
Expand Down
11 changes: 11 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,17 @@ Features
built by a big tech organization with their own motives. Everything in ReDel is implemented in pure, idiomatic Python
and permissively licensed.

Screenshots
-----------

.. image:: _static/home.png

.. image:: _static/delegate2.png

.. image:: _static/loader.png

.. image:: _static/replay.png

Quickstart (EMNLP Demo)
-----------------------

Expand Down
7 changes: 6 additions & 1 deletion docs/redel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ReDel is a toolkit for researchers and developers to build, iterate on, and anal
It consists of two main parts: a Python library for building, running, and logging systems, and a web visualizer
to view system logs and interact with systems in a sandbox environment.

.. todo some kind of video here
.. video:: _static/demo1.webm

What is a recursive multi-agent system?
---------------------------------------
Expand Down Expand Up @@ -208,6 +208,11 @@ way to provide this is to change ``ReDel`` to ``dict``.
# VizServer.serve() makes the web interface available at 127.0.0.1:8000 by default
server.serve()
This will allow you to chat with the current configuration and visualize the computation tree:

.. image:: _static/delegate2.png
:width: 1000

See :doc:`viz` for more information about the web interface.

Programmatic
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ furo~=2024.5.6
matplotlib>=3.0.0,<4.0.0 # depended on by opengraph
myst-parser~=3.0.1
sphinx~=7.4.5
sphinxcontrib-video~=0.2.1
sphinxemoji~=0.3.1
sphinx-copybutton~=0.5.2
sphinx-inline-tabs~=2023.4.21
Expand Down

0 comments on commit a7ae71a

Please sign in to comment.