mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 10:35:27 +08:00 
			
		
		
		
	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
This commit is contained in:
		@@ -1,14 +1,17 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Security.Authentication;
 | 
			
		||||
using Generator.Commands.Samples;
 | 
			
		||||
using Spectre.Console;
 | 
			
		||||
 | 
			
		||||
namespace Generator.Commands.Samples
 | 
			
		||||
// keep the namespace here short because it'll be used in the display of the exceptions
 | 
			
		||||
// and we want to keep that below 100 characters wide.
 | 
			
		||||
namespace Samples
 | 
			
		||||
{
 | 
			
		||||
    public class Exceptions
 | 
			
		||||
    {
 | 
			
		||||
        internal abstract class BaseExceptionSample : BaseSample
 | 
			
		||||
        {
 | 
			
		||||
            public override (int Cols, int Rows) ConsoleSize => (120, 12);
 | 
			
		||||
            public override (int Cols, int Rows) ConsoleSize => (100, 12);
 | 
			
		||||
 | 
			
		||||
            protected readonly Exception Exception = null!;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user