From 73bfb7608788a6d23b39de17732379e98d96b1f3 Mon Sep 17 00:00:00 2001 From: JP Etcheber Date: Wed, 29 May 2024 23:45:36 -0700 Subject: [PATCH] docs: fixup docs and use modern version of Sphinx --- docs/layouts.md | 2 +- docs/requirements.txt | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/docs/layouts.md b/docs/layouts.md index 65c4c60..ebc7772 100644 --- a/docs/layouts.md +++ b/docs/layouts.md @@ -58,7 +58,7 @@ By using `None` as a border style, the built-in borders are not used, and the pr Finally, there is also a `custom_border` function available in Dashport Borders which makes custom borders using unicode characters a bit more flexible than what the native curses method allows. Borders in the native curses method cannot represent a lot of unicode characters, due to the way the characters are handled in ncurses. Using dashport, you can set a list of 8 characters to represent the upper left, upper right, lower left, lower right, left vertical, right vertical, top horizontal, and bottom horizontal characters and apply that to any panel on the screen. -In the example below (from the [custom_borders.py](examples/layouts/custom_borders,py) example), the border_characters list is using the import of BoxDrawing, aliased as boxes, to get the exact characters needed, and then passing that, with the panel, into the `custom_border` function. +In the example below (from the [custom_borders.py](../examples/layouts/custom_borders.py) example), the border_characters list is using the import of BoxDrawing, aliased as boxes, to get the exact characters needed, and then passing that, with the panel, into the `custom_border` function. ``` #!/usr/bin/env python3 diff --git a/docs/requirements.txt b/docs/requirements.txt index 7b08eec..b2d527d 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,9 +1,9 @@ -Sphinx==4.5.0 -sphinx-rtd-theme==1.0.0 -sphinxcontrib-applehelp==1.0.2 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.0 -sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 -myst-parser==0.17.2 +Sphinx +sphinx-rtd-theme +sphinxcontrib-applehelp +sphinxcontrib-devhelp +sphinxcontrib-htmlhelp +sphinxcontrib-jsmath +sphinxcontrib-qthelp +sphinxcontrib-serializinghtml +myst-parser