-
Notifications
You must be signed in to change notification settings - Fork 0
/
make_docs.bat
30 lines (24 loc) · 1.63 KB
/
make_docs.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
@echo off
REM Generate markdown docs from the generated XML documentation file.
REM Mad props to DefaultDocumentation, which we have installed as a local tool.
REM See: https://github.com/Doraku/DefaultDocumentation
REM Sagara.Core
echo [Sagara.Core] Generating docs...
dotnet defaultDocumentation -a "src\Sagara.Core\bin\Debug\net8.0\Sagara.Core.dll" -o "src\Sagara.Core\docs" --ConfigurationFilePath ".\DefaultDocumentation.json"
echo [Sagara.Core] Done.
REM Sagara.Core.AspNetCore
echo [Sagara.Core.AspNetCore] Generating docs...
dotnet defaultDocumentation -a "src\Sagara.Core.AspNetCore\bin\Debug\net8.0\Sagara.Core.AspNetCore.dll" -o "src\Sagara.Core.AspNetCore\docs" --ConfigurationFilePath ".\DefaultDocumentation.json"
echo [Sagara.Core.AspNetCore] Done.
REM Sagara.Core.Caching
echo [Sagara.Core.Caching] Generating docs...
dotnet defaultDocumentation -a "src\Sagara.Core.Caching\bin\Debug\net8.0\Sagara.Core.Caching.dll" -o "src\Sagara.Core.Caching\docs" --ConfigurationFilePath ".\DefaultDocumentation.json"
echo [Sagara.Core.Caching] Done.
REM Sagara.Core.Data
echo [Sagara.Core.Data] Generating docs...
dotnet defaultDocumentation -a "src\Sagara.Core.Data\bin\Debug\net8.0\Sagara.Core.Data.dll" -o "src\Sagara.Core.Data\docs" --ConfigurationFilePath ".\DefaultDocumentation.json"
echo [Sagara.Core.Data] Done.
REM Sagara.Core.Logging.Serilog
echo [Sagara.Core.Logging.Serilog] Generating docs...
dotnet defaultDocumentation -a "src\Sagara.Core.Logging.Serilog\bin\Debug\net8.0\Sagara.Core.Logging.Serilog.dll" -o "src\Sagara.Core.Logging.Serilog\docs" --ConfigurationFilePath ".\DefaultDocumentation.json"
echo [Sagara.Core.Logging.Serilog] Done.