Skip to content

Commit 70609c1

Browse files
committed
docs: Remove pytermgui again from gallery as it causes issues
It writes ANSI sequences to the console, it hangs when output is captured, and recently it seems it started to raise `SystemExit`.
1 parent 2c757cd commit 70609c1

File tree

3 files changed

+0
-52
lines changed

3 files changed

+0
-52
lines changed

docs/gallery.md

-12
Original file line numberDiff line numberDiff line change
@@ -97,18 +97,6 @@ pydeps uses [Graphviz](https://graphviz.org/) under the hood to generate graphs.
9797
```
9898
````
9999

100-
### with [PyTermGUI](https://github.com/bczsalba/pytermgui)
101-
102-
> Python TUI framework with mouse support, modular widget system, customizable and rapid terminal markup language and more!
103-
104-
````md exec="1" source="tabbed-right"
105-
```python exec="true" html="true"
106-
--8<-- "gallery/pytermgui.py"
107-
```
108-
````
109-
110-
TIP: There's a PyTermGUI-dedicated MkDocs plugin that allows to generate SVGs on-the-fly: [Termage](https://github.com/bczsalba/Termage). It is implemented using regular expressions in the `on_markdown` event of MkDocs, so is probably less robust than our actual SuperFence implementation here, but also allows for less verbose source to generate the SVG snippets.
111-
112100
## Console output
113101

114102
If you installed Markdown Exec with the `ansi` extra (`pip install markdown-exec[ansi]`), the ANSI colors in the output of shell commands will be translated to HTML/CSS, allowing to render them naturally in your documentation pages. For this to happen, use the [`result="ansi"` option](http://localhost:8000/markdown-exec/usage/#wrap-result-in-a-code-block).

docs/snippets/gallery/pytermgui.py

-39
This file was deleted.

pyproject.toml

-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ ci = [
114114
"matplotlib>=3.9; python_version == '3.12'",
115115
"numpy>=2.1; python_version == '3.12'",
116116
"textual>=1.0; python_version == '3.12'",
117-
"pytermgui>=7.7; python_version == '3.12'",
118117
"pipdeptree>=2.25; python_version == '3.12'",
119118
"pip>=25; python_version == '3.12'",
120119
"pygments>=2.19; python_version == '3.12'",

0 commit comments

Comments
 (0)