Skip to content

Commit 036ac05

Browse files
committed
disable live demos
1 parent a828dc9 commit 036ac05

File tree

6 files changed

+3
-43
lines changed

6 files changed

+3
-43
lines changed

docs/blog/posts/release1.0.0.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,7 @@ I wanted to write-up some of the solutions we came up with, and the 1.0 mileston
2828

2929
<!-- more -->
3030

31-
If you haven't followed along with Textual's development, here is a demo of what it can do.
32-
This is a Textual app, running remotely, served by your browser:
33-
34-
<a href="https://textual-web.io/textualize/demo" target="_blank">
35-
Launch Textual Demo
36-
</a>
37-
38-
I cheaped out on the VMs &mdash; so if the demo is down, you could run it locally (with [uv](https://docs.astral.sh/uv/)):
31+
Run the demo with a single line (with [uv](https://docs.astral.sh/uv/) is installed):
3932

4033
```
4134
uvx --python 3.12 textual-demo

docs/guide/widgets.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -633,10 +633,6 @@ Here's a sketch of what the app should ultimately look like:
633633

634634
There are three types of built-in widget in the sketch, namely ([Input](../widgets/input.md), [Label](../widgets/label.md), and [Switch](../widgets/switch.md)). Rather than manage these as a single collection of widgets, we can arrange them into logical groups with compound widgets. This will make our app easier to work with.
635635

636-
??? textualize "Try in Textual-web"
637-
638-
<div class="textual-web-demo" data-app="byte03"></div>
639-
640636
### Identifying components
641637

642638
We will divide this UI into three compound widgets:

docs/how-to/design-a-layout.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ Here's our sketch:
2626

2727
It's rough, but it's all we need.
2828

29-
30-
??? textualize "Try in Textual-web"
31-
32-
<div class="textual-web-demo" data-app="layout06"></div>
33-
34-
3529
## Tip 2. Work outside in
3630

3731
Like a sculpture with a block of marble, it is best to work from the outside towards the center.

docs/how-to/package-with-hatch.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The packaging process for Textual apps is much the same as any Python library, w
66

77
!!! tip
88

9-
An alternative to packaging your app is to turn it into a web application with [textual-web](https://github.com/Textualize/textual-web).
9+
An alternative to packaging your app is to turn it into a web application with [textual-serve](https://github.com/Textualize/textual-serve).
1010

1111
In this How To we will cover how to use [Hatch](https://github.com/pypa/hatch) to package an example application.
1212

docs/index.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Welcome to the [Textual](https://github.com/Textualize/textual) framework docume
2424
Textual is a *Rapid Application Development* framework for Python, built by [Textualize.io](https://www.textualize.io).
2525

2626

27-
Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal *or* a [web browser](https://github.com/Textualize/textual-web)!
27+
Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal *or* a [web browser](https://github.com/Textualize/textual-serve)!
2828

2929

3030

@@ -78,14 +78,6 @@ Build sophisticated user interfaces with a simple Python API. Run your apps in t
7878
</div>
7979

8080

81-
---
82-
83-
# Live Demo
84-
85-
The official [Textual demo](https://github.com/textualize/textual-demo).
86-
87-
<div class="textual-web-demo" data-app="demo"></div>
88-
8981

9082
---
9183

docs/tutorial.md

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,6 @@ Here's what the finished app will look like:
3737
This is the [Command Palette](./guide/command_palette.md).
3838
You can think of it as a dedicated command prompt for your app.
3939

40-
### Try it out!
41-
42-
The following is *not* a screenshot, but a fully interactive Textual app running in your browser.
43-
44-
45-
!!! textualize "Try in Textual-web"
46-
47-
<div class="textual-web-demo" data-app="tutorial"></div>
48-
49-
50-
!!! tip
51-
52-
See [textual-web](https://github.com/Textualize/textual-web) if you are interested in publishing your Textual apps on the web.
53-
54-
5540
### Get the code
5641

5742
If you want to try the finished Stopwatch app and follow along with the code, first make sure you have [Textual installed](getting_started.md) then check out the [Textual](https://github.com/Textualize/textual) repository:

0 commit comments

Comments
 (0)