Skip to content

Commit

Permalink
feat(websites): update project templates doc url in all projects #5112 (
Browse files Browse the repository at this point in the history
  • Loading branch information
msynk authored Aug 20, 2023
1 parent e18e695 commit 48e7bb5
Show file tree
Hide file tree
Showing 43 changed files with 93 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/adminpanel.cd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: AdminPanel CD

# Project templates come equipped with CI/CD for both Azure DevOps and GitHub, providing you with a hassle-free way to get started with your new project. It is important to note that you should not depend on the contents of this file. More info at https://bitplatform.dev/admin-panel/dev-ops
# Project templates come equipped with CI/CD for both Azure DevOps and GitHub, providing you with a hassle-free way to get started with your new project. It is important to note that you should not depend on the contents of this file. More info at https://bitplatform.dev/templates/dev-ops

env:
WEB_APP_DEPLOYMENT_TYPE: 'Pwa'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/blazorui.demo.cd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Blazor UI Demo CD

# Project templates come equipped with CI/CD for both Azure DevOps and GitHub, providing you with a hassle-free way to get started with your new project. It is important to note that you should not depend on the contents of this file. More info at https://bitplatform.dev/admin-panel/dev-ops
# Project templates come equipped with CI/CD for both Azure DevOps and GitHub, providing you with a hassle-free way to get started with your new project. It is important to note that you should not depend on the contents of this file. More info at https://bitplatform.dev/templates/dev-ops

env:
WEB_APP_DEPLOYMENT_TYPE: 'PwaPrerendered'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/todotemplate.cd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: TodoTemplate CD

# Project templates come equipped with CI/CD for both Azure DevOps and GitHub, providing you with a hassle-free way to get started with your new project. It is important to note that you should not depend on the contents of this file. More info at https://bitplatform.dev/todo-template/dev-ops
# Project templates come equipped with CI/CD for both Azure DevOps and GitHub, providing you with a hassle-free way to get started with your new project. It is important to note that you should not depend on the contents of this file. More info at https://bitplatform.dev/templates/dev-ops

env:
WEB_APP_DEPLOYMENT_TYPE: 'PwaPrerendered'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@
<BitNavOption Text="Home" Url="https://bitplatform.dev/" Target="_blank" />
<BitNavOption Text="Products & Services">
<BitNavOption Text="Project Templates">
<BitNavOption Text="TodoTemplate" Url="https://bitplatform.dev/todo-template/overview" Target="_blank" />
<BitNavOption Text="AdminPanel" Url="https://bitplatform.dev/admin-panel/overview" Target="_blank" />
<BitNavOption Text="TodoTemplate" Url="https://bitplatform.dev/templates/overview" Target="_blank" />
<BitNavOption Text="AdminPanel" Url="https://bitplatform.dev/templates/overview" Target="_blank" />
</BitNavOption>
<BitNavOption Text="BlazorUI" Url="https://bitplatform.dev/components" Target="_blank" />
<BitNavOption Text="Cloud hosting solutions" IsEnabled="false" />
Expand Down Expand Up @@ -570,8 +570,8 @@
<BitNavOption Text="Home" Url="https://bitplatform.dev/" Target="_blank" />
<BitNavOption Text="Products & Services">
<BitNavOption Text="Project Templates">
<BitNavOption Text="TodoTemplate" Url="https://bitplatform.dev/todo-template/overview" Target="_blank" />
<BitNavOption Text="AdminPanel" Url="https://bitplatform.dev/admin-panel/overview" Target="_blank" />
<BitNavOption Text="TodoTemplate" Url="https://bitplatform.dev/templates/overview" Target="_blank" />
<BitNavOption Text="AdminPanel" Url="https://bitplatform.dev/templates/overview" Target="_blank" />
</BitNavOption>
<BitNavOption Text="BlazorUI" Url="https://bitplatform.dev/components" Target="_blank" />
<BitNavOption Text="Cloud hosting solutions" IsEnabled="false" />
Expand Down Expand Up @@ -620,8 +620,8 @@
Text = "Project Templates",
ChildItems = new()
{
new() { Text = "TodoTemplate", Url = "https://bitplatform.dev/todo-template/overview" },
new() { Text = "AdminPanel", Url = "https://bitplatform.dev/admin-panel/overview" },
new() { Text = "TodoTemplate", Url = "https://bitplatform.dev/templates/overview" },
new() { Text = "AdminPanel", Url = "https://bitplatform.dev/templates/overview" },
}
},
new() { Text = "BlazorUI", Url = "https://bitplatform.dev/components" },
Expand Down Expand Up @@ -782,8 +782,8 @@
Text = "Project Templates",
Links = new()
{
new() { Text = "TodoTemplate", Url = "https://bitplatform.dev/todo-template/overview" },
new() { Text = "AdminPanel", Url = "https://bitplatform.dev/admin-panel/overview" },
new() { Text = "TodoTemplate", Url = "https://bitplatform.dev/templates/overview" },
new() { Text = "AdminPanel", Url = "https://bitplatform.dev/templates/overview" },
}
},
new() { Text = "BlazorUI", Url = "https://bitplatform.dev/components" },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,8 +755,8 @@ public partial class BitNavDemo
Text = ""Project Templates"",
ChildItems = new List<BitNavItem>
{
new() { Text = ""TodoTemplate"", Url = ""https://bitplatform.dev/todo-template/overview"" },
new() { Text = ""AdminPanel"", Url = ""https://bitplatform.dev/admin-panel/overview"" },
new() { Text = ""TodoTemplate"", Url = ""https://bitplatform.dev/templates/overview"" },
new() { Text = ""AdminPanel"", Url = ""https://bitplatform.dev/templates/overview"" },
}
},
new() { Text = ""BlazorUI"", Url = ""https://bitplatform.dev/components"" },
Expand Down Expand Up @@ -1225,8 +1225,8 @@ public partial class BitNavDemo
Text = ""Project Templates"",
ChildItems = new List<BitNavItem>
{
new() { Text = ""TodoTemplate"", Url = ""https://bitplatform.dev/todo-template/overview"" },
new() { Text = ""AdminPanel"", Url = ""https://bitplatform.dev/admin-panel/overview"" },
new() { Text = ""TodoTemplate"", Url = ""https://bitplatform.dev/templates/overview"" },
new() { Text = ""AdminPanel"", Url = ""https://bitplatform.dev/templates/overview"" },
}
},
new() { Text = ""BlazorUI"", Url = ""https://bitplatform.dev/components"" },
Expand Down Expand Up @@ -1287,8 +1287,8 @@ public class BitPlatformMenu
Text = ""Project Templates"",
Links = new List<BitPlatformMenu>
{
new() { Text = ""TodoTemplate"", Url = ""https://bitplatform.dev/todo-template/overview"" },
new() { Text = ""AdminPanel"", Url = ""https://bitplatform.dev/admin-panel/overview"" },
new() { Text = ""TodoTemplate"", Url = ""https://bitplatform.dev/templates/overview"" },
new() { Text = ""AdminPanel"", Url = ""https://bitplatform.dev/templates/overview"" },
}
},
new() { Text = ""BlazorUI"", Url = ""https://bitplatform.dev/components"" },
Expand Down Expand Up @@ -1851,8 +1851,8 @@ public class BitPlatformMenu
Text = ""Project Templates"",
Links = new List<BitPlatformMenu>
{
new() { Text = ""TodoTemplate"", Url = ""https://bitplatform.dev/todo-template/overview"" },
new() { Text = ""AdminPanel"", Url = ""https://bitplatform.dev/admin-panel/overview"" },
new() { Text = ""TodoTemplate"", Url = ""https://bitplatform.dev/templates/overview"" },
new() { Text = ""AdminPanel"", Url = ""https://bitplatform.dev/templates/overview"" },
}
},
new() { Text = ""BlazorUI"", Url = ""https://bitplatform.dev/components"" },
Expand Down Expand Up @@ -1888,8 +1888,8 @@ public class BitPlatformMenu
<BitNavOption Text=""Home"" Url=""https://bitplatform.dev/"" Target=""_blank"" />
<BitNavOption Text=""Products & Services"">
<BitNavOption Text=""Project Templates"">
<BitNavOption Text=""TodoTemplate"" Url=""https://bitplatform.dev/todo-template/overview"" Target=""_blank"" />
<BitNavOption Text=""AdminPanel"" Url=""https://bitplatform.dev/admin-panel/overview"" Target=""_blank"" />
<BitNavOption Text=""TodoTemplate"" Url=""https://bitplatform.dev/templates/overview"" Target=""_blank"" />
<BitNavOption Text=""AdminPanel"" Url=""https://bitplatform.dev/templates/overview"" Target=""_blank"" />
</BitNavOption>
<BitNavOption Text=""BlazorUI"" Url=""https://bitplatform.dev/components"" Target=""_blank"" />
<BitNavOption Text=""Cloud hosting solutions"" IsEnabled=""false"" />
Expand Down Expand Up @@ -2136,8 +2136,8 @@ public class BitPlatformMenu
<BitNavOption Text=""Home"" Url=""https://bitplatform.dev/"" Target=""_blank"" />
<BitNavOption Text=""Products & Services"">
<BitNavOption Text=""Project Templates"">
<BitNavOption Text=""TodoTemplate"" Url=""https://bitplatform.dev/todo-template/overview"" Target=""_blank"" />
<BitNavOption Text=""AdminPanel"" Url=""https://bitplatform.dev/admin-panel/overview"" Target=""_blank"" />
<BitNavOption Text=""TodoTemplate"" Url=""https://bitplatform.dev/templates/overview"" Target=""_blank"" />
<BitNavOption Text=""AdminPanel"" Url=""https://bitplatform.dev/templates/overview"" Target=""_blank"" />
</BitNavOption>
<BitNavOption Text=""BlazorUI"" Url=""https://bitplatform.dev/components"" Target=""_blank"" />
<BitNavOption Text=""Cloud hosting solutions"" IsEnabled=""false"" />
Expand Down
2 changes: 1 addition & 1 deletion src/BlazorUI/Demo/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<WebAppDeploymentType>Spa</WebAppDeploymentType>
<!-- You can choose either Spa, Pwa, SpaPrerendered, PwaPrerendered or PrerenderedOnly -->

<!-- Learn more about blazor modes & deployment types at https://bitplatform.dev/todo-template/hosting-models -->
<!-- Learn more about blazor modes & deployment types at https://bitplatform.dev/templates/hosting-models -->

<UseElectron Condition=" '$(BlazorMode)' == 'BlazorElectron' ">true</UseElectron>
<DefineConstants Condition=" '$(BlazorMode)' == 'BlazorElectron' ">$(DefineConstants);BlazorElectron</DefineConstants>
Expand Down
2 changes: 1 addition & 1 deletion src/BlazorUI/Demo/Server/Api/Startup/Middlewares.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static void Use(WebApplication app, IHostEnvironment env, IConfiguration
{
OnPrepareResponse = ctx =>
{
// https://bitplatform.dev/todo-template/cache-mechanism
// https://bitplatform.dev/templates/cache-mechanism
ctx.Context.Response.GetTypedHeaders().CacheControl = new CacheControlHeaderValue()
{
MaxAge = TimeSpan.FromDays(7),
Expand Down
2 changes: 1 addition & 1 deletion src/BlazorUI/Demo/Shared/Infra/BlazorModeDetector.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Bit.BlazorUI.Demo.Shared.Infra;

/// <summary>
/// https://bitplatform.dev/todo-template/hosting-models
/// https://bitplatform.dev/templates/hosting-models
/// </summary>
public class BlazorModeDetector
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Bit.BlazorUI.Demo.Shared.Infra;

/// <summary>
/// https://bitplatform.dev/todo-template/hosting-models
/// https://bitplatform.dev/templates/hosting-models
/// </summary>
public class WebAppDeploymentTypeDetector
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: AdminPanel CD

# https://bitplatform.dev/admin-panel/dev-ops
# https://bitplatform.dev/templates/dev-ops

env:
WEB_APP_DEPLOYMENT_TYPE: 'Spa'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: AdminPanel CI

# https://bitplatform.dev/admin-panel/dev-ops
# https://bitplatform.dev/templates/dev-ops

env:
WEB_APP_DEPLOYMENT_TYPE: 'Spa'
Expand Down
2 changes: 1 addition & 1 deletion src/Templates/AdminPanel/Readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# bit AdminPanel Template

More info at https://bitplatform.dev/admin-panel/overview
More info at https://bitplatform.dev/templates/overview
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static void Use(IApplicationBuilder app, IHostEnvironment env, IConfigura
{
OnPrepareResponse = ctx =>
{
// https://bitplatform.dev/todo-template/cache-mechanism
// https://bitplatform.dev/templates/cache-mechanism
ctx.Context.Response.GetTypedHeaders().CacheControl = new CacheControlHeaderValue()
{
MaxAge = TimeSpan.FromDays(7),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace BlazorDual.Shared.Infra;

/// <summary>
/// https://bitplatform.dev/todo-template/hosting-models
/// https://bitplatform.dev/templates/hosting-models
/// </summary>
public class BlazorModeDetector
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace BlazorDual.Shared.Infra;

/// <summary>
/// https://bitplatform.dev/todo-template/hosting-models
/// https://bitplatform.dev/templates/hosting-models
/// </summary>
public class WebAppDeploymentTypeDetector
{
Expand Down
4 changes: 3 additions & 1 deletion src/Templates/BlazorDual/Readme.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# bit BlazorDual Template
# bit BlazorDual Template

More info at https://bitplatform.dev/templates/overview
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: TodoTemplate CD

# https://bitplatform.dev/todo-template/dev-ops
# https://bitplatform.dev/templates/dev-ops

env:
WEB_APP_DEPLOYMENT_TYPE: 'Spa'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: TodoTemplate CI

# https://bitplatform.dev/todo-template/dev-ops
# https://bitplatform.dev/templates/dev-ops

env:
WEB_APP_DEPLOYMENT_TYPE: 'Spa'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<WebAppDeploymentType>Spa</WebAppDeploymentType>
<!-- You can choose either Spa, Pwa, SpaPrerendered, PwaPrerendered or PrerenderedOnly -->

<!-- Learn more about blazor modes & deployment types at https://bitplatform.dev/todo-template/hosting-models -->
<!-- Learn more about blazor modes & deployment types at https://bitplatform.dev/templates/hosting-models -->

<UseElectron Condition=" '$(BlazorMode)' == 'BlazorElectron' ">true</UseElectron>
<DefineConstants Condition=" '$(BlazorMode)' == 'BlazorElectron' ">$(DefineConstants);BlazorElectron</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static void Use(WebApplication app, IHostEnvironment env, IConfiguration
{
OnPrepareResponse = ctx =>
{
// https://bitplatform.dev/todo-template/cache-mechanism
// https://bitplatform.dev/templates/cache-mechanism
ctx.Context.Response.GetTypedHeaders().CacheControl = new CacheControlHeaderValue()
{
MaxAge = TimeSpan.FromDays(7),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace TodoTemplate.Shared.Infra;

/// <summary>
/// https://bitplatform.dev/todo-template/hosting-models
/// https://bitplatform.dev/templates/hosting-models
/// </summary>
public class BlazorModeDetector
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
namespace TodoTemplate.Shared.Infra;

/// <summary>
/// https://bitplatform.dev/todo-template/hosting-models
/// https://bitplatform.dev/templates/hosting-models
/// </summary>
public class WebAppDeploymentTypeDetector
{
Expand Down
2 changes: 1 addition & 1 deletion src/Templates/TodoTemplate/Readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# bit TodoTemplate

More info at https://bitplatform.dev/todo-template/overview
More info at https://bitplatform.dev/templates/overview
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public static void Use(IApplicationBuilder app, IHostEnvironment env, IConfigura
{
OnPrepareResponse = ctx =>
{
// https://bitplatform.dev/todo-template/cache-mechanism
// https://bitplatform.dev/templates/cache-mechanism
ctx.Context.Response.GetTypedHeaders().CacheControl = new CacheControlHeaderValue()
{
MaxAge = TimeSpan.FromDays(7),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Bit.Websites.Careers.Shared.Infra;

/// <summary>
/// https://bitplatform.dev/todo-template/hosting-models
/// https://bitplatform.dev/templates/hosting-models
/// </summary>
public class BlazorModeDetector
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace Bit.Websites.Careers.Shared.Infra;

/// <summary>
/// https://bitplatform.dev/todo-template/hosting-models
/// https://bitplatform.dev/templates/hosting-models
/// </summary>
public class WebAppDeploymentTypeDetector
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/cache-mechanism"
@page "/todo-template/cache-mechanism"
@page "/admin-panel/cache-mechanism"
@page "/templates/cache-mechanism"
@inherits AppComponentBase

<PageOutlet Url="templates/cache-mechanism"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/contribute"
@page "/todo-template/contribute"
@page "/admin-panel/contribute"
@page "/templates/contribute"
@inherits AppComponentBase

<PageOutlet Url="templates/contribute"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/create-project"
@page "/todo-template/create-project"
@page "/admin-panel/create-project"
@page "/templates/create-project"
@inherits AppComponentBase

<PageOutlet Url="templates/create-project"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/database"
@page "/todo-template/database"
@page "/admin-panel/database"
@page "/templates/database"
@inherits AppComponentBase

<PageOutlet Url="templates/database"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/deployment-type"
@page "/todo-template/deployment-type"
@page "/admin-panel/deployment-type"
@page "/templates/deployment-type"
@inherits AppComponentBase

<PageOutlet Url="templates/deployment-type"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/devops"
@page "/todo-template/devops"
@page "/admin-panel/devops"
@page "/templates/devops"
@inherits AppComponentBase

<PageOutlet Url="templates/devops"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/development-prerequisites"
@page "/todo-template/development-prerequisites"
@page "/admin-panel/development-prerequisites"
@page "/templates/development-prerequisites"
@inherits AppComponentBase

<PageOutlet Url="templates/development-prerequisites"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/exception-handling"
@page "/todo-template/exception-handling"
@page "/admin-panel/exception-handling"
@page "/templates/exception-handling"
@inherits AppComponentBase

<PageOutlet Url="templates/exception-handling"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/hosting-models"
@page "/todo-template/hosting-models"
@page "/admin-panel/hosting-models"
@page "/templates/hosting-models"
@inherits AppComponentBase

<PageOutlet Url="templates/hosting-models"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
@page "/templates/multilingualism"
@page "/todo-template/multilingualism"
@page "/admin-panel/multilingualism"
@page "/templates/multilingualism"
@inherits AppComponentBase

<PageOutlet Url="templates/multilingualism"
Expand Down
Loading

0 comments on commit 48e7bb5

Please sign in to comment.