* Add doc page for Named Arguments * Implement minor stylistic changes * Update docfx.json to support NS2.0 Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com> * Fix broken xref in basic-operations * Fix broken crefs * Fix wordings in named argument * Fix misleading warning about long-running code * Fix misleading CommandService summary Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com> * Update copyright year and version Signed-off-by: Still Hsu <5843208+Still34@users.noreply.github.com> * Escape example captions * Add warning regarding FlattenAsync for GetReactionUsersAsync * Fix a minor grammar mistake Co-authored-by: Joe4evr <jii.geugten@gmail.com>
64 lines
1.5 KiB
JSON
64 lines
1.5 KiB
JSON
{
|
|
"metadata": [{
|
|
"src": [{
|
|
"src": "../src",
|
|
"files": [
|
|
"**.csproj"
|
|
]
|
|
}],
|
|
"dest": "api",
|
|
"filter": "filterConfig.yml",
|
|
"properties": {
|
|
"TargetFramework": "netstandard2.0"
|
|
}
|
|
}],
|
|
"build": {
|
|
"content": [{
|
|
"files": ["api/**.yml", "api/index.md"]
|
|
},
|
|
{
|
|
"files": ["toc.yml", "index.md"]
|
|
},
|
|
{
|
|
"files": ["faq/**.md", "faq/**/toc.yml"]
|
|
},
|
|
{
|
|
"files": ["guides/**.md", "guides/**/toc.yml"]
|
|
},
|
|
{
|
|
"src": "../",
|
|
"files": [ "CHANGELOG.md" ]
|
|
}
|
|
],
|
|
"resource": [{
|
|
"files": [
|
|
"**/images/**",
|
|
"**/samples/**",
|
|
"langwordMapping.yml",
|
|
"marketing/logo/**.svg",
|
|
"marketing/logo/**.png",
|
|
"favicon.ico"
|
|
]
|
|
}],
|
|
"dest": "_site",
|
|
"template": [
|
|
"default",
|
|
"_template/light-dark-theme",
|
|
"_template/last-modified",
|
|
"_template/description-generator"
|
|
],
|
|
"postProcessors": ["ExtractSearchIndex", "LastModifiedPostProcessor", "DescriptionPostProcessor"],
|
|
"overwrite": "_overwrites/**/**.md",
|
|
"globalMetadata": {
|
|
"_appTitle": "Discord.Net Documentation",
|
|
"_appFooter": "Discord.Net (c) 2015-2020 2.2.0",
|
|
"_enableSearch": true,
|
|
"_appLogoPath": "marketing/logo/SVG/Logomark Purple.svg",
|
|
"_appFaviconPath": "favicon.ico"
|
|
},
|
|
"xrefService": [
|
|
"https://xref.docs.microsoft.com/query?uid={uid}"
|
|
]
|
|
}
|
|
}
|