New doc theme (#387)

This commit is contained in:
Phil Scott
2021-04-24 16:20:59 -04:00
committed by GitHub
parent b568098d5e
commit 2a9fbb1ee9
145 changed files with 197984 additions and 8746 deletions

View File

@ -5,21 +5,21 @@ RedirectFrom: progress
Spectre.Console can display information about long running tasks in the console.
<img src="../assets/images/progress.png" style="max-width: 100%;margin-bottom:20px;">
![Example of progress output](../assets/images/progress.png)
<div class="alert alert-warning" role="alert">
<i class="fas fa-exclamation-triangle icon-web"></i> The progress display is not
<?# Alert ?>
The progress display is not
thread safe, and using it together with other interactive components such as
prompts, status displays or other progress displays are not supported.
</div>
<?#/ Alert ?>
If the current terminal isn't considered "interactive", such as when running
in a continuous integration system, or the terminal can't display
ANSI control sequence, any progress will be displayed in a simpler way.
<img src="../assets/images/progress_fallback.png" style="max-width: 100%;">
![Example of fallback progress output](../assets/images/progress_fallback.png)
# Usage
## Usage
```csharp
// Synchronous
@ -63,7 +63,7 @@ await AnsiConsole.Progress()
});
```
# Configure
## Configure
```csharp
// Asynchronous
@ -83,4 +83,4 @@ AnsiConsole.Progress()
{
// Omitted
});
```
```