diff --git a/docs/.dockerignore b/docs/.dockerignore new file mode 100644 index 0000000..49cadb8 --- /dev/null +++ b/docs/.dockerignore @@ -0,0 +1,3 @@ +.docusaurus/ +node_modules/ +.k8s/ diff --git a/docs/docs/command_plugins.md b/docs/docs/command_plugins.md index e490fc1..9c84dbf 100644 --- a/docs/docs/command_plugins.md +++ b/docs/docs/command_plugins.md @@ -15,13 +15,13 @@ What this command will do is generate a `.env` file in the current directory and To start creating command plugins for MycroFroge, make sure you've added the devdisciples package repository. This can be done by running the following command. -```bash +``` dotnet nuget add source --name devdisciples https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json ``` Run the following command to add the `MycroForge.PluginTemplate.Package`. -```bash +``` dotnet add package --source devdisciples --version 1.0.0 MycroForge.PluginTemplate.Package ``` @@ -29,14 +29,14 @@ dotnet add package --source devdisciples --version 1.0.0 MycroForge.PluginTempla Generate a template plugin project by running the following command. -```bash +``` m4g plugin init My.Dotenv.Plugin ``` This should generate the following folder structure. ``` -Env.Plugin +My.Dotenv.Plugin ┣ 📜HelloWorldCommand.cs ┣ 📜HelloWorldCommandPlugin.cs ┗ 📜My.Dotenv.Plugin.csproj @@ -51,7 +51,7 @@ HelloWorldCommandPlugin.cs => DotenvCommandPlugin.cs Modify `Name` property in `DotenvCommandPlugin.cs`. -```C# +```cs // Before public class DotenvCommandPlugin : ICommandPlugin { @@ -77,7 +77,7 @@ public class DotenvCommandPlugin : ICommandPlugin Modify `DotenvCommand.cs`. -```C# +```cs // Before public class DotenvCommand : Command, ISubCommandOf { @@ -152,7 +152,7 @@ public class DotenvCommand : Command, ISubCommandOf Open a terminal an make sure you're in the root directory of the plugin, i.e. the `My.Dotenv.Plugin` folder. Run the following command to install the plugin. -```bash +``` m4g plugin install --platform ``` diff --git a/docs/docs/getting_started.md b/docs/docs/getting_started.md index 86878e5..6178f43 100644 --- a/docs/docs/getting_started.md +++ b/docs/docs/getting_started.md @@ -22,7 +22,7 @@ For Windows users, MycroForge is designed to run in a POSIX compliant environmen Before installing MycroForge, add the package registry by running the following command: -```sh +``` dotnet nuget add source --name devdisciples https://git.devdisciples.com/api/packages/devdisciples/nuget/index.json ``` diff --git a/docs/docusaurus.config.ts b/docs/docusaurus.config.ts index 38d80d5..4989936 100644 --- a/docs/docusaurus.config.ts +++ b/docs/docusaurus.config.ts @@ -77,8 +77,9 @@ const config: Config = { copyright: `Copyright © ${new Date().getFullYear()} DevDisciples`, }, prism: { - theme: prismThemes.github, - darkTheme: prismThemes.dracula, + theme: prismThemes.oneLight, + darkTheme: prismThemes.oneDark, + additionalLanguages: ["csharp", "bash"] }, } satisfies Preset.ThemeConfig, };