Replies: 1 comment 1 reply
-
That makes sense. Docfx itself isn't localized, it could be used to build multilingual websites though. It appears localized |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When execute
dotnet build
command todocfx
project.Following satellite DLL folders are created to output directory.
There directories are introduced by
Microsoft.CodeAnalysis.*
NuGet packages.(
Microsoft.DocAsCode.Dotnet
project reference these packages)And it takes about
11MB
storage size per target frameworks (net6.0
/net7.0
andnet8.0
(for CI build))Currently
docfx.exe
itself don't have localized text resources.So it may be better to suppress these output.
I've confirmed, these outputs can be suppressed by adding following settings to
docfx.csproj
.On my local environment.
.nupkg
(created bydotnet pack
) size is reduced from35MB
to28MB
.(
.nupkg
is zip archived, so duplicated contents don't affects total archive size)On latest
docfx.2.67.2.nupkg
, file size will be reduce about84MB
->74MB
I hope this idea will be accepted. (If requested, I'll create new PR)
Beta Was this translation helpful? Give feedback.
All reactions