mono-docs: Update DocFX version and use online symbol lookup

Version 2.45 of DocFX seems much much faster than previous 2.40, but could just
be a matter of stale caches. Anyway, no breakages have been detected.
Using an online symbol resolution server (https://xref.docs.microsoft.com)
adds some more links for .NET symbols (and no noticeable slowdown).
This commit is contained in:
Xavi Artigas 2019-08-29 17:44:16 +02:00
parent 9e0a285eea
commit 26e55458ad
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@
} }
], ],
"build": { "build": {
"xrefService": [ "https://xref.docs.microsoft.com/query?uid={uid}" ],
"content": [ "content": [
{ {
"files": [ "files": [

View File

@ -25,7 +25,7 @@ fi;
# #
if [ ! -d "bin" ]; then if [ ! -d "bin" ]; then
rm -rf docfx.zip bin rm -rf docfx.zip bin
wget https://github.com/dotnet/docfx/releases/download/v2.40.4/docfx.zip wget https://github.com/dotnet/docfx/releases/download/v2.45/docfx.zip
unzip -q docfx.zip -d bin unzip -q docfx.zip -d bin
rm docfx.zip rm docfx.zip
else else