Commit Graph

141 Commits

Author SHA1 Message Date
4c0178cf9a Merge branch 'main' into Blog-post-for-0.47.0 2023-05-19 16:50:48 +01:00
296bc61837 Updated links and github usernames to markdown url format so they render as native html links 2023-05-19 16:48:48 +01:00
766ccb1f1b Minor grammatical update 2023-05-19 16:40:57 +02:00
f7314dc2e8 Blog post for 0.47.0 2023-05-19 16:40:57 +02:00
f453890d13 Minor grammatical update 2023-05-19 12:26:35 +01:00
2c8f459806 Blog post for 0.47.0 2023-05-19 12:22:28 +01:00
404b052a5f Add ability to pass example args using params syntax (#1166) 2023-05-12 12:08:42 +01:00
5843a4545e Fix coconut spelling 2023-04-24 14:37:06 +08:00
62b30d6072 Alignment => Justification Docs Fixes 2023-01-25 17:45:30 -08:00
f223f6061c Add blog post for 0.46 release 2023-01-10 04:00:15 +01:00
eba2a8cc76 Add layout documentation 2023-01-10 00:17:11 +01:00
bc6ba26840 Fix title of JSON docs 2023-01-10 00:17:11 +01:00
54be64ec84 Add JSON text renderer (#1086)
* Add JsonText widget to render highlighted JSON

Closes #1051
2022-12-31 18:17:15 +00:00
a9b97fa4dc fixed panel/table copypasta 2022-11-16 00:07:49 +01:00
7dce4af552 Add support for .NET 7.0 2022-11-10 12:01:13 +01:00
995ef10b8b Created a Columns widget documentation (#1044) 2022-11-04 09:21:18 +01:00
4ea64ccb9c Added documentation guide for the Padder Widget (#1046) 2022-11-04 09:20:38 +01:00
a755cc5d9c Added documentation guide for Grid Widget (#1043) 2022-11-02 12:59:41 +01:00
2a493cfee9 Added documentation for Rows widget 2022-11-01 09:48:38 +01:00
9df6ed213c Minor typo fixes
Hope this is helpful, cheers!
2022-10-19 20:13:07 +02:00
5f1121e8e1 Create panel documentation 2022-10-15 06:44:48 +02:00
db095217b7 Add documentation for Breakdown Chart (#1000)
* Begin breakdown chart documentation
* Fix generator build failure
* Add in breakdown chart graphics
* Add breakdown chart documentation and move cast files
2022-10-06 22:02:25 +02:00
8b5836f4e4 Adding value: a single semi-colon! 2022-10-01 15:38:55 +02:00
d339442df8 Join .NET Foundation (#978) 2022-09-27 08:36:07 +02:00
eb02c3d534 Custom mask for secret (#970)
* Masking Character added, not yet used.

* Setting the masking character can be chained with other extensions.

* Added string extension for masking, and replaced hardcoded asterisks.

* Check if mask is null first.

* Fixed Typo in previous test and added new test for custom masks.

* Added tests for masking with null character

* Added docs and example.

* Adjusted extensions so that Mask is integrated into Secret extension. Updated Exampls and Tests accordingly
2022-09-26 20:34:41 +02:00
79913ab238 being explicit about date formats for blog posts 2022-09-12 04:41:22 +02:00
9cbfda9e4a Added details for using links within markup. 2022-09-10 21:51:03 -04:00
bb013dcc52 Add blog post for 0.45 2022-09-10 12:06:32 -04:00
af9f5ea97d [docs] fixed typo (#956) 2022-09-09 13:33:06 +02:00
c32decfa55 Fix the "Escaping Interpolated Strings" documentation
* `MarkupLineInterpolated` instead of `MarkupInterpolated`
* Use an actual interpolated string in sample code to make it valid
2022-06-30 13:55:52 +02:00
edbe9d6ebc Change section heading (#781)
This appears to have been copy/pasted from progress.md, which has a similar structure.
2022-03-31 14:18:24 +02:00
90de1847d8 Add blog post for 0.44 2022-03-27 22:46:17 +02:00
1d8154f9b0 Introduce MarkupInterpolated and MarkupLineInterpolated extensions (#761)
* Introduce MarkupInterpolated and MarkupLineInterpolated extensions

These new methods enable easily writing markup with a nice and intuitive syntax without having to worry about escaping the markup.

```csharp
string input = args[0];
string output = Process(input);
AnsiConsole.MarkupLineInterpolated($"[blue]{input}[/] -> [green]{output}[/]");

```

The `Interpolated` suffix was inspired by the Entity Framework Core [FromSqlInterpolated][1] method.

[1]: https://docs.microsoft.com/en-us/ef/core/querying/raw-sql#passing-parameters

* Fixing whitespace to match file scoped namespaces

* Adding FromInterpolated helper to Markup widget

Allows automatic handling of interpolated strings to be used on the Markup widget. This would be helpful for people working with Tables and the Tree control who would not be using the MarkupInterpolated methods.

* Documentation for markup interpolated methods.

Co-authored-by: Cédric Luthi <cedric.luthi@gmail.com>
2022-03-22 22:34:25 +01:00
1f2629e2e1 Adding a short template file for new documentation. 2022-03-05 22:51:01 +01:00
a6364e066b Fix path and description for TextPath docs (#758) 2022-03-02 10:24:33 +01:00
fbe1d0b6f2 Add documentation for TextPath widget (#757) 2022-03-01 20:56:58 +01:00
899dd20b65 Optimizing build
* Upgrades Statiq.Web to which contains analyzer perf improvements
* Dropping script front matter when not needed from blog archives
* Trimming down the number of files tailwind examines when building the css file to only a subset of the docs.
* Updates Playwright to latest version
* Updates tailwind and asciienma to latest
* Removes npm packages that are no longer required
2022-02-22 08:56:27 +01:00
8ae3d258e4 Add another missing nullables 2022-02-20 23:57:06 -05:00
974aa1afda Fix inheritance and nullables in settings.md 2022-02-20 23:57:06 -05:00
d6cdd1fbda Adding a best practices guide. 2022-02-20 17:10:03 +01:00
bec3315d91 skip-ci: Fix typo 2022-02-16 01:40:47 +01:00
782a99d726 Add Netlify attribution to footer 2022-02-16 00:36:01 +01:00
b6be693007 Update copyright 2022-02-16 00:35:10 +01:00
36e5350968 Tweaking font-size and line-height for smaller screens 2022-02-15 17:28:27 +01:00
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
e8eb5b85b9 Updating documentation output to match new Exception rendering. 2022-02-04 10:30:09 +01:00
0b988ff65c Fix WithExample call on the CommandApp doc page to match reality (#689) 2022-01-13 21:43:31 +01:00
1dbaf50935 Add release notes for 0.43.0 2021-12-22 08:50:31 -05:00
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
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