Commit Graph

160 Commits

Author SHA1 Message Date
stf fa731070d8 update the docs
To improve discoveratbility of the new option
2021-03-04 07:47:00 -05:00
Patrik Svensson 17ee8990f4 Update example image 2021-02-15 13:01:30 +01:00
Patrik Svensson fd217ffc83 Update sponsor text 2021-02-11 23:22:43 +01:00
Patrik Svensson 95ec04df40 Add sponsor information 2021-02-11 23:20:11 +01:00
Jay Turpin 35568ab823 Updated Commands with with new Execute() method signature 2021-01-13 19:48:15 +01:00
ριтєя мαяχ d87d8e4422 Update exceptions.md 2021-01-10 20:45:44 +01:00
Patrik Svensson 8261b25e5c Fix tree rendering
Fixes some tree rendering problems where lines were not properly drawn
at some levels during some circumstances.

* Change the API back to only allow one root.
* Now uses a stack based approach to rendering instead of recursion.
* Removes the need for measuring the whole tree in advance.
  Leave this up to each child to render.
2021-01-10 15:55:11 +01:00
Patrik Svensson 0e0f4b4220 Add interactive prompts for selecting values
* Adds SelectionPrompt
* Adds MultiSelectionPrompt

Closes #210
2021-01-09 09:37:28 +01:00
Patrik Svensson 4e2251fd62 Add migration guide for Spectre.Cli 2020-12-29 10:29:26 +01:00
Patrik Svensson 0ae419326d Add Spectre.Cli to Spectre.Console
* Renames Spectre.Cli to Spectre.Console.Cli.
* Now uses Verify with Spectre.Console.Cli tests.
* Removes some duplicate definitions.

Closes #168
2020-12-28 17:28:03 +01:00
Patrik Svensson 7dccb310f3 Add support for bar charts
Closes #103
2020-12-23 10:05:08 +01:00
Patrik Svensson 501db5d287 Add status support 2020-12-09 00:07:02 +01:00
Patrik Svensson ae32785f21 Add progress task list support 2020-12-04 07:29:48 +01:00
Patrik Svensson b7cd7dd53e Fix grammar in Canvas Image docs 2020-11-25 13:52:17 +01:00
Patrik Svensson 3e1251b86a Fix heading size 2020-11-25 13:41:11 +01:00
Patrik Svensson b0b988a1e7 Add Canvas and CanvasImage docs 2020-11-25 12:15:25 +01:00
Patrik Svensson a5125d640c Add initial FIGlet docs 2020-11-22 03:27:15 +01:00
Patrik Svensson aaf77c3b25 Fix prompt example docs 2020-11-19 14:46:43 +01:00
Patrik Svensson d70ad661fc Add docs for text prompts 2020-11-19 14:25:24 +01:00
Patrik Svensson 380c6aca45 Add net5.0 target framework 2020-11-11 15:28:32 +01:00
Patrik Svensson 93d1971f48 Update rule example and docs 2020-10-27 17:30:50 +01:00
Martin Andersen bca1c889d1 Add Padding extension
Add extension method for specifying horizontal and vertical padding.
Similar constructor for `Padding` already existed.

Update documentation for table column appearance (padding).

Update
`Should_Render_Padded_Object_Correctly_When_Nested_Within_Other_Object`
test to use new extension method.
2020-10-27 09:09:30 +01:00
Takahito Yamatoya 9915a0d6a8 Update Documentation for escape 2020-10-27 09:08:27 +01:00
Takahito Yamatoya f34fc43d00 Update documentation for aligning tables 2020-10-27 09:08:27 +01:00
Patrik Svensson e7f497050c Add row and column accessors for tables and grids 2020-10-26 18:15:27 +01:00
Martin Andersen 3e5e22d6c2 Update documentation
- ExceptionFormat -> ExceptionFormats.
- Fix link to documentation.
- Add cross reference to Styles.
- Render table in example code.
- Add code for setting background color.
2020-10-26 15:31:44 +01:00
Patrik Svensson 10daf727e9 Fix outdated documentation 2020-10-26 12:20:17 +01:00
Takahito Yamatoya 037a215a78 Add documentation for rule 2020-10-22 08:53:20 +02:00
Takahito Yamatoya b52056ee49 Update documentation for calendar 2020-10-20 21:55:29 +02:00
Patrik Svensson 3941fd81ab Move table and calendar docs 2020-10-20 02:32:04 +02:00
Takahito Yamatoya 5c119ee0c3 Add documentation for calendar 2020-10-19 15:44:16 +02:00
Takahito Yamatoya c0875c912a fix incorrect link 2020-10-17 12:16:18 +02:00
Patrik Svensson ae92c606bb Add support for remapping emojis
Closes #94
2020-10-07 17:33:05 +02:00
Patrik Svensson 68e92f3365 Add various exception improvements 2020-10-07 11:57:28 +02:00
Patrik Svensson 3c3afe7439 Add support for rendering exceptions 2020-10-05 07:03:02 +02:00
Gary Ewan Park 971f9032ba (doc) Dynamically generate sections
Rather than hard-coding them.  Then, as the number of sections increase,
no additional changes will be required here.
2020-10-03 16:30:21 +02:00
Gary Ewan Park 5149557560 (doc) Remove hard-coded link
Rather than specifying spectre.console directly in the layout, figure out
the URL using GetLink method.
2020-10-03 16:30:21 +02:00
Khalid Abuhakmeh e0947708c9 Generalized Search
Generalized the search to work with any table
with some basic classes and some updated
JavaScript, we can now search colors and emojis.
2020-10-02 19:39:02 +02:00
Khalid Abuhakmeh a2f8652575 Add Search To Emoji Page
This adds a typeahead search feature
for the very large emoji table. It filters as you type to find if an emoji exists or not.

The JavaScript could be adapted to work on all tables in the future.
2020-10-01 22:00:39 +02:00
Khalid Abuhakmeh 672faa131f Update Docs Readme
Added some more context to the docs readme for
folks looking to contribute. Also added the license
so its clear what the license of the docs site is. As
a small tweak I removed a duplicate string value and
use the Constant.
2020-10-01 20:51:32 +02:00
Patrik Svensson 93ec7401c8 Add support for markdown tables
Closes #85

* Split Border into BoxBorder and TableBorder
* Change how different table parts are composed
* Add markdown table border
2020-10-01 14:43:08 +02:00
Patrik Svensson eeb3f967b6 Update emoji support
* Add constants for emojis
* Move emoji shortcode rendering to Markup
* Add documentation
* Add example
* Add tests
2020-09-18 16:11:51 +02:00
Patrik Svensson 1601ef24b3 Update border documentation 2020-09-09 14:27:40 +02:00
Patrik Svensson 003e15686f Add documentation for tables
Also moves "Colors" and "Styles" sections to appendix.
2020-09-08 18:21:52 +02:00
Patrik Svensson 88edfe68ec Add border for color representations 2020-09-02 09:55:44 +02:00
Patrik Svensson 5d32764a64 Fix typo: SRG -> SGR 2020-09-02 09:02:59 +02:00
Patrik Svensson bdaf00a556 Remove empty documentation pages 2020-09-01 21:51:25 +02:00
Patrik Svensson 0cecb555d5 Show documentation version in footer 2020-09-01 21:33:15 +02:00
Patrik Svensson 52e3ee17b0 Fix logo link 2020-09-01 21:28:52 +02:00
Dave Glick caf7661e66 Moves all the pages up a level and hardcodes the section name 2020-09-01 21:23:01 +02:00