Skip to content

Commit

Permalink
Update scripts and sln for changed folder names
Browse files Browse the repository at this point in the history
  • Loading branch information
pauldendulk committed Apr 12, 2024
1 parent b301ca2 commit c3c8bbb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 143 deletions.
151 changes: 15 additions & 136 deletions Mapsui.sln
Original file line number Diff line number Diff line change
Expand Up @@ -53,55 +53,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mapsui.Rendering.Skia", "Ma
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mapsui.UI.iOS", "Mapsui.UI.iOS\Mapsui.UI.iOS.csproj", "{E71F3053-056C-4381-9638-048ED73BDFF6}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docfx", "docfx", "{97458DE1-C297-4DED-AECB-5FEFED2B5610}"
ProjectSection(SolutionItems) = preProject
docfx\CNAME = docfx\CNAME
docfx\docfx.json = docfx\docfx.json
docfx\index.md = docfx\index.md
docfx\metadata.json = docfx\metadata.json
docfx\toc.yml = docfx\toc.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "documentation", "documentation", "{7D976D37-0542-4A0D-99E6-6BAA180E7011}"
ProjectSection(SolutionItems) = preProject
docfx\documentation\Async-Fetching.md = docfx\documentation\Async-Fetching.md
docfx\documentation\Contributors-Guidelines.md = docfx\documentation\Contributors-Guidelines.md
docfx\documentation\custom-style-renders.md = docfx\documentation\custom-style-renders.md
docfx\documentation\documentation.md = docfx\documentation\documentation.md
docfx\documentation\getting-started-android.md = docfx\documentation\getting-started-android.md
docfx\documentation\getting-started-avalonia.md = docfx\documentation\getting-started-avalonia.md
docfx\documentation\getting-started-blazor.md = docfx\documentation\getting-started-blazor.md
docfx\documentation\getting-started-eto.md = docfx\documentation\getting-started-eto.md
docfx\documentation\getting-started-ios.md = docfx\documentation\getting-started-ios.md
docfx\documentation\getting-started-maui.md = docfx\documentation\getting-started-maui.md
docfx\documentation\getting-started-uno-winui.md = docfx\documentation\getting-started-uno-winui.md
docfx\documentation\getting-started-uno.md = docfx\documentation\getting-started-uno.md
docfx\documentation\getting-started-winui.md = docfx\documentation\getting-started-winui.md
docfx\documentation\getting-started-wpf.md = docfx\documentation\getting-started-wpf.md
docfx\documentation\getting-started-xamarin-forms.md = docfx\documentation\getting-started-xamarin-forms.md
docfx\documentation\Home.md = docfx\documentation\Home.md
docfx\documentation\How-to-work-with-Mapsui.md = docfx\documentation\How-to-work-with-Mapsui.md
docfx\documentation\Mapsui-Components.md = docfx\documentation\Mapsui-Components.md
docfx\documentation\NuGet-of-latest-build.md = docfx\documentation\NuGet-of-latest-build.md
docfx\documentation\performance-widget.md = docfx\documentation\performance-widget.md
docfx\documentation\projections.md = docfx\documentation\projections.md
docfx\documentation\rendering-tests.md = docfx\documentation\rendering-tests.md
docfx\documentation\Roadmap.md = docfx\documentation\Roadmap.md
docfx\documentation\samples.md = docfx\documentation\samples.md
docfx\documentation\toc.md = docfx\documentation\toc.md
docfx\documentation\touch-and-mouse-handling.md = docfx\documentation\touch-and-mouse-handling.md
docfx\documentation\v2.0-upgrade-guide.md = docfx\documentation\v2.0-upgrade-guide.md
docfx\documentation\v4.0-upgrade-guide.md = docfx\documentation\v4.0-upgrade-guide.md
docfx\documentation\v5.0-upgrade-guide.md = docfx\documentation\v5.0-upgrade-guide.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "images", "images", "{52C84C7C-1D60-454E-804A-1F9691BD61A3}"
ProjectSection(SolutionItems) = preProject
docfx\documentation\images\brutile_fetcher.png = docfx\documentation\images\brutile_fetcher.png
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "api", "api", "{5BB9C8BA-0FF4-40E7-BC36-8D671A951C82}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mapsui.Samples.Droid", "Samples\Mapsui.Samples.Droid\Mapsui.Samples.Droid.csproj", "{3BC0AC7E-3B3B-4D3F-9CC0-B2BDECC460A6}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mapsui.UI.WinUI", "Mapsui.UI.WinUI\Mapsui.UI.WinUI.csproj", "{27B81FBB-F6E9-49BB-BAE9-F99F0E01DB73}"
Expand Down Expand Up @@ -164,89 +115,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Mapsui.Samples.Uno.WinUI",
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Mapsui.UI.MapView", "Mapsui.UI.MapView\Mapsui.UI.MapView.shproj", "{1A4666DB-CD58-4380-858C-7730C0508A85}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CodeSamples", "CodeSamples", "{F161CDAC-1F47-4942-976B-FB7B154A542E}"
ProjectSection(SolutionItems) = preProject
docfx\codesamples\AnimatedBusSample.md = docfx\codesamples\AnimatedBusSample.md
docfx\codesamples\AnimatedMyLocationSample.md = docfx\codesamples\AnimatedMyLocationSample.md
docfx\codesamples\ArcGISImageServiceSample.md = docfx\codesamples\ArcGISImageServiceSample.md
docfx\codesamples\AtlasSample.md = docfx\codesamples\AtlasSample.md
docfx\codesamples\BingSample.md = docfx\codesamples\BingSample.md
docfx\codesamples\CenterOnLocationSample.md = docfx\codesamples\CenterOnLocationSample.md
docfx\codesamples\CircleSample.md = docfx\codesamples\CircleSample.md
docfx\codesamples\ComplexPolygonSample.md = docfx\codesamples\ComplexPolygonSample.md
docfx\codesamples\CustomCalloutSample.md = docfx\codesamples\CustomCalloutSample.md
docfx\codesamples\CustomStyleSample.md = docfx\codesamples\CustomStyleSample.md
docfx\codesamples\CustomWidgetSample.md = docfx\codesamples\CustomWidgetSample.md
docfx\codesamples\DynamicSvgStyleSample.md = docfx\codesamples\DynamicSvgStyleSample.md
docfx\codesamples\EditingSample.md = docfx\codesamples\EditingSample.md
docfx\codesamples\EmptyMapSample.md = docfx\codesamples\EmptyMapSample.md
docfx\codesamples\GeoJsonSample.md = docfx\codesamples\GeoJsonSample.md
docfx\codesamples\GeometrySimplifyProviderWithShapefileSample.md = docfx\codesamples\GeometrySimplifyProviderWithShapefileSample.md
docfx\codesamples\GeoTiffSample.md = docfx\codesamples\GeoTiffSample.md
docfx\codesamples\IFormsSample.md = docfx\codesamples\IFormsSample.md
docfx\codesamples\IMapControlSample.md = docfx\codesamples\IMapControlSample.md
docfx\codesamples\InfoLayersSample.md = docfx\codesamples\InfoLayersSample.md
docfx\codesamples\ISample.md = docfx\codesamples\ISample.md
docfx\codesamples\KeepCenterInMapSample.md = docfx\codesamples\KeepCenterInMapSample.md
docfx\codesamples\KeepWithinExtentSample.md = docfx\codesamples\KeepWithinExtentSample.md
docfx\codesamples\LabelsSample.md = docfx\codesamples\LabelsSample.md
docfx\codesamples\LineStringSample.md = docfx\codesamples\LineStringSample.md
docfx\codesamples\ManyPinsSample.md = docfx\codesamples\ManyPinsSample.md
docfx\codesamples\MapTilerSample.md = docfx\codesamples\MapTilerSample.md
docfx\codesamples\MbTilesOverlaySample.md = docfx\codesamples\MbTilesOverlaySample.md
docfx\codesamples\MbTilesSample.md = docfx\codesamples\MbTilesSample.md
docfx\codesamples\MultiPolygonProjectionSample.md = docfx\codesamples\MultiPolygonProjectionSample.md
docfx\codesamples\MutatingTriangleSample.md = docfx\codesamples\MutatingTriangleSample.md
docfx\codesamples\MyLocationSample.md = docfx\codesamples\MyLocationSample.md
docfx\codesamples\OpacityStyleSample.md = docfx\codesamples\OpacityStyleSample.md
docfx\codesamples\OsmSample.md = docfx\codesamples\OsmSample.md
docfx\codesamples\PanLockSample.md = docfx\codesamples\PanLockSample.md
docfx\codesamples\PenStrokeCapSample.md = docfx\codesamples\PenStrokeCapSample.md
docfx\codesamples\PerformanceWidgetSample.md = docfx\codesamples\PerformanceWidgetSample.md
docfx\codesamples\PinSample.md = docfx\codesamples\PinSample.md
docfx\codesamples\PointProjectionSample.md = docfx\codesamples\PointProjectionSample.md
docfx\codesamples\PointsSample.md = docfx\codesamples\PointsSample.md
docfx\codesamples\PolygonSample.md = docfx\codesamples\PolygonSample.md
docfx\codesamples\PolylineSample.md = docfx\codesamples\PolylineSample.md
docfx\codesamples\ProjectionSample.md = docfx\codesamples\ProjectionSample.md
docfx\codesamples\RasterizingLayerWithLineStringSample.md = docfx\codesamples\RasterizingLayerWithLineStringSample.md
docfx\codesamples\RasterizingLayerWithPointsSample.md = docfx\codesamples\RasterizingLayerWithPointsSample.md
docfx\codesamples\RasterizingTileLayerGeoJsonSample.md = docfx\codesamples\RasterizingTileLayerGeoJsonSample.md
docfx\codesamples\RasterizingTileLayerWithLineStringSample.md = docfx\codesamples\RasterizingTileLayerWithLineStringSample.md
docfx\codesamples\RasterizingTileLayerWithPointsSample.md = docfx\codesamples\RasterizingTileLayerWithPointsSample.md
docfx\codesamples\RasterizingTileLayerWithRenderFormatSkpSample.md = docfx\codesamples\RasterizingTileLayerWithRenderFormatSkpSample.md
docfx\codesamples\RasterizingTileLayerWithShapefileSample.md = docfx\codesamples\RasterizingTileLayerWithShapefileSample.md
docfx\codesamples\ScaleBarSample.md = docfx\codesamples\ScaleBarSample.md
docfx\codesamples\SelectionStyleSample.md = docfx\codesamples\SelectionStyleSample.md
docfx\codesamples\ShapefileProjectionSample.md = docfx\codesamples\ShapefileProjectionSample.md
docfx\codesamples\ShapefileSample.md = docfx\codesamples\ShapefileSample.md
docfx\codesamples\ShapefileTilingFilteringSample.md = docfx\codesamples\ShapefileTilingFilteringSample.md
docfx\codesamples\SingleCalloutSample.md = docfx\codesamples\SingleCalloutSample.md
docfx\codesamples\SingleImageSample.md = docfx\codesamples\SingleImageSample.md
docfx\codesamples\SnapshotSample.md = docfx\codesamples\SnapshotSample.md
docfx\codesamples\StackedLabelsSample.md = docfx\codesamples\StackedLabelsSample.md
docfx\codesamples\SvgSample.md = docfx\codesamples\SvgSample.md
docfx\codesamples\SymbolAnimationSample.md = docfx\codesamples\SymbolAnimationSample.md
docfx\codesamples\SymbolsSample.md = docfx\codesamples\SymbolsSample.md
docfx\codesamples\ThemeStyleSample.md = docfx\codesamples\ThemeStyleSample.md
docfx\codesamples\TiledWmsSample.md = docfx\codesamples\TiledWmsSample.md
docfx\codesamples\TmsSample.md = docfx\codesamples\TmsSample.md
docfx\codesamples\VariousSample.md = docfx\codesamples\VariousSample.md
docfx\codesamples\ViewportCenterAndZoomAnimationSample.md = docfx\codesamples\ViewportCenterAndZoomAnimationSample.md
docfx\codesamples\ViewportCenterOnAnimationSample.md = docfx\codesamples\ViewportCenterOnAnimationSample.md
docfx\codesamples\ViewportFlyToAnimationSample.md = docfx\codesamples\ViewportFlyToAnimationSample.md
docfx\codesamples\ViewportRotateAnimationSample.md = docfx\codesamples\ViewportRotateAnimationSample.md
docfx\codesamples\ViewportZoomAroundLocationAnimationSample.md = docfx\codesamples\ViewportZoomAroundLocationAnimationSample.md
docfx\codesamples\ViewportZoomToResolutionAnimationSample.md = docfx\codesamples\ViewportZoomToResolutionAnimationSample.md
docfx\codesamples\WfsSample.md = docfx\codesamples\WfsSample.md
docfx\codesamples\WidgetSample.md = docfx\codesamples\WidgetSample.md
docfx\codesamples\WmsSample.md = docfx\codesamples\WmsSample.md
docfx\codesamples\WmtsMichellinSample.md = docfx\codesamples\WmtsMichellinSample.md
docfx\codesamples\WmtsSample.md = docfx\codesamples\WmtsSample.md
docfx\codesamples\WriteToLayerSample.md = docfx\codesamples\WriteToLayerSample.md
docfx\codesamples\ZoomLockSample.md = docfx\codesamples\ZoomLockSample.md
EndProjectSection
EndProject
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Mapsui.Samples.MapView", "Samples\Mapsui.Samples.MapView\Mapsui.Samples.MapView.shproj", "{D5E9ECB0-9621-49D8-8D50-B3BA642D368C}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Avalonia", "Avalonia", "{B93C3A95-D9A5-48BC-9CD5-888D51A3F996}"
Expand Down Expand Up @@ -282,6 +150,20 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "GitHubTemplates", "GitHubTe
.github\ISSUE_TEMPLATE\pull_request_template.md = .github\ISSUE_TEMPLATE\pull_request_template.md
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{0A9944CE-3B13-47A0-AA2B-2288029A26B4}"
ProjectSection(SolutionItems) = preProject
docs\CNAME = docs\CNAME
docs\mkdocs.yml = docs\mkdocs.yml
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "api", "api", "{AB4B602C-BCDE-48AF-B5A5-A6CC5340CBB8}"
ProjectSection(SolutionItems) = preProject
docs\api\docfx.json = docs\api\docfx.json
docs\api\index.md = docs\api\index.md
docs\api\metadata.json = docs\api\metadata.json
docs\api\toc.yml = docs\api\toc.yml
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Ad-Hoc|AnyCPU = Ad-Hoc|AnyCPU
Expand Down Expand Up @@ -2794,9 +2676,6 @@ Global
{512DB2DB-61A0-4723-A6AC-E9AE23243283} = {F7130D3D-4E62-4EB3-B74C-1E819E017048}
{81BB36D2-4D01-44E3-9024-E7CBD10DA316} = {F7130D3D-4E62-4EB3-B74C-1E819E017048}
{5C1F0E76-BF98-4C6E-8AAB-CDB7E3735A9C} = {969DB691-49FB-4785-98F4-2112CC1BA7C4}
{7D976D37-0542-4A0D-99E6-6BAA180E7011} = {97458DE1-C297-4DED-AECB-5FEFED2B5610}
{52C84C7C-1D60-454E-804A-1F9691BD61A3} = {7D976D37-0542-4A0D-99E6-6BAA180E7011}
{5BB9C8BA-0FF4-40E7-BC36-8D671A951C82} = {97458DE1-C297-4DED-AECB-5FEFED2B5610}
{3BC0AC7E-3B3B-4D3F-9CC0-B2BDECC460A6} = {969DB691-49FB-4785-98F4-2112CC1BA7C4}
{F8B5F48E-5412-4D7A-A76F-01198D6E1768} = {969DB691-49FB-4785-98F4-2112CC1BA7C4}
{A1FFEB6C-BE22-4659-83D2-F80333A6E7FB} = {F7130D3D-4E62-4EB3-B74C-1E819E017048}
Expand All @@ -2814,7 +2693,6 @@ Global
{10B6CC78-FA95-4E28-8F74-FD278714B9AD} = {671AF0DE-73BD-46C9-81F0-087703E010AE}
{BA0E8B89-ADBC-43B8-86D0-A1BC2427AE7F} = {969DB691-49FB-4785-98F4-2112CC1BA7C4}
{741484E5-6E06-46E3-BCC6-22953A31FE9F} = {B12E8967-0E5B-4728-B877-F3BDFE0871F2}
{F161CDAC-1F47-4942-976B-FB7B154A542E} = {97458DE1-C297-4DED-AECB-5FEFED2B5610}
{D5E9ECB0-9621-49D8-8D50-B3BA642D368C} = {969DB691-49FB-4785-98F4-2112CC1BA7C4}
{B93C3A95-D9A5-48BC-9CD5-888D51A3F996} = {969DB691-49FB-4785-98F4-2112CC1BA7C4}
{6114232D-689A-415E-8079-88CFD5A5678A} = {B93C3A95-D9A5-48BC-9CD5-888D51A3F996}
Expand All @@ -2823,6 +2701,7 @@ Global
{3769BDA6-14B3-42B5-8E16-4BED13979597} = {B93C3A95-D9A5-48BC-9CD5-888D51A3F996}
{A8808FA9-B3FC-4C13-8C22-22DC2C9A1EA7} = {B93C3A95-D9A5-48BC-9CD5-888D51A3F996}
{AE094043-B696-49D4-8F58-2523047A6210} = {F6CFD2E9-A26C-4255-AEAC-6C85A1402F09}
{AB4B602C-BCDE-48AF-B5A5-A6CC5340CBB8} = {0A9944CE-3B13-47A0-AA2B-2288029A26B4}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {22D684C3-0BD3-4D8A-AB23-748FB5527F6F}
Expand Down
10 changes: 5 additions & 5 deletions Scripts/BuildDocumentationWebSite.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
# winget install Microsoft.DotNet.SDK.6 --silent

Write-Output "Building documentation using MkDocs"
mkdocs build -f docfx/mkdocs.yml
mkdocs build -f docs/mkdocs.yml

Write-Output "Installing DocFX"
dotnet tool update -g docfx --version 2.75.3

Write-Output "Generating website in docfx\_site folder"
docfx docfx\docfx.json
Write-Output "Generating website in docs\api\_site folder"
docfx docs\api\docfx.json

Write-Output "Deleting existing website folder and contents"
Remove-Item -Path "website" -Recurse -Force -ErrorAction SilentlyContinue
Expand All @@ -17,7 +17,7 @@ Write-Output "Creating a new website folder"
New-Item -ItemType Directory -Path "website"

Write-Output "Copying CNAME file to website. This is necessary for the mapsui.com domain"
Copy-Item -Path "docfx\CNAME" -Destination "website" -Force
Copy-Item -Path "docs\CNAME" -Destination "website" -Force

Write-Output "Copying _site to website"
Copy-Item -Path "docfx\_site\*" -Destination "website" -Recurse -Force
Copy-Item -Path "docs\_site\*" -Destination "website" -Recurse -Force
4 changes: 2 additions & 2 deletions Scripts/BuildSamplesDocumentation.ps1
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$rootFolder = ".\samples"
$outputFolder = ".\docfx\codesamples"
$outputFolder = ".\docs\api\codesamples"
$rootPath = Convert-Path .\

Get-ChildItem -Path $rootFolder -Recurse -Filter "*sample.cs" | ForEach-Object {
Expand All @@ -15,7 +15,7 @@ Get-ChildItem -Path $rootFolder -Recurse -Filter "*sample.cs" | ForEach-Object {
}

$rootFolder = ".\Tests"
$outputFolder = ".\docfx\codesamples"
$outputFolder = ".\docs\api\codesamples"
$rootPath = Convert-Path .\

Get-ChildItem -Path $rootFolder -Recurse -Filter "*sample.cs" | ForEach-Object {
Expand Down

0 comments on commit c3c8bbb

Please sign in to comment.