Skip to content

Commit 44cf059

Browse files
authored
Merge pull request #2772 from jwilk-forks/spelling
Fix typos
2 parents 8c297cb + e94d98d commit 44cf059

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/source/progress.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ Transient progress displays are useful if you want more minimal output in the te
8282
Indeterminate progress
8383
~~~~~~~~~~~~~~~~~~~~~~
8484

85-
When you add a task it is automatically *started*, which means it will show a progress bar at 0% and the time remaining will be calculated from the current time. This may not work well if there is a long delay before you can start updating progress; you may need to wait for a response from a server or count files in a directory (for example). In these cases you can call :meth:`~rich.progress.Progress.add_task` with ``start=False`` or ``total=None`` which will display a pulsing animation that lets the user know something is working. This is know as an *indeterminate* progress bar. When you have the number of steps you can call :meth:`~rich.progress.Progress.start_task` which will display the progress bar at 0%, then :meth:`~rich.progress.Progress.update` as normal.
85+
When you add a task it is automatically *started*, which means it will show a progress bar at 0% and the time remaining will be calculated from the current time. This may not work well if there is a long delay before you can start updating progress; you may need to wait for a response from a server or count files in a directory (for example). In these cases you can call :meth:`~rich.progress.Progress.add_task` with ``start=False`` or ``total=None`` which will display a pulsing animation that lets the user know something is working. This is known as an *indeterminate* progress bar. When you have the number of steps you can call :meth:`~rich.progress.Progress.start_task` which will display the progress bar at 0%, then :meth:`~rich.progress.Progress.update` as normal.
8686

8787
Auto refresh
8888
~~~~~~~~~~~~

docs/source/syntax.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ The Syntax constructor (and :meth:`~rich.syntax.Syntax.from_path`) accept a ``th
4141
Background color
4242
----------------
4343

44-
You can override the background color from the theme by supplying a ``background_color`` argument to the constructor. This should be a string in the same format a style definition accepts, .e.g "red", "#ff0000", "rgb(255,0,0)" etc. You may also set the special value "default" which will use the default background color set in the terminal.
44+
You can override the background color from the theme by supplying a ``background_color`` argument to the constructor. This should be a string in the same format a style definition accepts, e.g. "red", "#ff0000", "rgb(255,0,0)" etc. You may also set the special value "default" which will use the default background color set in the terminal.
4545

4646

4747
Syntax CLI

docs/source/tables.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ There are a number of keyword arguments on the Table constructor you can use to
5656
- ``min_width`` Sets a minimum width for the table.
5757
- ``box`` Sets one of the :ref:`appendix_box` styles for the table grid, or ``None`` for no grid.
5858
- ``safe_box`` Set to ``True`` to force the table to generate ASCII characters rather than unicode.
59-
- ``padding`` A integer, or tuple of 1, 2, or 4 values to set the padding on cells.
59+
- ``padding`` An integer, or tuple of 1, 2, or 4 values to set the padding on cells.
6060
- ``collapse_padding`` If True the padding of neighboring cells will be merged.
6161
- ``pad_edge`` Set to False to remove padding around the edge of the table.
6262
- ``expand`` Set to True to expand the table to the full available size.

0 commit comments

Comments
 (0)