Commit graph

340 commits

Author SHA1 Message Date
Will McGugan
b1368b61a4
Merge pull request #2301 from tomers/iso8601-highlighter
Add Iso8601Highlighter
2022-07-11 11:46:37 +01:00
Will McGugan
65c138088a
Merge pull request #2356 from tonybaloney/patch-1
Add Github flavoured markdown box type
2022-07-11 11:43:31 +01:00
Denis Kataev
e5cb569e06
Render code as code in progress docs 2022-07-07 19:37:49 +04:00
Sebastián Ramírez
743f65aecc
✏ Fix micro typo "in to" to "into" 2022-07-04 11:28:33 +02:00
Anthony Shaw
2e0af2d572
Update RST 2022-06-28 09:00:44 +10:00
Tomer Shalev
8443505e21
Merge branch 'master' into iso8601-highlighter 2022-06-14 15:03:00 +03:00
Tomer Shalev
2707a73435 Add Iso8601Highlighter
Add ability to highlight date and time strings according to ISO8601 [1]

[1] https://en.wikipedia.org/wiki/ISO_8601
2022-06-14 15:02:35 +03:00
Antony Milne
29294b82d6 Add to docs 2022-06-09 23:13:31 +01:00
Darren Burns
df775dabb5 Turn "basic usage" progress example into a runnable example 2022-06-07 10:00:45 +01:00
Will McGugan
ced921b94e docs 2022-05-02 18:06:50 +01:00
Will McGugan
11f3122939 docs 2022-05-02 18:03:05 +01:00
Will McGugan
b5f0b743a7 update progress docs 2022-04-21 09:39:46 +01:00
Will McGugan
b6a83c2dce docs update 2022-04-21 09:24:15 +01:00
Olivier Philippon
052b157858 [progress] The total we pass to a Progress renderable can now be None 2022-04-13 11:02:28 +01:00
Olivier Philippon
303e9b5563 Bump minimum Python version to 3.6.3 (from 3.6.1)
The `OrderedDict[CacheKey, CacheValue]` code we use in the LRUCache class doesn't work with Python versions `3.6.1` and `3.6.2`, unfortunately
2022-04-04 16:24:29 +01:00
Will McGugan
489fafc63e
Merge pull request #2141 from Textualize/progress-docs
Progress docs
2022-04-03 14:48:15 +01:00
Will McGugan
6b9adfa9c2 docs 2022-04-02 14:22:22 +01:00
Will McGugan
8745ee5a11 progress docs 2022-04-01 14:49:02 +01:00
Will McGugan
56227ab383 docs for new progress feature 2022-04-01 14:17:21 +01:00
Darren Burns
7a870e4a4b
Merge branch 'master' into progress-reader 2022-03-30 13:42:58 +01:00
Martin Larralde
54d660def1 Update example for wrap_file in rich.progress API documentation 2022-03-30 13:26:37 +02:00
Darren Burns
9f43cccfce
Exporting console content to SVG (#2101)
* Add skeleton export_svg and save_svg methods to Console

* Exporting SVG

* SVG export - Writing HTML foreign object into naively calculated SVG rect background

* Exporting as foreign object SVG

* Working with drop-shadow

* Update terminal output style to include tab and background/border

* Add more terminal themes, support dim, reverse in SVG output

* Fix some HTML export tests

* Allow for templating of SVG output

* Fix mypy issue involving shadowed variable in SVG export

* Remove unused code from main block in console.py

* Remove unused record=True in __main__.py Console init

* Small tidy ups in console.py SVG export

* Add test for exporting to SVG

* Add tests for export SVG and save SVG

* Update docs with info on SVG exports

* Add support for blink and blink2 to SVG export, use Fira Code webfont fallback

* Update tests for SVG exporting

* Add more information to docs about SVG exporting

* Update SVG exporting tests

* Explain how to use different terminal theme in SVG export docs

* Remove some development testing code

* Remove some more testing code

* Improve docs, fix typo

* Fixing a typo

* Add note to changelog about SVG export functionality

* Use CSS styling instead of inline styles on SVG export

* Fix issues noted in code review, fix reverse style

* Update SVG used in Rich docs
2022-03-29 17:34:14 +01:00
Martin Larralde
1320046537 Split Progress.read into Progress.open and Progress.wrap_file methods 2022-03-13 18:36:47 +01:00
Martin Larralde
f3f1bca230 Reformat rich.progress and document Progress.read in progress.rst 2022-03-13 12:54:40 +01:00
Will McGugan
c1b43f0f18 better typehints in docs 2022-03-11 16:08:49 +00:00
Will McGugan
75f4637cdd
Merge branch 'master' into richhandler-suppress 2022-02-27 10:57:53 +00:00
Will McGugan
21432b4c6a docs 2022-02-22 10:37:16 +00:00
Will McGugan
73282dd2e4
Merge branch 'master' into richhandler-suppress 2022-02-15 11:51:56 +00:00
Sourajyoti Basak
e00a07966e
docs(style): fix typo 2022-02-12 07:30:07 +00:00
Will McGugan
4302eb3fb9
Merge branch 'master' into richhandler-suppress 2022-02-11 11:16:10 +00:00
Paul McGuire
2334af8df5
Merge branch 'master' into ptmcg/add_DownloadCountsColumn_progress_column_type 2022-02-10 09:59:26 -06:00
ptmcg
93ad00dffb Add MofNCompleteColumn ProgressColumn and Progress.get_default_column notes to docs 2022-02-10 09:33:30 -06:00
losuler
c787271970
Fix keyword argument names 2022-02-10 00:09:25 +11:00
Yuval Ben Arie
1e6fb1876b Table no_wrap documentation fix 2022-01-29 15:50:09 +02:00
Darren Burns
57acc6f4bc Add note about MANPAGER environment variable to docs 2022-01-27 16:21:14 +00:00
Leron Gray
c87b1a0759 update docs for RichHandler suppress 2022-01-25 16:58:56 -08:00
Leron Gray
8f6b52f2df add suppress to RichHandler 2022-01-21 14:25:49 -08:00
Will McGugan
408b3bc688 whitespace 2022-01-08 10:48:06 +00:00
Will McGugan
f5829f7f9f
Merge pull request #1730 from nathanrpage97/feat/docs-add-default-theme-appendix
Docs add default theme appendix
2022-01-06 12:02:36 +00:00
Nathan Page
854638f54e clean up diffs 2022-01-03 11:30:48 -05:00
Nathan Page
ef943a95a2 remove default_styles table from appendix 2022-01-03 11:25:57 -05:00
Aaron Stephens
c3469772a4 docs: fix typos and whitespace 2022-01-03 01:04:35 -08:00
Will McGugan
1d5152ef52 fix code block 2022-01-02 15:50:38 +00:00
Joe Halliwell
23daac5d01 Add documentation 2021-12-31 12:12:56 +00:00
Nathan Page
b47150933e include default styles appendix table 2021-11-29 17:17:58 -08:00
Will McGugan
a6d1d78487
Merge pull request #1706 from 0xDEC0DE/issue/1670
Add a Text.from_ansi helper method
2021-11-28 16:04:03 +00:00
Will McGugan
d6e6a7627e
Merge pull request #1698 from johnthagen/patch-1
Improve formatting of live command
2021-11-28 16:02:41 +00:00
Will McGugan
666d0cf2b2
Merge pull request #1504 from boegel/dynamic_progress_example
add example with dynamic group of progress bars
2021-11-20 10:51:53 +00:00
Nicolas Simonds
62ead7eded Add a Text.from_ansi helper method
Add a simple little helper to run `AnsiDecoder.decode_line` over
"pre-cooked" inputs.

Fixes issue: #1670
2021-11-17 13:25:39 -08:00
johnthagen
caf52348c7
Improve formatting of live command 2021-11-16 11:09:47 -05:00