mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-12-26 10:55:49 +08:00
Add initial docs
This commit is contained in:
committed by
Patrik Svensson
parent
decb887b0a
commit
f1912b1d44
38
docs/src/Constants.cs
Normal file
38
docs/src/Constants.cs
Normal file
@@ -0,0 +1,38 @@
|
||||
namespace Docs
|
||||
{
|
||||
public static class Constants
|
||||
{
|
||||
public const string NoContainer = nameof(NoContainer);
|
||||
public const string NoSidebar = nameof(NoSidebar);
|
||||
public const string Topic = nameof(Topic);
|
||||
public const string EditLink = nameof(EditLink);
|
||||
public const string Description = nameof(Description);
|
||||
public const string Hidden = nameof(Hidden);
|
||||
|
||||
public static class Colors
|
||||
{
|
||||
public const string Url = "https://raw.githubusercontent.com/spectresystems/spectre.console/main/resources/scripts/Generator/Data/colors.json";
|
||||
public const string Root = "COLORS_ROOT";
|
||||
}
|
||||
|
||||
public static class Site
|
||||
{
|
||||
public const string Owner = "SITE_OWNER";
|
||||
public const string Repository = "SITE_REPOSITORY";
|
||||
public const string Branch = "SITE_BRANCH";
|
||||
}
|
||||
|
||||
public static class Deployment
|
||||
{
|
||||
public const string GitHubToken = "GITHUB_TOKEN";
|
||||
public const string TargetBranch = "DEPLOYMENT_TARGET_BRANCH";
|
||||
}
|
||||
|
||||
public static class Sections
|
||||
{
|
||||
public const string Splash = nameof(Splash);
|
||||
public const string Sidebar = nameof(Sidebar);
|
||||
public const string Subtitle = nameof(Subtitle);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user