diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..dc4eda82 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,17 @@ +{ + "name": ".NET", + "image": "mcr.microsoft.com/vscode/devcontainers/universal:2.0", + "postCreateCommand": "export PATH=$PATH:~/.dotnet/tools", + "customizations": { + "vscode": { + "extensions": [ + "streetsidesoftware.code-spell-checker", + "ms-dotnettools.csharp", + "GitHub.copilot", + "yzhang.markdown-all-in-one", + "DotJoshJohnson.xml", + "tintoy.msbuild-project-tools" + ] + } + } +} diff --git a/docs/docs/how-to.md b/docs/docs/how-to.md index 09f32fdb..d5e35484 100644 --- a/docs/docs/how-to.md +++ b/docs/docs/how-to.md @@ -1,4 +1,9 @@ -# How To ... +# Scenarios Scenario-based solutions to common packing needs. +## How to include a Readme + +## How to include package references + +## How to include files from referenced package \ No newline at end of file diff --git a/docs/docs/overview.md b/docs/docs/overview.md index 476060da..a8fd304f 100644 --- a/docs/docs/overview.md +++ b/docs/docs/overview.md @@ -1,2 +1,3 @@ # Overview +[!code-xml[](scenarios/simple/Library.csproj?highlight=4-5)] diff --git a/docs/docs/scenarios/Directory.Build.props b/docs/docs/scenarios/Directory.Build.props new file mode 100644 index 00000000..d544738b --- /dev/null +++ b/docs/docs/scenarios/Directory.Build.props @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/docs/docs/scenarios/Directory.Build.targets b/docs/docs/scenarios/Directory.Build.targets new file mode 100644 index 00000000..38333b6e --- /dev/null +++ b/docs/docs/scenarios/Directory.Build.targets @@ -0,0 +1,11 @@ + + + + https://pkg.kzu.io/index.json;https://api.nuget.org/v3/index.json + + + + + + + \ No newline at end of file diff --git a/docs/docs/scenarios/_._ b/docs/docs/scenarios/_._ new file mode 100644 index 00000000..e69de29b diff --git a/docs/docs/scenarios/simple/Library.csproj b/docs/docs/scenarios/simple/Library.csproj new file mode 100644 index 00000000..a780933a --- /dev/null +++ b/docs/docs/scenarios/simple/Library.csproj @@ -0,0 +1,12 @@ + + + + Library + netstandard2.0 + + + + + + + diff --git a/docs/docs/toc.yml b/docs/docs/toc.yml index 9281b68e..04bd7015 100644 --- a/docs/docs/toc.yml +++ b/docs/docs/toc.yml @@ -3,6 +3,12 @@ - name: Quickstart href: ../index.md - name: Essentials + items: + - name: Overview + href: overview.md + - name: How To + href: how-to.md +- name: Advanced items: - name: Overview href: overview.md diff --git a/docs/index.md b/docs/index.md index fa22778b..89a0cf46 100644 --- a/docs/index.md +++ b/docs/index.md @@ -9,4 +9,6 @@ Yes, this means you'll never need to write a `.nuspec` by hand ever again, no ma how complicated or advanced your packing scenarios are. + + [!include[Readme](../readme.md)] \ No newline at end of file