From cac26dfd40ce7f146e0c61af86ffd03baa2f4990 Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Sat, 22 Feb 2020 20:14:23 +0000 Subject: [PATCH] docs --- README.md | 4 ++-- docs/source/traceback.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b6b3c63b..b24cddd8 100644 --- a/README.md +++ b/README.md @@ -210,8 +210,8 @@ Here's what it looks like on OSX (similar on Linux): ![traceback](./imgs/traceback.png) -Here's what it looks like on Linux. +Here's what it looks like on Windows: ![traceback_windows](./imgs/traceback_windows.png) -See the [rich traceback](https://rich.readthedocs.io/en/latest/traceback) documentation for the details. +See the [rich traceback](https://rich.readthedocs.io/en/latest/traceback.htmls) documentation for the details. diff --git a/docs/source/traceback.rst b/docs/source/traceback.rst index 13e91fe9..1debad2c 100644 --- a/docs/source/traceback.rst +++ b/docs/source/traceback.rst @@ -7,7 +7,7 @@ Rich can render Python tracebacks with syntax highlighting and formatting. Rich Printing tracebacks ------------------- -The :meth:`~rich.console.Console.print_exception` method will print a traceback for the current exception being handled. +The :meth:`~rich.console.Console.print_exception` method will print a traceback for the current exception being handled. Here's an example:: try: do_something()