rename the docs project
This commit is contained in:
Родитель
93310a1d14
Коммит
7e80607ff0
|
@ -345,8 +345,8 @@ package-lock.json
|
|||
/components/wwwroot/js/ant-design-blazor.js.map
|
||||
/components/AntDesign.xml
|
||||
/site/**/wwwroot/docs
|
||||
/site/AntBlazor.Docs/wwwroot/css/docs.css
|
||||
/site/AntBlazor.Docs/wwwroot/meta
|
||||
/AntBlazor.Docs/wwwroot/docs
|
||||
/site/AntDesign.Docs/wwwroot/css/docs.css
|
||||
/site/AntDesign.Docs/wwwroot/meta
|
||||
/AntDesign.Docs/wwwroot/docs
|
||||
coverage.cobertura.xml
|
||||
scripts/previewEditor/index.html
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
"timeout": 300000,
|
||||
// If you have changed the default port / launch URL make sure to update the expectation below
|
||||
"url": "http://localhost:5000",
|
||||
"webRoot": "${workspaceFolder}/site/AntBlazor.Docs.Wasm",
|
||||
"webRoot": "${workspaceFolder}/site/AntDesign.Docs.Wasm",
|
||||
}
|
||||
]
|
||||
}
|
|
@ -15,7 +15,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{C60BCE84-4AF
|
|||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AntDesign", "components\AntDesign.csproj", "{0D3995E9-EBD9-4BBB-9E6C-3A3DE8C4611A}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AntDesign.Docs", "site\AntBlazor.Docs\AntDesign.Docs.csproj", "{E2E6E4E8-2156-4B55-8164-40349D86330B}"
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AntDesign.Docs", "site\AntDesign.Docs\AntDesign.Docs.csproj", "{E2E6E4E8-2156-4B55-8164-40349D86330B}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AntDesign.Docs.WasmHost", "site\AntDesign.Docs.WasmHost\AntDesign.Docs.WasmHost.csproj", "{7FD7BCA7-058C-468C-BD8B-8496074651FD}"
|
||||
EndProject
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
"start": "dotnet watch -p ./site/AntDesign.Docs.Server run -f net5",
|
||||
"start:wasm": "dotnet watch -p ./site/AntDesign.Docs.Wasm run -f net5",
|
||||
"gulp:components": "gulp --gulpfile ./components/gulpfile.js",
|
||||
"gulp:docs": "gulp --gulpfile ./site/AntBlazor.Docs/gulpfile.js",
|
||||
"gulp:docs": "gulp --gulpfile ./site/AntDesign.Docs/gulpfile.js",
|
||||
"preinstall": "dotnet tool restore",
|
||||
"changelog": "node ./scripts/print-changelog"
|
||||
},
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
"AntDesign.Docs.Build.CLI": {
|
||||
"commandName": "Project",
|
||||
//"commandLineArgs": "docs2html ../../../../../docs ./"
|
||||
//"commandLineArgs": "menu2json ../../../../AntBlazor.Docs/Demos ../../../../../docs ./"
|
||||
"commandLineArgs": "demo2json ../../../../AntBlazor.Docs/Demos ./"
|
||||
//"commandLineArgs": "menu2json ../../../../AntDesign.Docs/Demos ../../../../../docs ./"
|
||||
"commandLineArgs": "demo2json ../../../../AntDesign.Docs/Demos ./"
|
||||
//"commandLineArgs": "icons2json ../../../../../components/wwwroot/icons ./"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AntBlazor.Docs\AntDesign.Docs.csproj" />
|
||||
<ProjectReference Include="..\AntDesign.Docs\AntDesign.Docs.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AntBlazor.Docs\AntDesign.Docs.csproj" />
|
||||
<ProjectReference Include="..\AntDesign.Docs\AntDesign.Docs.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -47,14 +47,14 @@
|
|||
<PropertyGroup>
|
||||
<CLIProjectDir>site/AntDesign.Docs.Build.CLI</CLIProjectDir>
|
||||
<CLIPath>$(CLIProjectDir)/bin/Debug/net5/AntDesign.Docs.Build.CLI.dll</CLIPath>
|
||||
<ProjectDir>$(SolutionDir)/site/AntBlazor.Docs</ProjectDir>
|
||||
<ProjectDir>$(SolutionDir)/site/AntDesign.Docs</ProjectDir>
|
||||
</PropertyGroup>
|
||||
|
||||
<Target Name="RunCli" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug'">
|
||||
<Exec WorkingDirectory="$(SolutionDir)" Command="dotnet build $(CLIProjectDir)" />
|
||||
<Exec WorkingDirectory="$(SolutionDir)" Command="dotnet $(CLIPath) demo2json $(ProjectDir)/Demos $(ProjectDir)/wwwroot/meta" />
|
||||
<Exec WorkingDirectory="$(SolutionDir)" Command="dotnet $(CLIPath) menu2json $(ProjectDir)/Demos docs $(ProjectDir)/wwwroot/meta" />
|
||||
<Exec WorkingDirectory="$(SolutionDir)" Command="dotnet $(CLIPath) docs2html ./docs ./site/AntBlazor.Docs/wwwroot/docs" />
|
||||
<Exec WorkingDirectory="$(SolutionDir)" Command="dotnet $(CLIPath) docs2html ./docs ./site/AntDesign.Docs/wwwroot/docs" />
|
||||
</Target>
|
||||
|
||||
<Target Name="PublishRunGulp" AfterTargets="ComputeFilesToPublish">
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче