- Add `Json` module to return JSON strings and write JSON as it's read to a `PipeWriter` - Add `docfx`-based documentation to allow how-to docs and API docs to be generated on the same site Reviewed-on: #11
60 lines
1.4 KiB
JSON
60 lines
1.4 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/dotnet/docfx/main/schemas/docfx.schema.json",
|
|
"metadata": [
|
|
{
|
|
"src": [
|
|
{
|
|
"src": "./src",
|
|
"files": [
|
|
"Common/bin/Release/net9.0/*.dll",
|
|
"Postgres/bin/Release/net9.0/*.dll",
|
|
"Sqlite/bin/Release/net9.0/*.dll"
|
|
]
|
|
}
|
|
],
|
|
"dest": "api",
|
|
"properties": {
|
|
"TargetFramework": "net9.0"
|
|
}
|
|
}
|
|
],
|
|
"build": {
|
|
"content": [
|
|
{
|
|
"files": [
|
|
"index.md",
|
|
"toc.yml",
|
|
"api/**/*.{md,yml}",
|
|
"docs/**/*.{md,yml}"
|
|
],
|
|
"exclude": [
|
|
"_site/**"
|
|
]
|
|
}
|
|
],
|
|
"resource": [
|
|
{
|
|
"files": [
|
|
"bitbadger-doc.png",
|
|
"favicon.ico"
|
|
]
|
|
}
|
|
],
|
|
"output": "_site",
|
|
"template": [
|
|
"default",
|
|
"modern",
|
|
"doc-template"
|
|
],
|
|
"globalMetadata": {
|
|
"_appName": "BitBadger.Documents",
|
|
"_appTitle": "BitBadger.Documents",
|
|
"_appLogoPath": "bitbadger-doc.png",
|
|
"_appFaviconPath": "favicon.ico",
|
|
"_appFooter": "Hand-crafted documentation created with <a href=https://dotnet.github.io/docfx target=_blank class=external>docfx</a> by <a href=https://bitbadger.solutions target=_blank class=external>Bit Badger Solutions</a>",
|
|
"_enableSearch": true,
|
|
"pdf": false
|
|
}
|
|
}
|
|
}
|