Andrew Rublyov and Phil Scott
974aa1afda
Fix inheritance and nullables in settings.md
2022-02-20 23:57:06 -05:00
Phil Scott and Patrik Svensson
d6cdd1fbda
Adding a best practices guide.
2022-02-20 17:10:03 +01:00
Patrik Svensson
bec3315d91
skip-ci: Fix typo
2022-02-16 01:40:47 +01:00
Patrik Svensson
782a99d726
Add Netlify attribution to footer
2022-02-16 00:36:01 +01:00
Patrik Svensson
b6be693007
Update copyright
2022-02-16 00:35:10 +01:00
Phil Scott and Patrik Svensson
36e5350968
Tweaking font-size and line-height for smaller screens
2022-02-15 17:28:27 +01:00
Phil Scott and GitHub
c2da268129
Docs redesign ( #728 )
...
* Adding a dark mode
* Adding reference for types to summary pages
* Adding API Reference
* Adding modifiers to methods/fields/etc
* Minimizing files input
* Caching a lot of the output pages
* Cache only for each execution
* Adding API references to existing docs
2022-02-14 18:44:25 +01:00
Phil Scott and Patrik Svensson
e8eb5b85b9
Updating documentation output to match new Exception rendering.
2022-02-04 10:30:09 +01:00
Jouni Heikniemi and GitHub
0b988ff65c
Fix WithExample call on the CommandApp doc page to match reality ( #689 )
2022-01-13 21:43:31 +01:00
Patrik Svensson and Phil Scott
1dbaf50935
Add release notes for 0.43.0
2021-12-22 08:50:31 -05:00
Phil Scott and GitHub
461348f2fb
Update asciinema ( #648 )
...
* Updating doc build dependencies
Updates playwright to latest version. This requires an update in how it is ran as part of the statiq build set up to ensure dependencies exist for the run.
Also brings misc packages up to date to fix vulnerabilities.
* Updates CI to use node v16 and dotnet 5
Playwright CLI currently needs net5 to execute. There is a PR in the works to get it running on net6 but until then the recommended steps it to have both installed.
2021-12-01 13:40:51 +01:00
Tim Waalewijn and GitHub
2e5d18fa78
Added the ability to hide CommandOptions. ( #642 )
...
CommandOptions now has an IsHidden property that, when set to true, will cause the option to be hidden from the following cases:
- Help text using `-h|--help`
- Xml representations generated with the `cli xml` command
- Diagnostics displayed with the `cli explain` command
Hidden options can still be outputted with `cli explain` using the `--hidden` option that is also used to display hidden commands.
Fixes #631
2021-11-29 23:16:54 +01:00
Nils Andresen and Patrik Svensson
48df9cf68b
( #555 ) added TypeRegistrarBaseTests
...
as a very simple test harness to test implementations of
ITypeRegistrar / ITypeResolver
2021-11-14 01:19:27 +01:00
Patrik Svensson and GitHub
21ac952307
Remove Render from docs in favor of Write ( #613 )
...
The `Render` method has been obsoleted.
2021-11-09 21:22:18 +01:00
Nils Andresen and Patrik Svensson
b3ef7d4fa6
fixed documentation for selection and multiselection ( #499 )
2021-10-30 01:50:18 +02:00
Nils Andresen and Patrik Svensson
c5c1852fc3
( #606 ) added ExceptionHandler to ICommandAppSettings
...
So exceptions can be handled in Spectre.Console.Cli.
Also, some documentation was added.
2021-10-30 01:41:29 +02:00
Antonio Valentini and Phil Scott
a4ae36738b
typos
2021-10-23 16:05:56 -04:00
Magnus Lindhe and Patrik Svensson
174d285035
Update sponsors.md
...
Fixing a typo in October. I should be ashamed :)
2021-10-10 09:40:09 +02:00
GitHubPang and Phil Scott
644fb76d61
Fix a typo for Spectre1021
2021-09-27 20:50:51 -04:00
GitHubPang and Phil Scott
64f444114a
Fix typos
2021-09-23 19:08:03 -04:00
Nils Andresen and Patrik Svensson
c3510f3036
fixed 404 in documentation
...
links were pointing to ./commandApp, however
the generated page is ./commandapp
2021-09-08 12:02:01 +02:00
Patrik Svensson
57731c0d55
Add release notes for version 0.41
2021-07-19 23:12:38 +02:00
Phil Scott and GitHub
223642b797
Add blog to docs ( #484 )
...
* Adding social card infrastructure
* Upgrades doc project to .NET 6
* Adds Playwright
* Changes the console to a web project for Playwright
* Adds social card template
* Added blog content
* Parallelized social image processing
* Updating CI to use .NET 6 for docs build
2021-07-15 19:53:01 +02:00
Nils Andresen and GitHub
32d7ea15bd
Change LogCommandSettings to CommandSettings in example
...
Instead of `LogCommandSettings` for the `Settings` of the `HelloCommand`
2021-07-15 09:39:25 +02:00
Phil Scott and Patrik Svensson
fa553fd72e
Adds documentation for analyzers
2021-06-25 09:56:20 +02:00
18-F-cali and Patrik Svensson
5cbe9d40b0
Removed extra line from example code.
2021-06-19 02:38:01 +02:00
Ahmed Şeref and Patrik Svensson
ebd7bb5949
Update canvas.md
2021-06-09 23:43:55 +02:00
Phil Scott and Patrik Svensson
21f731ebd5
Using Statiq processes for tailwind commands
...
Tweaks tailwind to use jit mode and misc content tweaks
Changes point in which tailwind is built
2021-05-28 14:31:57 +02:00
Patrik Svensson
397860e42e
Revert PR #436
...
Using Statiq processes for tailwind commands
This reverts commit adb600c430 .
This reverts commit ab83e41051 .
2021-05-26 13:41:49 +02:00
Phil Scott and Patrik Svensson
adb600c430
Tweaks tailwind to use jit mode and misc content tweaks
2021-05-26 10:31:15 +02:00
Phil Scott and Patrik Svensson
0d2a75aeee
Add Cascadia Code as a webfont for fallback
...
This is only for Android (hopefully) which has a system font that doesn't have standard width box drawing characters.
Other systems should still use their defaults.
2021-05-24 15:42:12 +02:00
Phil Scott and Patrik Svensson
cb8dc97847
Removes inline-block from console output in docs
...
This was causing the output to wrap in chrome on ipad and only the ipad. Not quite sure why it was needed in the first place so it's gone.
2021-05-24 09:44:27 +02:00
Patrik Svensson and Phil Scott
450d87f5d3
Add support for fake input in asciicast recordings
...
* Fixes a bug with `SelectionPrompt` and page size.
* Allow `IAnsiConsoleInput` to return `null`.
2021-05-23 22:22:44 -04:00
Phil Scott and Patrik Svensson
46abadaccb
Add AsciiCast demos for docs
2021-05-23 23:30:14 +02:00
Patrik Svensson and Phil Scott
3dea412785
Add live display support
...
This commit also adds functionality to LiveRenderable that should
fix some problems related to vertical overflow.
Closes #316
Closes #415
2021-05-20 19:41:10 -04:00
Johan Lindfors and Patrik Svensson
5d68020abb
Wrong method in code example
...
Wrong method called in the documentation for the Calendar widget.
2021-05-19 13:46:39 +02:00
Patrik Svensson and Phil Scott
e48ae9600a
Revert shrinking of example.png
2021-04-29 17:17:02 -05:00
Phil Scott and Patrik Svensson
9a68b27b31
Shrinks PNGs and converts large gif to webm
...
PNGs were ran through TinyPng. Table.gif was weighing in at over 1.7mb
on my machine. Converted to webm and it's down to 80kb which is pretty
nice for something on the home page. Other gifs didn't have that much of
an improvement so I just left them as GIFs.
2021-04-25 02:52:36 +02:00
Phil Scott and GitHub
2a9fbb1ee9
New doc theme ( #387 )
2021-04-24 22:20:59 +02:00
Sean Fausett and Phil Scott
b568098d5e
Fix required vs optional argument denotation
2021-04-23 23:34:33 -04:00
Phil Scott and Patrik Svensson
79af013bf2
Expanding CLI docs
...
Adding new pages for commandApp, commands and settings.
2021-04-21 17:51:59 +02:00
Loïc Sharma and GitHub
23564612c1
Make AsyncCommand a little more discoverable ( #375 )
2021-04-18 09:35:37 +02:00
Patrik Svensson
a2ab522516
Add CNAME
2021-04-05 17:45:29 +02:00
Patrik Svensson
693e1fa170
Update links, references and copyright
2021-04-05 16:59:09 +02:00
MB and Patrik Svensson
6121203fee
Rename tree to root so the example compiles.
...
The 'root' variable does not exist in current context. Either should call Render(tree) or have it renamed to root. I've chosen root as it's more consistent with the examples later on.
2021-04-02 23:32:15 +02:00
Patrik Svensson and Phil Scott
7f6f2437b1
Add support for exclusive mode
2021-03-15 13:14:40 -04:00
Patrik Svensson and Phil Scott
c2bab0ebf8
Allow custom instructions for prompts
...
Closes #229
2021-03-14 21:27:44 -04:00
Patrik Svensson and Phil Scott
8c099a0038
Add Elmah.io as sponsor
2021-03-14 21:17:56 -04:00
stf and Phil Scott
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