diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b1963a1ae86..3a395223a0b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,6 +63,7 @@ jobs: - uses: ./.github/actions/build + - run: dotnet build -c Release samples/extensions/build - run: dotnet test -c Release -f net7.0 --no-build --filter Stage=Snapshot working-directory: test/docfx.Snapshot.Tests env: diff --git a/.gitignore b/.gitignore index e922239e8b9..003598ccd10 100644 --- a/.gitignore +++ b/.gitignore @@ -9,7 +9,7 @@ _site _site_pdf docs/api samples/**/api -src/Microsoft.DocAsCode.App/templates +src/Docfx.App/templates *.user *.log diff --git a/docfx.sln b/docfx.sln index 231b1d8714a..860f2299103 100644 --- a/docfx.sln +++ b/docfx.sln @@ -24,97 +24,97 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "plugins", "plugins", "{DF2B EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "docfx", "src\docfx\docfx.csproj", "{EF53214F-BA98-4026-BEED-CF771865C312}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Glob", "src\Microsoft.DocAsCode.Glob\Microsoft.DocAsCode.Glob.csproj", "{7E877810-DC13-4A6C-8DFC-184C00A20B7C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Glob", "src\Docfx.Glob\Docfx.Glob.csproj", "{7E877810-DC13-4A6C-8DFC-184C00A20B7C}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Plugins", "src\Microsoft.DocAsCode.Plugins\Microsoft.DocAsCode.Plugins.csproj", "{B6B96738-C338-4904-B932-4C05DB7D4DDE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Plugins", "src\Docfx.Plugins\Docfx.Plugins.csproj", "{B6B96738-C338-4904-B932-4C05DB7D4DDE}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.YamlSerialization", "src\Microsoft.DocAsCode.YamlSerialization\Microsoft.DocAsCode.YamlSerialization.csproj", "{59CF2F0F-4D4D-4096-8D22-595856CCCF72}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.YamlSerialization", "src\Docfx.YamlSerialization\Docfx.YamlSerialization.csproj", "{59CF2F0F-4D4D-4096-8D22-595856CCCF72}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Common", "src\Microsoft.DocAsCode.Common\Microsoft.DocAsCode.Common.csproj", "{E1E085F6-67CD-4257-815C-F1DABF091BA4}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Common", "src\Docfx.Common\Docfx.Common.csproj", "{E1E085F6-67CD-4257-815C-F1DABF091BA4}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.Common", "src\Microsoft.DocAsCode.Build.Common\Microsoft.DocAsCode.Build.Common.csproj", "{1A6D574B-5CA8-4976-B0F1-9CF338A3A930}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.Common", "src\Docfx.Build.Common\Docfx.Build.Common.csproj", "{1A6D574B-5CA8-4976-B0F1-9CF338A3A930}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.ConceptualDocuments", "src\Microsoft.DocAsCode.Build.ConceptualDocuments\Microsoft.DocAsCode.Build.ConceptualDocuments.csproj", "{26428F7A-2BF3-4E4A-8161-C30EB0922CD8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.ConceptualDocuments", "src\Docfx.Build.ConceptualDocuments\Docfx.Build.ConceptualDocuments.csproj", "{26428F7A-2BF3-4E4A-8161-C30EB0922CD8}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.Engine", "src\Microsoft.DocAsCode.Build.Engine\Microsoft.DocAsCode.Build.Engine.csproj", "{A98C8639-61A5-444C-AAFB-B2CFBA66A550}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.Engine", "src\Docfx.Build.Engine\Docfx.Build.Engine.csproj", "{A98C8639-61A5-444C-AAFB-B2CFBA66A550}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.ManagedReference", "src\Microsoft.DocAsCode.Build.ManagedReference\Microsoft.DocAsCode.Build.ManagedReference.csproj", "{C6459834-F6DE-4309-80AF-0E3CDB1FC14E}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.ManagedReference", "src\Docfx.Build.ManagedReference\Docfx.Build.ManagedReference.csproj", "{C6459834-F6DE-4309-80AF-0E3CDB1FC14E}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.ResourceFiles", "src\Microsoft.DocAsCode.Build.ResourceFiles\Microsoft.DocAsCode.Build.ResourceFiles.csproj", "{E43A398A-89B9-40E3-9BDD-F30E54EAA25A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.ResourceFiles", "src\Docfx.Build.ResourceFiles\Docfx.Build.ResourceFiles.csproj", "{E43A398A-89B9-40E3-9BDD-F30E54EAA25A}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.RestApi", "src\Microsoft.DocAsCode.Build.RestApi\Microsoft.DocAsCode.Build.RestApi.csproj", "{234FA4D1-75EF-48C6-8FB1-3D838173FD8C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.RestApi", "src\Docfx.Build.RestApi\Docfx.Build.RestApi.csproj", "{234FA4D1-75EF-48C6-8FB1-3D838173FD8C}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.TableOfContents", "src\Microsoft.DocAsCode.Build.TableOfContents\Microsoft.DocAsCode.Build.TableOfContents.csproj", "{2F1EC9E3-4D01-4FF8-8891-FE2C44097FB8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.TableOfContents", "src\Docfx.Build.TableOfContents\Docfx.Build.TableOfContents.csproj", "{2F1EC9E3-4D01-4FF8-8891-FE2C44097FB8}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.DataContracts.Common", "src\Microsoft.DocAsCode.DataContracts.Common\Microsoft.DocAsCode.DataContracts.Common.csproj", "{13E2771C-5C73-4B82-8911-55E1A70A3076}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.DataContracts.Common", "src\Docfx.DataContracts.Common\Docfx.DataContracts.Common.csproj", "{13E2771C-5C73-4B82-8911-55E1A70A3076}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.DataContracts.RestApi", "src\Microsoft.DocAsCode.DataContracts.RestApi\Microsoft.DocAsCode.DataContracts.RestApi.csproj", "{05D9D594-E6F6-4887-8ECD-0FFFF7C92E68}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.DataContracts.RestApi", "src\Docfx.DataContracts.RestApi\Docfx.DataContracts.RestApi.csproj", "{05D9D594-E6F6-4887-8ECD-0FFFF7C92E68}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "docfx.Tests", "test\docfx.Tests\docfx.Tests.csproj", "{D1CF2A6C-AEB1-4A03-BE64-8A96FA5DEFE4}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.Common.Tests", "test\Microsoft.DocAsCode.Build.Common.Tests\Microsoft.DocAsCode.Build.Common.Tests.csproj", "{7F6019A6-C1AB-4B5C-BD3C-E8D271F3469D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.Common.Tests", "test\Docfx.Build.Common.Tests\Docfx.Build.Common.Tests.csproj", "{7F6019A6-C1AB-4B5C-BD3C-E8D271F3469D}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.ConceptualDocuments.Tests", "test\Microsoft.DocAsCode.Build.ConceptualDocuments.Tests\Microsoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj", "{727C0798-F079-4CA5-85C8-289598EE9EEE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.ConceptualDocuments.Tests", "test\Docfx.Build.ConceptualDocuments.Tests\Docfx.Build.ConceptualDocuments.Tests.csproj", "{727C0798-F079-4CA5-85C8-289598EE9EEE}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.Engine.Tests", "test\Microsoft.DocAsCode.Build.Engine.Tests\Microsoft.DocAsCode.Build.Engine.Tests.csproj", "{56BE5194-7881-4F22-9018-A79C3C4B958A}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.Engine.Tests", "test\Docfx.Build.Engine.Tests\Docfx.Build.Engine.Tests.csproj", "{56BE5194-7881-4F22-9018-A79C3C4B958A}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.RestApi.Tests", "test\Microsoft.DocAsCode.Build.RestApi.Tests\Microsoft.DocAsCode.Build.RestApi.Tests.csproj", "{DCD65A24-D8C0-4DD3-B42C-A1D878AF4DE4}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.RestApi.Tests", "test\Docfx.Build.RestApi.Tests\Docfx.Build.RestApi.Tests.csproj", "{DCD65A24-D8C0-4DD3-B42C-A1D878AF4DE4}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.TableOfContents.Tests", "test\Microsoft.DocAsCode.Build.TableOfContents.Tests\Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj", "{05A49D39-97F0-46AF-9EDC-76D1E19FE3AC}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.TableOfContents.Tests", "test\Docfx.Build.TableOfContents.Tests\Docfx.Build.TableOfContents.Tests.csproj", "{05A49D39-97F0-46AF-9EDC-76D1E19FE3AC}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Common.Tests", "test\Microsoft.DocAsCode.Common.Tests\Microsoft.DocAsCode.Common.Tests.csproj", "{B2EEB5FE-CF39-4CC7-9650-5709E71D2BA9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Common.Tests", "test\Docfx.Common.Tests\Docfx.Common.Tests.csproj", "{B2EEB5FE-CF39-4CC7-9650-5709E71D2BA9}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Glob.Tests", "test\Microsoft.DocAsCode.Glob.Tests\Microsoft.DocAsCode.Glob.Tests.csproj", "{A95C5BAE-1D0D-44FD-A984-7CBF055A62E2}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Glob.Tests", "test\Docfx.Glob.Tests\Docfx.Glob.Tests.csproj", "{A95C5BAE-1D0D-44FD-A984-7CBF055A62E2}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Plugins.Tests", "test\Microsoft.DocAsCode.Plugins.Tests\Microsoft.DocAsCode.Plugins.Tests.csproj", "{B3EEB5FE-CF39-4CC7-9650-5709E71D2BA9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Plugins.Tests", "test\Docfx.Plugins.Tests\Docfx.Plugins.Tests.csproj", "{B3EEB5FE-CF39-4CC7-9650-5709E71D2BA9}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.ManagedReference.Tests", "test\Microsoft.DocAsCode.Build.ManagedReference.Tests\Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj", "{958DF90F-0528-4C50-9AC2-E86C60971B7D}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.ManagedReference.Tests", "test\Docfx.Build.ManagedReference.Tests\Docfx.Build.ManagedReference.Tests.csproj", "{958DF90F-0528-4C50-9AC2-E86C60971B7D}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.UniversalReference.Tests", "test\Microsoft.DocAsCode.Build.UniversalReference.Tests\Microsoft.DocAsCode.Build.UniversalReference.Tests.csproj", "{E9795C9A-1F98-4716-A0FC-843C6B000BE5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.UniversalReference.Tests", "test\Docfx.Build.UniversalReference.Tests\Docfx.Build.UniversalReference.Tests.csproj", "{E9795C9A-1F98-4716-A0FC-843C6B000BE5}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.HtmlToPdf", "src\Microsoft.DocAsCode.HtmlToPdf\Microsoft.DocAsCode.HtmlToPdf.csproj", "{FF8D61D0-01C9-44B9-98F9-37FCBF20CD72}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.HtmlToPdf", "src\Docfx.HtmlToPdf\Docfx.HtmlToPdf.csproj", "{FF8D61D0-01C9-44B9-98F9-37FCBF20CD72}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Tests.Common", "test\Microsoft.DocAsCode.Tests.Common\Microsoft.DocAsCode.Tests.Common.csproj", "{1D2D316B-4C70-4410-817A-DEDB5B0072A5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Tests.Common", "test\Docfx.Tests.Common\Docfx.Tests.Common.csproj", "{1D2D316B-4C70-4410-817A-DEDB5B0072A5}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.TagLevelRestApi", "plugins\Microsoft.DocAsCode.Build.TagLevelRestApi\Microsoft.DocAsCode.Build.TagLevelRestApi.csproj", "{D10F65C3-5D5A-427A-91D1-A1061A988AA1}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.TagLevelRestApi", "plugins\Docfx.Build.TagLevelRestApi\Docfx.Build.TagLevelRestApi.csproj", "{D10F65C3-5D5A-427A-91D1-A1061A988AA1}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests", "test\Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests\Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj", "{63266510-C4BF-44E0-AF76-B01BA47019B2}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.RestApi.WithPlugins.Tests", "test\Docfx.Build.RestApi.WithPlugins.Tests\Docfx.Build.RestApi.WithPlugins.Tests.csproj", "{63266510-C4BF-44E0-AF76-B01BA47019B2}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.OperationLevelRestApi", "plugins\Microsoft.DocAsCode.Build.OperationLevelRestApi\Microsoft.DocAsCode.Build.OperationLevelRestApi.csproj", "{CB8D3397-E338-4801-B3E7-42FE65F535AE}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.OperationLevelRestApi", "plugins\Docfx.Build.OperationLevelRestApi\Docfx.Build.OperationLevelRestApi.csproj", "{CB8D3397-E338-4801-B3E7-42FE65F535AE}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.SchemaDriven", "src\Microsoft.DocAsCode.Build.SchemaDriven\Microsoft.DocAsCode.Build.SchemaDriven.csproj", "{2978E4CC-7D67-43DA-B6C9-09559C530EFC}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.SchemaDriven", "src\Docfx.Build.SchemaDriven\Docfx.Build.SchemaDriven.csproj", "{2978E4CC-7D67-43DA-B6C9-09559C530EFC}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.SchemaDriven.Tests", "test\Microsoft.DocAsCode.Build.SchemaDriven.Tests\Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj", "{298FBFBA-F535-4C29-AB70-A1041F50098C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.SchemaDriven.Tests", "test\Docfx.Build.SchemaDriven.Tests\Docfx.Build.SchemaDriven.Tests.csproj", "{298FBFBA-F535-4C29-AB70-A1041F50098C}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.UniversalReference", "src\Microsoft.DocAsCode.Build.UniversalReference\Microsoft.DocAsCode.Build.UniversalReference.csproj", "{DF88D1C8-1139-4174-8325-DD8166D6C3A4}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.UniversalReference", "src\Docfx.Build.UniversalReference\Docfx.Build.UniversalReference.csproj", "{DF88D1C8-1139-4174-8325-DD8166D6C3A4}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.DataContracts.UniversalReference", "src\Microsoft.DocAsCode.DataContracts.UniversalReference\Microsoft.DocAsCode.DataContracts.UniversalReference.csproj", "{8C31E8EB-0CCB-4442-9DDB-79822BB7D8C3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.DataContracts.UniversalReference", "src\Docfx.DataContracts.UniversalReference\Docfx.DataContracts.UniversalReference.csproj", "{8C31E8EB-0CCB-4442-9DDB-79822BB7D8C3}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.OverwriteDocuments", "src\Microsoft.DocAsCode.Build.OverwriteDocuments\Microsoft.DocAsCode.Build.OverwriteDocuments.csproj", "{085AB724-DC2D-4133-AC0F-87BD1A1743F9}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.OverwriteDocuments", "src\Docfx.Build.OverwriteDocuments\Docfx.Build.OverwriteDocuments.csproj", "{085AB724-DC2D-4133-AC0F-87BD1A1743F9}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Build.OverwriteDocuments.Tests", "test\Microsoft.DocAsCode.Build.OverwriteDocuments.Tests\Microsoft.DocAsCode.Build.OverwriteDocuments.Tests.csproj", "{B3843152-55A6-4BF0-B774-18E05F0B99AF}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Build.OverwriteDocuments.Tests", "test\Docfx.Build.OverwriteDocuments.Tests\Docfx.Build.OverwriteDocuments.Tests.csproj", "{B3843152-55A6-4BF0-B774-18E05F0B99AF}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.MarkdigEngine", "src\Microsoft.DocAsCode.MarkdigEngine\Microsoft.DocAsCode.MarkdigEngine.csproj", "{EA44B820-4C3A-476C-A514-C89CAA6A0F46}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.MarkdigEngine", "src\Docfx.MarkdigEngine\Docfx.MarkdigEngine.csproj", "{EA44B820-4C3A-476C-A514-C89CAA6A0F46}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.MarkdigEngine.Extensions", "src\Microsoft.DocAsCode.MarkdigEngine.Extensions\Microsoft.DocAsCode.MarkdigEngine.Extensions.csproj", "{FD0365CB-3F03-43B0-9FB2-FB50047BF3E5}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.MarkdigEngine.Extensions", "src\Docfx.MarkdigEngine.Extensions\Docfx.MarkdigEngine.Extensions.csproj", "{FD0365CB-3F03-43B0-9FB2-FB50047BF3E5}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.MarkdigEngine.Tests", "test\Microsoft.DocAsCode.MarkdigEngine.Tests\Microsoft.DocAsCode.MarkdigEngine.Tests.csproj", "{DD9736B2-8AA2-44AE-B0B3-57510FF0D634}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.MarkdigEngine.Tests", "test\Docfx.MarkdigEngine.Tests\Docfx.MarkdigEngine.Tests.csproj", "{DD9736B2-8AA2-44AE-B0B3-57510FF0D634}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.MarkdigEngine.Validators", "src\Microsoft.DocAsCode.MarkdigEngine.Validators\Microsoft.DocAsCode.MarkdigEngine.Validators.csproj", "{BD35FD90-4F00-4A19-9530-2279A6A15EE8}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.MarkdigEngine.Validators", "src\Docfx.MarkdigEngine.Validators\Docfx.MarkdigEngine.Validators.csproj", "{BD35FD90-4F00-4A19-9530-2279A6A15EE8}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Markdown", "Markdown", "{377A4748-C426-4D5E-9A25-6D1809A7B85C}" EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{C533106C-5699-450C-A18C-249364CBF58B}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests", "test\Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests\Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests.csproj", "{4C9CF944-2489-4AC2-9B18-497D12B53769}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.MarkdigEngine.Extensions.Tests", "test\Docfx.MarkdigEngine.Extensions.Tests\Docfx.MarkdigEngine.Extensions.Tests.csproj", "{4C9CF944-2489-4AC2-9B18-497D12B53769}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.App", "src\Microsoft.DocAsCode.App\Microsoft.DocAsCode.App.csproj", "{3C583CD1-3A86-40B3-9E2F-08A3178A6566}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.App", "src\Docfx.App\Docfx.App.csproj", "{3C583CD1-3A86-40B3-9E2F-08A3178A6566}" EndProject Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "docfx.Snapshot.Tests", "test\docfx.Snapshot.Tests\docfx.Snapshot.Tests.csproj", "{3AC4C0C1-AC55-4E2D-8FF6-CE04A90B00B7}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Dotnet.Tests", "test\Microsoft.DocAsCode.Dotnet.Tests\Microsoft.DocAsCode.Dotnet.Tests.csproj", "{D6D2FA50-BFFA-4EAD-919B-5B58E8AE4DEB}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Dotnet.Tests", "test\Docfx.Dotnet.Tests\Docfx.Dotnet.Tests.csproj", "{D6D2FA50-BFFA-4EAD-919B-5B58E8AE4DEB}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Microsoft.DocAsCode.Dotnet", "src\Microsoft.DocAsCode.Dotnet\Microsoft.DocAsCode.Dotnet.csproj", "{B4EFC288-DC3B-4700-8F76-3F286FA80395}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Docfx.Dotnet", "src\Docfx.Dotnet\Docfx.Dotnet.csproj", "{B4EFC288-DC3B-4700-8F76-3F286FA80395}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution diff --git a/docs/codesnippet/Rtf/Hyperlink/RtfDocumentProcessor.cs b/docs/codesnippet/Rtf/Hyperlink/RtfDocumentProcessor.cs index f4787597a04..a0aed5d02ef 100644 --- a/docs/codesnippet/Rtf/Hyperlink/RtfDocumentProcessor.cs +++ b/docs/codesnippet/Rtf/Hyperlink/RtfDocumentProcessor.cs @@ -12,8 +12,8 @@ namespace RtfDocumentProcessors using System.Web; using System.Xml.Linq; - using Microsoft.DocAsCode.Plugins; - using Microsoft.DocAsCode.Utility; + using Docfx.Plugins; + using Docfx.Utility; [Export(typeof(IDocumentProcessor))] public class RtfDocumentProcessor : IDocumentProcessor diff --git a/docs/codesnippet/Rtf/RtfBuildStep.cs b/docs/codesnippet/Rtf/RtfBuildStep.cs index 94159bbf865..d11244b659f 100644 --- a/docs/codesnippet/Rtf/RtfBuildStep.cs +++ b/docs/codesnippet/Rtf/RtfBuildStep.cs @@ -11,7 +11,7 @@ namespace RtfDocumentProcessors using System.Threading.Tasks.Schedulers; using MarkupConverter; - using Microsoft.DocAsCode.Plugins; + using Docfx.Plugins; [Export(nameof(RtfDocumentProcessor), typeof(IDocumentBuildStep))] public class RtfBuildStep : IDocumentBuildStep diff --git a/docs/codesnippet/Rtf/RtfDocumentProcessor.cs b/docs/codesnippet/Rtf/RtfDocumentProcessor.cs index 9c5e63f4456..a44a949bfa2 100644 --- a/docs/codesnippet/Rtf/RtfDocumentProcessor.cs +++ b/docs/codesnippet/Rtf/RtfDocumentProcessor.cs @@ -9,8 +9,8 @@ namespace RtfDocumentProcessors using System.Composition; using System.IO; - using Microsoft.DocAsCode.Common; - using Microsoft.DocAsCode.Plugins; + using Docfx.Common; + using Docfx.Plugins; [Export(typeof(IDocumentProcessor))] public class RtfDocumentProcessor : IDocumentProcessor diff --git a/docs/docfx.json b/docs/docfx.json index 87003514800..01eb42009a6 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -4,8 +4,8 @@ "src": [ { "files": [ - "src/Microsoft.DocAsCode.App/*.csproj", - "src/Microsoft.DocAsCode.Dotnet/*.csproj" + "src/Docfx.App/*.csproj", + "src/Docfx.Dotnet/*.csproj" ], "src": "../" } diff --git a/docs/docs/basic-concepts.md b/docs/docs/basic-concepts.md index 59f7dc90190..7d9680fa63a 100644 --- a/docs/docs/basic-concepts.md +++ b/docs/docs/basic-concepts.md @@ -33,7 +33,7 @@ Static documentation pages are prepared using [Markdown](markdown.md) (slightly Once the API documentation has been parsed from the source code, it is compiled along with the Markdown content into a set of HTML pages which can be published on a website. It is also possible to compile the final output into one or more PDFs for offline use. -Docfx is a command-line tool that can be invoked directly, or as a .NET Core CLI tool using the `dotnet` command, but it can also be invoked from source code using the `Docset.Build` method in the `Microsoft.DocAsCode` namespace. It is configured using a JSON configuration file, [`docfx.json`](../reference/docfx-json-reference.md) which has sections for different parts of the build process. +Docfx is a command-line tool that can be invoked directly, or as a .NET Core CLI tool using the `dotnet` command, but it can also be invoked from source code using the `Docset.Build` method in the `Docfx` namespace. It is configured using a JSON configuration file, [`docfx.json`](../reference/docfx-json-reference.md) which has sections for different parts of the build process. ## Consuming .NET projects diff --git a/docs/docs/dotnet-api-docs.md b/docs/docs/dotnet-api-docs.md index 03234eee504..8a52b7228a9 100644 --- a/docs/docs/dotnet-api-docs.md +++ b/docs/docs/dotnet-api-docs.md @@ -27,8 +27,8 @@ Docfx generates .NET API docs in 2 stages: 1. The _metadata_ stage uses the `metadata` config to produce [.NET API YAML files](dotnet-yaml-format.md) at the `metadata.dest` directory. > [!NOTE] -> The [`Docset.Build`](../api/Microsoft.DocAsCode.Docset.yml) method does not run the _metadata_ stage, -> invoke the [`DotnetApiCatalog.GenerateManagedReferenceYamlFiles`](../api/Microsoft.DocAsCode.Dotnet.DotnetApiCatalog.yml) method to run the _metadata_ stage before the _build_ stage. +> The [`Docset.Build`](../api/Docfx.Docset.yml) method does not run the _metadata_ stage, +> invoke the [`DotnetApiCatalog.GenerateManagedReferenceYamlFiles`](../api/Docfx.Dotnet.DotnetApiCatalog.yml) method to run the _metadata_ stage before the _build_ stage. 2. The _build_ stage transforms the generated .NET API YAML files specified in `build.content` config into HTML files. @@ -148,7 +148,7 @@ To disable markdown parsing while processing XML tags, set `shouldSkipMarkup` to ## Filter APIs -Docfx shows only the public accessible types and methods callable from another assembly. It also has a set of [default filtering rules](https://github.com/dotnet/docfx/blob/main/src/Microsoft.DocAsCode.Metadata.ManagedReference.Common/Filters/defaultfilterconfig.yml) that excludes common API patterns based on attributes such as `[EditorBrowsableAttribute]`. +Docfx shows only the public accessible types and methods callable from another assembly. It also has a set of [default filtering rules](https://github.com/dotnet/docfx/blob/main/src/Docfx.Metadata.ManagedReference.Common/Filters/defaultfilterconfig.yml) that excludes common API patterns based on attributes such as `[EditorBrowsableAttribute]`. To disable the default filtering rules, set the `disableDefaultFilter` property to `true`. @@ -163,7 +163,7 @@ To use a custom filtering with code: 1. Use docfx .NET API generation as a NuGet library: ```xml - + ``` 2. Configure the filter options: @@ -181,7 +181,7 @@ var options = new DotnetApiOptions await DotnetApiCatalog.GenerateManagedReferenceYamlFiles("docfx.json", options); ``` -The filter callbacks takes an [`ISymbol`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.isymbol?view=roslyn-dotnet) interface and produces an [`SymbolIncludeState`](../api/Microsoft.Docascode.Dotnet.SymbolIncludeState.yml) enum to choose between include the API, exclude the API or use the default filtering behavior. +The filter callbacks takes an [`ISymbol`](https://learn.microsoft.com/en-us/dotnet/api/microsoft.codeanalysis.isymbol?view=roslyn-dotnet) interface and produces an [`SymbolIncludeState`](../api/Docfx.Dotnet.SymbolIncludeState.yml) enum to choose between include the API, exclude the API or use the default filtering behavior. The callbacks are raised before applying the default rules but after processing type accessibility rules. Private types and members cannot be marked as include unless `includePrivateMembers` is true. diff --git a/docs/docs/markdown.md b/docs/docs/markdown.md index fdff6a46846..6fc045e5d4e 100644 --- a/docs/docs/markdown.md +++ b/docs/docs/markdown.md @@ -11,7 +11,7 @@ To use a custom markdown extension: 1. Use docfx as a NuGet library: ```xml - + ``` 2. Configure the markdig markdown pipeline: diff --git a/docs/extensions/packages.yml b/docs/extensions/packages.yml index 377af281608..7dbd874c3a2 100644 --- a/docs/extensions/packages.yml +++ b/docs/extensions/packages.yml @@ -11,7 +11,7 @@ items: homepage: https://www.nuget.org/packages/rest.tagpage/ repository: type: git - url: "https://github.com/dotnet/docfx/tree/master/plugins/Microsoft.DocAsCode.Build.TagLevelRestApi" + url: "https://github.com/dotnet/docfx/tree/master/plugins/Docfx.Build.TagLevelRestApi" usage: init: "nuget install rest.tagpage -OutputDirectory " command: "-t default,/rest.tagpage./content" @@ -23,7 +23,7 @@ items: homepage: https://www.nuget.org/packages/rest.operationpage/ repository: type: git - url: "https://github.com/dotnet/docfx/tree/master/plugins/Microsoft.DocAsCode.Build.OperationLevelRestApi" + url: "https://github.com/dotnet/docfx/tree/master/plugins/Docfx.Build.OperationLevelRestApi" usage: init: "nuget install rest.operationpage -OutputDirectory " command: "-t default,/rest.operationpage./content" diff --git a/docs/index.md b/docs/index.md index fd2920924cc..819493d0f04 100644 --- a/docs/index.md +++ b/docs/index.md @@ -75,16 +75,16 @@ jobs: You can also use docfx as a NuGet library: ```xml - + ``` Then build a docset using: ```cs -await Microsoft.DocAsCode.Docset.Build("docfx.json"); +await Docfx.Docset.Build("docfx.json"); ``` -See [API References](api/Microsoft.DocAsCode.yml) for additional APIs. +See [API References](api/Docfx.yml) for additional APIs. ## Next Steps diff --git a/docs/tutorial/advanced_support_hyperlink.md b/docs/tutorial/advanced_support_hyperlink.md index eac027cec54..9d5af66c9e9 100644 --- a/docs/tutorial/advanced_support_hyperlink.md +++ b/docs/tutorial/advanced_support_hyperlink.md @@ -63,7 +63,7 @@ Prepare 1. Open the rtf plug-in library project in `Visual Studio`. 2. Add nuget packages: - for plug-in: `Microsoft.DocAsCode.Utility` + for plug-in: `Docfx.Utility` 3. Add framework assembly reference: `System.Core`, `System.Web`, `System.Xml.Linq` diff --git a/docs/tutorial/howto_add_a_customized_post_processor.md b/docs/tutorial/howto_add_a_customized_post_processor.md index e160d13eb1c..99d3c65985f 100644 --- a/docs/tutorial/howto_add_a_customized_post_processor.md +++ b/docs/tutorial/howto_add_a_customized_post_processor.md @@ -11,9 +11,9 @@ In this topic, we will show how to add a customized post-processor. * Add nuget packages: * [`System.Collections.Immutable`](https://www.nuget.org/packages/System.Collections.Immutable/1.3.1) with version 1.3.1 * [`Microsoft.Composition`](https://www.nuget.org/packages/Microsoft.Composition/1.0.31) with version 1.0.31 -* Add `Microsoft.DocAsCode.Plugins` +* Add `Docfx.Plugins` If you are building DocFX from source code, add this reference to the project, -otherwise add the nuget package `Microsoft.DocAsCode.Plugins` with the same version as DocFX. +otherwise add the nuget package `Docfx.Plugins` with the same version as DocFX. ## Step1: Create a new class (MyProcessor.cs) with the following code: diff --git a/docs/tutorial/howto_build_your_own_type_of_documentation_with_custom_plug-in.md b/docs/tutorial/howto_build_your_own_type_of_documentation_with_custom_plug-in.md index f9778815996..b40435132d0 100644 --- a/docs/tutorial/howto_build_your_own_type_of_documentation_with_custom_plug-in.md +++ b/docs/tutorial/howto_build_your_own_type_of_documentation_with_custom_plug-in.md @@ -17,7 +17,7 @@ Preparation ----------- 1. Create a new C# class library targeting `net6.0` or later. -2. Add NuGet package reference to `System.Composition`, `Microsoft.DocAsCode.Plugins` and `Microsoft.DocAsCode.Common`. +2. Add NuGet package reference to `System.Composition`, `Docfx.Plugins` and `Docfx.Common`. 4. Add a project for converting rtf to html: Clone project [MarkupConverter](https://github.com/mmanela/MarkupConverter), and reference it. @@ -57,7 +57,7 @@ Create a document processor 3. Load our rtf file by reading all text: [!Code-csharp[Load](../codesnippet/Rtf/RtfDocumentProcessor.cs?name=Load)] - We use `Dictionary` as the data model, similar to how [ConceptualDocumentProcessor](https://github.com/dotnet/docfx/blob/dev/src/Microsoft.DocAsCode.Build.ConceptualDocuments/ConceptualDocumentProcessor.cs) + We use `Dictionary` as the data model, similar to how [ConceptualDocumentProcessor](https://github.com/dotnet/docfx/blob/dev/src/Docfx.Build.ConceptualDocuments/ConceptualDocumentProcessor.cs) stores the content of markdown files. 4. Implement `Save` method as follows: diff --git a/plugins/Docfx.Build.OperationLevelRestApi/Docfx.Build.OperationLevelRestApi.csproj b/plugins/Docfx.Build.OperationLevelRestApi/Docfx.Build.OperationLevelRestApi.csproj new file mode 100644 index 00000000000..4b814009b09 --- /dev/null +++ b/plugins/Docfx.Build.OperationLevelRestApi/Docfx.Build.OperationLevelRestApi.csproj @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/plugins/Microsoft.DocAsCode.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs b/plugins/Docfx.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs similarity index 96% rename from plugins/Microsoft.DocAsCode.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs rename to plugins/Docfx.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs index 5925b63273a..e9b03e95d7a 100644 --- a/plugins/Microsoft.DocAsCode.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs +++ b/plugins/Docfx.Build.OperationLevelRestApi/SplitRestApiToOperationLevel.cs @@ -4,13 +4,13 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.OperationLevelRestApi; +namespace Docfx.Build.OperationLevelRestApi; [Export("RestApiDocumentProcessor", typeof(IDocumentBuildStep))] public class SplitRestApiToOperationLevel : BaseDocumentBuildStep diff --git a/plugins/Docfx.Build.TagLevelRestApi/Docfx.Build.TagLevelRestApi.csproj b/plugins/Docfx.Build.TagLevelRestApi/Docfx.Build.TagLevelRestApi.csproj new file mode 100644 index 00000000000..bc0232bfbde --- /dev/null +++ b/plugins/Docfx.Build.TagLevelRestApi/Docfx.Build.TagLevelRestApi.csproj @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/plugins/Microsoft.DocAsCode.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs b/plugins/Docfx.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs similarity index 96% rename from plugins/Microsoft.DocAsCode.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs rename to plugins/Docfx.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs index 17ccdd95dec..b37e90d5678 100644 --- a/plugins/Microsoft.DocAsCode.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs +++ b/plugins/Docfx.Build.TagLevelRestApi/SplitRestApiToTagLevel.cs @@ -4,13 +4,13 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TagLevelRestApi; +namespace Docfx.Build.TagLevelRestApi; [Export("RestApiDocumentProcessor", typeof(IDocumentBuildStep))] public class SplitRestApiToTagLevel : BaseDocumentBuildStep diff --git a/plugins/Microsoft.DocAsCode.Build.OperationLevelRestApi/Microsoft.DocAsCode.Build.OperationLevelRestApi.csproj b/plugins/Microsoft.DocAsCode.Build.OperationLevelRestApi/Microsoft.DocAsCode.Build.OperationLevelRestApi.csproj deleted file mode 100644 index f862ef65e20..00000000000 --- a/plugins/Microsoft.DocAsCode.Build.OperationLevelRestApi/Microsoft.DocAsCode.Build.OperationLevelRestApi.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/plugins/Microsoft.DocAsCode.Build.TagLevelRestApi/Microsoft.DocAsCode.Build.TagLevelRestApi.csproj b/plugins/Microsoft.DocAsCode.Build.TagLevelRestApi/Microsoft.DocAsCode.Build.TagLevelRestApi.csproj deleted file mode 100644 index 9b68a870b6c..00000000000 --- a/plugins/Microsoft.DocAsCode.Build.TagLevelRestApi/Microsoft.DocAsCode.Build.TagLevelRestApi.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/publish.yml b/publish.yml index 5e59405b224..f5b0a417459 100644 --- a/publish.yml +++ b/publish.yml @@ -81,8 +81,7 @@ jobs: artifact: nuget - powershell: | - dotnet nuget push $(Pipeline.Workspace)\nuget\Microsoft.DocAsCode.*.nupkg --api-key $env:NUGET_KEY --skip-duplicate --source https://nuget.org - dotnet nuget push $(Pipeline.Workspace)\nuget\docfx.*.nupkg --api-key $env:NUGET_KEY --skip-duplicate --source https://nuget.org + dotnet nuget push $(Pipeline.Workspace)\nuget\*.nupkg --api-key $env:NUGET_KEY --skip-duplicate --source https://nuget.org displayName: dotnet nuget push env: NUGET_KEY: $(NUGET_KEY) diff --git a/samples/extensions/README.md b/samples/extensions/README.md index 94902948989..e80db0fb5cc 100644 --- a/samples/extensions/README.md +++ b/samples/extensions/README.md @@ -1,9 +1,9 @@ # Customize docfx with extensions -This sample shows how to use docfx as a library. It uses the `Microsoft.DocAsCode.App` package to build the project instead of using the global `docfx` commandline tool. To build the project, run the following command in this directory: +This sample shows how to use docfx as a library. It uses the `Docfx.App` package to build the project instead of using the global `docfx` commandline tool. To build the project, run the following command in this directory: ```bash dotnet run --project build ``` -This sample creates a standalone executable to integrate with the `Microsoft.DocAsCode.App` package and extensions. You can also use [dotnet script](https://github.com/dotnet-script/dotnet-script#installing) or other interactive scripting tools for integration. +This sample creates a standalone executable to integrate with the `Docfx.App` package and extensions. You can also use [dotnet script](https://github.com/dotnet-script/dotnet-script#installing) or other interactive scripting tools for integration. diff --git a/samples/extensions/build/Program.cs b/samples/extensions/build/Program.cs index 7d7b26c6143..3d7cf4c0eb6 100644 --- a/samples/extensions/build/Program.cs +++ b/samples/extensions/build/Program.cs @@ -1,5 +1,5 @@ -using Microsoft.DocAsCode; -using Microsoft.DocAsCode.Dotnet; +using Docfx; +using Docfx.Dotnet; using Markdig; await DotnetApiCatalog.GenerateManagedReferenceYamlFiles("docfx.json", new() diff --git a/samples/extensions/build/build.csproj b/samples/extensions/build/build.csproj index b77cb2ed757..c762e1104c0 100644 --- a/samples/extensions/build/build.csproj +++ b/samples/extensions/build/build.csproj @@ -8,13 +8,13 @@ - + diff --git a/samples/seed/articles/engineering_guidelines.md b/samples/seed/articles/engineering_guidelines.md index 49cfe01cb62..b6cd80ff714 100644 --- a/samples/seed/articles/engineering_guidelines.md +++ b/samples/seed/articles/engineering_guidelines.md @@ -73,7 +73,7 @@ Every project also needs a `project.json` and a matching `.xproj` file. This `pr Solution need to contain solution folders that match the physical folder (`src`, `test`, `tools`, etc.). ### Assembly naming pattern -The general naming pattern is `Microsoft.DocAsCode..`. +The general naming pattern is `Docfx..`. ### Unit tests We use *xUnit.net* for all unit testing. diff --git a/src/Microsoft.DocAsCode.App/BuildOptions.cs b/src/Docfx.App/BuildOptions.cs similarity index 94% rename from src/Microsoft.DocAsCode.App/BuildOptions.cs rename to src/Docfx.App/BuildOptions.cs index 1a8f7c03504..bff167dab53 100644 --- a/src/Microsoft.DocAsCode.App/BuildOptions.cs +++ b/src/Docfx.App/BuildOptions.cs @@ -5,7 +5,7 @@ #nullable enable -namespace Microsoft.DocAsCode; +namespace Docfx; /// /// Provides options to be used with . diff --git a/src/Microsoft.DocAsCode.App/Config/BuildJsonConfig.cs b/src/Docfx.App/Config/BuildJsonConfig.cs similarity index 97% rename from src/Microsoft.DocAsCode.App/Config/BuildJsonConfig.cs rename to src/Docfx.App/Config/BuildJsonConfig.cs index 14f0a1759d0..78cc4c7eebf 100644 --- a/src/Microsoft.DocAsCode.App/Config/BuildJsonConfig.cs +++ b/src/Docfx.App/Config/BuildJsonConfig.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode; +namespace Docfx; [Serializable] internal class BuildJsonConfig diff --git a/src/Microsoft.DocAsCode.App/Config/ContentPairingInfo.cs b/src/Docfx.App/Config/ContentPairingInfo.cs similarity index 92% rename from src/Microsoft.DocAsCode.App/Config/ContentPairingInfo.cs rename to src/Docfx.App/Config/ContentPairingInfo.cs index e4bc7eec77b..f7474ed4c04 100644 --- a/src/Microsoft.DocAsCode.App/Config/ContentPairingInfo.cs +++ b/src/Docfx.App/Config/ContentPairingInfo.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; [Serializable] internal class ContentPairingInfo diff --git a/src/Microsoft.DocAsCode.App/Config/FileMetadataPairs.cs b/src/Docfx.App/Config/FileMetadataPairs.cs similarity index 96% rename from src/Microsoft.DocAsCode.App/Config/FileMetadataPairs.cs rename to src/Docfx.App/Config/FileMetadataPairs.cs index 4c2ea1fe141..4382eb5bb2a 100644 --- a/src/Microsoft.DocAsCode.App/Config/FileMetadataPairs.cs +++ b/src/Docfx.App/Config/FileMetadataPairs.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; [Serializable] [JsonConverter(typeof(FileMetadataPairsConverter))] diff --git a/src/Microsoft.DocAsCode.App/Config/FileMetadataPairsConverter.cs b/src/Docfx.App/Config/FileMetadataPairsConverter.cs similarity index 96% rename from src/Microsoft.DocAsCode.App/Config/FileMetadataPairsConverter.cs rename to src/Docfx.App/Config/FileMetadataPairsConverter.cs index d8caeb5fb03..b771e772b02 100644 --- a/src/Microsoft.DocAsCode.App/Config/FileMetadataPairsConverter.cs +++ b/src/Docfx.App/Config/FileMetadataPairsConverter.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class FileMetadataPairsConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.App/Config/FileMetadataPairsItem.cs b/src/Docfx.App/Config/FileMetadataPairsItem.cs similarity index 86% rename from src/Microsoft.DocAsCode.App/Config/FileMetadataPairsItem.cs rename to src/Docfx.App/Config/FileMetadataPairsItem.cs index 4ab129da7aa..7da6686455f 100644 --- a/src/Microsoft.DocAsCode.App/Config/FileMetadataPairsItem.cs +++ b/src/Docfx.App/Config/FileMetadataPairsItem.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Glob; +using Docfx.Common; +using Docfx.Glob; -namespace Microsoft.DocAsCode; +namespace Docfx; [Serializable] internal class FileMetadataPairsItem diff --git a/src/Microsoft.DocAsCode.App/Config/GroupConfig.cs b/src/Docfx.App/Config/GroupConfig.cs similarity index 94% rename from src/Microsoft.DocAsCode.App/Config/GroupConfig.cs rename to src/Docfx.App/Config/GroupConfig.cs index 752436f8c4c..dc413f6fb27 100644 --- a/src/Microsoft.DocAsCode.App/Config/GroupConfig.cs +++ b/src/Docfx.App/Config/GroupConfig.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; [Serializable] internal class GroupConfig diff --git a/src/Microsoft.DocAsCode.App/Config/ListWithStringFallback.cs b/src/Docfx.App/Config/ListWithStringFallback.cs similarity index 93% rename from src/Microsoft.DocAsCode.App/Config/ListWithStringFallback.cs rename to src/Docfx.App/Config/ListWithStringFallback.cs index aa5d34543a9..1510a0e886b 100644 --- a/src/Microsoft.DocAsCode.App/Config/ListWithStringFallback.cs +++ b/src/Docfx.App/Config/ListWithStringFallback.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; [JsonConverter(typeof(ListWithStringFallbackConverter))] [Serializable] diff --git a/src/Microsoft.DocAsCode.App/Config/ListWithStringFallbackConverter.cs b/src/Docfx.App/Config/ListWithStringFallbackConverter.cs similarity index 98% rename from src/Microsoft.DocAsCode.App/Config/ListWithStringFallbackConverter.cs rename to src/Docfx.App/Config/ListWithStringFallbackConverter.cs index fa2970552b0..b179ef80306 100644 --- a/src/Microsoft.DocAsCode.App/Config/ListWithStringFallbackConverter.cs +++ b/src/Docfx.App/Config/ListWithStringFallbackConverter.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class ListWithStringFallbackConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.App/Config/MergeJsonConfig.cs b/src/Docfx.App/Config/MergeJsonConfig.cs similarity index 93% rename from src/Microsoft.DocAsCode.App/Config/MergeJsonConfig.cs rename to src/Docfx.App/Config/MergeJsonConfig.cs index a9b04f1c6fe..684519726ff 100644 --- a/src/Microsoft.DocAsCode.App/Config/MergeJsonConfig.cs +++ b/src/Docfx.App/Config/MergeJsonConfig.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; [JsonConverter(typeof(MergeJsonConfigConverter))] internal class MergeJsonConfig : List diff --git a/src/Microsoft.DocAsCode.App/Config/MergeJsonConfigConverter.cs b/src/Docfx.App/Config/MergeJsonConfigConverter.cs similarity index 98% rename from src/Microsoft.DocAsCode.App/Config/MergeJsonConfigConverter.cs rename to src/Docfx.App/Config/MergeJsonConfigConverter.cs index ef63ad656e5..85ec9badfbc 100644 --- a/src/Microsoft.DocAsCode.App/Config/MergeJsonConfigConverter.cs +++ b/src/Docfx.App/Config/MergeJsonConfigConverter.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class MergeJsonConfigConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.App/Config/MergeJsonItemConfig.cs b/src/Docfx.App/Config/MergeJsonItemConfig.cs similarity index 94% rename from src/Microsoft.DocAsCode.App/Config/MergeJsonItemConfig.cs rename to src/Docfx.App/Config/MergeJsonItemConfig.cs index f402ad19c21..00105c4cf87 100644 --- a/src/Microsoft.DocAsCode.App/Config/MergeJsonItemConfig.cs +++ b/src/Docfx.App/Config/MergeJsonItemConfig.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; [Serializable] internal class MergeJsonItemConfig diff --git a/src/Microsoft.DocAsCode.App/Config/MetadataMergeParameters.cs b/src/Docfx.App/Config/MetadataMergeParameters.cs similarity index 88% rename from src/Microsoft.DocAsCode.App/Config/MetadataMergeParameters.cs rename to src/Docfx.App/Config/MetadataMergeParameters.cs index d38e6e6f2ec..68f5d8bf0f2 100644 --- a/src/Microsoft.DocAsCode.App/Config/MetadataMergeParameters.cs +++ b/src/Docfx.App/Config/MetadataMergeParameters.cs @@ -3,9 +3,9 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; +using Docfx.Build.Engine; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class MetadataMergeParameters { diff --git a/src/Microsoft.DocAsCode.App/Config/PdfJsonConfig.cs b/src/Docfx.App/Config/PdfJsonConfig.cs similarity index 97% rename from src/Microsoft.DocAsCode.App/Config/PdfJsonConfig.cs rename to src/Docfx.App/Config/PdfJsonConfig.cs index 838446446db..1a1ecec8237 100644 --- a/src/Microsoft.DocAsCode.App/Config/PdfJsonConfig.cs +++ b/src/Docfx.App/Config/PdfJsonConfig.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.HtmlToPdf; +using Docfx.HtmlToPdf; using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; [Serializable] internal class PdfJsonConfig : BuildJsonConfig diff --git a/src/Microsoft.DocAsCode.App/Config/WkhtmltopdfJsonConfig.cs b/src/Docfx.App/Config/WkhtmltopdfJsonConfig.cs similarity index 96% rename from src/Microsoft.DocAsCode.App/Config/WkhtmltopdfJsonConfig.cs rename to src/Docfx.App/Config/WkhtmltopdfJsonConfig.cs index b8a75e88b1c..ae7fe0a3014 100644 --- a/src/Microsoft.DocAsCode.App/Config/WkhtmltopdfJsonConfig.cs +++ b/src/Docfx.App/Config/WkhtmltopdfJsonConfig.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; /// /// Holds configuration options specific to the wkhtmltopdf tooling used by the pdf command. diff --git a/src/Docfx.App/Docfx.App.csproj b/src/Docfx.App/Docfx.App.csproj new file mode 100644 index 00000000000..6b542a65b5d --- /dev/null +++ b/src/Docfx.App/Docfx.App.csproj @@ -0,0 +1,37 @@ + + + false + 2.60.0 + Docfx published as a library for extensibility and advanced customization + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.DocAsCode.App/Docset.cs b/src/Docfx.App/Docset.cs similarity index 96% rename from src/Microsoft.DocAsCode.App/Docset.cs rename to src/Docfx.App/Docset.cs index 8c92d355486..2da52217aef 100644 --- a/src/Microsoft.DocAsCode.App/Docset.cs +++ b/src/Docfx.App/Docset.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode; +namespace Docfx; /// /// Provides access to a set of documentations diff --git a/src/Microsoft.DocAsCode.App/Helpers/Constants.cs b/src/Docfx.App/Helpers/Constants.cs similarity index 90% rename from src/Microsoft.DocAsCode.App/Helpers/Constants.cs rename to src/Docfx.App/Helpers/Constants.cs index 3db7e8cf88b..3114c5c2fcf 100644 --- a/src/Microsoft.DocAsCode.App/Helpers/Constants.cs +++ b/src/Docfx.App/Helpers/Constants.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode; +namespace Docfx; internal static class Constants { diff --git a/src/Microsoft.DocAsCode.App/Helpers/DocumentBuilderWrapper.cs b/src/Docfx.App/Helpers/DocumentBuilderWrapper.cs similarity index 97% rename from src/Microsoft.DocAsCode.App/Helpers/DocumentBuilderWrapper.cs rename to src/Docfx.App/Helpers/DocumentBuilderWrapper.cs index 973b8cd8984..e0d08a93c38 100644 --- a/src/Microsoft.DocAsCode.App/Helpers/DocumentBuilderWrapper.cs +++ b/src/Docfx.App/Helpers/DocumentBuilderWrapper.cs @@ -6,11 +6,11 @@ using System.Reflection; using System.Reflection.Metadata; using System.Reflection.PortableExecutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode; +namespace Docfx; internal static class DocumentBuilderWrapper { @@ -58,9 +58,9 @@ private static IEnumerable LoadPluginAssemblies(string pluginDirectory string assemblyName = Path.GetFileNameWithoutExtension(assemblyFile); if (!string.IsNullOrEmpty(assemblyName)) { - if (assemblyName == "Microsoft.DocAsCode.EntityModel" || assemblyName.StartsWith("System.")) + if (assemblyName == "Docfx.EntityModel" || assemblyName.StartsWith("System.")) { - // work around, don't load assembly Microsoft.DocAsCode.EntityModel. + // work around, don't load assembly Docfx.EntityModel. Logger.LogVerbose($"Skipping assembly: {assemblyName}"); continue; } @@ -105,12 +105,12 @@ static bool IsDocfxPluginAssembly(string assemblyFile) try { // Determines if the input assembly file is potentially a docfx plugin assembly - // by checking if referenced assemblies contains Microsoft.DocAsCode.Plugins using MetadataReader + // by checking if referenced assemblies contains Docfx.Plugins using MetadataReader using (var stream = File.OpenRead(assemblyFile)) using (var peReader = new PEReader(stream)) { var metadataReader = peReader.GetMetadataReader(); - return metadataReader.AssemblyReferences.Any(a => metadataReader.GetString(metadataReader.GetAssemblyReference(a).Name) == "Microsoft.DocAsCode.Plugins"); + return metadataReader.AssemblyReferences.Any(a => metadataReader.GetString(metadataReader.GetAssemblyReference(a).Name) == "Docfx.Plugins"); } } catch (Exception ex) diff --git a/src/Microsoft.DocAsCode.App/Helpers/MetadataMerger.cs b/src/Docfx.App/Helpers/MetadataMerger.cs similarity index 95% rename from src/Microsoft.DocAsCode.App/Helpers/MetadataMerger.cs rename to src/Docfx.App/Helpers/MetadataMerger.cs index 53858fc3b65..e6692b4cf94 100644 --- a/src/Microsoft.DocAsCode.App/Helpers/MetadataMerger.cs +++ b/src/Docfx.App/Helpers/MetadataMerger.cs @@ -2,15 +2,15 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Build.ManagedReference; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; - -namespace Microsoft.DocAsCode; +using Docfx.Build.Engine; +using Docfx.Build.ManagedReference; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.MarkdigEngine; +using Docfx.Plugins; + +namespace Docfx; internal class MetadataMerger { diff --git a/src/Microsoft.DocAsCode.App/RunBuild.cs b/src/Docfx.App/RunBuild.cs similarity index 89% rename from src/Microsoft.DocAsCode.App/RunBuild.cs rename to src/Docfx.App/RunBuild.cs index 50e4bdcc5dc..08d7be8ace4 100644 --- a/src/Microsoft.DocAsCode.App/RunBuild.cs +++ b/src/Docfx.App/RunBuild.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Engine; +using Docfx.Exceptions; +using Docfx.Plugins; -namespace Microsoft.DocAsCode; +namespace Docfx; internal static class RunBuild { @@ -13,7 +13,7 @@ public static string Exec(BuildJsonConfig config, BuildOptions options, string c { if (config.Templates == null || config.Templates.Count == 0) { - config.Templates = new ListWithStringFallback { DocAsCode.Constants.DefaultTemplateName }; + config.Templates = new ListWithStringFallback { Constants.DefaultTemplateName }; } var templateManager = new TemplateManager(config.Templates, config.Themes, configDirectory); diff --git a/src/Microsoft.DocAsCode.App/RunMerge.cs b/src/Docfx.App/RunMerge.cs similarity index 96% rename from src/Microsoft.DocAsCode.App/RunMerge.cs rename to src/Docfx.App/RunMerge.cs index 5a834b92a9e..b6a186e8a28 100644 --- a/src/Microsoft.DocAsCode.App/RunMerge.cs +++ b/src/Docfx.App/RunMerge.cs @@ -2,11 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode; +namespace Docfx; internal static class RunMerge { diff --git a/src/Microsoft.DocAsCode.App/RunPdf.cs b/src/Docfx.App/RunPdf.cs similarity index 95% rename from src/Microsoft.DocAsCode.App/RunPdf.cs rename to src/Docfx.App/RunPdf.cs index 4d6c0ae94c3..4e9b7a649c6 100644 --- a/src/Microsoft.DocAsCode.App/RunPdf.cs +++ b/src/Docfx.App/RunPdf.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.HtmlToPdf; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.HtmlToPdf; +using Docfx.Plugins; -namespace Microsoft.DocAsCode; +namespace Docfx; internal static class RunPdf { diff --git a/src/Microsoft.DocAsCode.App/RunServe.cs b/src/Docfx.App/RunServe.cs similarity index 98% rename from src/Microsoft.DocAsCode.App/RunServe.cs rename to src/Docfx.App/RunServe.cs index b503ca07e78..5ade132bcf4 100644 --- a/src/Microsoft.DocAsCode.App/RunServe.cs +++ b/src/Docfx.App/RunServe.cs @@ -5,13 +5,13 @@ using System.Runtime.InteropServices; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Microsoft.Extensions.FileProviders; using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Logging; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode; +namespace Docfx; internal static class RunServe { diff --git a/src/Microsoft.DocAsCode.Build.Common/BaseDocumentBuildStep.cs b/src/Docfx.Build.Common/BaseDocumentBuildStep.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.Common/BaseDocumentBuildStep.cs rename to src/Docfx.Build.Common/BaseDocumentBuildStep.cs index 741601c8ac3..eabd39bc3bb 100644 --- a/src/Microsoft.DocAsCode.Build.Common/BaseDocumentBuildStep.cs +++ b/src/Docfx.Build.Common/BaseDocumentBuildStep.cs @@ -3,9 +3,9 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public abstract class BaseDocumentBuildStep : IDocumentBuildStep { diff --git a/src/Microsoft.DocAsCode.Build.Common/DisposableDocumentProcessor.cs b/src/Docfx.Build.Common/DisposableDocumentProcessor.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.Common/DisposableDocumentProcessor.cs rename to src/Docfx.Build.Common/DisposableDocumentProcessor.cs index e968e334b50..1b0047efee8 100644 --- a/src/Microsoft.DocAsCode.Build.Common/DisposableDocumentProcessor.cs +++ b/src/Docfx.Build.Common/DisposableDocumentProcessor.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public abstract class DisposableDocumentProcessor : IDocumentProcessor, IDisposable { diff --git a/src/Docfx.Build.Common/Docfx.Build.Common.csproj b/src/Docfx.Build.Common/Docfx.Build.Common.csproj new file mode 100644 index 00000000000..59b08eb754b --- /dev/null +++ b/src/Docfx.Build.Common/Docfx.Build.Common.csproj @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/src/Microsoft.DocAsCode.Build.Common/MarkdownReader.cs b/src/Docfx.Build.Common/MarkdownReader.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Common/MarkdownReader.cs rename to src/Docfx.Build.Common/MarkdownReader.cs index cf3bd4ed64e..17a17e52409 100644 --- a/src/Microsoft.DocAsCode.Build.Common/MarkdownReader.cs +++ b/src/Docfx.Build.Common/MarkdownReader.cs @@ -4,12 +4,12 @@ using System.Collections.Immutable; using System.Diagnostics; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Common.Git; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Common.Git; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class MarkdownReader { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs index f672a470428..519b1356f5b 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/HandleModelAttributesContext.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class HandleModelAttributesContext { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/BaseModelAttributeHandler.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/BaseModelAttributeHandler.cs similarity index 99% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/BaseModelAttributeHandler.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/BaseModelAttributeHandler.cs index 6f2f43f116d..928108e2dc0 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/BaseModelAttributeHandler.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/BaseModelAttributeHandler.cs @@ -3,7 +3,7 @@ using System.Reflection; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public abstract class BaseModelAttributeHandler : IModelAttributeHandler where T : Attribute { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/CompositeModelAttributeHandler.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/CompositeModelAttributeHandler.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/CompositeModelAttributeHandler.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/CompositeModelAttributeHandler.cs index 4b4989fabaf..ef98684ebe5 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/CompositeModelAttributeHandler.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/CompositeModelAttributeHandler.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class CompositeModelAttributeHandler : IModelAttributeHandler { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/HandleGenericItemsHelper.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/HandleGenericItemsHelper.cs similarity index 99% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/HandleGenericItemsHelper.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/HandleGenericItemsHelper.cs index 296c31ece9c..f27d462a041 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/HandleGenericItemsHelper.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/HandleGenericItemsHelper.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class HandleGenericItemsHelper { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/IModelAttributeHandler.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/IModelAttributeHandler.cs similarity index 85% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/IModelAttributeHandler.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/IModelAttributeHandler.cs index 137a1762d22..d1b6c84f3b2 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/IModelAttributeHandler.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/IModelAttributeHandler.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public interface IModelAttributeHandler { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/MarkdownContentHandler.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/MarkdownContentHandler.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/MarkdownContentHandler.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/MarkdownContentHandler.cs index d9ec5d02a60..72ab0facde1 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/MarkdownContentHandler.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/MarkdownContentHandler.cs @@ -4,11 +4,11 @@ using System.Collections.Concurrent; using System.Reflection; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class MarkdownContentHandler : IModelAttributeHandler { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/UniqueIdentityHandler.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UniqueIdentityHandler.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/UniqueIdentityHandler.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UniqueIdentityHandler.cs index 7f879d03d0d..696d2db77d7 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/UniqueIdentityHandler.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UniqueIdentityHandler.cs @@ -5,9 +5,9 @@ using System.Collections.Concurrent; using System.Reflection; -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.DataContracts.Common; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class UniqueIdentityReferenceHandler : IModelAttributeHandler { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs index 5cd9bb88180..40492557daa 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/Handlers/UrlContentHandler.cs @@ -4,11 +4,11 @@ using System.Collections.Concurrent; using System.Reflection; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class UrlContentHandler : IModelAttributeHandler { diff --git a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/ReflectionHelper.cs b/src/Docfx.Build.Common/ModelAttributeHandlers/ReflectionHelper.cs similarity index 99% rename from src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/ReflectionHelper.cs rename to src/Docfx.Build.Common/ModelAttributeHandlers/ReflectionHelper.cs index 9e63078b052..c0adc4070f0 100644 --- a/src/Microsoft.DocAsCode.Build.Common/ModelAttributeHandlers/ReflectionHelper.cs +++ b/src/Docfx.Build.Common/ModelAttributeHandlers/ReflectionHelper.cs @@ -6,7 +6,7 @@ using System.Reflection; using System.Reflection.Emit; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public static class ReflectionHelper { diff --git a/src/Microsoft.DocAsCode.Build.Common/Reference/ApplyOverwriteDocument.cs b/src/Docfx.Build.Common/Reference/ApplyOverwriteDocument.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Common/Reference/ApplyOverwriteDocument.cs rename to src/Docfx.Build.Common/Reference/ApplyOverwriteDocument.cs index 6473cfde2bb..e4f8184b5b8 100644 --- a/src/Microsoft.DocAsCode.Build.Common/Reference/ApplyOverwriteDocument.cs +++ b/src/Docfx.Build.Common/Reference/ApplyOverwriteDocument.cs @@ -2,13 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.Plugins; using YamlDotNet.Core; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public abstract class ApplyOverwriteDocument : BaseDocumentBuildStep { diff --git a/src/Microsoft.DocAsCode.Build.Common/Reference/BuildReferenceDocumentBase.cs b/src/Docfx.Build.Common/Reference/BuildReferenceDocumentBase.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Common/Reference/BuildReferenceDocumentBase.cs rename to src/Docfx.Build.Common/Reference/BuildReferenceDocumentBase.cs index 0e4a378e472..9a92259eb54 100644 --- a/src/Microsoft.DocAsCode.Build.Common/Reference/BuildReferenceDocumentBase.cs +++ b/src/Docfx.Build.Common/Reference/BuildReferenceDocumentBase.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; /// /// Base document build step for reference. diff --git a/src/Microsoft.DocAsCode.Build.Common/Reference/OverwriteDocumentModel.cs b/src/Docfx.Build.Common/Reference/OverwriteDocumentModel.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.Common/Reference/OverwriteDocumentModel.cs rename to src/Docfx.Build.Common/Reference/OverwriteDocumentModel.cs index 9535d253827..a7d40081ba9 100644 --- a/src/Microsoft.DocAsCode.Build.Common/Reference/OverwriteDocumentModel.cs +++ b/src/Docfx.Build.Common/Reference/OverwriteDocumentModel.cs @@ -2,14 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; [Serializable] public class OverwriteDocumentModel diff --git a/src/Microsoft.DocAsCode.Build.Common/Reference/OverwriteDocumentReader.cs b/src/Docfx.Build.Common/Reference/OverwriteDocumentReader.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.Common/Reference/OverwriteDocumentReader.cs rename to src/Docfx.Build.Common/Reference/OverwriteDocumentReader.cs index 4310626d7f8..e35e338ed75 100644 --- a/src/Microsoft.DocAsCode.Build.Common/Reference/OverwriteDocumentReader.cs +++ b/src/Docfx.Build.Common/Reference/OverwriteDocumentReader.cs @@ -1,16 +1,16 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; using YamlDotNet.Core; using YamlDotNet.Serialization; using YamlDotNet.Serialization.Utilities; -using Constants = Microsoft.DocAsCode.DataContracts.Common.Constants; -using YamlDeserializer = Microsoft.DocAsCode.YamlSerialization.YamlDeserializer; +using Constants = Docfx.DataContracts.Common.Constants; +using YamlDeserializer = Docfx.YamlSerialization.YamlDeserializer; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class OverwriteDocumentReader { diff --git a/src/Microsoft.DocAsCode.Build.Common/Reference/ReferenceDocumentProcessorBase.cs b/src/Docfx.Build.Common/Reference/ReferenceDocumentProcessorBase.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Common/Reference/ReferenceDocumentProcessorBase.cs rename to src/Docfx.Build.Common/Reference/ReferenceDocumentProcessorBase.cs index dda82244322..29b4993846c 100644 --- a/src/Microsoft.DocAsCode.Build.Common/Reference/ReferenceDocumentProcessorBase.cs +++ b/src/Docfx.Build.Common/Reference/ReferenceDocumentProcessorBase.cs @@ -3,9 +3,9 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; /// /// Base document processor for reference. diff --git a/src/Microsoft.DocAsCode.Build.Common/YamlHtmlPart.cs b/src/Docfx.Build.Common/YamlHtmlPart.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Common/YamlHtmlPart.cs rename to src/Docfx.Build.Common/YamlHtmlPart.cs index cc6e9af3b42..cff4515a8a9 100644 --- a/src/Microsoft.DocAsCode.Build.Common/YamlHtmlPart.cs +++ b/src/Docfx.Build.Common/YamlHtmlPart.cs @@ -5,9 +5,9 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Common; +namespace Docfx.Build.Common; public class YamlHtmlPart { diff --git a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/BuildConceptualDocument.cs b/src/Docfx.Build.ConceptualDocuments/BuildConceptualDocument.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.ConceptualDocuments/BuildConceptualDocument.cs rename to src/Docfx.Build.ConceptualDocuments/BuildConceptualDocument.cs index 76282ab9cb8..641240e23a5 100644 --- a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/BuildConceptualDocument.cs +++ b/src/Docfx.Build.ConceptualDocuments/BuildConceptualDocument.cs @@ -4,12 +4,12 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ConceptualDocuments; +namespace Docfx.Build.ConceptualDocuments; [Export(nameof(ConceptualDocumentProcessor), typeof(IDocumentBuildStep))] public class BuildConceptualDocument : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/ConceptualDocumentProcessor.cs b/src/Docfx.Build.ConceptualDocuments/ConceptualDocumentProcessor.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.ConceptualDocuments/ConceptualDocumentProcessor.cs rename to src/Docfx.Build.ConceptualDocuments/ConceptualDocumentProcessor.cs index f3152febe35..7ca42a26197 100644 --- a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/ConceptualDocumentProcessor.cs +++ b/src/Docfx.Build.ConceptualDocuments/ConceptualDocumentProcessor.cs @@ -5,14 +5,14 @@ using System.Composition; using System.Text; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.ConceptualDocuments; +namespace Docfx.Build.ConceptualDocuments; [Export(typeof(IDocumentProcessor))] public class ConceptualDocumentProcessor : DisposableDocumentProcessor diff --git a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/CountWord.cs b/src/Docfx.Build.ConceptualDocuments/CountWord.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.ConceptualDocuments/CountWord.cs rename to src/Docfx.Build.ConceptualDocuments/CountWord.cs index 92c83d1af47..5564110f915 100644 --- a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/CountWord.cs +++ b/src/Docfx.Build.ConceptualDocuments/CountWord.cs @@ -6,11 +6,11 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ConceptualDocuments; +namespace Docfx.Build.ConceptualDocuments; [Export(nameof(ConceptualDocumentProcessor), typeof(IDocumentBuildStep))] public class CountWord : BaseDocumentBuildStep diff --git a/src/Docfx.Build.ConceptualDocuments/Docfx.Build.ConceptualDocuments.csproj b/src/Docfx.Build.ConceptualDocuments/Docfx.Build.ConceptualDocuments.csproj new file mode 100644 index 00000000000..af6b2a1155e --- /dev/null +++ b/src/Docfx.Build.ConceptualDocuments/Docfx.Build.ConceptualDocuments.csproj @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/HtmlDocumentUtility.cs b/src/Docfx.Build.ConceptualDocuments/HtmlDocumentUtility.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.ConceptualDocuments/HtmlDocumentUtility.cs rename to src/Docfx.Build.ConceptualDocuments/HtmlDocumentUtility.cs index de33fd2a609..f88b014d479 100644 --- a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/HtmlDocumentUtility.cs +++ b/src/Docfx.Build.ConceptualDocuments/HtmlDocumentUtility.cs @@ -4,7 +4,7 @@ using System.Net; using HtmlAgilityPack; -namespace Microsoft.DocAsCode.Build.ConceptualDocuments; +namespace Docfx.Build.ConceptualDocuments; public static class HtmlDocumentUtility { diff --git a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/SeparatedHtmlInfo.cs b/src/Docfx.Build.ConceptualDocuments/SeparatedHtmlInfo.cs similarity index 83% rename from src/Microsoft.DocAsCode.Build.ConceptualDocuments/SeparatedHtmlInfo.cs rename to src/Docfx.Build.ConceptualDocuments/SeparatedHtmlInfo.cs index b2d1cb84a30..539eec10920 100644 --- a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/SeparatedHtmlInfo.cs +++ b/src/Docfx.Build.ConceptualDocuments/SeparatedHtmlInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.ConceptualDocuments; +namespace Docfx.Build.ConceptualDocuments; public class SeparatedHtmlInfo { diff --git a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/ValidateConceptualDocumentMetadata.cs b/src/Docfx.Build.ConceptualDocuments/ValidateConceptualDocumentMetadata.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.ConceptualDocuments/ValidateConceptualDocumentMetadata.cs rename to src/Docfx.Build.ConceptualDocuments/ValidateConceptualDocumentMetadata.cs index d0b421ccf17..4da7c30e96c 100644 --- a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/ValidateConceptualDocumentMetadata.cs +++ b/src/Docfx.Build.ConceptualDocuments/ValidateConceptualDocumentMetadata.cs @@ -4,11 +4,11 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ConceptualDocuments; +namespace Docfx.Build.ConceptualDocuments; [Export(nameof(ConceptualDocumentProcessor), typeof(IDocumentBuildStep))] public class ValidateConceptualDocumentMetadata : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.Engine/BuildPhaseUtility.cs b/src/Docfx.Build.Engine/BuildPhaseUtility.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.Engine/BuildPhaseUtility.cs rename to src/Docfx.Build.Engine/BuildPhaseUtility.cs index 163c6ab8438..5e2d133fc04 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/BuildPhaseUtility.cs +++ b/src/Docfx.Build.Engine/BuildPhaseUtility.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public static class BuildPhaseUtility { diff --git a/src/Microsoft.DocAsCode.Build.Engine/CompilePhaseHandler.cs b/src/Docfx.Build.Engine/CompilePhaseHandler.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/CompilePhaseHandler.cs rename to src/Docfx.Build.Engine/CompilePhaseHandler.cs index 343495a494e..3e248cb3013 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/CompilePhaseHandler.cs +++ b/src/Docfx.Build.Engine/CompilePhaseHandler.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class CompilePhaseHandler : IPhaseHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/CompositionContainer.cs b/src/Docfx.Build.Engine/CompositionContainer.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/CompositionContainer.cs rename to src/Docfx.Build.Engine/CompositionContainer.cs index f1f54496743..3c164636d73 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/CompositionContainer.cs +++ b/src/Docfx.Build.Engine/CompositionContainer.cs @@ -5,9 +5,9 @@ using System.Composition.Hosting; using System.Reflection; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; [Export(typeof(ICompositionContainer))] public class CompositionContainer : ICompositionContainer diff --git a/src/Microsoft.DocAsCode.Build.Engine/Constants.cs b/src/Docfx.Build.Engine/Constants.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.Engine/Constants.cs rename to src/Docfx.Build.Engine/Constants.cs index 053d51961ba..11a1dd8a1d9 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/Constants.cs +++ b/src/Docfx.Build.Engine/Constants.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal static class Constants { diff --git a/src/Docfx.Build.Engine/Docfx.Build.Engine.csproj b/src/Docfx.Build.Engine/Docfx.Build.Engine.csproj new file mode 100644 index 00000000000..2bdcb0c29b0 --- /dev/null +++ b/src/Docfx.Build.Engine/Docfx.Build.Engine.csproj @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.DocAsCode.Build.Engine/DocumentBuildContext.cs b/src/Docfx.Build.Engine/DocumentBuildContext.cs similarity index 99% rename from src/Microsoft.DocAsCode.Build.Engine/DocumentBuildContext.cs rename to src/Docfx.Build.Engine/DocumentBuildContext.cs index 45830297798..bc51779064f 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/DocumentBuildContext.cs +++ b/src/Docfx.Build.Engine/DocumentBuildContext.cs @@ -4,12 +4,12 @@ using System.Collections.Concurrent; using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Exceptions; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class DocumentBuildContext : IDocumentBuildContext { diff --git a/src/Microsoft.DocAsCode.Build.Engine/DocumentBuildParameters.cs b/src/Docfx.Build.Engine/DocumentBuildParameters.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.Engine/DocumentBuildParameters.cs rename to src/Docfx.Build.Engine/DocumentBuildParameters.cs index 21c92582816..5742bd16f05 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/DocumentBuildParameters.cs +++ b/src/Docfx.Build.Engine/DocumentBuildParameters.cs @@ -3,12 +3,12 @@ using System.Collections.Immutable; using Markdig; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class DocumentBuildParameters : IBuildParameters { diff --git a/src/Microsoft.DocAsCode.Build.Engine/DocumentBuilder.cs b/src/Docfx.Build.Engine/DocumentBuilder.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/DocumentBuilder.cs rename to src/Docfx.Build.Engine/DocumentBuilder.cs index b18e3355670..a0cab69c6a5 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/DocumentBuilder.cs +++ b/src/Docfx.Build.Engine/DocumentBuilder.cs @@ -6,13 +6,13 @@ using System.Composition.Hosting; using System.Reflection; using System.Text; -using Microsoft.DocAsCode.Build.SchemaDriven; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.SchemaDriven; +using Docfx.Common; +using Docfx.MarkdigEngine; +using Docfx.Plugins; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class DocumentBuilder : IDisposable { diff --git a/src/Microsoft.DocAsCode.Build.Engine/FileCollection.cs b/src/Docfx.Build.Engine/FileCollection.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Engine/FileCollection.cs rename to src/Docfx.Build.Engine/FileCollection.cs index 05fc505071d..b342f3d3804 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/FileCollection.cs +++ b/src/Docfx.Build.Engine/FileCollection.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class FileCollection { diff --git a/src/Microsoft.DocAsCode.Build.Engine/FileMetadata.cs b/src/Docfx.Build.Engine/FileMetadata.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.Engine/FileMetadata.cs rename to src/Docfx.Build.Engine/FileMetadata.cs index 7bd95ba0dcf..8314c0255b3 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/FileMetadata.cs +++ b/src/Docfx.Build.Engine/FileMetadata.cs @@ -3,9 +3,9 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Glob; +using Docfx.Glob; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class FileMetadata : Dictionary> { diff --git a/src/Microsoft.DocAsCode.Build.Engine/FileMetadataConverter.cs b/src/Docfx.Build.Engine/FileMetadataConverter.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Engine/FileMetadataConverter.cs rename to src/Docfx.Build.Engine/FileMetadataConverter.cs index cd700c56474..a46b9b98736 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/FileMetadataConverter.cs +++ b/src/Docfx.Build.Engine/FileMetadataConverter.cs @@ -3,13 +3,13 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Glob; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.Glob; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode; +namespace Docfx; public class FileMetadataConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.Build.Engine/FileMetadataHelper.cs b/src/Docfx.Build.Engine/FileMetadataHelper.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/FileMetadataHelper.cs rename to src/Docfx.Build.Engine/FileMetadataHelper.cs index 2381a615603..a6b8255a5bd 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/FileMetadataHelper.cs +++ b/src/Docfx.Build.Engine/FileMetadataHelper.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Glob; +using Docfx.Common; +using Docfx.Glob; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public static class FileMetadataHelper { diff --git a/src/Microsoft.DocAsCode.Build.Engine/FileMetadataItem.cs b/src/Docfx.Build.Engine/FileMetadataItem.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.Engine/FileMetadataItem.cs rename to src/Docfx.Build.Engine/FileMetadataItem.cs index 2b2fd169c43..bdb580548fb 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/FileMetadataItem.cs +++ b/src/Docfx.Build.Engine/FileMetadataItem.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Glob; +using Docfx.Common; +using Docfx.Glob; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class FileMetadataItem : IEquatable { diff --git a/src/Microsoft.DocAsCode.Build.Engine/HostService.cs b/src/Docfx.Build.Engine/HostService.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/HostService.cs rename to src/Docfx.Build.Engine/HostService.cs index b1c75748589..39bc5bfc2f4 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/HostService.cs +++ b/src/Docfx.Build.Engine/HostService.cs @@ -3,11 +3,11 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.MarkdigEngine; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; [Export(typeof(IHostService))] internal sealed class HostService : IHostService, IDisposable diff --git a/src/Microsoft.DocAsCode.Build.Engine/HostServiceCreator.cs b/src/Docfx.Build.Engine/HostServiceCreator.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/HostServiceCreator.cs rename to src/Docfx.Build.Engine/HostServiceCreator.cs index 7737c012273..7b189769d2a 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/HostServiceCreator.cs +++ b/src/Docfx.Build.Engine/HostServiceCreator.cs @@ -4,11 +4,11 @@ using System.Collections.Concurrent; using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class HostServiceCreator : IHostServiceCreator { diff --git a/src/Microsoft.DocAsCode.Build.Engine/IHostServiceCreator.cs b/src/Docfx.Build.Engine/IHostServiceCreator.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.Engine/IHostServiceCreator.cs rename to src/Docfx.Build.Engine/IHostServiceCreator.cs index 54651d3bd64..07a4c86805f 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/IHostServiceCreator.cs +++ b/src/Docfx.Build.Engine/IHostServiceCreator.cs @@ -3,9 +3,9 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal interface IHostServiceCreator { diff --git a/src/Microsoft.DocAsCode.Build.Engine/IPhaseHandler.cs b/src/Docfx.Build.Engine/IPhaseHandler.cs similarity index 79% rename from src/Microsoft.DocAsCode.Build.Engine/IPhaseHandler.cs rename to src/Docfx.Build.Engine/IPhaseHandler.cs index a12efa40bc2..81869b80f17 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/IPhaseHandler.cs +++ b/src/Docfx.Build.Engine/IPhaseHandler.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal interface IPhaseHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/InternalManifestItem.cs b/src/Docfx.Build.Engine/InternalManifestItem.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.Engine/InternalManifestItem.cs rename to src/Docfx.Build.Engine/InternalManifestItem.cs index 69dd0641d39..fe970d33f2d 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/InternalManifestItem.cs +++ b/src/Docfx.Build.Engine/InternalManifestItem.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class InternalManifestItem { diff --git a/src/Microsoft.DocAsCode.Build.Engine/InvalidCrossReferenceException.cs b/src/Docfx.Build.Engine/InvalidCrossReferenceException.cs similarity index 82% rename from src/Microsoft.DocAsCode.Build.Engine/InvalidCrossReferenceException.cs rename to src/Docfx.Build.Engine/InvalidCrossReferenceException.cs index eb8be923e25..7211e289eca 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/InvalidCrossReferenceException.cs +++ b/src/Docfx.Build.Engine/InvalidCrossReferenceException.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class InvalidCrossReferenceException : DocumentException { diff --git a/src/Microsoft.DocAsCode.Build.Engine/InvalidPreprocessorException.cs b/src/Docfx.Build.Engine/InvalidPreprocessorException.cs similarity index 77% rename from src/Microsoft.DocAsCode.Build.Engine/InvalidPreprocessorException.cs rename to src/Docfx.Build.Engine/InvalidPreprocessorException.cs index f017c962d17..efc3e75ba84 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/InvalidPreprocessorException.cs +++ b/src/Docfx.Build.Engine/InvalidPreprocessorException.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Exceptions; +using Docfx.Exceptions; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class InvalidPreprocessorException : DocfxException { diff --git a/src/Microsoft.DocAsCode.Build.Engine/LinkPhaseHandler.cs b/src/Docfx.Build.Engine/LinkPhaseHandler.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/LinkPhaseHandler.cs rename to src/Docfx.Build.Engine/LinkPhaseHandler.cs index 8e62ca26bed..6f6d3aee71a 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/LinkPhaseHandler.cs +++ b/src/Docfx.Build.Engine/LinkPhaseHandler.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class LinkPhaseHandler : IPhaseHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ManifestItemWithContext.cs b/src/Docfx.Build.Engine/ManifestItemWithContext.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.Engine/ManifestItemWithContext.cs rename to src/Docfx.Build.Engine/ManifestItemWithContext.cs index 2b88097e1a4..c33e562a13c 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ManifestItemWithContext.cs +++ b/src/Docfx.Build.Engine/ManifestItemWithContext.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal sealed class ManifestItemWithContext { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ManifestProcessor.cs b/src/Docfx.Build.Engine/ManifestProcessor.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/ManifestProcessor.cs rename to src/Docfx.Build.Engine/ManifestProcessor.cs index cbf94cfd889..4c542cb543a 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ManifestProcessor.cs +++ b/src/Docfx.Build.Engine/ManifestProcessor.cs @@ -3,10 +3,10 @@ using System.Collections.Concurrent; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class ManifestProcessor { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ManifestUtility.cs b/src/Docfx.Build.Engine/ManifestUtility.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/ManifestUtility.cs rename to src/Docfx.Build.Engine/ManifestUtility.cs index a9c99356b4e..fdc99e59adf 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ManifestUtility.cs +++ b/src/Docfx.Build.Engine/ManifestUtility.cs @@ -4,9 +4,9 @@ using System.Collections.Concurrent; using System.Collections.Immutable; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; #pragma warning disable CS0612 // Type or member is obsolete #pragma warning disable CS0618 // Type or member is obsolete diff --git a/src/Microsoft.DocAsCode.Build.Engine/MarkupResultUtility.cs b/src/Docfx.Build.Engine/MarkupResultUtility.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/MarkupResultUtility.cs rename to src/Docfx.Build.Engine/MarkupResultUtility.cs index bdb21a0648c..0714da96317 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/MarkupResultUtility.cs +++ b/src/Docfx.Build.Engine/MarkupResultUtility.cs @@ -4,10 +4,10 @@ using System.Collections.Immutable; using System.Net; using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public static class MarkupUtility { diff --git a/src/Microsoft.DocAsCode.Build.Engine/OSPlatformSensitiveDictionary.cs b/src/Docfx.Build.Engine/OSPlatformSensitiveDictionary.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.Engine/OSPlatformSensitiveDictionary.cs rename to src/Docfx.Build.Engine/OSPlatformSensitiveDictionary.cs index faad4371fb9..564ebe94bfa 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/OSPlatformSensitiveDictionary.cs +++ b/src/Docfx.Build.Engine/OSPlatformSensitiveDictionary.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class OSPlatformSensitiveDictionary : Dictionary { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PhaseProcessor.cs b/src/Docfx.Build.Engine/PhaseProcessor.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.Engine/PhaseProcessor.cs rename to src/Docfx.Build.Engine/PhaseProcessor.cs index 0fbe188e43e..f3ad8f3e463 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PhaseProcessor.cs +++ b/src/Docfx.Build.Engine/PhaseProcessor.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class PhaseProcessor { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/ExtractSearchIndex.cs b/src/Docfx.Build.Engine/PostProcessors/ExtractSearchIndex.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/ExtractSearchIndex.cs rename to src/Docfx.Build.Engine/PostProcessors/ExtractSearchIndex.cs index c6ccb6906cd..dc3951211b2 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/ExtractSearchIndex.cs +++ b/src/Docfx.Build.Engine/PostProcessors/ExtractSearchIndex.cs @@ -7,11 +7,11 @@ using System.Text; using System.Text.RegularExpressions; using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; [Export(nameof(ExtractSearchIndex), typeof(IPostProcessor))] public class ExtractSearchIndex : IPostProcessor diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/HtmlDocumentHandler.cs b/src/Docfx.Build.Engine/PostProcessors/HtmlDocumentHandler.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/HtmlDocumentHandler.cs rename to src/Docfx.Build.Engine/PostProcessors/HtmlDocumentHandler.cs index 190edf58582..1d577722968 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/HtmlDocumentHandler.cs +++ b/src/Docfx.Build.Engine/PostProcessors/HtmlDocumentHandler.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public abstract class HtmlDocumentHandler : IHtmlDocumentHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/HtmlPostProcessor.cs b/src/Docfx.Build.Engine/PostProcessors/HtmlPostProcessor.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/HtmlPostProcessor.cs rename to src/Docfx.Build.Engine/PostProcessors/HtmlPostProcessor.cs index 029f7b1dbb6..fdf1e9a78e4 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/HtmlPostProcessor.cs +++ b/src/Docfx.Build.Engine/PostProcessors/HtmlPostProcessor.cs @@ -6,10 +6,10 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal sealed class HtmlPostProcessor : IPostProcessor { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/IHtmlDocumentHandler.cs b/src/Docfx.Build.Engine/PostProcessors/IHtmlDocumentHandler.cs similarity index 83% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/IHtmlDocumentHandler.cs rename to src/Docfx.Build.Engine/PostProcessors/IHtmlDocumentHandler.cs index 25a93821161..ba1feab167e 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/IHtmlDocumentHandler.cs +++ b/src/Docfx.Build.Engine/PostProcessors/IHtmlDocumentHandler.cs @@ -3,9 +3,9 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public interface IHtmlDocumentHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/IPostProcessorsHandler.cs b/src/Docfx.Build.Engine/PostProcessors/IPostProcessorsHandler.cs similarity index 78% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/IPostProcessorsHandler.cs rename to src/Docfx.Build.Engine/PostProcessors/IPostProcessorsHandler.cs index e882cbf6f50..f9c916fd02b 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/IPostProcessorsHandler.cs +++ b/src/Docfx.Build.Engine/PostProcessors/IPostProcessorsHandler.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal interface IPostProcessorsHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessor.cs b/src/Docfx.Build.Engine/PostProcessors/PostProcessor.cs similarity index 77% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessor.cs rename to src/Docfx.Build.Engine/PostProcessors/PostProcessor.cs index c76ece58096..eb71b7602c0 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessor.cs +++ b/src/Docfx.Build.Engine/PostProcessors/PostProcessor.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal sealed class PostProcessor { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessorsHandler.cs b/src/Docfx.Build.Engine/PostProcessors/PostProcessorsHandler.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessorsHandler.cs rename to src/Docfx.Build.Engine/PostProcessors/PostProcessorsHandler.cs index 6972525b7ae..ced6b4af995 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessorsHandler.cs +++ b/src/Docfx.Build.Engine/PostProcessors/PostProcessorsHandler.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class PostProcessorsHandler : IPostProcessorsHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessorsManager.cs b/src/Docfx.Build.Engine/PostProcessors/PostProcessorsManager.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessorsManager.cs rename to src/Docfx.Build.Engine/PostProcessors/PostProcessorsManager.cs index 5a5f86ae69a..2b289fe10bf 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/PostProcessorsManager.cs +++ b/src/Docfx.Build.Engine/PostProcessors/PostProcessorsManager.cs @@ -3,11 +3,11 @@ using System.Collections.Immutable; using System.Composition.Hosting; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class PostProcessorsManager : IDisposable { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/RemoveDebugInfo.cs b/src/Docfx.Build.Engine/PostProcessors/RemoveDebugInfo.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/RemoveDebugInfo.cs rename to src/Docfx.Build.Engine/PostProcessors/RemoveDebugInfo.cs index 0e2ff0cfdfc..e8caef3f258 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/RemoveDebugInfo.cs +++ b/src/Docfx.Build.Engine/PostProcessors/RemoveDebugInfo.cs @@ -3,9 +3,9 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class RemoveDebugInfo : HtmlDocumentHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/SearchIndexItem.cs b/src/Docfx.Build.Engine/PostProcessors/SearchIndexItem.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/SearchIndexItem.cs rename to src/Docfx.Build.Engine/PostProcessors/SearchIndexItem.cs index 21a4aae739b..4308b09cb59 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/SearchIndexItem.cs +++ b/src/Docfx.Build.Engine/PostProcessors/SearchIndexItem.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class SearchIndexItem { diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/SitemapGenerator.cs b/src/Docfx.Build.Engine/PostProcessors/SitemapGenerator.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/SitemapGenerator.cs rename to src/Docfx.Build.Engine/PostProcessors/SitemapGenerator.cs index 1ea61945667..90aa9d736c8 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/SitemapGenerator.cs +++ b/src/Docfx.Build.Engine/PostProcessors/SitemapGenerator.cs @@ -6,11 +6,11 @@ using System.Globalization; using System.Xml.Linq; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Glob; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Glob; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; [Export(nameof(SitemapGenerator), typeof(IPostProcessor))] public class SitemapGenerator : IPostProcessor diff --git a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/ValidateBookmark.cs b/src/Docfx.Build.Engine/PostProcessors/ValidateBookmark.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/PostProcessors/ValidateBookmark.cs rename to src/Docfx.Build.Engine/PostProcessors/ValidateBookmark.cs index 540d00633ff..7e4af36578e 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/PostProcessors/ValidateBookmark.cs +++ b/src/Docfx.Build.Engine/PostProcessors/ValidateBookmark.cs @@ -6,10 +6,10 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class ValidateBookmark : HtmlDocumentHandler { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ResourceDirectoryExceedsMaxDepthException.cs b/src/Docfx.Build.Engine/ResourceDirectoryExceedsMaxDepthException.cs similarity index 88% rename from src/Microsoft.DocAsCode.Build.Engine/ResourceDirectoryExceedsMaxDepthException.cs rename to src/Docfx.Build.Engine/ResourceDirectoryExceedsMaxDepthException.cs index 0d039d1d1c3..99392961e87 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ResourceDirectoryExceedsMaxDepthException.cs +++ b/src/Docfx.Build.Engine/ResourceDirectoryExceedsMaxDepthException.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Exceptions; +using Docfx.Exceptions; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class ResourceFileExceedsMaxDepthException : DocfxException { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ArchiveResourceReader.cs b/src/Docfx.Build.Engine/ResourceFileReaders/ArchiveResourceReader.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ArchiveResourceReader.cs rename to src/Docfx.Build.Engine/ResourceFileReaders/ArchiveResourceReader.cs index 8b24ff250ed..f57a3838205 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ArchiveResourceReader.cs +++ b/src/Docfx.Build.Engine/ResourceFileReaders/ArchiveResourceReader.cs @@ -3,9 +3,9 @@ using System.IO.Compression; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class ArchiveResourceReader : ResourceFileReader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/CompositeResourceReader.cs b/src/Docfx.Build.Engine/ResourceFileReaders/CompositeResourceReader.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/CompositeResourceReader.cs rename to src/Docfx.Build.Engine/ResourceFileReaders/CompositeResourceReader.cs index 72121a4ac78..ccd1e97d6ec 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/CompositeResourceReader.cs +++ b/src/Docfx.Build.Engine/ResourceFileReaders/CompositeResourceReader.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class CompositeResourceReader : ResourceFileReader, IEnumerable { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/EmptyResourceReader.cs b/src/Docfx.Build.Engine/ResourceFileReaders/EmptyResourceReader.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/EmptyResourceReader.cs rename to src/Docfx.Build.Engine/ResourceFileReaders/EmptyResourceReader.cs index 73d0d8bd680..a1cbdd6ad2b 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/EmptyResourceReader.cs +++ b/src/Docfx.Build.Engine/ResourceFileReaders/EmptyResourceReader.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class EmptyResourceReader : ResourceFileReader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/IResourceFileReader.cs b/src/Docfx.Build.Engine/ResourceFileReaders/IResourceFileReader.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/IResourceFileReader.cs rename to src/Docfx.Build.Engine/ResourceFileReaders/IResourceFileReader.cs index f8674d701cd..3502be97d22 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/IResourceFileReader.cs +++ b/src/Docfx.Build.Engine/ResourceFileReaders/IResourceFileReader.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public interface IResourceFileReader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/LocalFileResourceReader.cs b/src/Docfx.Build.Engine/ResourceFileReaders/LocalFileResourceReader.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/LocalFileResourceReader.cs rename to src/Docfx.Build.Engine/ResourceFileReaders/LocalFileResourceReader.cs index c10873bd307..42eeebe26e5 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/LocalFileResourceReader.cs +++ b/src/Docfx.Build.Engine/ResourceFileReaders/LocalFileResourceReader.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class LocalFileResourceReader : ResourceFileReader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ResourceFileReader.cs b/src/Docfx.Build.Engine/ResourceFileReaders/ResourceFileReader.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ResourceFileReader.cs rename to src/Docfx.Build.Engine/ResourceFileReaders/ResourceFileReader.cs index 91232962721..8d6d9a7feeb 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ResourceFileReader.cs +++ b/src/Docfx.Build.Engine/ResourceFileReaders/ResourceFileReader.cs @@ -3,7 +3,7 @@ using System.Text.RegularExpressions; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public abstract class ResourceFileReader : IResourceFileReader, IDisposable { diff --git a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ResourceInfo.cs b/src/Docfx.Build.Engine/ResourceFileReaders/ResourceInfo.cs similarity index 88% rename from src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ResourceInfo.cs rename to src/Docfx.Build.Engine/ResourceFileReaders/ResourceInfo.cs index 4b63a27291a..be54942e68b 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/ResourceFileReaders/ResourceInfo.cs +++ b/src/Docfx.Build.Engine/ResourceFileReaders/ResourceInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class ResourceInfo { diff --git a/src/Microsoft.DocAsCode.Build.Engine/Settings/ApplyTemplateOptions.cs b/src/Docfx.Build.Engine/Settings/ApplyTemplateOptions.cs similarity index 88% rename from src/Microsoft.DocAsCode.Build.Engine/Settings/ApplyTemplateOptions.cs rename to src/Docfx.Build.Engine/Settings/ApplyTemplateOptions.cs index 67827eff3ec..12b120cd89e 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/Settings/ApplyTemplateOptions.cs +++ b/src/Docfx.Build.Engine/Settings/ApplyTemplateOptions.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; [Flags] public enum ApplyTemplateOptions diff --git a/src/Microsoft.DocAsCode.Build.Engine/Settings/ApplyTemplateSettings.cs b/src/Docfx.Build.Engine/Settings/ApplyTemplateSettings.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/Settings/ApplyTemplateSettings.cs rename to src/Docfx.Build.Engine/Settings/ApplyTemplateSettings.cs index 0d06fa120e5..e0f40197f33 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/Settings/ApplyTemplateSettings.cs +++ b/src/Docfx.Build.Engine/Settings/ApplyTemplateSettings.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class ApplyTemplateSettings { diff --git a/src/Microsoft.DocAsCode.Build.Engine/Settings/ExportSettings.cs b/src/Docfx.Build.Engine/Settings/ExportSettings.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.Engine/Settings/ExportSettings.cs rename to src/Docfx.Build.Engine/Settings/ExportSettings.cs index 5ede2a6c0be..e9f72ef70bf 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/Settings/ExportSettings.cs +++ b/src/Docfx.Build.Engine/Settings/ExportSettings.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class ExportSettings { diff --git a/src/Microsoft.DocAsCode.Build.Engine/SingleDocumentBuilder.cs b/src/Docfx.Build.Engine/SingleDocumentBuilder.cs similarity index 99% rename from src/Microsoft.DocAsCode.Build.Engine/SingleDocumentBuilder.cs rename to src/Docfx.Build.Engine/SingleDocumentBuilder.cs index b2215f0f2ea..28255146e8c 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/SingleDocumentBuilder.cs +++ b/src/Docfx.Build.Engine/SingleDocumentBuilder.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; #pragma warning disable CS0612 // Type or member is obsolete #pragma warning disable CS0618 // Type or member is obsolete diff --git a/src/Microsoft.DocAsCode.Build.Engine/SystemMetadata.cs b/src/Docfx.Build.Engine/SystemMetadata.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/SystemMetadata.cs rename to src/Docfx.Build.Engine/SystemMetadata.cs index f4671512387..ff8c810dc4a 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/SystemMetadata.cs +++ b/src/Docfx.Build.Engine/SystemMetadata.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal sealed class SystemMetadata { diff --git a/src/Microsoft.DocAsCode.Build.Engine/SystemMetadataGenerator.cs b/src/Docfx.Build.Engine/SystemMetadataGenerator.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/SystemMetadataGenerator.cs rename to src/Docfx.Build.Engine/SystemMetadataGenerator.cs index b62290a837d..7f375d84341 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/SystemMetadataGenerator.cs +++ b/src/Docfx.Build.Engine/SystemMetadataGenerator.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -using CommonConstants = Microsoft.DocAsCode.DataContracts.Common.Constants; +using CommonConstants = Docfx.DataContracts.Common.Constants; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal sealed class SystemMetadataGenerator { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/ITemplatePreprocessor.cs b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/ITemplatePreprocessor.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/ITemplatePreprocessor.cs rename to src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/ITemplatePreprocessor.cs index 6e2fd81cafe..16039d4eb6e 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/ITemplatePreprocessor.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/ITemplatePreprocessor.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public interface ITemplatePreprocessor { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/JintProcessorHelper.cs b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/JintProcessorHelper.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/JintProcessorHelper.cs rename to src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/JintProcessorHelper.cs index 4ccefc9e192..07951aa7879 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/JintProcessorHelper.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/JintProcessorHelper.cs @@ -3,7 +3,7 @@ using Jint.Native; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public static class JintProcessorHelper { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorLoader.cs b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorLoader.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorLoader.cs rename to src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorLoader.cs index a9b87a13370..a1f7ee7540e 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorLoader.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorLoader.cs @@ -3,9 +3,9 @@ using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class PreprocessorLoader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorWithResourcePool.cs b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorWithResourcePool.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorWithResourcePool.cs rename to src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorWithResourcePool.cs index ee01c6a78a0..b5e9dbb0ed5 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorWithResourcePool.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/PreprocessorWithResourcePool.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using Esprima; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class PreprocessorWithResourcePool : ITemplatePreprocessor { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/TemplateJintPreprocessor.cs b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/TemplateJintPreprocessor.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/TemplateJintPreprocessor.cs rename to src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/TemplateJintPreprocessor.cs index 2e0df987591..b5f582d2ac6 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/TemplateJintPreprocessor.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/TemplateJintPreprocessor.cs @@ -5,9 +5,9 @@ using Jint.Native; using Jint.Native.Function; using Jint.Native.Object; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TemplateJintPreprocessor : ITemplatePreprocessor { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/TemplateUtility.cs b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/TemplateUtility.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/TemplateUtility.cs rename to src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/TemplateUtility.cs index 741ded1bedf..74b05684ca2 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Preprocessors/TemplateUtility.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/Preprocessors/TemplateUtility.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TemplateUtility { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Template.cs b/src/Docfx.Build.Engine/TemplateProcessors/Template.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Template.cs rename to src/Docfx.Build.Engine/TemplateProcessors/Template.cs index bd815f152cf..33c04944dab 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/Template.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/Template.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class Template { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateBundle.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplateBundle.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateBundle.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplateBundle.cs index 03133837449..1cc16fc1397 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateBundle.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplateBundle.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TemplateBundle { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateCollection.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplateCollection.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateCollection.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplateCollection.cs index 0976dd4c58c..e627512164b 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateCollection.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplateCollection.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TemplateCollection : Dictionary { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateManager.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplateManager.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateManager.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplateManager.cs index 432f33836e0..d910ad5a718 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateManager.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplateManager.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; #nullable enable -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TemplateManager { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateModelTransformer.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplateModelTransformer.cs similarity index 99% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateModelTransformer.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplateModelTransformer.cs index 1ec1e7ec115..5947d62429e 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateModelTransformer.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplateModelTransformer.cs @@ -5,11 +5,11 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TemplateModelTransformer { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplatePageLoader.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplatePageLoader.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplatePageLoader.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplatePageLoader.cs index 047a2206c9b..97100d2a4d4 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplatePageLoader.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplatePageLoader.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TemplatePageLoader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateProcessor.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplateProcessor.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateProcessor.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplateProcessor.cs index e8b69d01688..4dc5a32e26f 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateProcessor.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplateProcessor.cs @@ -3,10 +3,10 @@ using System.Collections.Concurrent; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TemplateProcessor : IDisposable { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateProcessorUtility.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplateProcessorUtility.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateProcessorUtility.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplateProcessorUtility.cs index eb49212650c..435782cf614 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateProcessorUtility.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplateProcessorUtility.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public static class TemplateProcessorUtility { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateResourceInfo.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplateResourceInfo.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateResourceInfo.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplateResourceInfo.cs index 164c10eb300..262c19bb051 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateResourceInfo.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplateResourceInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class TemplateResourceInfo { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateType.cs b/src/Docfx.Build.Engine/TemplateProcessors/TemplateType.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateType.cs rename to src/Docfx.Build.Engine/TemplateProcessors/TemplateType.cs index 150dfd5a1d2..e8519b231eb 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/TemplateType.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/TemplateType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public enum TemplateType { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ITemplateRenderer.cs b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ITemplateRenderer.cs similarity index 88% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ITemplateRenderer.cs rename to src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ITemplateRenderer.cs index a632102642a..b2b085624d0 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ITemplateRenderer.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ITemplateRenderer.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public interface ITemplateRenderer { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs rename to src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs index 4a0ce639c46..b412e88b187 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/MustacheTemplateRenderer.cs @@ -5,7 +5,7 @@ using Stubble.Core.Builders; using Stubble.Core.Interfaces; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class MustacheTemplateRenderer : ITemplateRenderer { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs rename to src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs index ebb2a9a7ba7..cfbe4a26d38 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ParseTemplateHelper.cs @@ -3,9 +3,9 @@ using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal static class ParseTemplateHelper { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/RendererLoader.cs b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/RendererLoader.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/RendererLoader.cs rename to src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/RendererLoader.cs index 65baf1fef37..8a12c0038db 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/RendererLoader.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/RendererLoader.cs @@ -3,9 +3,9 @@ using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class RendererLoader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/RendererWithResourcePool.cs b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/RendererWithResourcePool.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/RendererWithResourcePool.cs rename to src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/RendererWithResourcePool.cs index a8eb0c647c1..45198753a64 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/RendererWithResourcePool.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/RendererWithResourcePool.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal class RendererWithResourcePool : ITemplateRenderer { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ResourceTemplateLoader.cs b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ResourceTemplateLoader.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ResourceTemplateLoader.cs rename to src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ResourceTemplateLoader.cs index d1a473c09c0..e82ffec32f8 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TemplateProcessors/ViewRenderers/ResourceTemplateLoader.cs +++ b/src/Docfx.Build.Engine/TemplateProcessors/ViewRenderers/ResourceTemplateLoader.cs @@ -4,7 +4,7 @@ using System.Collections.Concurrent; using Stubble.Core.Interfaces; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal sealed class ResourceTemplateLoader : IStubbleLoader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/TransformModelOptions.cs b/src/Docfx.Build.Engine/TransformModelOptions.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.Engine/TransformModelOptions.cs rename to src/Docfx.Build.Engine/TransformModelOptions.cs index 682b1885240..c573f40e27c 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/TransformModelOptions.cs +++ b/src/Docfx.Build.Engine/TransformModelOptions.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class TransformModelOptions { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/BasicXRefMapReader.cs b/src/Docfx.Build.Engine/XRefMaps/BasicXRefMapReader.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/BasicXRefMapReader.cs rename to src/Docfx.Build.Engine/XRefMaps/BasicXRefMapReader.cs index 0de6f107dd1..4585d692e7a 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/BasicXRefMapReader.cs +++ b/src/Docfx.Build.Engine/XRefMaps/BasicXRefMapReader.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class BasicXRefMapReader : IXRefContainerReader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/IXRefContainer.cs b/src/Docfx.Build.Engine/XRefMaps/IXRefContainer.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/IXRefContainer.cs rename to src/Docfx.Build.Engine/XRefMaps/IXRefContainer.cs index 6b3f9155cb1..7d10c39b9e2 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/IXRefContainer.cs +++ b/src/Docfx.Build.Engine/XRefMaps/IXRefContainer.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public interface IXRefContainer { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/IXRefContainerReader.cs b/src/Docfx.Build.Engine/XRefMaps/IXRefContainerReader.cs similarity index 73% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/IXRefContainerReader.cs rename to src/Docfx.Build.Engine/XRefMaps/IXRefContainerReader.cs index 074c8ffd50e..a28723545f1 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/IXRefContainerReader.cs +++ b/src/Docfx.Build.Engine/XRefMaps/IXRefContainerReader.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public interface IXRefContainerReader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchive.cs b/src/Docfx.Build.Engine/XRefMaps/XRefArchive.cs similarity index 99% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchive.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefArchive.cs index 63ebd009500..c21d1a46cca 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchive.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefArchive.cs @@ -4,9 +4,9 @@ using System.Collections.Immutable; using System.IO.Compression; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class XRefArchive : IXRefContainer, IDisposable { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveBuilder.cs b/src/Docfx.Build.Engine/XRefMaps/XRefArchiveBuilder.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveBuilder.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefArchiveBuilder.cs index 9ced958e1cf..1fff951b401 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveBuilder.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefArchiveBuilder.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class XRefArchiveBuilder { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveMode.cs b/src/Docfx.Build.Engine/XRefMaps/XRefArchiveMode.cs similarity index 82% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveMode.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefArchiveMode.cs index a8e58fac986..a8a609fb9fc 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveMode.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefArchiveMode.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public enum XRefArchiveMode { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveReader.cs b/src/Docfx.Build.Engine/XRefMaps/XRefArchiveReader.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveReader.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefArchiveReader.cs index 7427a7969c3..6d340adabea 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefArchiveReader.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefArchiveReader.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class XRefArchiveReader : XRefRedirectionReader, IDisposable { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefCollection.cs b/src/Docfx.Build.Engine/XRefMaps/XRefCollection.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefCollection.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefCollection.cs index ccd5a8e8331..fbe6e506f79 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefCollection.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefCollection.cs @@ -3,9 +3,9 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; internal sealed class XRefCollection { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMap.cs b/src/Docfx.Build.Engine/XRefMaps/XRefMap.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMap.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefMap.cs index 34e2fa3c1fe..67c2097c32e 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMap.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefMap.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class XRefMap : IXRefContainer { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapDownloader.cs b/src/Docfx.Build.Engine/XRefMaps/XRefMapDownloader.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapDownloader.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefMapDownloader.cs index d551f1977fe..8040cec8f1f 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapDownloader.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefMapDownloader.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class XRefMapDownloader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapReader.cs b/src/Docfx.Build.Engine/XRefMaps/XRefMapReader.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapReader.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefMapReader.cs index 21ef13311e8..0ba37339548 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapReader.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefMapReader.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class XRefMapReader : XRefRedirectionReader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapRedirection.cs b/src/Docfx.Build.Engine/XRefMaps/XRefMapRedirection.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapRedirection.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefMapRedirection.cs index 4ccfbc28f11..09ba60984f8 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefMapRedirection.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefMapRedirection.cs @@ -3,7 +3,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class XRefMapRedirection { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefRedirectionReader.cs b/src/Docfx.Build.Engine/XRefMaps/XRefRedirectionReader.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefRedirectionReader.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefRedirectionReader.cs index a4288a6b127..ddff84b9023 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefRedirectionReader.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefRedirectionReader.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public abstract class XRefRedirectionReader : IXRefContainerReader { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefSpecUidComparer.cs b/src/Docfx.Build.Engine/XRefMaps/XRefSpecUidComparer.cs similarity index 83% rename from src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefSpecUidComparer.cs rename to src/Docfx.Build.Engine/XRefMaps/XRefSpecUidComparer.cs index fb9e1fadab6..b99e6bb18aa 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XRefMaps/XRefSpecUidComparer.cs +++ b/src/Docfx.Build.Engine/XRefMaps/XRefSpecUidComparer.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public sealed class XRefSpecUidComparer : Comparer { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XrefClient.cs b/src/Docfx.Build.Engine/XrefClient.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.Engine/XrefClient.cs rename to src/Docfx.Build.Engine/XrefClient.cs index 56f25a2db3c..817e65c8c64 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XrefClient.cs +++ b/src/Docfx.Build.Engine/XrefClient.cs @@ -3,10 +3,10 @@ using System.Net.Http.Headers; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; public class XrefClient { diff --git a/src/Microsoft.DocAsCode.Build.Engine/XrefDetails.cs b/src/Docfx.Build.Engine/XrefDetails.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.Engine/XrefDetails.cs rename to src/Docfx.Build.Engine/XrefDetails.cs index 3ce005b659b..abef0995c4a 100644 --- a/src/Microsoft.DocAsCode.Build.Engine/XrefDetails.cs +++ b/src/Docfx.Build.Engine/XrefDetails.cs @@ -5,10 +5,10 @@ using System.Net; using System.Web; using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine; +namespace Docfx.Build.Engine; [Serializable] public sealed class XRefDetails diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/ApplyOverwriteDocumentForMREF.cs b/src/Docfx.Build.ManagedReference/ApplyOverwriteDocumentForMREF.cs similarity index 85% rename from src/Microsoft.DocAsCode.Build.ManagedReference/ApplyOverwriteDocumentForMREF.cs rename to src/Docfx.Build.ManagedReference/ApplyOverwriteDocumentForMREF.cs index 05196cf3f52..73dbce2f26b 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/ApplyOverwriteDocumentForMREF.cs +++ b/src/Docfx.Build.ManagedReference/ApplyOverwriteDocumentForMREF.cs @@ -3,11 +3,11 @@ using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ManagedReference; +namespace Docfx.Build.ManagedReference; [Export(nameof(ManagedReferenceDocumentProcessor), typeof(IDocumentBuildStep))] public class ApplyOverwriteDocumentForMref : ApplyOverwriteDocument diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/ApplyPlatformVersion.cs b/src/Docfx.Build.ManagedReference/ApplyPlatformVersion.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.ManagedReference/ApplyPlatformVersion.cs rename to src/Docfx.Build.ManagedReference/ApplyPlatformVersion.cs index 9ee379639c0..6081220ef7b 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/ApplyPlatformVersion.cs +++ b/src/Docfx.Build.ManagedReference/ApplyPlatformVersion.cs @@ -2,13 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.ManagedReference; +namespace Docfx.Build.ManagedReference; public class ApplyPlatformVersion : BaseDocumentBuildStep { diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildManagedReferenceDocument.cs b/src/Docfx.Build.ManagedReference/BuildManagedReferenceDocument.cs similarity index 77% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildManagedReferenceDocument.cs rename to src/Docfx.Build.ManagedReference/BuildManagedReferenceDocument.cs index 66e850c9521..91340440c4b 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildManagedReferenceDocument.cs +++ b/src/Docfx.Build.ManagedReference/BuildManagedReferenceDocument.cs @@ -3,11 +3,11 @@ using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ManagedReference; +namespace Docfx.Build.ManagedReference; [Export(nameof(ManagedReferenceDocumentProcessor), typeof(IDocumentBuildStep))] public class BuildManagedReferenceDocument : BuildReferenceDocumentBase diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs index 050fcc485c8..dbdbbde000b 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutput.cs @@ -1,15 +1,15 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; [Serializable] public class ApiBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiBuildOutputUtility.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutputUtility.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiBuildOutputUtility.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutputUtility.cs index e0bc5cd8d84..51176085482 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiBuildOutputUtility.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiBuildOutputUtility.cs @@ -4,7 +4,7 @@ using System.Text; using System.Web; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; public static class ApiBuildOutputUtility { diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs index e7d8bcb6923..259cb961696 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; [Serializable] public class ApiExceptionInfoBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiLanguageValuePair.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiLanguageValuePair.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiLanguageValuePair.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiLanguageValuePair.cs index 0c4d943d8dc..7b5f8e50232 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiLanguageValuePair.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiLanguageValuePair.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; [Serializable] public class ApiLanguageValuePair diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiLinkInfoBuildOutput.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiLinkInfoBuildOutput.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiLinkInfoBuildOutput.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiLinkInfoBuildOutput.cs index 99e08a2ad93..6f0cdad8147 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiLinkInfoBuildOutput.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiLinkInfoBuildOutput.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; [Serializable] public class ApiLinkInfoBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiNames.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiNames.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiNames.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiNames.cs index ad1ba25c790..2bb303d5404 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiNames.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiNames.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; [Serializable] public class ApiNames diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiParameterBuildOutput.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiParameterBuildOutput.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiParameterBuildOutput.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiParameterBuildOutput.cs index d5fbf57bca5..c658b0a1c28 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiParameterBuildOutput.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiParameterBuildOutput.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; [Serializable] public class ApiParameterBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs index d102f7c674c..4f0b90ec964 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiReferenceBuildOutput.cs @@ -3,14 +3,14 @@ using System.ComponentModel; using System.Web; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; [Serializable] public class ApiReferenceBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiSyntaxBuildOutput.cs b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiSyntaxBuildOutput.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiSyntaxBuildOutput.cs rename to src/Docfx.Build.ManagedReference/BuildOutputs/ApiSyntaxBuildOutput.cs index fadfb76dd69..d581413eee5 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/BuildOutputs/ApiSyntaxBuildOutput.cs +++ b/src/Docfx.Build.ManagedReference/BuildOutputs/ApiSyntaxBuildOutput.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; +namespace Docfx.Build.ManagedReference.BuildOutputs; [Serializable] public class ApiSyntaxBuildOutput diff --git a/src/Docfx.Build.ManagedReference/Docfx.Build.ManagedReference.csproj b/src/Docfx.Build.ManagedReference/Docfx.Build.ManagedReference.csproj new file mode 100644 index 00000000000..2977ffe9aa8 --- /dev/null +++ b/src/Docfx.Build.ManagedReference/Docfx.Build.ManagedReference.csproj @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/FillReferenceInformation.cs b/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.ManagedReference/FillReferenceInformation.cs rename to src/Docfx.Build.ManagedReference/FillReferenceInformation.cs index 34d1bd50ce1..3cb33c8dc2f 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/FillReferenceInformation.cs +++ b/src/Docfx.Build.ManagedReference/FillReferenceInformation.cs @@ -4,12 +4,12 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ManagedReference; +namespace Docfx.Build.ManagedReference; [Export(nameof(ManagedReferenceDocumentProcessor), typeof(IDocumentBuildStep))] public class FillReferenceInformation : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs b/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs rename to src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs index 2785d989ca7..5dd6460c28e 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs +++ b/src/Docfx.Build.ManagedReference/ManagedReferenceDocumentProcessor.cs @@ -5,16 +5,16 @@ using System.Composition; using System.Text; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Build.ManagedReference.BuildOutputs; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.ManagedReference; +namespace Docfx.Build.ManagedReference; [Export(typeof(IDocumentProcessor))] public class ManagedReferenceDocumentProcessor : ReferenceDocumentProcessorBase diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/MergeManagedReferenceDocument.cs b/src/Docfx.Build.ManagedReference/MergeManagedReferenceDocument.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.ManagedReference/MergeManagedReferenceDocument.cs rename to src/Docfx.Build.ManagedReference/MergeManagedReferenceDocument.cs index 2c2a0e0fe8b..2b552578ebc 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/MergeManagedReferenceDocument.cs +++ b/src/Docfx.Build.ManagedReference/MergeManagedReferenceDocument.cs @@ -3,12 +3,12 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ManagedReference; +namespace Docfx.Build.ManagedReference; public class MergeManagedReferenceDocument : BaseDocumentBuildStep { diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/SplitClassPageToMemberLevel.cs b/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.ManagedReference/SplitClassPageToMemberLevel.cs rename to src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs index e3b83fb63d4..057aab98b7b 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/SplitClassPageToMemberLevel.cs +++ b/src/Docfx.Build.ManagedReference/SplitClassPageToMemberLevel.cs @@ -3,14 +3,14 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.ManagedReference; +namespace Docfx.Build.ManagedReference; [Export("ManagedReferenceDocumentProcessor", typeof(IDocumentBuildStep))] public class SplitClassPageToMemberLevel : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/ValidateManagedReferenceDocumentMetadata.cs b/src/Docfx.Build.ManagedReference/ValidateManagedReferenceDocumentMetadata.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.ManagedReference/ValidateManagedReferenceDocumentMetadata.cs rename to src/Docfx.Build.ManagedReference/ValidateManagedReferenceDocumentMetadata.cs index 241562025f7..74f2608a061 100644 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/ValidateManagedReferenceDocumentMetadata.cs +++ b/src/Docfx.Build.ManagedReference/ValidateManagedReferenceDocumentMetadata.cs @@ -3,11 +3,11 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ManagedReference; +namespace Docfx.Build.ManagedReference; [Export(nameof(ManagedReferenceDocumentProcessor), typeof(IDocumentBuildStep))] public class ValidateManagedReferenceDocumentMetadata : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Constants.cs b/src/Docfx.Build.OverwriteDocuments/Constants.cs similarity index 84% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Constants.cs rename to src/Docfx.Build.OverwriteDocuments/Constants.cs index b9c2cc3b073..e0a88231b99 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Constants.cs +++ b/src/Docfx.Build.OverwriteDocuments/Constants.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public class Constants { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Microsoft.DocAsCode.Build.OverwriteDocuments.csproj b/src/Docfx.Build.OverwriteDocuments/Docfx.Build.OverwriteDocuments.csproj similarity index 57% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Microsoft.DocAsCode.Build.OverwriteDocuments.csproj rename to src/Docfx.Build.OverwriteDocuments/Docfx.Build.OverwriteDocuments.csproj index bec3a3da216..e462efbb22e 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Microsoft.DocAsCode.Build.OverwriteDocuments.csproj +++ b/src/Docfx.Build.OverwriteDocuments/Docfx.Build.OverwriteDocuments.csproj @@ -4,6 +4,6 @@ - + diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/ExtendedModels/MarkdownFragment.cs b/src/Docfx.Build.OverwriteDocuments/ExtendedModels/MarkdownFragment.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/ExtendedModels/MarkdownFragment.cs rename to src/Docfx.Build.OverwriteDocuments/ExtendedModels/MarkdownFragment.cs index c6ec30fac81..f8cf5703b45 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/ExtendedModels/MarkdownFragment.cs +++ b/src/Docfx.Build.OverwriteDocuments/ExtendedModels/MarkdownFragment.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Text; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public class MarkdownFragment { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/ExtendedModels/MarkdownProperty.cs b/src/Docfx.Build.OverwriteDocuments/ExtendedModels/MarkdownProperty.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/ExtendedModels/MarkdownProperty.cs rename to src/Docfx.Build.OverwriteDocuments/ExtendedModels/MarkdownProperty.cs index 102e5a2850f..cd3f2891dc0 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/ExtendedModels/MarkdownProperty.cs +++ b/src/Docfx.Build.OverwriteDocuments/ExtendedModels/MarkdownProperty.cs @@ -3,7 +3,7 @@ using System.Text; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public class MarkdownProperty { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs b/src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs rename to src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs index 2d476996f5d..6b86f23d935 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs +++ b/src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsCreator.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public class MarkdownFragmentsCreator { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/MarkdownFragmentsException.cs b/src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsException.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/MarkdownFragmentsException.cs rename to src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsException.cs index 6d4e20dd06f..291e3f6b0ee 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/MarkdownFragmentsException.cs +++ b/src/Docfx.Build.OverwriteDocuments/MarkdownFragmentsException.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public class MarkdownFragmentsException : Exception { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Models/MarkdownFragmentModel.cs b/src/Docfx.Build.OverwriteDocuments/Models/MarkdownFragmentModel.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Models/MarkdownFragmentModel.cs rename to src/Docfx.Build.OverwriteDocuments/Models/MarkdownFragmentModel.cs index 0efee6cc414..f6f4ab46935 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Models/MarkdownFragmentModel.cs +++ b/src/Docfx.Build.OverwriteDocuments/Models/MarkdownFragmentModel.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; [Serializable] public class MarkdownFragmentModel diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Models/MarkdownPropertyModel.cs b/src/Docfx.Build.OverwriteDocuments/Models/MarkdownPropertyModel.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Models/MarkdownPropertyModel.cs rename to src/Docfx.Build.OverwriteDocuments/Models/MarkdownPropertyModel.cs index 329380b010c..4ed09d16308 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Models/MarkdownPropertyModel.cs +++ b/src/Docfx.Build.OverwriteDocuments/Models/MarkdownPropertyModel.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; [Serializable] public class MarkdownPropertyModel diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/OPathSegment.cs b/src/Docfx.Build.OverwriteDocuments/OPathSegment.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/OPathSegment.cs rename to src/Docfx.Build.OverwriteDocuments/OPathSegment.cs index 17eff178b30..afe2972eb96 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/OPathSegment.cs +++ b/src/Docfx.Build.OverwriteDocuments/OPathSegment.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; [Serializable] public class OPathSegment diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs b/src/Docfx.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs rename to src/Docfx.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs index 29b5fc4529e..c0a24e17559 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs +++ b/src/Docfx.Build.OverwriteDocuments/OverwriteDocumentModelCreator.cs @@ -3,10 +3,10 @@ using Markdig.Syntax; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; +using Docfx.Build.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public class OverwriteDocumentModelCreator { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/OverwriteUtility.cs b/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/OverwriteUtility.cs rename to src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs index 4b56485de43..e341604b3fa 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/OverwriteUtility.cs +++ b/src/Docfx.Build.OverwriteDocuments/OverwriteUtility.cs @@ -3,9 +3,9 @@ using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public static class OverwriteUtility { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/IOverwriteBlockRule.cs b/src/Docfx.Build.OverwriteDocuments/Rules/IOverwriteBlockRule.cs similarity index 83% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/IOverwriteBlockRule.cs rename to src/Docfx.Build.OverwriteDocuments/Rules/IOverwriteBlockRule.cs index 428e90a3e3c..4c6a365e5bd 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/IOverwriteBlockRule.cs +++ b/src/Docfx.Build.OverwriteDocuments/Rules/IOverwriteBlockRule.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public interface IOverwriteBlockRule { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/InlineCodeHeadingRule.cs b/src/Docfx.Build.OverwriteDocuments/Rules/InlineCodeHeadingRule.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/InlineCodeHeadingRule.cs rename to src/Docfx.Build.OverwriteDocuments/Rules/InlineCodeHeadingRule.cs index e46db2f8dde..b1fee0697c2 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/InlineCodeHeadingRule.cs +++ b/src/Docfx.Build.OverwriteDocuments/Rules/InlineCodeHeadingRule.cs @@ -4,7 +4,7 @@ using Markdig.Syntax; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public class InlineCodeHeadingRule : IOverwriteBlockRule { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/L1InlineCodeHeadingRule.cs b/src/Docfx.Build.OverwriteDocuments/Rules/L1InlineCodeHeadingRule.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/L1InlineCodeHeadingRule.cs rename to src/Docfx.Build.OverwriteDocuments/Rules/L1InlineCodeHeadingRule.cs index 9ae87943878..3e247e78fa2 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/L1InlineCodeHeadingRule.cs +++ b/src/Docfx.Build.OverwriteDocuments/Rules/L1InlineCodeHeadingRule.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public sealed class L1InlineCodeHeadingRule : InlineCodeHeadingRule { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/L2InlineCodeHeadingRule.cs b/src/Docfx.Build.OverwriteDocuments/Rules/L2InlineCodeHeadingRule.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/L2InlineCodeHeadingRule.cs rename to src/Docfx.Build.OverwriteDocuments/Rules/L2InlineCodeHeadingRule.cs index 887114d8ea4..3bd70d7173f 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/L2InlineCodeHeadingRule.cs +++ b/src/Docfx.Build.OverwriteDocuments/Rules/L2InlineCodeHeadingRule.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public sealed class L2InlineCodeHeadingRule : InlineCodeHeadingRule { diff --git a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs b/src/Docfx.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs rename to src/Docfx.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs index 4702565dc9f..f70475763bd 100644 --- a/src/Microsoft.DocAsCode.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs +++ b/src/Docfx.Build.OverwriteDocuments/Rules/YamlCodeBlockRule.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using Markdig.Syntax; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments; +namespace Docfx.Build.OverwriteDocuments; public sealed class YamlCodeBlockRule : IOverwriteBlockRule { diff --git a/src/Docfx.Build.ResourceFiles/Docfx.Build.ResourceFiles.csproj b/src/Docfx.Build.ResourceFiles/Docfx.Build.ResourceFiles.csproj new file mode 100644 index 00000000000..af6b2a1155e --- /dev/null +++ b/src/Docfx.Build.ResourceFiles/Docfx.Build.ResourceFiles.csproj @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/Microsoft.DocAsCode.Build.ResourceFiles/IResourceFileConfig.cs b/src/Docfx.Build.ResourceFiles/IResourceFileConfig.cs similarity index 62% rename from src/Microsoft.DocAsCode.Build.ResourceFiles/IResourceFileConfig.cs rename to src/Docfx.Build.ResourceFiles/IResourceFileConfig.cs index 46cdcd80da3..470299c0dee 100644 --- a/src/Microsoft.DocAsCode.Build.ResourceFiles/IResourceFileConfig.cs +++ b/src/Docfx.Build.ResourceFiles/IResourceFileConfig.cs @@ -1,4 +1,4 @@ -namespace Microsoft.DocAsCode.Build.ResourceFiles; +namespace Docfx.Build.ResourceFiles; public interface IResourceFileConfig { diff --git a/src/Microsoft.DocAsCode.Build.ResourceFiles/ResourceDocumentProcessor.cs b/src/Docfx.Build.ResourceFiles/ResourceDocumentProcessor.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.ResourceFiles/ResourceDocumentProcessor.cs rename to src/Docfx.Build.ResourceFiles/ResourceDocumentProcessor.cs index 63597220e02..a2a40910a78 100644 --- a/src/Microsoft.DocAsCode.Build.ResourceFiles/ResourceDocumentProcessor.cs +++ b/src/Docfx.Build.ResourceFiles/ResourceDocumentProcessor.cs @@ -3,11 +3,11 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ResourceFiles; +namespace Docfx.Build.ResourceFiles; [Export(typeof(IDocumentProcessor))] public class ResourceDocumentProcessor : DisposableDocumentProcessor diff --git a/src/Microsoft.DocAsCode.Build.ResourceFiles/ValidateResourceMetadata.cs b/src/Docfx.Build.ResourceFiles/ValidateResourceMetadata.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.ResourceFiles/ValidateResourceMetadata.cs rename to src/Docfx.Build.ResourceFiles/ValidateResourceMetadata.cs index 1f766b2acaa..a2954d00f0f 100644 --- a/src/Microsoft.DocAsCode.Build.ResourceFiles/ValidateResourceMetadata.cs +++ b/src/Docfx.Build.ResourceFiles/ValidateResourceMetadata.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.ResourceFiles; +namespace Docfx.Build.ResourceFiles; [Export(nameof(ResourceDocumentProcessor), typeof(IDocumentBuildStep))] public class ValidateResourceMetadata : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.RestApi/ApplyOverwriteDocumentForRestApi.cs b/src/Docfx.Build.RestApi/ApplyOverwriteDocumentForRestApi.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.RestApi/ApplyOverwriteDocumentForRestApi.cs rename to src/Docfx.Build.RestApi/ApplyOverwriteDocumentForRestApi.cs index 8fc2d590fc0..6b275eea257 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/ApplyOverwriteDocumentForRestApi.cs +++ b/src/Docfx.Build.RestApi/ApplyOverwriteDocumentForRestApi.cs @@ -3,13 +3,13 @@ using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.RestApi; +namespace Docfx.Build.RestApi; [Export(nameof(RestApiDocumentProcessor), typeof(IDocumentBuildStep))] public class ApplyOverwriteDocumentForRestApi : ApplyOverwriteDocument diff --git a/src/Microsoft.DocAsCode.Build.RestApi/BuildRestApiDocument.cs b/src/Docfx.Build.RestApi/BuildRestApiDocument.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.RestApi/BuildRestApiDocument.cs rename to src/Docfx.Build.RestApi/BuildRestApiDocument.cs index 0363e56fa32..75d60adb8d8 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/BuildRestApiDocument.cs +++ b/src/Docfx.Build.RestApi/BuildRestApiDocument.cs @@ -1,168 +1,168 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Collections.Immutable; -using System.Composition; - -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Plugins; - -using Newtonsoft.Json.Linq; - -namespace Microsoft.DocAsCode.Build.RestApi; - -[Export(nameof(RestApiDocumentProcessor), typeof(IDocumentBuildStep))] -public class BuildRestApiDocument : BuildReferenceDocumentBase -{ - private static readonly HashSet MarkupKeys = new() { "description" }; - - public override string Name => nameof(BuildRestApiDocument); - - protected override void BuildArticle(IHostService host, FileModel model) - { - var restApi = (RestApiRootItemViewModel)model.Content; - BuildItem(host, restApi, model); - if (restApi.Children != null) - { - foreach (var item in restApi.Children) - { - BuildItem(host, item, model); - } - } - if (restApi.Tags != null) - { - foreach (var tag in restApi.Tags) - { - BuildTag(host, tag, model); - } - } - } - - public static RestApiItemViewModelBase BuildItem(IHostService host, RestApiItemViewModelBase item, FileModel model, Func filter = null) - { - item.Summary = Markup(host, item.Summary, model, filter); - item.Description = Markup(host, item.Description, model, filter); - if (model.Type != DocumentType.Overwrite) - { - item.Conceptual = Markup(host, item.Conceptual, model, filter); - item.Remarks = Markup(host, item.Remarks, model, filter); - } - - if (item is RestApiRootItemViewModel rootModel) - { - // Mark up recursively for swagger root except for children and tags - foreach (var jToken in rootModel.Metadata.Values.OfType()) - { - MarkupRecursive(jToken, host, model, filter); - } - } - - var childModel = item as RestApiChildItemViewModel; - if (childModel?.Parameters != null) - { - foreach (var param in childModel.Parameters) - { - param.Description = Markup(host, param.Description, model, filter); - - foreach (var jToken in param.Metadata.Values.OfType()) - { - MarkupRecursive(jToken, host, model, filter); - } - } - } - if (childModel?.Responses != null) - { - foreach (var response in childModel.Responses) - { - response.Description = Markup(host, response.Description, model, filter); - - foreach (var jToken in response.Metadata.Values.OfType()) - { - MarkupRecursive(jToken, host, model, filter); - } - } - } - return item; - } - - private static void MarkupRecursive(JToken jToken, IHostService host, FileModel model, Func filter = null) - { - if (jToken is JArray jArray) - { - foreach (var item in jArray) - { - MarkupRecursive(item, host, model, filter); - } - } - - if (jToken is JObject jObject) - { - foreach (var pair in jObject) - { - if (MarkupKeys.Contains(pair.Key) && pair.Value != null) - { - if (pair.Value is JValue jValue && jValue.Type == JTokenType.String) - { - jObject[pair.Key] = Markup(host, (string)jValue, model, filter); - } - } - MarkupRecursive(jObject[pair.Key], host, model, filter); - } - } - } - - public static RestApiTagViewModel BuildTag(IHostService host, RestApiTagViewModel tag, FileModel model, Func filter = null) - { - tag.Conceptual = Markup(host, tag.Conceptual, model, filter); - tag.Description = Markup(host, tag.Description, model, filter); - return tag; - } - - private static string Markup(IHostService host, string markdown, FileModel model, Func filter = null) - { - if (string.IsNullOrEmpty(markdown)) - { - return markdown; - } - - if (filter != null && filter(markdown)) - { - return markdown; - } - - var mr = host.Markup(markdown, model.OriginalFileAndType); - model.LinkToFiles = model.LinkToFiles.Union(mr.LinkToFiles); - model.LinkToUids = model.LinkToUids.Union(mr.LinkToUids); - - var fls = model.FileLinkSources.ToDictionary(p => p.Key, p => p.Value); - foreach (var pair in mr.FileLinkSources) - { - if (fls.TryGetValue(pair.Key, out ImmutableList list)) - { - fls[pair.Key] = list.AddRange(pair.Value); - } - else - { - fls[pair.Key] = pair.Value; - } - } - model.FileLinkSources = fls.ToImmutableDictionary(); - - var uls = model.UidLinkSources.ToDictionary(p => p.Key, p => p.Value); - foreach (var pair in mr.UidLinkSources) - { - if (uls.TryGetValue(pair.Key, out ImmutableList list)) - { - uls[pair.Key] = list.AddRange(pair.Value); - } - else - { - uls[pair.Key] = pair.Value; - } - } - model.UidLinkSources = uls.ToImmutableDictionary(); - - return mr.Html; - } -} +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Collections.Immutable; +using System.Composition; + +using Docfx.Build.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Plugins; + +using Newtonsoft.Json.Linq; + +namespace Docfx.Build.RestApi; + +[Export(nameof(RestApiDocumentProcessor), typeof(IDocumentBuildStep))] +public class BuildRestApiDocument : BuildReferenceDocumentBase +{ + private static readonly HashSet MarkupKeys = new() { "description" }; + + public override string Name => nameof(BuildRestApiDocument); + + protected override void BuildArticle(IHostService host, FileModel model) + { + var restApi = (RestApiRootItemViewModel)model.Content; + BuildItem(host, restApi, model); + if (restApi.Children != null) + { + foreach (var item in restApi.Children) + { + BuildItem(host, item, model); + } + } + if (restApi.Tags != null) + { + foreach (var tag in restApi.Tags) + { + BuildTag(host, tag, model); + } + } + } + + public static RestApiItemViewModelBase BuildItem(IHostService host, RestApiItemViewModelBase item, FileModel model, Func filter = null) + { + item.Summary = Markup(host, item.Summary, model, filter); + item.Description = Markup(host, item.Description, model, filter); + if (model.Type != DocumentType.Overwrite) + { + item.Conceptual = Markup(host, item.Conceptual, model, filter); + item.Remarks = Markup(host, item.Remarks, model, filter); + } + + if (item is RestApiRootItemViewModel rootModel) + { + // Mark up recursively for swagger root except for children and tags + foreach (var jToken in rootModel.Metadata.Values.OfType()) + { + MarkupRecursive(jToken, host, model, filter); + } + } + + var childModel = item as RestApiChildItemViewModel; + if (childModel?.Parameters != null) + { + foreach (var param in childModel.Parameters) + { + param.Description = Markup(host, param.Description, model, filter); + + foreach (var jToken in param.Metadata.Values.OfType()) + { + MarkupRecursive(jToken, host, model, filter); + } + } + } + if (childModel?.Responses != null) + { + foreach (var response in childModel.Responses) + { + response.Description = Markup(host, response.Description, model, filter); + + foreach (var jToken in response.Metadata.Values.OfType()) + { + MarkupRecursive(jToken, host, model, filter); + } + } + } + return item; + } + + private static void MarkupRecursive(JToken jToken, IHostService host, FileModel model, Func filter = null) + { + if (jToken is JArray jArray) + { + foreach (var item in jArray) + { + MarkupRecursive(item, host, model, filter); + } + } + + if (jToken is JObject jObject) + { + foreach (var pair in jObject) + { + if (MarkupKeys.Contains(pair.Key) && pair.Value != null) + { + if (pair.Value is JValue jValue && jValue.Type == JTokenType.String) + { + jObject[pair.Key] = Markup(host, (string)jValue, model, filter); + } + } + MarkupRecursive(jObject[pair.Key], host, model, filter); + } + } + } + + public static RestApiTagViewModel BuildTag(IHostService host, RestApiTagViewModel tag, FileModel model, Func filter = null) + { + tag.Conceptual = Markup(host, tag.Conceptual, model, filter); + tag.Description = Markup(host, tag.Description, model, filter); + return tag; + } + + private static string Markup(IHostService host, string markdown, FileModel model, Func filter = null) + { + if (string.IsNullOrEmpty(markdown)) + { + return markdown; + } + + if (filter != null && filter(markdown)) + { + return markdown; + } + + var mr = host.Markup(markdown, model.OriginalFileAndType); + model.LinkToFiles = model.LinkToFiles.Union(mr.LinkToFiles); + model.LinkToUids = model.LinkToUids.Union(mr.LinkToUids); + + var fls = model.FileLinkSources.ToDictionary(p => p.Key, p => p.Value); + foreach (var pair in mr.FileLinkSources) + { + if (fls.TryGetValue(pair.Key, out ImmutableList list)) + { + fls[pair.Key] = list.AddRange(pair.Value); + } + else + { + fls[pair.Key] = pair.Value; + } + } + model.FileLinkSources = fls.ToImmutableDictionary(); + + var uls = model.UidLinkSources.ToDictionary(p => p.Key, p => p.Value); + foreach (var pair in mr.UidLinkSources) + { + if (uls.TryGetValue(pair.Key, out ImmutableList list)) + { + uls[pair.Key] = list.AddRange(pair.Value); + } + else + { + uls[pair.Key] = pair.Value; + } + } + model.UidLinkSources = uls.ToImmutableDictionary(); + + return mr.Html; + } +} diff --git a/src/Docfx.Build.RestApi/Docfx.Build.RestApi.csproj b/src/Docfx.Build.RestApi/Docfx.Build.RestApi.csproj new file mode 100644 index 00000000000..7ab4ee053c2 --- /dev/null +++ b/src/Docfx.Build.RestApi/Docfx.Build.RestApi.csproj @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/Microsoft.DocAsCode.Build.RestApi/RestApiDocumentProcessor.cs b/src/Docfx.Build.RestApi/RestApiDocumentProcessor.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.RestApi/RestApiDocumentProcessor.cs rename to src/Docfx.Build.RestApi/RestApiDocumentProcessor.cs index 9a963cc1aba..b0b70b6dd1e 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/RestApiDocumentProcessor.cs +++ b/src/Docfx.Build.RestApi/RestApiDocumentProcessor.cs @@ -4,19 +4,19 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Build.RestApi.Swagger; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Common.Git; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Build.RestApi.Swagger; +using Docfx.Common; +using Docfx.Common.Git; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Exceptions; +using Docfx.Plugins; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi; +namespace Docfx.Build.RestApi; [Export(typeof(IDocumentProcessor))] public class RestApiDocumentProcessor : ReferenceDocumentProcessorBase diff --git a/src/Microsoft.DocAsCode.Build.RestApi/RestApiHelper.cs b/src/Docfx.Build.RestApi/RestApiHelper.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.RestApi/RestApiHelper.cs rename to src/Docfx.Build.RestApi/RestApiHelper.cs index b315f2ce0df..deaa64d8301 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/RestApiHelper.cs +++ b/src/Docfx.Build.RestApi/RestApiHelper.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; -using Microsoft.DocAsCode.Common; +using Docfx.Build.RestApi.Swagger.Internals; +using Docfx.Common; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi; +namespace Docfx.Build.RestApi; internal static class RestApiHelper { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/InfoObject.cs b/src/Docfx.Build.RestApi/Swagger/InfoObject.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/InfoObject.cs rename to src/Docfx.Build.RestApi/Swagger/InfoObject.cs index c7a214f2954..f02177ea52d 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/InfoObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/InfoObject.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; /// /// Info object diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/IJsonLocation.cs b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/IJsonLocation.cs similarity index 78% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/IJsonLocation.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/IJsonLocation.cs index fc0bbf7209f..e2ab391b4b4 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/IJsonLocation.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/IJsonLocation.cs @@ -3,7 +3,7 @@ using System.Text; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal interface IJsonLocation { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonIndexLocation.cs b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonIndexLocation.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonIndexLocation.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonIndexLocation.cs index 514de1583ac..0f08d431620 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonIndexLocation.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonIndexLocation.cs @@ -3,7 +3,7 @@ using System.Text; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class JsonIndexLocation : IJsonLocation { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationHelper.cs b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationHelper.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationHelper.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationHelper.cs index 4c60efe326e..5b4bbdc5bff 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationHelper.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationHelper.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class JsonLocationHelper { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationInfo.cs b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationInfo.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationInfo.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationInfo.cs index cfc2e3c4add..09806ac1e8d 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationInfo.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonLocationInfo.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class JsonLocationInfo { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonObjectLocation.cs b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonObjectLocation.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonObjectLocation.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonObjectLocation.cs index 4baa61a0fb0..3e2d0219bce 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/JsonLocation/JsonObjectLocation.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/JsonLocation/JsonObjectLocation.cs @@ -3,7 +3,7 @@ using System.Text; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class JsonObjectLocation : IJsonLocation { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerArray.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerArray.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerArray.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerArray.cs index a59ef31b072..124f627105a 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerArray.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerArray.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class SwaggerArray : SwaggerObjectBase { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerFormattedReference.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerFormattedReference.cs similarity index 88% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerFormattedReference.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerFormattedReference.cs index 4751953b768..c010e034eb8 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerFormattedReference.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerFormattedReference.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class SwaggerFormattedReference { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerJsonBuilder.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerJsonBuilder.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerJsonBuilder.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerJsonBuilder.cs index 2bcf75fa164..ef230d10eb9 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerJsonBuilder.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerJsonBuilder.cs @@ -1,14 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.Plugins; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class SwaggerJsonBuilder { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerLoopReferenceObject.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerLoopReferenceObject.cs similarity index 81% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerLoopReferenceObject.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerLoopReferenceObject.cs index c2a87692a82..cdf6d351022 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerLoopReferenceObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerLoopReferenceObject.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class SwaggerLoopReferenceObject : SwaggerObject { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObject.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObject.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObject.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObject.cs index 89ce266680f..96915392163 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObject.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class SwaggerObject : SwaggerObjectBase { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectBase.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectBase.cs similarity index 85% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectBase.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectBase.cs index 9bbae69084c..aba5a73c048 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectBase.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectBase.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal abstract class SwaggerObjectBase { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectConverter.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectConverter.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectConverter.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectConverter.cs index 34baf23f9dd..aa00917cef7 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectConverter.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectConverter.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class SwaggerObjectConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectType.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectType.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectType.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectType.cs index 4c75b1b1e10..377143969e2 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerObjectType.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerObjectType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal enum SwaggerObjectType { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerReferenceObject.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerReferenceObject.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerReferenceObject.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerReferenceObject.cs index e435533ec65..4659cc4be7a 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerReferenceObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerReferenceObject.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class SwaggerReferenceObject : SwaggerObjectBase { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerValue.cs b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerValue.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerValue.cs rename to src/Docfx.Build.RestApi/Swagger/Internals/SwaggerValue.cs index 2d0b8aa0179..0738bbf5b17 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/Internals/SwaggerValue.cs +++ b/src/Docfx.Build.RestApi/Swagger/Internals/SwaggerValue.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +namespace Docfx.Build.RestApi.Swagger.Internals; internal class SwaggerValue : SwaggerObjectBase { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/OperationObject.cs b/src/Docfx.Build.RestApi/Swagger/OperationObject.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/OperationObject.cs rename to src/Docfx.Build.RestApi/Swagger/OperationObject.cs index b3e4dfd146a..d5dd1a61be4 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/OperationObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/OperationObject.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; [Serializable] public class OperationObject diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/ParameterObject.cs b/src/Docfx.Build.RestApi/Swagger/ParameterObject.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/ParameterObject.cs rename to src/Docfx.Build.RestApi/Swagger/ParameterObject.cs index 5af8d5e85a7..b21c2fda831 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/ParameterObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/ParameterObject.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; [Serializable] public class ParameterObject diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/PathItemObject.cs b/src/Docfx.Build.RestApi/Swagger/PathItemObject.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/PathItemObject.cs rename to src/Docfx.Build.RestApi/Swagger/PathItemObject.cs index 152be4e6996..0eecccf1589 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/PathItemObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/PathItemObject.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; /// /// TODO: need a converter diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/PathsObject.cs b/src/Docfx.Build.RestApi/Swagger/PathsObject.cs similarity index 80% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/PathsObject.cs rename to src/Docfx.Build.RestApi/Swagger/PathsObject.cs index c55e7d87e2f..9c55614b0b6 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/PathsObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/PathsObject.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; [Serializable] public class PathsObject : Dictionary diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/ResponseObject.cs b/src/Docfx.Build.RestApi/Swagger/ResponseObject.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/ResponseObject.cs rename to src/Docfx.Build.RestApi/Swagger/ResponseObject.cs index b7d1eb3df2d..14c79d28c81 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/ResponseObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/ResponseObject.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; [Serializable] public class ResponseObject diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/SwaggerJsonParser.cs b/src/Docfx.Build.RestApi/Swagger/SwaggerJsonParser.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/SwaggerJsonParser.cs rename to src/Docfx.Build.RestApi/Swagger/SwaggerJsonParser.cs index 68c3055e177..9535f59f60c 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/SwaggerJsonParser.cs +++ b/src/Docfx.Build.RestApi/Swagger/SwaggerJsonParser.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Build.RestApi.Swagger.Internals; +using Docfx.Build.RestApi.Swagger.Internals; using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; public class SwaggerJsonParser { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/SwaggerModel.cs b/src/Docfx.Build.RestApi/Swagger/SwaggerModel.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/SwaggerModel.cs rename to src/Docfx.Build.RestApi/Swagger/SwaggerModel.cs index e08cc1ca287..ce3fd6a89d9 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/SwaggerModel.cs +++ b/src/Docfx.Build.RestApi/Swagger/SwaggerModel.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; [Serializable] public class SwaggerModel diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/TagItemObject.cs b/src/Docfx.Build.RestApi/Swagger/TagItemObject.cs similarity index 91% rename from src/Microsoft.DocAsCode.Build.RestApi/Swagger/TagItemObject.cs rename to src/Docfx.Build.RestApi/Swagger/TagItemObject.cs index f44012e84e0..51c031b688e 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/Swagger/TagItemObject.cs +++ b/src/Docfx.Build.RestApi/Swagger/TagItemObject.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.RestApi.Swagger; +namespace Docfx.Build.RestApi.Swagger; [Serializable] public class TagItemObject diff --git a/src/Microsoft.DocAsCode.Build.RestApi/SwaggerModelConverter.cs b/src/Docfx.Build.RestApi/SwaggerModelConverter.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.RestApi/SwaggerModelConverter.cs rename to src/Docfx.Build.RestApi/SwaggerModelConverter.cs index 4adb4e21734..3b18f31ae18 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/SwaggerModelConverter.cs +++ b/src/Docfx.Build.RestApi/SwaggerModelConverter.cs @@ -3,14 +3,14 @@ using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Build.RestApi.Swagger; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; +using Docfx.Build.RestApi.Swagger; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.RestApi; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.RestApi; +namespace Docfx.Build.RestApi; public static class SwaggerModelConverter { diff --git a/src/Microsoft.DocAsCode.Build.RestApi/ValidateRestApiDocumentMetadata.cs b/src/Docfx.Build.RestApi/ValidateRestApiDocumentMetadata.cs similarity index 88% rename from src/Microsoft.DocAsCode.Build.RestApi/ValidateRestApiDocumentMetadata.cs rename to src/Docfx.Build.RestApi/ValidateRestApiDocumentMetadata.cs index 56b9a8817bf..8494910a04a 100644 --- a/src/Microsoft.DocAsCode.Build.RestApi/ValidateRestApiDocumentMetadata.cs +++ b/src/Docfx.Build.RestApi/ValidateRestApiDocumentMetadata.cs @@ -3,11 +3,11 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.RestApi; +namespace Docfx.Build.RestApi; [Export(nameof(RestApiDocumentProcessor), typeof(IDocumentBuildStep))] public class ValidateRestApiDocumentMetadata : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyOverwriteDocument.cs b/src/Docfx.Build.SchemaDriven/ApplyOverwriteDocument.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyOverwriteDocument.cs rename to src/Docfx.Build.SchemaDriven/ApplyOverwriteDocument.cs index d0777ce14ed..ac8eab9c1c1 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyOverwriteDocument.cs +++ b/src/Docfx.Build.SchemaDriven/ApplyOverwriteDocument.cs @@ -4,12 +4,12 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; [Export(nameof(SchemaDrivenDocumentProcessor), typeof(IDocumentBuildStep))] public class ApplyOverwriteDocument : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyOverwriteFragments.cs b/src/Docfx.Build.SchemaDriven/ApplyOverwriteFragments.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyOverwriteFragments.cs rename to src/Docfx.Build.SchemaDriven/ApplyOverwriteFragments.cs index e2c095c14a6..2ee23b31cef 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyOverwriteFragments.cs +++ b/src/Docfx.Build.SchemaDriven/ApplyOverwriteFragments.cs @@ -3,16 +3,16 @@ using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Build.OverwriteDocuments; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Build.OverwriteDocuments; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.MarkdigEngine; +using Docfx.Plugins; using YamlDotNet.RepresentationModel; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; [Export(nameof(SchemaDrivenDocumentProcessor), typeof(IDocumentBuildStep))] public class ApplyOverwriteFragments : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyTags.cs b/src/Docfx.Build.SchemaDriven/ApplyTags.cs similarity index 84% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyTags.cs rename to src/Docfx.Build.SchemaDriven/ApplyTags.cs index eb2fa3b0124..8246402178b 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/ApplyTags.cs +++ b/src/Docfx.Build.SchemaDriven/ApplyTags.cs @@ -4,11 +4,11 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Build.SchemaDriven.Processors; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Build.SchemaDriven.Processors; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; [Export(nameof(SchemaDrivenDocumentProcessor), typeof(IDocumentBuildStep))] public class ApplyTags : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/BuildSchemaDrivenDocument.cs b/src/Docfx.Build.SchemaDriven/BuildSchemaDrivenDocument.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/BuildSchemaDrivenDocument.cs rename to src/Docfx.Build.SchemaDriven/BuildSchemaDrivenDocument.cs index fc6aed371ca..424e2f341ca 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/BuildSchemaDrivenDocument.cs +++ b/src/Docfx.Build.SchemaDriven/BuildSchemaDrivenDocument.cs @@ -3,12 +3,12 @@ using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Build.SchemaDriven.Processors; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Build.SchemaDriven.Processors; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; [Export(nameof(SchemaDrivenDocumentProcessor), typeof(IDocumentBuildStep))] public class BuildSchemaBasedDocument : BuildReferenceDocumentBase diff --git a/src/Docfx.Build.SchemaDriven/Docfx.Build.SchemaDriven.csproj b/src/Docfx.Build.SchemaDriven/Docfx.Build.SchemaDriven.csproj new file mode 100644 index 00000000000..7e1bf2c7cda --- /dev/null +++ b/src/Docfx.Build.SchemaDriven/Docfx.Build.SchemaDriven.csproj @@ -0,0 +1,19 @@ + + + + + + + + + + + + + + + + + + + diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidJsonPointerException.cs b/src/Docfx.Build.SchemaDriven/Exceptions/InvalidJsonPointerException.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidJsonPointerException.cs rename to src/Docfx.Build.SchemaDriven/Exceptions/InvalidJsonPointerException.cs index 498acb48e8c..cbec413f8ab 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidJsonPointerException.cs +++ b/src/Docfx.Build.SchemaDriven/Exceptions/InvalidJsonPointerException.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Exceptions; +namespace Docfx.Exceptions; public class InvalidJsonPointerException : DocumentException { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidOverwriteDocumentException.cs b/src/Docfx.Build.SchemaDriven/Exceptions/InvalidOverwriteDocumentException.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidOverwriteDocumentException.cs rename to src/Docfx.Build.SchemaDriven/Exceptions/InvalidOverwriteDocumentException.cs index e4db75c8ae5..ac78754dadf 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidOverwriteDocumentException.cs +++ b/src/Docfx.Build.SchemaDriven/Exceptions/InvalidOverwriteDocumentException.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Exceptions; +namespace Docfx.Exceptions; public class InvalidOverwriteDocumentException : DocfxException { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidSchemaException.cs b/src/Docfx.Build.SchemaDriven/Exceptions/InvalidSchemaException.cs similarity index 83% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidSchemaException.cs rename to src/Docfx.Build.SchemaDriven/Exceptions/InvalidSchemaException.cs index 520f7fb201a..bebbca4de37 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/InvalidSchemaException.cs +++ b/src/Docfx.Build.SchemaDriven/Exceptions/InvalidSchemaException.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Exceptions; +namespace Docfx.Exceptions; public class InvalidSchemaException : DocumentException { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/SchemaKeywordNotSupportedException.cs b/src/Docfx.Build.SchemaDriven/Exceptions/SchemaKeywordNotSupportedException.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/SchemaKeywordNotSupportedException.cs rename to src/Docfx.Build.SchemaDriven/Exceptions/SchemaKeywordNotSupportedException.cs index 6daef42a4bf..3128b0c94a3 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Exceptions/SchemaKeywordNotSupportedException.cs +++ b/src/Docfx.Build.SchemaDriven/Exceptions/SchemaKeywordNotSupportedException.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Exceptions; +namespace Docfx.Exceptions; public class SchemaKeywordNotSupportedException : DocfxException { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/ISchemaFragmentsHandler.cs b/src/Docfx.Build.SchemaDriven/ISchemaFragmentsHandler.cs similarity index 84% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/ISchemaFragmentsHandler.cs rename to src/Docfx.Build.SchemaDriven/ISchemaFragmentsHandler.cs index 62bde2d56fa..73d4b9e5573 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/ISchemaFragmentsHandler.cs +++ b/src/Docfx.Build.SchemaDriven/ISchemaFragmentsHandler.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Build.OverwriteDocuments; +using Docfx.Build.OverwriteDocuments; using YamlDotNet.RepresentationModel; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public interface ISchemaFragmentsHandler { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/BaseSchema.cs b/src/Docfx.Build.SchemaDriven/Models/BaseSchema.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/BaseSchema.cs rename to src/Docfx.Build.SchemaDriven/Models/BaseSchema.cs index 9105b1167fe..4e700f891fd 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/BaseSchema.cs +++ b/src/Docfx.Build.SchemaDriven/Models/BaseSchema.cs @@ -4,7 +4,7 @@ using System.Text.Json.Serialization; using Json.Schema; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public class BaseSchema { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ContentAnchorParser.cs b/src/Docfx.Build.SchemaDriven/Models/ContentAnchorParser.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ContentAnchorParser.cs rename to src/Docfx.Build.SchemaDriven/Models/ContentAnchorParser.cs index d4c2074160e..a353eef8810 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ContentAnchorParser.cs +++ b/src/Docfx.Build.SchemaDriven/Models/ContentAnchorParser.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public class ContentAnchorParser : IContentAnchorParser { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ContentType.cs b/src/Docfx.Build.SchemaDriven/Models/ContentType.cs similarity index 82% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ContentType.cs rename to src/Docfx.Build.SchemaDriven/Models/ContentType.cs index 035f8c7f282..8d1ad2383bb 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ContentType.cs +++ b/src/Docfx.Build.SchemaDriven/Models/ContentType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public enum ContentType { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/DocumentSchema.cs b/src/Docfx.Build.SchemaDriven/Models/DocumentSchema.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/DocumentSchema.cs rename to src/Docfx.Build.SchemaDriven/Models/DocumentSchema.cs index 9c435906dad..111fd5ef465 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/DocumentSchema.cs +++ b/src/Docfx.Build.SchemaDriven/Models/DocumentSchema.cs @@ -4,10 +4,10 @@ using System.Text.Json; using System.Text.Json.Serialization; using Json.Schema; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; +using Docfx.Common; +using Docfx.Exceptions; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public class DocumentSchema : BaseSchema { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/IContentAnchorParser.cs b/src/Docfx.Build.SchemaDriven/Models/IContentAnchorParser.cs similarity index 84% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/IContentAnchorParser.cs rename to src/Docfx.Build.SchemaDriven/Models/IContentAnchorParser.cs index 279ac581faf..c04d8df43a6 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/IContentAnchorParser.cs +++ b/src/Docfx.Build.SchemaDriven/Models/IContentAnchorParser.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public interface IContentAnchorParser { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/JsonPointer.cs b/src/Docfx.Build.SchemaDriven/Models/JsonPointer.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/JsonPointer.cs rename to src/Docfx.Build.SchemaDriven/Models/JsonPointer.cs index e27be786f11..79cb4df4b1e 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/JsonPointer.cs +++ b/src/Docfx.Build.SchemaDriven/Models/JsonPointer.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Exceptions; +using Docfx.Exceptions; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; /// /// Json Pointer: https://tools.ietf.org/html/rfc6901 diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/MergeType.cs b/src/Docfx.Build.SchemaDriven/Models/MergeType.cs similarity index 80% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/MergeType.cs rename to src/Docfx.Build.SchemaDriven/Models/MergeType.cs index 00d3e139b13..39e4a5f3be5 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/MergeType.cs +++ b/src/Docfx.Build.SchemaDriven/Models/MergeType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public enum MergeType { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/OverwriteModelType.cs b/src/Docfx.Build.SchemaDriven/Models/OverwriteModelType.cs similarity index 80% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/OverwriteModelType.cs rename to src/Docfx.Build.SchemaDriven/Models/OverwriteModelType.cs index 0d124bddc4b..e8e24a61b70 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/OverwriteModelType.cs +++ b/src/Docfx.Build.SchemaDriven/Models/OverwriteModelType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public enum OverwriteModelType { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ReferenceType.cs b/src/Docfx.Build.SchemaDriven/Models/ReferenceType.cs similarity index 79% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ReferenceType.cs rename to src/Docfx.Build.SchemaDriven/Models/ReferenceType.cs index 3d473315ff2..505e70e1c5f 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Models/ReferenceType.cs +++ b/src/Docfx.Build.SchemaDriven/Models/ReferenceType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public enum ReferenceType { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/OverwriteApplier.cs b/src/Docfx.Build.SchemaDriven/OverwriteApplier.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/OverwriteApplier.cs rename to src/Docfx.Build.SchemaDriven/OverwriteApplier.cs index 35ca95cf531..339047498f8 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/OverwriteApplier.cs +++ b/src/Docfx.Build.SchemaDriven/OverwriteApplier.cs @@ -1,14 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Build.SchemaDriven.Processors; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; - -namespace Microsoft.DocAsCode.Build.SchemaDriven; +using Docfx.Build.Common; +using Docfx.Build.SchemaDriven.Processors; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.MarkdigEngine; +using Docfx.Plugins; + +namespace Docfx.Build.SchemaDriven; public class OverwriteApplier { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FileIncludeInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/FileIncludeInterpreter.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FileIncludeInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/FileIncludeInterpreter.cs index fe77639eafa..4ff6f2c7be1 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FileIncludeInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/FileIncludeInterpreter.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class FileIncludeInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FileInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/FileInterpreter.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FileInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/FileInterpreter.cs index 704f32e92a2..a37fbc56fa4 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FileInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/FileInterpreter.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class FileInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs index eb5e514f166..b2a4310a2ed 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/FragmentsValidationInterpreter.cs @@ -3,10 +3,10 @@ using Markdig.Syntax; -using Microsoft.DocAsCode.Build.OverwriteDocuments; -using Microsoft.DocAsCode.Common; +using Docfx.Build.OverwriteDocuments; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class FragmentsValidationInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/Helper.cs b/src/Docfx.Build.SchemaDriven/Processors/Helper.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/Helper.cs rename to src/Docfx.Build.SchemaDriven/Processors/Helper.cs index 8fd3a6834ea..400c17da3b5 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/Helper.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/Helper.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; internal static class Helper { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/HrefInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/HrefInterpreter.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/HrefInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/HrefInterpreter.cs index 3679098aab6..1333a268a47 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/HrefInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/HrefInterpreter.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class HrefInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/IInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/IInterpreter.cs similarity index 83% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/IInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/IInterpreter.cs index 3f5a31f7ac5..2a42356752c 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/IInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/IInterpreter.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public interface IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/IProcessContext.cs b/src/Docfx.Build.SchemaDriven/Processors/IProcessContext.cs similarity index 86% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/IProcessContext.cs rename to src/Docfx.Build.SchemaDriven/Processors/IProcessContext.cs index cd6e3bd8d97..df1fc837eb2 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/IProcessContext.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/IProcessContext.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; +using Docfx.MarkdigEngine; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public interface IProcessContext { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownAstInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/MarkdownAstInterpreter.cs similarity index 92% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownAstInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/MarkdownAstInterpreter.cs index 260624dafa0..678521c535a 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownAstInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/MarkdownAstInterpreter.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using Markdig.Syntax; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class MarkdownAstInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/MarkdownInterpreter.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/MarkdownInterpreter.cs index 87e24b4c6ea..232a0b62db2 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/MarkdownInterpreter.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class MarkdownInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownWithContentAnchorInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/MarkdownWithContentAnchorInterpreter.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownWithContentAnchorInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/MarkdownWithContentAnchorInterpreter.cs index 54773488854..08019986c69 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MarkdownWithContentAnchorInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/MarkdownWithContentAnchorInterpreter.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class MarkdownWithContentAnchorInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MergeTypeInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/MergeTypeInterpreter.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MergeTypeInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/MergeTypeInterpreter.cs index f2ddda56692..149f1f0bece 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/MergeTypeInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/MergeTypeInterpreter.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class MergeTypeInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/Merger.cs b/src/Docfx.Build.SchemaDriven/Processors/Merger.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/Merger.cs rename to src/Docfx.Build.SchemaDriven/Processors/Merger.cs index 23f2654a820..62f6735c557 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/Merger.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/Merger.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; +using Docfx.Common; +using Docfx.Exceptions; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; internal sealed class Merger { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/ProcessContext.cs b/src/Docfx.Build.SchemaDriven/Processors/ProcessContext.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/ProcessContext.cs rename to src/Docfx.Build.SchemaDriven/Processors/ProcessContext.cs index b16e75a1ef7..f58039757f9 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/ProcessContext.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/ProcessContext.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; +using Docfx.MarkdigEngine; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class ProcessContext : IProcessContext { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/SchemaProcessor.cs b/src/Docfx.Build.SchemaDriven/Processors/SchemaProcessor.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/SchemaProcessor.cs rename to src/Docfx.Build.SchemaDriven/Processors/SchemaProcessor.cs index eb478f12954..929d7ead6ec 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/SchemaProcessor.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/SchemaProcessor.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class SchemaProcessor { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/TagInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/TagInterpreter.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/TagInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/TagInterpreter.cs index 740ae89dcc2..181095b0c0f 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/TagInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/TagInterpreter.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class TagsInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/XrefInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/XrefInterpreter.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/XrefInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/XrefInterpreter.cs index 693619e5c7b..5e28a4054d6 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/XrefInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/XrefInterpreter.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class XrefInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs b/src/Docfx.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs rename to src/Docfx.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs index 3d7fc341d1d..0451f31e9d8 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/Processors/XrefPropertiesInterpreter.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public class XrefPropertiesInterpreter : IInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaDrivenDocumentProcessor.cs b/src/Docfx.Build.SchemaDriven/SchemaDrivenDocumentProcessor.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaDrivenDocumentProcessor.cs rename to src/Docfx.Build.SchemaDriven/SchemaDrivenDocumentProcessor.cs index 0077ddf2578..52e1635f508 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaDrivenDocumentProcessor.cs +++ b/src/Docfx.Build.SchemaDriven/SchemaDrivenDocumentProcessor.cs @@ -4,14 +4,14 @@ using System.Collections.Immutable; using System.Dynamic; using System.Text; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Build.SchemaDriven.Processors; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Build.SchemaDriven.Processors; +using Docfx.Common; +using Docfx.MarkdigEngine; +using Docfx.Plugins; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public class SchemaDrivenDocumentProcessor : DisposableDocumentProcessor { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaExtensions.cs b/src/Docfx.Build.SchemaDriven/SchemaExtensions.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaExtensions.cs rename to src/Docfx.Build.SchemaDriven/SchemaExtensions.cs index 607f2226b5d..81a1d372c35 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaExtensions.cs +++ b/src/Docfx.Build.SchemaDriven/SchemaExtensions.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public static class SchemaExtensions { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaFragmentsIterator.cs b/src/Docfx.Build.SchemaDriven/SchemaFragmentsIterator.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaFragmentsIterator.cs rename to src/Docfx.Build.SchemaDriven/SchemaFragmentsIterator.cs index fad9e99c356..c672a7f5e52 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/SchemaFragmentsIterator.cs +++ b/src/Docfx.Build.SchemaDriven/SchemaFragmentsIterator.cs @@ -2,12 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. using Json.Schema; -using Microsoft.DocAsCode.Build.OverwriteDocuments; -using Microsoft.DocAsCode.Common; +using Docfx.Build.OverwriteDocuments; +using Docfx.Common; using YamlDotNet.RepresentationModel; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public class SchemaFragmentsIterator { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/TagInterpreters/ITagInterpreter.cs b/src/Docfx.Build.SchemaDriven/TagInterpreters/ITagInterpreter.cs similarity index 84% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/TagInterpreters/ITagInterpreter.cs rename to src/Docfx.Build.SchemaDriven/TagInterpreters/ITagInterpreter.cs index 055d2c1da8c..a576eb0554e 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/TagInterpreters/ITagInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/TagInterpreters/ITagInterpreter.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; public interface ITagInterpreter { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/TagInterpreters/PatternedTagInterpreter.cs b/src/Docfx.Build.SchemaDriven/TagInterpreters/PatternedTagInterpreter.cs similarity index 95% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/TagInterpreters/PatternedTagInterpreter.cs rename to src/Docfx.Build.SchemaDriven/TagInterpreters/PatternedTagInterpreter.cs index 6904ea72564..c1a9e0586ab 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/TagInterpreters/PatternedTagInterpreter.cs +++ b/src/Docfx.Build.SchemaDriven/TagInterpreters/PatternedTagInterpreter.cs @@ -4,12 +4,12 @@ using System.Composition; using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Processors; +namespace Docfx.Build.SchemaDriven.Processors; [Export(typeof(ITagInterpreter))] internal class PatternedTagInterpreter : ITagInterpreter diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/ValidateFragmentsHandler.cs b/src/Docfx.Build.SchemaDriven/ValidateFragmentsHandler.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/ValidateFragmentsHandler.cs rename to src/Docfx.Build.SchemaDriven/ValidateFragmentsHandler.cs index d04a3c46ea4..f8510152be3 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/ValidateFragmentsHandler.cs +++ b/src/Docfx.Build.SchemaDriven/ValidateFragmentsHandler.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Build.OverwriteDocuments; -using Microsoft.DocAsCode.Common; +using Docfx.Build.OverwriteDocuments; +using Docfx.Common; using YamlDotNet.RepresentationModel; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public class ValidateFragmentsHandler : ISchemaFragmentsHandler { diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Validators/SchemaValidator.cs b/src/Docfx.Build.SchemaDriven/Validators/SchemaValidator.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.SchemaDriven/Validators/SchemaValidator.cs rename to src/Docfx.Build.SchemaDriven/Validators/SchemaValidator.cs index 6ee79d09871..cd77fc1c4b5 100644 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Validators/SchemaValidator.cs +++ b/src/Docfx.Build.SchemaDriven/Validators/SchemaValidator.cs @@ -3,9 +3,9 @@ using System.Text.Json; using Json.Schema; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.SchemaDriven; +namespace Docfx.Build.SchemaDriven; public class SchemaValidator { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/BuildTocDocument.cs b/src/Docfx.Build.TableOfContents/BuildTocDocument.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.TableOfContents/BuildTocDocument.cs rename to src/Docfx.Build.TableOfContents/BuildTocDocument.cs index 91a3c6ba422..e2c403409fe 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/BuildTocDocument.cs +++ b/src/Docfx.Build.TableOfContents/BuildTocDocument.cs @@ -5,11 +5,11 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; [Export(nameof(TocDocumentProcessor), typeof(IDocumentBuildStep))] public class BuildTocDocument : BuildTocDocumentStepBase diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/BuildTocDocumentStepBase.cs b/src/Docfx.Build.TableOfContents/BuildTocDocumentStepBase.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.TableOfContents/BuildTocDocumentStepBase.cs rename to src/Docfx.Build.TableOfContents/BuildTocDocumentStepBase.cs index 41c39664891..8481bcb84e5 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/BuildTocDocumentStepBase.cs +++ b/src/Docfx.Build.TableOfContents/BuildTocDocumentStepBase.cs @@ -3,12 +3,12 @@ using System.Collections.Immutable; using System.Web; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; public abstract class BuildTocDocumentStepBase : BaseDocumentBuildStep { diff --git a/src/Docfx.Build.TableOfContents/Docfx.Build.TableOfContents.csproj b/src/Docfx.Build.TableOfContents/Docfx.Build.TableOfContents.csproj new file mode 100644 index 00000000000..488c55df5ce --- /dev/null +++ b/src/Docfx.Build.TableOfContents/Docfx.Build.TableOfContents.csproj @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/HrefType.cs b/src/Docfx.Build.TableOfContents/HrefType.cs similarity index 83% rename from src/Microsoft.DocAsCode.Build.TableOfContents/HrefType.cs rename to src/Docfx.Build.TableOfContents/HrefType.cs index 82de6b36aac..5d04cf0d90b 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/HrefType.cs +++ b/src/Docfx.Build.TableOfContents/HrefType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; internal enum HrefType { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/MarkdownTocReader.cs b/src/Docfx.Build.TableOfContents/MarkdownTocReader.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.TableOfContents/MarkdownTocReader.cs rename to src/Docfx.Build.TableOfContents/MarkdownTocReader.cs index e88ab519e32..6a1ed326fa2 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/MarkdownTocReader.cs +++ b/src/Docfx.Build.TableOfContents/MarkdownTocReader.cs @@ -1,9 +1,9 @@ using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; public static class MarkdownTocReader { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/TocDocumentProcessor.cs b/src/Docfx.Build.TableOfContents/TocDocumentProcessor.cs similarity index 93% rename from src/Microsoft.DocAsCode.Build.TableOfContents/TocDocumentProcessor.cs rename to src/Docfx.Build.TableOfContents/TocDocumentProcessor.cs index 059ddebcfae..f63ff5d01c0 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/TocDocumentProcessor.cs +++ b/src/Docfx.Build.TableOfContents/TocDocumentProcessor.cs @@ -4,11 +4,11 @@ using System.Composition; using System.Web; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; [Export(typeof(IDocumentProcessor))] public class TocDocumentProcessor : TocDocumentProcessorBase diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/TocDocumentProcessorBase.cs b/src/Docfx.Build.TableOfContents/TocDocumentProcessorBase.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.TableOfContents/TocDocumentProcessorBase.cs rename to src/Docfx.Build.TableOfContents/TocDocumentProcessorBase.cs index 8992f146b9a..54b537b275a 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/TocDocumentProcessorBase.cs +++ b/src/Docfx.Build.TableOfContents/TocDocumentProcessorBase.cs @@ -3,12 +3,12 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; public abstract class TocDocumentProcessorBase : DisposableDocumentProcessor { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/TocFileType.cs b/src/Docfx.Build.TableOfContents/TocFileType.cs similarity index 79% rename from src/Microsoft.DocAsCode.Build.TableOfContents/TocFileType.cs rename to src/Docfx.Build.TableOfContents/TocFileType.cs index 4eb4518f1f0..770833a4901 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/TocFileType.cs +++ b/src/Docfx.Build.TableOfContents/TocFileType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; internal enum TocFileType { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/TocHelper.cs b/src/Docfx.Build.TableOfContents/TocHelper.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.TableOfContents/TocHelper.cs rename to src/Docfx.Build.TableOfContents/TocHelper.cs index e62109d916d..567875f01fc 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/TocHelper.cs +++ b/src/Docfx.Build.TableOfContents/TocHelper.cs @@ -3,11 +3,11 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; public static class TocHelper { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/TocItemInfo.cs b/src/Docfx.Build.TableOfContents/TocItemInfo.cs similarity index 79% rename from src/Microsoft.DocAsCode.Build.TableOfContents/TocItemInfo.cs rename to src/Docfx.Build.TableOfContents/TocItemInfo.cs index add3f441a64..c34b55f56a1 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/TocItemInfo.cs +++ b/src/Docfx.Build.TableOfContents/TocItemInfo.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; internal sealed class TocItemInfo { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/TocResolver.cs b/src/Docfx.Build.TableOfContents/TocResolver.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.TableOfContents/TocResolver.cs rename to src/Docfx.Build.TableOfContents/TocResolver.cs index f9b5ac0a2e1..74e22905f02 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/TocResolver.cs +++ b/src/Docfx.Build.TableOfContents/TocResolver.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; internal sealed class TocResolver { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/TocRestructureUtility.cs b/src/Docfx.Build.TableOfContents/TocRestructureUtility.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.TableOfContents/TocRestructureUtility.cs rename to src/Docfx.Build.TableOfContents/TocRestructureUtility.cs index 6ce67ffec67..f032b58faeb 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/TocRestructureUtility.cs +++ b/src/Docfx.Build.TableOfContents/TocRestructureUtility.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; internal static class TocRestructureUtility { diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/Utility.cs b/src/Docfx.Build.TableOfContents/Utility.cs similarity index 94% rename from src/Microsoft.DocAsCode.Build.TableOfContents/Utility.cs rename to src/Docfx.Build.TableOfContents/Utility.cs index b206b6a04be..445cbbe7a02 100644 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/Utility.cs +++ b/src/Docfx.Build.TableOfContents/Utility.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; -namespace Microsoft.DocAsCode.Build.TableOfContents; +namespace Docfx.Build.TableOfContents; internal static class Utility { diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/ApplyOverwriteDocumentForUref.cs b/src/Docfx.Build.UniversalReference/ApplyOverwriteDocumentForUref.cs similarity index 85% rename from src/Microsoft.DocAsCode.Build.UniversalReference/ApplyOverwriteDocumentForUref.cs rename to src/Docfx.Build.UniversalReference/ApplyOverwriteDocumentForUref.cs index 82acbfd5e5f..457b26d12a2 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/ApplyOverwriteDocumentForUref.cs +++ b/src/Docfx.Build.UniversalReference/ApplyOverwriteDocumentForUref.cs @@ -3,11 +3,11 @@ using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.UniversalReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.UniversalReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Export(nameof(UniversalReferenceDocumentProcessor), typeof(IDocumentBuildStep))] public class ApplyOverwriteDocumentForUref : ApplyOverwriteDocument diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs similarity index 97% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs index 96b4d2d7582..ab2b9dfde88 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiBuildOutput.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs similarity index 85% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs index 7b94deb1fb6..1434d51e297 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiExceptionInfoBuildOutput.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiExceptionInfoBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs similarity index 84% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs index 5f4495a62cf..c013bfbcb67 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiInheritanceTreeBuildOutput.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiInheritanceTreeBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLanguageValuePair.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiLanguageValuePair.cs similarity index 88% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLanguageValuePair.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiLanguageValuePair.cs index 69e2f247f9d..b0963a01da7 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLanguageValuePair.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiLanguageValuePair.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiLanguageValuePair diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLanguageValuePairWithLevel.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiLanguageValuePairWithLevel.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLanguageValuePairWithLevel.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiLanguageValuePairWithLevel.cs index 90151103c0b..20b73d6b994 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLanguageValuePairWithLevel.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiLanguageValuePairWithLevel.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiLanguageValuePairWithLevel : ApiLanguageValuePair diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLinkInfoBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiLinkInfoBuildOutput.cs similarity index 82% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLinkInfoBuildOutput.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiLinkInfoBuildOutput.cs index 85eccea5272..91a106dbaa5 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiLinkInfoBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiLinkInfoBuildOutput.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.UniversalReference; +using Docfx.DataContracts.UniversalReference; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiLinkInfoBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiNames.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiNames.cs similarity index 89% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiNames.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiNames.cs index b19076f7656..31ed53e9740 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiNames.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiNames.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiNames diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs index 7c1b23a8f9e..58ca0a0272e 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiParameterBuildOutput.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiParameterBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs similarity index 87% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs rename to src/Docfx.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs index 9e7223d8e23..c24fa75ea5b 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs +++ b/src/Docfx.Build.UniversalReference/BuildOutputs/ApiSyntaxBuildOutput.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Serializable] public class ApiSyntaxBuildOutput diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildUniversalReferenceDocument.cs b/src/Docfx.Build.UniversalReference/BuildUniversalReferenceDocument.cs similarity index 78% rename from src/Microsoft.DocAsCode.Build.UniversalReference/BuildUniversalReferenceDocument.cs rename to src/Docfx.Build.UniversalReference/BuildUniversalReferenceDocument.cs index 698590158e8..03c3d828dab 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/BuildUniversalReferenceDocument.cs +++ b/src/Docfx.Build.UniversalReference/BuildUniversalReferenceDocument.cs @@ -3,11 +3,11 @@ using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.UniversalReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.UniversalReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Export(nameof(UniversalReferenceDocumentProcessor), typeof(IDocumentBuildStep))] public class BuildUniversalReferenceDocument : BuildReferenceDocumentBase diff --git a/src/Docfx.Build.UniversalReference/Docfx.Build.UniversalReference.csproj b/src/Docfx.Build.UniversalReference/Docfx.Build.UniversalReference.csproj new file mode 100644 index 00000000000..1d1773babfd --- /dev/null +++ b/src/Docfx.Build.UniversalReference/Docfx.Build.UniversalReference.csproj @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/FillReferenceInformation.cs b/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs similarity index 90% rename from src/Microsoft.DocAsCode.Build.UniversalReference/FillReferenceInformation.cs rename to src/Docfx.Build.UniversalReference/FillReferenceInformation.cs index 027107424ff..41f72704009 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/FillReferenceInformation.cs +++ b/src/Docfx.Build.UniversalReference/FillReferenceInformation.cs @@ -4,12 +4,12 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.UniversalReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.UniversalReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Export(nameof(UniversalReferenceDocumentProcessor), typeof(IDocumentBuildStep))] public class FillReferenceInformation : BaseDocumentBuildStep diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/ModelConverter.cs b/src/Docfx.Build.UniversalReference/ModelConverter.cs similarity index 98% rename from src/Microsoft.DocAsCode.Build.UniversalReference/ModelConverter.cs rename to src/Docfx.Build.UniversalReference/ModelConverter.cs index b0f03f83258..9614ae55a1c 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/ModelConverter.cs +++ b/src/Docfx.Build.UniversalReference/ModelConverter.cs @@ -3,12 +3,12 @@ using System.Web; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.UniversalReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.UniversalReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; public static class ModelConverter { diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/UniversalReferenceConstants.cs b/src/Docfx.Build.UniversalReference/UniversalReferenceConstants.cs similarity index 80% rename from src/Microsoft.DocAsCode.Build.UniversalReference/UniversalReferenceConstants.cs rename to src/Docfx.Build.UniversalReference/UniversalReferenceConstants.cs index 922ac14b168..611392dd758 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/UniversalReferenceConstants.cs +++ b/src/Docfx.Build.UniversalReference/UniversalReferenceConstants.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; internal static class UniversalReferenceConstants { diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs b/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs similarity index 96% rename from src/Microsoft.DocAsCode.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs rename to src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs index ef9e576bc3e..38a2f1dbf0d 100644 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs +++ b/src/Docfx.Build.UniversalReference/UniversalReferenceDocumentProcessor.cs @@ -4,13 +4,13 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.UniversalReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.UniversalReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.UniversalReference; +namespace Docfx.Build.UniversalReference; [Export(typeof(IDocumentProcessor))] public class UniversalReferenceDocumentProcessor : ReferenceDocumentProcessorBase diff --git a/src/Microsoft.DocAsCode.Common/CollectionExtensions.cs b/src/Docfx.Common/CollectionExtensions.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/CollectionExtensions.cs rename to src/Docfx.Common/CollectionExtensions.cs index 7942b419118..ce300cda3ae 100644 --- a/src/Microsoft.DocAsCode.Common/CollectionExtensions.cs +++ b/src/Docfx.Common/CollectionExtensions.cs @@ -3,7 +3,7 @@ using System.Collections; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class CollectionExtensions { diff --git a/src/Microsoft.DocAsCode.Common/CollectionUtility.cs b/src/Docfx.Common/CollectionUtility.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/CollectionUtility.cs rename to src/Docfx.Common/CollectionUtility.cs index 1f0e658dd55..17fdb40eedf 100644 --- a/src/Microsoft.DocAsCode.Common/CollectionUtility.cs +++ b/src/Docfx.Common/CollectionUtility.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class CollectionUtility { diff --git a/src/Microsoft.DocAsCode.Common/CommandUtility.cs b/src/Docfx.Common/CommandUtility.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/CommandUtility.cs rename to src/Docfx.Common/CommandUtility.cs index 844045a2981..9f6d7c639b5 100644 --- a/src/Microsoft.DocAsCode.Common/CommandUtility.cs +++ b/src/Docfx.Common/CommandUtility.cs @@ -3,7 +3,7 @@ using System.Diagnostics; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class CommandUtility { diff --git a/src/Microsoft.DocAsCode.Common/CompositeDictionary.cs b/src/Docfx.Common/CompositeDictionary.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/CompositeDictionary.cs rename to src/Docfx.Common/CompositeDictionary.cs index 0892c337902..c2bbd359a1b 100644 --- a/src/Microsoft.DocAsCode.Common/CompositeDictionary.cs +++ b/src/Docfx.Common/CompositeDictionary.cs @@ -4,7 +4,7 @@ using System.Collections; using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class CompositeDictionary : IDictionary diff --git a/src/Microsoft.DocAsCode.Common/ConsoleUtility.cs b/src/Docfx.Common/ConsoleUtility.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/ConsoleUtility.cs rename to src/Docfx.Common/ConsoleUtility.cs index 3f5e4d94be3..07799294998 100644 --- a/src/Microsoft.DocAsCode.Common/ConsoleUtility.cs +++ b/src/Docfx.Common/ConsoleUtility.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class ConsoleUtility { diff --git a/src/Microsoft.DocAsCode.Common/ConvertToObjectHelper.cs b/src/Docfx.Common/ConvertToObjectHelper.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/ConvertToObjectHelper.cs rename to src/Docfx.Common/ConvertToObjectHelper.cs index fa363d42074..57c18a643cd 100644 --- a/src/Microsoft.DocAsCode.Common/ConvertToObjectHelper.cs +++ b/src/Docfx.Common/ConvertToObjectHelper.cs @@ -5,10 +5,7 @@ using Newtonsoft.Json.Linq; -/// -/// The utility class for docascode project -/// -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class ConvertToObjectHelper { diff --git a/src/Docfx.Common/Docfx.Common.csproj b/src/Docfx.Common/Docfx.Common.csproj new file mode 100644 index 00000000000..af670cf14a9 --- /dev/null +++ b/src/Docfx.Common/Docfx.Common.csproj @@ -0,0 +1,6 @@ + + + + + + diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/DictionaryMerger.cs b/src/Docfx.Common/EntityMergers/DictionaryMerger.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/EntityMergers/DictionaryMerger.cs rename to src/Docfx.Common/EntityMergers/DictionaryMerger.cs index ff21f63a5bd..7e8b0e509c8 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/DictionaryMerger.cs +++ b/src/Docfx.Common/EntityMergers/DictionaryMerger.cs @@ -3,7 +3,7 @@ using System.Collections; -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public class DictionaryMerger : MergerDecorator { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/IMergeContext.cs b/src/Docfx.Common/EntityMergers/IMergeContext.cs similarity index 64% rename from src/Microsoft.DocAsCode.Common/EntityMergers/IMergeContext.cs rename to src/Docfx.Common/EntityMergers/IMergeContext.cs index 797ab4697e0..a439d8a5e36 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/IMergeContext.cs +++ b/src/Docfx.Common/EntityMergers/IMergeContext.cs @@ -1,4 +1,4 @@ -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public interface IMergeContext { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/IMergeHandler.cs b/src/Docfx.Common/EntityMergers/IMergeHandler.cs similarity index 67% rename from src/Microsoft.DocAsCode.Common/EntityMergers/IMergeHandler.cs rename to src/Docfx.Common/EntityMergers/IMergeHandler.cs index 442cad5e494..76b882ac08a 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/IMergeHandler.cs +++ b/src/Docfx.Common/EntityMergers/IMergeHandler.cs @@ -1,4 +1,4 @@ -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public interface IMergeHandler { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/IMerger.cs b/src/Docfx.Common/EntityMergers/IMerger.cs similarity index 86% rename from src/Microsoft.DocAsCode.Common/EntityMergers/IMerger.cs rename to src/Docfx.Common/EntityMergers/IMerger.cs index 9fa44d5edbe..9da3cff970f 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/IMerger.cs +++ b/src/Docfx.Common/EntityMergers/IMerger.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public interface IMerger { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/JArrayMerger.cs b/src/Docfx.Common/EntityMergers/JArrayMerger.cs similarity index 94% rename from src/Microsoft.DocAsCode.Common/EntityMergers/JArrayMerger.cs rename to src/Docfx.Common/EntityMergers/JArrayMerger.cs index 478a32b403b..c51e65ae6df 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/JArrayMerger.cs +++ b/src/Docfx.Common/EntityMergers/JArrayMerger.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Exceptions; +using Docfx.Exceptions; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public class JArrayMerger : MergerDecorator { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/JObjectMerger.cs b/src/Docfx.Common/EntityMergers/JObjectMerger.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/EntityMergers/JObjectMerger.cs rename to src/Docfx.Common/EntityMergers/JObjectMerger.cs index 8779bcb381d..4757d2a5a68 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/JObjectMerger.cs +++ b/src/Docfx.Common/EntityMergers/JObjectMerger.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public class JObjectMerger : MergerDecorator { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/KeyedListMerger.cs b/src/Docfx.Common/EntityMergers/KeyedListMerger.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/EntityMergers/KeyedListMerger.cs rename to src/Docfx.Common/EntityMergers/KeyedListMerger.cs index 8ab1f49718b..2f8e9a566a7 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/KeyedListMerger.cs +++ b/src/Docfx.Common/EntityMergers/KeyedListMerger.cs @@ -3,7 +3,7 @@ using System.Collections; -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public class KeyedListMerger : MergerDecorator { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/MergeBehaviorOption.cs b/src/Docfx.Common/EntityMergers/MergeBehaviorOption.cs similarity index 95% rename from src/Microsoft.DocAsCode.Common/EntityMergers/MergeBehaviorOption.cs rename to src/Docfx.Common/EntityMergers/MergeBehaviorOption.cs index 3ee9596ce7c..647d0cd5f9e 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/MergeBehaviorOption.cs +++ b/src/Docfx.Common/EntityMergers/MergeBehaviorOption.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public enum MergeOption { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/MergeContext.cs b/src/Docfx.Common/EntityMergers/MergeContext.cs similarity index 90% rename from src/Microsoft.DocAsCode.Common/EntityMergers/MergeContext.cs rename to src/Docfx.Common/EntityMergers/MergeContext.cs index c7b6b20e148..93960dbf705 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/MergeContext.cs +++ b/src/Docfx.Common/EntityMergers/MergeContext.cs @@ -1,4 +1,4 @@ -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; internal sealed class MergeContext : IMergeContext { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/MergeOptionAttribute.cs b/src/Docfx.Common/EntityMergers/MergeOptionAttribute.cs similarity index 94% rename from src/Microsoft.DocAsCode.Common/EntityMergers/MergeOptionAttribute.cs rename to src/Docfx.Common/EntityMergers/MergeOptionAttribute.cs index 462012efe7b..5b61cfca7ee 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/MergeOptionAttribute.cs +++ b/src/Docfx.Common/EntityMergers/MergeOptionAttribute.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; [AttributeUsage(AttributeTargets.Property, Inherited = true, AllowMultiple = false)] public sealed class MergeOptionAttribute : Attribute diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/MergerDecorator.cs b/src/Docfx.Common/EntityMergers/MergerDecorator.cs similarity index 93% rename from src/Microsoft.DocAsCode.Common/EntityMergers/MergerDecorator.cs rename to src/Docfx.Common/EntityMergers/MergerDecorator.cs index 3ee12150748..352c8d8e33f 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/MergerDecorator.cs +++ b/src/Docfx.Common/EntityMergers/MergerDecorator.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public abstract class MergerDecorator : IMerger { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/MergerFacade.cs b/src/Docfx.Common/EntityMergers/MergerFacade.cs similarity index 91% rename from src/Microsoft.DocAsCode.Common/EntityMergers/MergerFacade.cs rename to src/Docfx.Common/EntityMergers/MergerFacade.cs index c270faaaec8..4abbd0ee4e0 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/MergerFacade.cs +++ b/src/Docfx.Common/EntityMergers/MergerFacade.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public class MergerFacade { diff --git a/src/Microsoft.DocAsCode.Common/EntityMergers/ReflectionEntityMerger.cs b/src/Docfx.Common/EntityMergers/ReflectionEntityMerger.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/EntityMergers/ReflectionEntityMerger.cs rename to src/Docfx.Common/EntityMergers/ReflectionEntityMerger.cs index 7ba71d1f5bf..3854d88600b 100644 --- a/src/Microsoft.DocAsCode.Common/EntityMergers/ReflectionEntityMerger.cs +++ b/src/Docfx.Common/EntityMergers/ReflectionEntityMerger.cs @@ -4,7 +4,7 @@ using System.Collections.Concurrent; using System.Reflection; -namespace Microsoft.DocAsCode.Common.EntityMergers; +namespace Docfx.Common.EntityMergers; public class ReflectionEntityMerger : IMerger { diff --git a/src/Microsoft.DocAsCode.Common/Exceptions/DocfxException.cs b/src/Docfx.Common/Exceptions/DocfxException.cs similarity index 92% rename from src/Microsoft.DocAsCode.Common/Exceptions/DocfxException.cs rename to src/Docfx.Common/Exceptions/DocfxException.cs index d990a749e67..efa7dd211bc 100644 --- a/src/Microsoft.DocAsCode.Common/Exceptions/DocfxException.cs +++ b/src/Docfx.Common/Exceptions/DocfxException.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Exceptions; +namespace Docfx.Exceptions; public class DocfxException : Exception { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/EmptyFileReader.cs b/src/Docfx.Common/FileAbstractLayer/EmptyFileReader.cs similarity index 94% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/EmptyFileReader.cs rename to src/Docfx.Common/FileAbstractLayer/EmptyFileReader.cs index 12a78e0e29b..127f3c34d20 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/EmptyFileReader.cs +++ b/src/Docfx.Common/FileAbstractLayer/EmptyFileReader.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; internal sealed class EmptyFileReader : IFileReader { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayer.cs b/src/Docfx.Common/FileAbstractLayer/FileAbstractLayer.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayer.cs rename to src/Docfx.Common/FileAbstractLayer/FileAbstractLayer.cs index 8327c9bd283..a8566a52058 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayer.cs +++ b/src/Docfx.Common/FileAbstractLayer/FileAbstractLayer.cs @@ -3,9 +3,9 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class FileAbstractLayer : IFileAbstractLayer, IDisposable { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayerBuilder.cs b/src/Docfx.Common/FileAbstractLayer/FileAbstractLayerBuilder.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayerBuilder.cs rename to src/Docfx.Common/FileAbstractLayer/FileAbstractLayerBuilder.cs index fb062efb85b..72bb1993f89 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayerBuilder.cs +++ b/src/Docfx.Common/FileAbstractLayer/FileAbstractLayerBuilder.cs @@ -3,9 +3,9 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class FileAbstractLayerBuilder { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayerExtensions.cs b/src/Docfx.Common/FileAbstractLayer/FileAbstractLayerExtensions.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayerExtensions.cs rename to src/Docfx.Common/FileAbstractLayer/FileAbstractLayerExtensions.cs index 4391dd89ef0..b95e3860013 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileAbstractLayerExtensions.cs +++ b/src/Docfx.Common/FileAbstractLayer/FileAbstractLayerExtensions.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class FileAbstractLayerExtensions { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileWriterBase.cs b/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileWriterBase.cs rename to src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs index 35b1c09f06c..88d7278936d 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/FileWriterBase.cs +++ b/src/Docfx.Common/FileAbstractLayer/FileWriterBase.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public abstract class FileWriterBase : IFileWriter { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/IFileReader.cs b/src/Docfx.Common/FileAbstractLayer/IFileReader.cs similarity index 95% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/IFileReader.cs rename to src/Docfx.Common/FileAbstractLayer/IFileReader.cs index f6dd8e13a97..ab8ef526e8d 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/IFileReader.cs +++ b/src/Docfx.Common/FileAbstractLayer/IFileReader.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; /// /// File reader. diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/IFileWriter.cs b/src/Docfx.Common/FileAbstractLayer/IFileWriter.cs similarity index 95% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/IFileWriter.cs rename to src/Docfx.Common/FileAbstractLayer/IFileWriter.cs index 6c429ed6c65..2b46a556fdc 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/IFileWriter.cs +++ b/src/Docfx.Common/FileAbstractLayer/IFileWriter.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; /// /// File writer. diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileHelper.cs b/src/Docfx.Common/FileAbstractLayer/ManifestFileHelper.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileHelper.cs rename to src/Docfx.Common/FileAbstractLayer/ManifestFileHelper.cs index acaf32493ef..b548c96efeb 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileHelper.cs +++ b/src/Docfx.Common/FileAbstractLayer/ManifestFileHelper.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class ManifestFileHelper { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileReader.cs b/src/Docfx.Common/FileAbstractLayer/ManifestFileReader.cs similarity index 95% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileReader.cs rename to src/Docfx.Common/FileAbstractLayer/ManifestFileReader.cs index aee8f1d6d42..6de6cddfa07 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileReader.cs +++ b/src/Docfx.Common/FileAbstractLayer/ManifestFileReader.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class ManifestFileReader : IFileReader { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileWriter.cs b/src/Docfx.Common/FileAbstractLayer/ManifestFileWriter.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileWriter.cs rename to src/Docfx.Common/FileAbstractLayer/ManifestFileWriter.cs index f57eaaeb711..861fbf38f0b 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/ManifestFileWriter.cs +++ b/src/Docfx.Common/FileAbstractLayer/ManifestFileWriter.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class ManifestFileWriter : FileWriterBase { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/PathMapping.cs b/src/Docfx.Common/FileAbstractLayer/PathMapping.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/PathMapping.cs rename to src/Docfx.Common/FileAbstractLayer/PathMapping.cs index 003689f6948..18e51eb9e19 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/PathMapping.cs +++ b/src/Docfx.Common/FileAbstractLayer/PathMapping.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public struct PathMapping { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileReader.cs b/src/Docfx.Common/FileAbstractLayer/RealFileReader.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileReader.cs rename to src/Docfx.Common/FileAbstractLayer/RealFileReader.cs index cfeeadbeffc..ba20e686c65 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileReader.cs +++ b/src/Docfx.Common/FileAbstractLayer/RealFileReader.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class RealFileReader : IFileReader { diff --git a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs b/src/Docfx.Common/FileAbstractLayer/RealFileWriter.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs rename to src/Docfx.Common/FileAbstractLayer/RealFileWriter.cs index 064aee259dd..a3fc8cf08e7 100644 --- a/src/Microsoft.DocAsCode.Common/FileAbstractLayer/RealFileWriter.cs +++ b/src/Docfx.Common/FileAbstractLayer/RealFileWriter.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class RealFileWriter : FileWriterBase { diff --git a/src/Microsoft.DocAsCode.Common/FileItems.cs b/src/Docfx.Common/FileItems.cs similarity index 94% rename from src/Microsoft.DocAsCode.Common/FileItems.cs rename to src/Docfx.Common/FileItems.cs index 5964ae0fbcd..4fdb36d468a 100644 --- a/src/Microsoft.DocAsCode.Common/FileItems.cs +++ b/src/Docfx.Common/FileItems.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode; +namespace Docfx; [Serializable] public class FileItems : List diff --git a/src/Microsoft.DocAsCode.Common/FileLinkInfo.cs b/src/Docfx.Common/FileLinkInfo.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/FileLinkInfo.cs rename to src/Docfx.Common/FileLinkInfo.cs index 70d27d4f132..ec8eefe36d9 100644 --- a/src/Microsoft.DocAsCode.Common/FileLinkInfo.cs +++ b/src/Docfx.Common/FileLinkInfo.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public struct FileLinkInfo : IFileLinkInfo diff --git a/src/Microsoft.DocAsCode.Common/FileMapping.cs b/src/Docfx.Common/FileMapping.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/FileMapping.cs rename to src/Docfx.Common/FileMapping.cs index 9defe480e89..43d2e331d51 100644 --- a/src/Microsoft.DocAsCode.Common/FileMapping.cs +++ b/src/Docfx.Common/FileMapping.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; /// /// FileMapping supports 3 forms: diff --git a/src/Microsoft.DocAsCode.Common/FileMappingConverter.cs b/src/Docfx.Common/FileMappingConverter.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/FileMappingConverter.cs rename to src/Docfx.Common/FileMappingConverter.cs index bfb425f9ece..5884f0bc9f7 100644 --- a/src/Microsoft.DocAsCode.Common/FileMappingConverter.cs +++ b/src/Docfx.Common/FileMappingConverter.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class FileMappingConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.Common/FileMappingItem.cs b/src/Docfx.Common/FileMappingItem.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/FileMappingItem.cs rename to src/Docfx.Common/FileMappingItem.cs index eab9e2d40bd..52302ba9991 100644 --- a/src/Microsoft.DocAsCode.Common/FileMappingItem.cs +++ b/src/Docfx.Common/FileMappingItem.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; /// /// Data model for a file-mapping item diff --git a/src/Microsoft.DocAsCode.Common/FileModelParser.cs b/src/Docfx.Common/FileModelParser.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/FileModelParser.cs rename to src/Docfx.Common/FileModelParser.cs index 17ae6c21525..fb54a65f42e 100644 --- a/src/Microsoft.DocAsCode.Common/FileModelParser.cs +++ b/src/Docfx.Common/FileModelParser.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode; +namespace Docfx; internal static class FileModelParser { diff --git a/src/Microsoft.DocAsCode.Common/FolderRedirection/FolderRedirectionManager.cs b/src/Docfx.Common/FolderRedirection/FolderRedirectionManager.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/FolderRedirection/FolderRedirectionManager.cs rename to src/Docfx.Common/FolderRedirection/FolderRedirectionManager.cs index 909453dd4eb..d7491e0a475 100644 --- a/src/Microsoft.DocAsCode.Common/FolderRedirection/FolderRedirectionManager.cs +++ b/src/Docfx.Common/FolderRedirection/FolderRedirectionManager.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class FolderRedirectionManager { diff --git a/src/Microsoft.DocAsCode.Common/FolderRedirection/FolderRedirectionRule.cs b/src/Docfx.Common/FolderRedirection/FolderRedirectionRule.cs similarity index 92% rename from src/Microsoft.DocAsCode.Common/FolderRedirection/FolderRedirectionRule.cs rename to src/Docfx.Common/FolderRedirection/FolderRedirectionRule.cs index cae38a29a68..48d87c326a1 100644 --- a/src/Microsoft.DocAsCode.Common/FolderRedirection/FolderRedirectionRule.cs +++ b/src/Docfx.Common/FolderRedirection/FolderRedirectionRule.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class FolderRedirectionRule { diff --git a/src/Microsoft.DocAsCode.Common/Git/GitDetail.cs b/src/Docfx.Common/Git/GitDetail.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/Git/GitDetail.cs rename to src/Docfx.Common/Git/GitDetail.cs index af8d9846331..e7c9edf7957 100644 --- a/src/Microsoft.DocAsCode.Common/Git/GitDetail.cs +++ b/src/Docfx.Common/Git/GitDetail.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Common.Git; +namespace Docfx.Common.Git; [Serializable] public class GitDetail diff --git a/src/Microsoft.DocAsCode.Common/Git/GitException.cs b/src/Docfx.Common/Git/GitException.cs similarity index 85% rename from src/Microsoft.DocAsCode.Common/Git/GitException.cs rename to src/Docfx.Common/Git/GitException.cs index 3e8e049fd79..62a8acf9937 100644 --- a/src/Microsoft.DocAsCode.Common/Git/GitException.cs +++ b/src/Docfx.Common/Git/GitException.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common.Git; +namespace Docfx.Common.Git; public class GitException : Exception { diff --git a/src/Microsoft.DocAsCode.Common/Git/GitRepoInfo.cs b/src/Docfx.Common/Git/GitRepoInfo.cs similarity index 94% rename from src/Microsoft.DocAsCode.Common/Git/GitRepoInfo.cs rename to src/Docfx.Common/Git/GitRepoInfo.cs index 78954bdf64c..7a619ff7429 100644 --- a/src/Microsoft.DocAsCode.Common/Git/GitRepoInfo.cs +++ b/src/Docfx.Common/Git/GitRepoInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common.Git; +namespace Docfx.Common.Git; [Serializable] public class GitRepoInfo diff --git a/src/Microsoft.DocAsCode.Common/Git/GitUtility.cs b/src/Docfx.Common/Git/GitUtility.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/Git/GitUtility.cs rename to src/Docfx.Common/Git/GitUtility.cs index b074d9ec319..1a6f5cefa99 100644 --- a/src/Microsoft.DocAsCode.Common/Git/GitUtility.cs +++ b/src/Docfx.Common/Git/GitUtility.cs @@ -7,9 +7,9 @@ using System.Text.RegularExpressions; using System.Web; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common.Git; +namespace Docfx.Common.Git; public static class GitUtility { diff --git a/src/Microsoft.DocAsCode.Common/Git/RepoType.cs b/src/Docfx.Common/Git/RepoType.cs similarity index 83% rename from src/Microsoft.DocAsCode.Common/Git/RepoType.cs rename to src/Docfx.Common/Git/RepoType.cs index ad3001d395a..07ff905b0fa 100644 --- a/src/Microsoft.DocAsCode.Common/Git/RepoType.cs +++ b/src/Docfx.Common/Git/RepoType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common.Git; +namespace Docfx.Common.Git; [Serializable] public enum RepoType diff --git a/src/Microsoft.DocAsCode.Common/HashUtility.cs b/src/Docfx.Common/HashUtility.cs similarity index 94% rename from src/Microsoft.DocAsCode.Common/HashUtility.cs rename to src/Docfx.Common/HashUtility.cs index 23fd528d1ad..6bc526e37b6 100644 --- a/src/Microsoft.DocAsCode.Common/HashUtility.cs +++ b/src/Docfx.Common/HashUtility.cs @@ -4,7 +4,7 @@ using System.Security.Cryptography; using System.Text; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class HashUtility { diff --git a/src/Microsoft.DocAsCode.Common/JObjectDictionaryToObjectDictionaryConverter.cs b/src/Docfx.Common/JObjectDictionaryToObjectDictionaryConverter.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/JObjectDictionaryToObjectDictionaryConverter.cs rename to src/Docfx.Common/JObjectDictionaryToObjectDictionaryConverter.cs index 2fc019ed0cb..635c90819b2 100644 --- a/src/Microsoft.DocAsCode.Common/JObjectDictionaryToObjectDictionaryConverter.cs +++ b/src/Docfx.Common/JObjectDictionaryToObjectDictionaryConverter.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class JObjectDictionaryToObjectDictionaryConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.Common/JsonUtility.cs b/src/Docfx.Common/JsonUtility.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/JsonUtility.cs rename to src/Docfx.Common/JsonUtility.cs index 30b66776139..8a7873103f4 100644 --- a/src/Microsoft.DocAsCode.Common/JsonUtility.cs +++ b/src/Docfx.Common/JsonUtility.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; using Newtonsoft.Json; using Newtonsoft.Json.Converters; using Newtonsoft.Json.Serialization; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class JsonUtility { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/AggregatedPerformanceScope.cs b/src/Docfx.Common/Loggers/AggregatedPerformanceScope.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/Loggers/AggregatedPerformanceScope.cs rename to src/Docfx.Common/Loggers/AggregatedPerformanceScope.cs index 8a61c1567d2..7af1847e523 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/AggregatedPerformanceScope.cs +++ b/src/Docfx.Common/Loggers/AggregatedPerformanceScope.cs @@ -3,7 +3,7 @@ using System.Collections.Concurrent; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public sealed class AggregatedPerformanceScope : IDisposable { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/CompositeLogListener.cs b/src/Docfx.Common/Loggers/CompositeLogListener.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/Loggers/CompositeLogListener.cs rename to src/Docfx.Common/Loggers/CompositeLogListener.cs index ccfc614b69b..3bafb65d6c5 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/CompositeLogListener.cs +++ b/src/Docfx.Common/Loggers/CompositeLogListener.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class CompositeLogListener : ILoggerListener { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/ConsoleLogListener.cs b/src/Docfx.Common/Loggers/ConsoleLogListener.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/Loggers/ConsoleLogListener.cs rename to src/Docfx.Common/Loggers/ConsoleLogListener.cs index ce94f037754..bbdddc6010c 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/ConsoleLogListener.cs +++ b/src/Docfx.Common/Loggers/ConsoleLogListener.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Text; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public sealed class ConsoleLogListener : ILoggerListener { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/ErrorCodes.cs b/src/Docfx.Common/Loggers/ErrorCodes.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/Loggers/ErrorCodes.cs rename to src/Docfx.Common/Loggers/ErrorCodes.cs index a5d37cbd7b7..8314df1cfb6 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/ErrorCodes.cs +++ b/src/Docfx.Common/Loggers/ErrorCodes.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class ErrorCodes { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/ILogItem.cs b/src/Docfx.Common/Loggers/ILogItem.cs similarity index 89% rename from src/Microsoft.DocAsCode.Common/Loggers/ILogItem.cs rename to src/Docfx.Common/Loggers/ILogItem.cs index 6acf2c3ce0c..4a68879e4e7 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/ILogItem.cs +++ b/src/Docfx.Common/Loggers/ILogItem.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public interface ILogItem { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/ILoggerListener.cs b/src/Docfx.Common/Loggers/ILoggerListener.cs similarity index 86% rename from src/Microsoft.DocAsCode.Common/Loggers/ILoggerListener.cs rename to src/Docfx.Common/Loggers/ILoggerListener.cs index ac7454fb4f2..2d32cfc0716 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/ILoggerListener.cs +++ b/src/Docfx.Common/Loggers/ILoggerListener.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public interface ILoggerListener : IDisposable { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/LogCodesLogListener.cs b/src/Docfx.Common/Loggers/LogCodesLogListener.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/Loggers/LogCodesLogListener.cs rename to src/Docfx.Common/Loggers/LogCodesLogListener.cs index f632d727103..653b7d8fb4d 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/LogCodesLogListener.cs +++ b/src/Docfx.Common/Loggers/LogCodesLogListener.cs @@ -4,7 +4,7 @@ using System.Collections.Concurrent; using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class LogCodesLogListener : ILoggerListener { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/LogLevel.cs b/src/Docfx.Common/Loggers/LogLevel.cs similarity index 86% rename from src/Microsoft.DocAsCode.Common/Loggers/LogLevel.cs rename to src/Docfx.Common/Loggers/LogLevel.cs index 8f0d3b31dc3..92ea994a9ce 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/LogLevel.cs +++ b/src/Docfx.Common/Loggers/LogLevel.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public enum LogLevel { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/Logger.cs b/src/Docfx.Common/Loggers/Logger.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/Loggers/Logger.cs rename to src/Docfx.Common/Loggers/Logger.cs index 36b5116de7b..fdc8746f3a1 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/Logger.cs +++ b/src/Docfx.Common/Loggers/Logger.cs @@ -3,7 +3,7 @@ using System.Diagnostics; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class Logger { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/LoggerFileScope.cs b/src/Docfx.Common/Loggers/LoggerFileScope.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/Loggers/LoggerFileScope.cs rename to src/Docfx.Common/Loggers/LoggerFileScope.cs index 3f7d3335bd4..eb338236fde 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/LoggerFileScope.cs +++ b/src/Docfx.Common/Loggers/LoggerFileScope.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public sealed class LoggerFileScope : IDisposable { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/LoggerPhaseScope.cs b/src/Docfx.Common/Loggers/LoggerPhaseScope.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/Loggers/LoggerPhaseScope.cs rename to src/Docfx.Common/Loggers/LoggerPhaseScope.cs index d60565231b2..c0caab46493 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/LoggerPhaseScope.cs +++ b/src/Docfx.Common/Loggers/LoggerPhaseScope.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public sealed class LoggerPhaseScope : IDisposable { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/PerformanceScope.cs b/src/Docfx.Common/Loggers/PerformanceScope.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/Loggers/PerformanceScope.cs rename to src/Docfx.Common/Loggers/PerformanceScope.cs index ea44fac2aa5..5ab0369571f 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/PerformanceScope.cs +++ b/src/Docfx.Common/Loggers/PerformanceScope.cs @@ -3,7 +3,7 @@ using System.Diagnostics; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public sealed class PerformanceScope : IDisposable { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/ReportLogListener.cs b/src/Docfx.Common/Loggers/ReportLogListener.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/Loggers/ReportLogListener.cs rename to src/Docfx.Common/Loggers/ReportLogListener.cs index 19cd55885b8..cd034a406c8 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/ReportLogListener.cs +++ b/src/Docfx.Common/Loggers/ReportLogListener.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public sealed class ReportLogListener : ILoggerListener { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/SuggestionCodes.cs b/src/Docfx.Common/Loggers/SuggestionCodes.cs similarity index 90% rename from src/Microsoft.DocAsCode.Common/Loggers/SuggestionCodes.cs rename to src/Docfx.Common/Loggers/SuggestionCodes.cs index d15477c21cb..bced3a26b9a 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/SuggestionCodes.cs +++ b/src/Docfx.Common/Loggers/SuggestionCodes.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class SuggestionCodes { diff --git a/src/Microsoft.DocAsCode.Common/Loggers/WarningCodes.cs b/src/Docfx.Common/Loggers/WarningCodes.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/Loggers/WarningCodes.cs rename to src/Docfx.Common/Loggers/WarningCodes.cs index 3a1044023e5..ed8a4091cff 100644 --- a/src/Microsoft.DocAsCode.Common/Loggers/WarningCodes.cs +++ b/src/Docfx.Common/Loggers/WarningCodes.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class WarningCodes { diff --git a/src/Microsoft.DocAsCode.Common/LogicalCallContext.cs b/src/Docfx.Common/LogicalCallContext.cs similarity index 94% rename from src/Microsoft.DocAsCode.Common/LogicalCallContext.cs rename to src/Docfx.Common/LogicalCallContext.cs index a9d618e0cb2..805c2fbde09 100644 --- a/src/Microsoft.DocAsCode.Common/LogicalCallContext.cs +++ b/src/Docfx.Common/LogicalCallContext.cs @@ -3,7 +3,7 @@ using System.Collections.Concurrent; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; /// /// A NETStandard-friendly replacement for CallContext. diff --git a/src/Microsoft.DocAsCode.Common/LruList.cs b/src/Docfx.Common/LruList.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/LruList.cs rename to src/Docfx.Common/LruList.cs index 6255a0e0386..84bca36f0ec 100644 --- a/src/Microsoft.DocAsCode.Common/LruList.cs +++ b/src/Docfx.Common/LruList.cs @@ -1,4 +1,4 @@ -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class LruList { diff --git a/src/Microsoft.DocAsCode.Common/Path/FilePathComparer.cs b/src/Docfx.Common/Path/FilePathComparer.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/Path/FilePathComparer.cs rename to src/Docfx.Common/Path/FilePathComparer.cs index a581de65dae..0c9dc942b6b 100644 --- a/src/Microsoft.DocAsCode.Common/Path/FilePathComparer.cs +++ b/src/Docfx.Common/Path/FilePathComparer.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class FilePathComparer : IEqualityComparer diff --git a/src/Microsoft.DocAsCode.Common/Path/FilePathComparerWithEnvironmentVariable.cs b/src/Docfx.Common/Path/FilePathComparerWithEnvironmentVariable.cs similarity index 96% rename from src/Microsoft.DocAsCode.Common/Path/FilePathComparerWithEnvironmentVariable.cs rename to src/Docfx.Common/Path/FilePathComparerWithEnvironmentVariable.cs index 1532c248836..fa13f0fc9f3 100644 --- a/src/Microsoft.DocAsCode.Common/Path/FilePathComparerWithEnvironmentVariable.cs +++ b/src/Docfx.Common/Path/FilePathComparerWithEnvironmentVariable.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class FilePathComparerWithEnvironmentVariable : IEqualityComparer diff --git a/src/Microsoft.DocAsCode.Common/Path/PathUtility.cs b/src/Docfx.Common/Path/PathUtility.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/Path/PathUtility.cs rename to src/Docfx.Common/Path/PathUtility.cs index cd211f70964..6d85abd38da 100644 --- a/src/Microsoft.DocAsCode.Common/Path/PathUtility.cs +++ b/src/Docfx.Common/Path/PathUtility.cs @@ -3,7 +3,7 @@ using System.Text.RegularExpressions; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class PathUtility { diff --git a/src/Microsoft.DocAsCode.Common/Path/RelativePath.cs b/src/Docfx.Common/Path/RelativePath.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/Path/RelativePath.cs rename to src/Docfx.Common/Path/RelativePath.cs index 76dd9f6ab2c..424288606bd 100644 --- a/src/Microsoft.DocAsCode.Common/Path/RelativePath.cs +++ b/src/Docfx.Common/Path/RelativePath.cs @@ -3,7 +3,7 @@ using System.Text; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; /// /// relative path diff --git a/src/Microsoft.DocAsCode.Common/ResourcePools/ResourceLease.cs b/src/Docfx.Common/ResourcePools/ResourceLease.cs similarity index 93% rename from src/Microsoft.DocAsCode.Common/ResourcePools/ResourceLease.cs rename to src/Docfx.Common/ResourcePools/ResourceLease.cs index 7f54cf8ca8f..a0e32b4189f 100644 --- a/src/Microsoft.DocAsCode.Common/ResourcePools/ResourceLease.cs +++ b/src/Docfx.Common/ResourcePools/ResourceLease.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public sealed class ResourceLease : IDisposable diff --git a/src/Microsoft.DocAsCode.Common/ResourcePools/ResourcePool.cs b/src/Docfx.Common/ResourcePools/ResourcePool.cs similarity index 90% rename from src/Microsoft.DocAsCode.Common/ResourcePools/ResourcePool.cs rename to src/Docfx.Common/ResourcePools/ResourcePool.cs index 852c9cd9284..b1265cf13df 100644 --- a/src/Microsoft.DocAsCode.Common/ResourcePools/ResourcePool.cs +++ b/src/Docfx.Common/ResourcePools/ResourcePool.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class ResourcePool { diff --git a/src/Microsoft.DocAsCode.Common/ResourcePools/ResourcePoolManager.cs b/src/Docfx.Common/ResourcePools/ResourcePoolManager.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/ResourcePools/ResourcePoolManager.cs rename to src/Docfx.Common/ResourcePools/ResourcePoolManager.cs index 04e083d7eca..7c4a7ef68cf 100644 --- a/src/Microsoft.DocAsCode.Common/ResourcePools/ResourcePoolManager.cs +++ b/src/Docfx.Common/ResourcePools/ResourcePoolManager.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class ResourcePoolManager : IDisposable diff --git a/src/Microsoft.DocAsCode.Common/StringExtension.cs b/src/Docfx.Common/StringExtension.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/StringExtension.cs rename to src/Docfx.Common/StringExtension.cs index 50a414098ca..3f6c7ccca39 100644 --- a/src/Microsoft.DocAsCode.Common/StringExtension.cs +++ b/src/Docfx.Common/StringExtension.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class StringExtension { diff --git a/src/Microsoft.DocAsCode.Common/TaskHelper.cs b/src/Docfx.Common/TaskHelper.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/TaskHelper.cs rename to src/Docfx.Common/TaskHelper.cs index 517431dc198..480d01dd7b4 100644 --- a/src/Microsoft.DocAsCode.Common/TaskHelper.cs +++ b/src/Docfx.Common/TaskHelper.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class TaskHelper { diff --git a/src/Microsoft.DocAsCode.Common/TreeIterator.cs b/src/Docfx.Common/TreeIterator.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/TreeIterator.cs rename to src/Docfx.Common/TreeIterator.cs index ba63dc1f5ec..c042bdcd887 100644 --- a/src/Microsoft.DocAsCode.Common/TreeIterator.cs +++ b/src/Docfx.Common/TreeIterator.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class TreeIterator { diff --git a/src/Microsoft.DocAsCode.Common/UriTemplates/UriTemplate.cs b/src/Docfx.Common/UriTemplates/UriTemplate.cs similarity index 97% rename from src/Microsoft.DocAsCode.Common/UriTemplates/UriTemplate.cs rename to src/Docfx.Common/UriTemplates/UriTemplate.cs index ed12a369ad1..cb4a3fa1004 100644 --- a/src/Microsoft.DocAsCode.Common/UriTemplates/UriTemplate.cs +++ b/src/Docfx.Common/UriTemplates/UriTemplate.cs @@ -3,9 +3,9 @@ using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class UriTemplate { diff --git a/src/Microsoft.DocAsCode.Common/UriTemplates/UriTemplateHelper.cs b/src/Docfx.Common/UriTemplates/UriTemplateHelper.cs similarity index 84% rename from src/Microsoft.DocAsCode.Common/UriTemplates/UriTemplateHelper.cs rename to src/Docfx.Common/UriTemplates/UriTemplateHelper.cs index e81b5ea3248..2348d8b9485 100644 --- a/src/Microsoft.DocAsCode.Common/UriTemplates/UriTemplateHelper.cs +++ b/src/Docfx.Common/UriTemplates/UriTemplateHelper.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class UriTemplate { diff --git a/src/Microsoft.DocAsCode.Common/UriUtility.cs b/src/Docfx.Common/UriUtility.cs similarity index 99% rename from src/Microsoft.DocAsCode.Common/UriUtility.cs rename to src/Docfx.Common/UriUtility.cs index 23c82da098c..6bb658c7183 100644 --- a/src/Microsoft.DocAsCode.Common/UriUtility.cs +++ b/src/Docfx.Common/UriUtility.cs @@ -3,7 +3,7 @@ using System.Web; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class UriUtility { diff --git a/src/Microsoft.DocAsCode.Common/XHtmlWriter.cs b/src/Docfx.Common/XHtmlWriter.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/XHtmlWriter.cs rename to src/Docfx.Common/XHtmlWriter.cs index 88ecd78ae5c..cfd5798eff9 100644 --- a/src/Microsoft.DocAsCode.Common/XHtmlWriter.cs +++ b/src/Docfx.Common/XHtmlWriter.cs @@ -3,7 +3,7 @@ /// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class XHtmlWriter : XmlWriter { diff --git a/src/Microsoft.DocAsCode.Common/XrefUtility.cs b/src/Docfx.Common/XrefUtility.cs similarity index 91% rename from src/Microsoft.DocAsCode.Common/XrefUtility.cs rename to src/Docfx.Common/XrefUtility.cs index e860a9dc942..d422b1370cf 100644 --- a/src/Microsoft.DocAsCode.Common/XrefUtility.cs +++ b/src/Docfx.Common/XrefUtility.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class XrefUtility { diff --git a/src/Microsoft.DocAsCode.Common/YamlDeserializerWithFallback.cs b/src/Docfx.Common/YamlDeserializerWithFallback.cs similarity index 98% rename from src/Microsoft.DocAsCode.Common/YamlDeserializerWithFallback.cs rename to src/Docfx.Common/YamlDeserializerWithFallback.cs index 3023c31c213..ac34aaeab9b 100644 --- a/src/Microsoft.DocAsCode.Common/YamlDeserializerWithFallback.cs +++ b/src/Docfx.Common/YamlDeserializerWithFallback.cs @@ -3,7 +3,7 @@ using YamlDotNet.Core; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public class YamlDeserializerWithFallback { diff --git a/src/Microsoft.DocAsCode.Common/YamlMime.cs b/src/Docfx.Common/YamlMime.cs similarity index 94% rename from src/Microsoft.DocAsCode.Common/YamlMime.cs rename to src/Docfx.Common/YamlMime.cs index 93f53a8d8f0..05317077eb8 100644 --- a/src/Microsoft.DocAsCode.Common/YamlMime.cs +++ b/src/Docfx.Common/YamlMime.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class YamlMime { diff --git a/src/Microsoft.DocAsCode.Common/YamlUtility.cs b/src/Docfx.Common/YamlUtility.cs similarity index 90% rename from src/Microsoft.DocAsCode.Common/YamlUtility.cs rename to src/Docfx.Common/YamlUtility.cs index 930b6268e02..ba21e058e4b 100644 --- a/src/Microsoft.DocAsCode.Common/YamlUtility.cs +++ b/src/Docfx.Common/YamlUtility.cs @@ -3,12 +3,12 @@ using System.Text; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Plugins; +using Docfx.YamlSerialization; -using YamlDeserializer = Microsoft.DocAsCode.YamlSerialization.YamlDeserializer; +using YamlDeserializer = Docfx.YamlSerialization.YamlDeserializer; -namespace Microsoft.DocAsCode.Common; +namespace Docfx.Common; public static class YamlUtility { diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/MarkdownContentAttribute.cs b/src/Docfx.DataContracts.Common/Attributes/MarkdownContentAttribute.cs similarity index 84% rename from src/Microsoft.DocAsCode.DataContracts.Common/Attributes/MarkdownContentAttribute.cs rename to src/Docfx.DataContracts.Common/Attributes/MarkdownContentAttribute.cs index 87cf92bab69..47f3afb5c7f 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/MarkdownContentAttribute.cs +++ b/src/Docfx.DataContracts.Common/Attributes/MarkdownContentAttribute.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public class MarkdownContentAttribute : Attribute diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/MarkdownContentIgnoreAttribute.cs b/src/Docfx.DataContracts.Common/Attributes/MarkdownContentIgnoreAttribute.cs similarity index 84% rename from src/Microsoft.DocAsCode.DataContracts.Common/Attributes/MarkdownContentIgnoreAttribute.cs rename to src/Docfx.DataContracts.Common/Attributes/MarkdownContentIgnoreAttribute.cs index 7377efc0b1d..842946f0d36 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/MarkdownContentIgnoreAttribute.cs +++ b/src/Docfx.DataContracts.Common/Attributes/MarkdownContentIgnoreAttribute.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public class MarkdownContentIgnoreAttribute : Attribute diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UniqueIdentityReferenceAttribute.cs b/src/Docfx.DataContracts.Common/Attributes/UniqueIdentityReferenceAttribute.cs similarity index 84% rename from src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UniqueIdentityReferenceAttribute.cs rename to src/Docfx.DataContracts.Common/Attributes/UniqueIdentityReferenceAttribute.cs index 35b1a2a981c..0e574a6d215 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UniqueIdentityReferenceAttribute.cs +++ b/src/Docfx.DataContracts.Common/Attributes/UniqueIdentityReferenceAttribute.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public class UniqueIdentityReferenceAttribute : Attribute diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UniqueIdentityReferenceIgnoreAttribute.cs b/src/Docfx.DataContracts.Common/Attributes/UniqueIdentityReferenceIgnoreAttribute.cs similarity index 85% rename from src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UniqueIdentityReferenceIgnoreAttribute.cs rename to src/Docfx.DataContracts.Common/Attributes/UniqueIdentityReferenceIgnoreAttribute.cs index 93a628f3f70..df9c29c7e66 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UniqueIdentityReferenceIgnoreAttribute.cs +++ b/src/Docfx.DataContracts.Common/Attributes/UniqueIdentityReferenceIgnoreAttribute.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public class UniqueIdentityReferenceIgnoreAttribute : Attribute diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UrlContentAttribute.cs b/src/Docfx.DataContracts.Common/Attributes/UrlContentAttribute.cs similarity index 84% rename from src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UrlContentAttribute.cs rename to src/Docfx.DataContracts.Common/Attributes/UrlContentAttribute.cs index dcb8fb06ec1..b67e5408931 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UrlContentAttribute.cs +++ b/src/Docfx.DataContracts.Common/Attributes/UrlContentAttribute.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public class UrlContentAttribute : Attribute diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UrlContentIgnoreAttribute.cs b/src/Docfx.DataContracts.Common/Attributes/UrlContentIgnoreAttribute.cs similarity index 84% rename from src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UrlContentIgnoreAttribute.cs rename to src/Docfx.DataContracts.Common/Attributes/UrlContentIgnoreAttribute.cs index 2cc51eb98fd..266e04e9bd1 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/Attributes/UrlContentIgnoreAttribute.cs +++ b/src/Docfx.DataContracts.Common/Attributes/UrlContentIgnoreAttribute.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = false)] public class UrlContentIgnoreAttribute : Attribute diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/Constants.cs b/src/Docfx.DataContracts.Common/Constants.cs similarity index 98% rename from src/Microsoft.DocAsCode.DataContracts.Common/Constants.cs rename to src/Docfx.DataContracts.Common/Constants.cs index e30a7dd61ac..7732d165ed6 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/Constants.cs +++ b/src/Docfx.DataContracts.Common/Constants.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; public static class Constants { diff --git a/src/Docfx.DataContracts.Common/Docfx.DataContracts.Common.csproj b/src/Docfx.DataContracts.Common/Docfx.DataContracts.Common.csproj new file mode 100644 index 00000000000..fafa6a9259a --- /dev/null +++ b/src/Docfx.DataContracts.Common/Docfx.DataContracts.Common.csproj @@ -0,0 +1,5 @@ + + + + + diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageCollection.cs b/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageCollection.cs similarity index 97% rename from src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageCollection.cs rename to src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageCollection.cs index e98d4c7a5c6..281bdc7baef 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageCollection.cs +++ b/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageCollection.cs @@ -1,8 +1,8 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; public class ExternalReferencePackageCollection : IDisposable { diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs b/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs similarity index 98% rename from src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs rename to src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs index b057f90a600..d1e0f1ebdac 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs +++ b/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageReader.cs @@ -3,11 +3,11 @@ using System.IO.Compression; -using Microsoft.DocAsCode.Common; +using Docfx.Common; using YamlDotNet.Core; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; public class ExternalReferencePackageReader : IDisposable { diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageWriter.cs b/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageWriter.cs similarity index 95% rename from src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageWriter.cs rename to src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageWriter.cs index 79279777c96..053f2ecfadb 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/ExternalReferences/ExternalReferencePackageWriter.cs +++ b/src/Docfx.DataContracts.Common/ExternalReferences/ExternalReferencePackageWriter.cs @@ -3,9 +3,9 @@ using System.IO.Compression; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; public class ExternalReferencePackageWriter : IDisposable { diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/IOverwriteDocumentViewModel.cs b/src/Docfx.DataContracts.Common/IOverwriteDocumentViewModel.cs similarity index 92% rename from src/Microsoft.DocAsCode.DataContracts.Common/IOverwriteDocumentViewModel.cs rename to src/Docfx.DataContracts.Common/IOverwriteDocumentViewModel.cs index 6e983ee870a..1d00b01ec42 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/IOverwriteDocumentViewModel.cs +++ b/src/Docfx.DataContracts.Common/IOverwriteDocumentViewModel.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; public interface IOverwriteDocumentViewModel { diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/JTokenConverter.cs b/src/Docfx.DataContracts.Common/JTokenConverter.cs similarity index 90% rename from src/Microsoft.DocAsCode.DataContracts.Common/JTokenConverter.cs rename to src/Docfx.DataContracts.Common/JTokenConverter.cs index 3d9b208479e..5b5871ce31e 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/JTokenConverter.cs +++ b/src/Docfx.DataContracts.Common/JTokenConverter.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; public static class JTokenConverter { diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/ReferenceViewModel.cs b/src/Docfx.DataContracts.Common/ReferenceViewModel.cs similarity index 96% rename from src/Microsoft.DocAsCode.DataContracts.Common/ReferenceViewModel.cs rename to src/Docfx.DataContracts.Common/ReferenceViewModel.cs index 9a5af62a142..c8ba39712c4 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/ReferenceViewModel.cs +++ b/src/Docfx.DataContracts.Common/ReferenceViewModel.cs @@ -2,12 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [Serializable] public class ReferenceViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/SourceDetail.cs b/src/Docfx.DataContracts.Common/SourceDetail.cs similarity index 94% rename from src/Microsoft.DocAsCode.DataContracts.Common/SourceDetail.cs rename to src/Docfx.DataContracts.Common/SourceDetail.cs index c207a2fd172..affca8c39b8 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/SourceDetail.cs +++ b/src/Docfx.DataContracts.Common/SourceDetail.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.Git; +using Docfx.Common.Git; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [Serializable] public class SourceDetail diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/SpecViewModel.cs b/src/Docfx.DataContracts.Common/SpecViewModel.cs similarity index 93% rename from src/Microsoft.DocAsCode.DataContracts.Common/SpecViewModel.cs rename to src/Docfx.DataContracts.Common/SpecViewModel.cs index 5be4858d564..618e73bd31a 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/SpecViewModel.cs +++ b/src/Docfx.DataContracts.Common/SpecViewModel.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [Serializable] public class SpecViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/TocItemViewModel.cs b/src/Docfx.DataContracts.Common/TocItemViewModel.cs similarity index 97% rename from src/Microsoft.DocAsCode.DataContracts.Common/TocItemViewModel.cs rename to src/Docfx.DataContracts.Common/TocItemViewModel.cs index 0841ac2ccf2..c1e9cfde264 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/TocItemViewModel.cs +++ b/src/Docfx.DataContracts.Common/TocItemViewModel.cs @@ -2,12 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [Serializable] public class TocItemViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/TocRootViewModel.cs b/src/Docfx.DataContracts.Common/TocRootViewModel.cs similarity index 83% rename from src/Microsoft.DocAsCode.DataContracts.Common/TocRootViewModel.cs rename to src/Docfx.DataContracts.Common/TocRootViewModel.cs index 1d562a8a60e..e58104f006a 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/TocRootViewModel.cs +++ b/src/Docfx.DataContracts.Common/TocRootViewModel.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [Serializable] public class TocRootViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/TocViewModel.cs b/src/Docfx.DataContracts.Common/TocViewModel.cs similarity index 89% rename from src/Microsoft.DocAsCode.DataContracts.Common/TocViewModel.cs rename to src/Docfx.DataContracts.Common/TocViewModel.cs index b13a9bf22ee..8b010c594e3 100644 --- a/src/Microsoft.DocAsCode.DataContracts.Common/TocViewModel.cs +++ b/src/Docfx.DataContracts.Common/TocViewModel.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.Common; +namespace Docfx.DataContracts.Common; [Serializable] public class TocViewModel diff --git a/src/Docfx.DataContracts.RestApi/Docfx.DataContracts.RestApi.csproj b/src/Docfx.DataContracts.RestApi/Docfx.DataContracts.RestApi.csproj new file mode 100644 index 00000000000..6c17eaf9cd0 --- /dev/null +++ b/src/Docfx.DataContracts.RestApi/Docfx.DataContracts.RestApi.csproj @@ -0,0 +1,7 @@ + + + + + + + diff --git a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiChildItemViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiChildItemViewModel.cs similarity index 91% rename from src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiChildItemViewModel.cs rename to src/Docfx.DataContracts.RestApi/RestApiChildItemViewModel.cs index 539a19e294f..d14fc1192df 100644 --- a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiChildItemViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiChildItemViewModel.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.DataContracts.Common; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.RestApi; +namespace Docfx.DataContracts.RestApi; [Serializable] public class RestApiChildItemViewModel : RestApiItemViewModelBase diff --git a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiItemViewModelBase.cs b/src/Docfx.DataContracts.RestApi/RestApiItemViewModelBase.cs similarity index 88% rename from src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiItemViewModelBase.cs rename to src/Docfx.DataContracts.RestApi/RestApiItemViewModelBase.cs index 625b7bf9266..c602713be71 100644 --- a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiItemViewModelBase.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiItemViewModelBase.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.RestApi; +namespace Docfx.DataContracts.RestApi; [Serializable] public class RestApiItemViewModelBase : IOverwriteDocumentViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiParameterViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiParameterViewModel.cs similarity index 81% rename from src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiParameterViewModel.cs rename to src/Docfx.DataContracts.RestApi/RestApiParameterViewModel.cs index 0439ec26dda..19f05711a37 100644 --- a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiParameterViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiParameterViewModel.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common.EntityMergers; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.RestApi; +namespace Docfx.DataContracts.RestApi; [Serializable] public class RestApiParameterViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiResponseExampleViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiResponseExampleViewModel.cs similarity index 89% rename from src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiResponseExampleViewModel.cs rename to src/Docfx.DataContracts.RestApi/RestApiResponseExampleViewModel.cs index 0cb69c6c4ec..9ad33f1a273 100644 --- a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiResponseExampleViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiResponseExampleViewModel.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.RestApi; +namespace Docfx.DataContracts.RestApi; [Serializable] public class RestApiResponseExampleViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiResponseViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiResponseViewModel.cs similarity index 86% rename from src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiResponseViewModel.cs rename to src/Docfx.DataContracts.RestApi/RestApiResponseViewModel.cs index 4e8ff11d9cb..f47336fe5da 100644 --- a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiResponseViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiResponseViewModel.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common.EntityMergers; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.RestApi; +namespace Docfx.DataContracts.RestApi; [Serializable] public class RestApiResponseViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiRootItemViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiRootItemViewModel.cs similarity index 88% rename from src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiRootItemViewModel.cs rename to src/Docfx.DataContracts.RestApi/RestApiRootItemViewModel.cs index fe49fcf4804..0f2e08ca4c2 100644 --- a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiRootItemViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiRootItemViewModel.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; +using Docfx.Common.EntityMergers; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.RestApi; +namespace Docfx.DataContracts.RestApi; [Serializable] public class RestApiRootItemViewModel : RestApiItemViewModelBase diff --git a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiTagViewModel.cs b/src/Docfx.DataContracts.RestApi/RestApiTagViewModel.cs similarity index 87% rename from src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiTagViewModel.cs rename to src/Docfx.DataContracts.RestApi/RestApiTagViewModel.cs index 5a070965873..a49fbb69f96 100644 --- a/src/Microsoft.DocAsCode.DataContracts.RestApi/RestApiTagViewModel.cs +++ b/src/Docfx.DataContracts.RestApi/RestApiTagViewModel.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.RestApi; +namespace Docfx.DataContracts.RestApi; [Serializable] public class RestApiTagViewModel : IOverwriteDocumentViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/ApiParameter.cs b/src/Docfx.DataContracts.UniversalReference/ApiParameter.cs similarity index 85% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/ApiParameter.cs rename to src/Docfx.DataContracts.UniversalReference/ApiParameter.cs index 2a234d6d260..ba6bd3b1d25 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/ApiParameter.cs +++ b/src/Docfx.DataContracts.UniversalReference/ApiParameter.cs @@ -1,14 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class ApiParameter diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/ArgumentInfo.cs b/src/Docfx.DataContracts.UniversalReference/ArgumentInfo.cs similarity index 79% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/ArgumentInfo.cs rename to src/Docfx.DataContracts.UniversalReference/ArgumentInfo.cs index 6e5a9e8d663..ccc25f0f640 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/ArgumentInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/ArgumentInfo.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class ArgumentInfo diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/AttributeInfo.cs b/src/Docfx.DataContracts.UniversalReference/AttributeInfo.cs similarity index 85% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/AttributeInfo.cs rename to src/Docfx.DataContracts.UniversalReference/AttributeInfo.cs index b4b63b80095..02fc511cad7 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/AttributeInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/AttributeInfo.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class AttributeInfo diff --git a/src/Docfx.DataContracts.UniversalReference/Docfx.DataContracts.UniversalReference.csproj b/src/Docfx.DataContracts.UniversalReference/Docfx.DataContracts.UniversalReference.csproj new file mode 100644 index 00000000000..9a8454b8e26 --- /dev/null +++ b/src/Docfx.DataContracts.UniversalReference/Docfx.DataContracts.UniversalReference.csproj @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/ExceptionInfo.cs b/src/Docfx.DataContracts.UniversalReference/ExceptionInfo.cs similarity index 77% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/ExceptionInfo.cs rename to src/Docfx.DataContracts.UniversalReference/ExceptionInfo.cs index da784d547f6..4c6d774914d 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/ExceptionInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/ExceptionInfo.cs @@ -1,14 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class ExceptionInfo diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/InheritanceTree.cs b/src/Docfx.DataContracts.UniversalReference/InheritanceTree.cs similarity index 81% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/InheritanceTree.cs rename to src/Docfx.DataContracts.UniversalReference/InheritanceTree.cs index 2994c8e9405..c1f680ccf51 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/InheritanceTree.cs +++ b/src/Docfx.DataContracts.UniversalReference/InheritanceTree.cs @@ -1,14 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class InheritanceTree diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/ItemViewModel.cs b/src/Docfx.DataContracts.UniversalReference/ItemViewModel.cs similarity index 98% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/ItemViewModel.cs rename to src/Docfx.DataContracts.UniversalReference/ItemViewModel.cs index 93e1699c41b..ffc810438e7 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/ItemViewModel.cs +++ b/src/Docfx.DataContracts.UniversalReference/ItemViewModel.cs @@ -3,15 +3,15 @@ using System.ComponentModel; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class ItemViewModel : IOverwriteDocumentViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/LinkInfo.cs b/src/Docfx.DataContracts.UniversalReference/LinkInfo.cs similarity index 83% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/LinkInfo.cs rename to src/Docfx.DataContracts.UniversalReference/LinkInfo.cs index 0be131f3e54..f49c2dd008a 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/LinkInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/LinkInfo.cs @@ -1,14 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class LinkInfo diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/NamedArgumentInfo.cs b/src/Docfx.DataContracts.UniversalReference/NamedArgumentInfo.cs similarity index 82% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/NamedArgumentInfo.cs rename to src/Docfx.DataContracts.UniversalReference/NamedArgumentInfo.cs index efcab316541..45788846cb3 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/NamedArgumentInfo.cs +++ b/src/Docfx.DataContracts.UniversalReference/NamedArgumentInfo.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class NamedArgumentInfo diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/PageViewModel.cs b/src/Docfx.DataContracts.UniversalReference/PageViewModel.cs similarity index 85% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/PageViewModel.cs rename to src/Docfx.DataContracts.UniversalReference/PageViewModel.cs index f750be5b2f7..aad945c4189 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/PageViewModel.cs +++ b/src/Docfx.DataContracts.UniversalReference/PageViewModel.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class PageViewModel diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/SyntaxDetailViewModel.cs b/src/Docfx.DataContracts.UniversalReference/SyntaxDetailViewModel.cs similarity index 91% rename from src/Microsoft.DocAsCode.DataContracts.UniversalReference/SyntaxDetailViewModel.cs rename to src/Docfx.DataContracts.UniversalReference/SyntaxDetailViewModel.cs index 41e7344745b..917e1282629 100644 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/SyntaxDetailViewModel.cs +++ b/src/Docfx.DataContracts.UniversalReference/SyntaxDetailViewModel.cs @@ -3,14 +3,14 @@ using System.ComponentModel; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.UniversalReference; +namespace Docfx.DataContracts.UniversalReference; [Serializable] public class SyntaxDetailViewModel diff --git a/src/Microsoft.DocAsCode.Dotnet/CompilationHelper.cs b/src/Docfx.Dotnet/CompilationHelper.cs similarity index 98% rename from src/Microsoft.DocAsCode.Dotnet/CompilationHelper.cs rename to src/Docfx.Dotnet/CompilationHelper.cs index 07167ec722b..4cfeeca0a4e 100644 --- a/src/Microsoft.DocAsCode.Dotnet/CompilationHelper.cs +++ b/src/Docfx.Dotnet/CompilationHelper.cs @@ -3,13 +3,13 @@ using ICSharpCode.Decompiler.Metadata; using Microsoft.CodeAnalysis; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; +using Docfx.Common; +using Docfx.Exceptions; using CS = Microsoft.CodeAnalysis.CSharp; using VB = Microsoft.CodeAnalysis.VisualBasic; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal static class CompilationHelper { diff --git a/src/Microsoft.DocAsCode.Dotnet/Microsoft.DocAsCode.Dotnet.csproj b/src/Docfx.Dotnet/Docfx.Dotnet.csproj similarity index 67% rename from src/Microsoft.DocAsCode.Dotnet/Microsoft.DocAsCode.Dotnet.csproj rename to src/Docfx.Dotnet/Docfx.Dotnet.csproj index 167db2bbcd2..678b7de0328 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Microsoft.DocAsCode.Dotnet.csproj +++ b/src/Docfx.Dotnet/Docfx.Dotnet.csproj @@ -6,16 +6,16 @@ - - + + - - - - - + + + + + diff --git a/src/Microsoft.DocAsCode.Dotnet/DotnetApiCatalog.cs b/src/Docfx.Dotnet/DotnetApiCatalog.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/DotnetApiCatalog.cs rename to src/Docfx.Dotnet/DotnetApiCatalog.cs index 8755e7bbcc0..1e638fd76f6 100644 --- a/src/Microsoft.DocAsCode.Dotnet/DotnetApiCatalog.cs +++ b/src/Docfx.Dotnet/DotnetApiCatalog.cs @@ -2,12 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.Build.Locator; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.Plugins; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; /// /// Provides access to a .NET API definitions and their associated documentation. diff --git a/src/Microsoft.DocAsCode.Dotnet/DotnetApiOptions.cs b/src/Docfx.Dotnet/DotnetApiOptions.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/DotnetApiOptions.cs rename to src/Docfx.Dotnet/DotnetApiOptions.cs index 91df9be128b..7b6d79fe307 100644 --- a/src/Microsoft.DocAsCode.Dotnet/DotnetApiOptions.cs +++ b/src/Docfx.Dotnet/DotnetApiOptions.cs @@ -5,7 +5,7 @@ #nullable enable -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; /// /// Return state of the and callbacks. diff --git a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ApiReferenceViewModel.cs b/src/Docfx.Dotnet/ExtractMetadata/ApiReferenceViewModel.cs similarity index 84% rename from src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ApiReferenceViewModel.cs rename to src/Docfx.Dotnet/ExtractMetadata/ApiReferenceViewModel.cs index c94e3c5341e..b349fc38f60 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ApiReferenceViewModel.cs +++ b/src/Docfx.Dotnet/ExtractMetadata/ApiReferenceViewModel.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class ApiReferenceViewModel : SortedDictionary { diff --git a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataConfig.cs b/src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataConfig.cs similarity index 96% rename from src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataConfig.cs rename to src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataConfig.cs index e6360adbd2a..befe01cdaff 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataConfig.cs +++ b/src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataConfig.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class ExtractMetadataConfig { diff --git a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataException.cs b/src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataException.cs similarity index 90% rename from src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataException.cs rename to src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataException.cs index f24aa0a1db6..899bbdcafd3 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataException.cs +++ b/src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataException.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Exceptions; +namespace Docfx.Exceptions; internal class ExtractMetadataException : DocfxException { diff --git a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataWorker.cs b/src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataWorker.cs similarity index 98% rename from src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataWorker.cs rename to src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataWorker.cs index 100fece99e5..85341681ccc 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ExtractMetadataWorker.cs +++ b/src/Docfx.Dotnet/ExtractMetadata/ExtractMetadataWorker.cs @@ -10,11 +10,11 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.MSBuild; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class ExtractMetadataWorker : IDisposable { diff --git a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/MetadataItem.cs b/src/Docfx.Dotnet/ExtractMetadata/MetadataItem.cs similarity index 95% rename from src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/MetadataItem.cs rename to src/Docfx.Dotnet/ExtractMetadata/MetadataItem.cs index 4108afe0a78..6a6e6a561a0 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/MetadataItem.cs +++ b/src/Docfx.Dotnet/ExtractMetadata/MetadataItem.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class MetadataItem : ICloneable { diff --git a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/MetadataModel.cs b/src/Docfx.Dotnet/ExtractMetadata/MetadataModel.cs similarity index 88% rename from src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/MetadataModel.cs rename to src/Docfx.Dotnet/ExtractMetadata/MetadataModel.cs index 210b8f4df39..f973a4e5c33 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/MetadataModel.cs +++ b/src/Docfx.Dotnet/ExtractMetadata/MetadataModel.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class MetadataModel { diff --git a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ReferenceItem.cs b/src/Docfx.Dotnet/ExtractMetadata/ReferenceItem.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ReferenceItem.cs rename to src/Docfx.Dotnet/ExtractMetadata/ReferenceItem.cs index 9270ad756b3..47cd764ab05 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/ReferenceItem.cs +++ b/src/Docfx.Dotnet/ExtractMetadata/ReferenceItem.cs @@ -2,12 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class ReferenceItem { diff --git a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/SyntaxDetail.cs b/src/Docfx.Dotnet/ExtractMetadata/SyntaxDetail.cs similarity index 88% rename from src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/SyntaxDetail.cs rename to src/Docfx.Dotnet/ExtractMetadata/SyntaxDetail.cs index 39f5328fb60..81ec5d533b9 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ExtractMetadata/SyntaxDetail.cs +++ b/src/Docfx.Dotnet/ExtractMetadata/SyntaxDetail.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class SyntaxDetail { diff --git a/src/Microsoft.DocAsCode.Dotnet/FileInformation.cs b/src/Docfx.Dotnet/FileInformation.cs similarity index 93% rename from src/Microsoft.DocAsCode.Dotnet/FileInformation.cs rename to src/Docfx.Dotnet/FileInformation.cs index 42c87761829..84acaab89b2 100644 --- a/src/Microsoft.DocAsCode.Dotnet/FileInformation.cs +++ b/src/Docfx.Dotnet/FileInformation.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class FileInformation { diff --git a/src/Microsoft.DocAsCode.Dotnet/FileType.cs b/src/Docfx.Dotnet/FileType.cs similarity index 87% rename from src/Microsoft.DocAsCode.Dotnet/FileType.cs rename to src/Docfx.Dotnet/FileType.cs index b4fc02933d3..76d40118669 100644 --- a/src/Microsoft.DocAsCode.Dotnet/FileType.cs +++ b/src/Docfx.Dotnet/FileType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal enum FileType { diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/AttributeFilterData.cs b/src/Docfx.Dotnet/Filters/AttributeFilterData.cs similarity index 90% rename from src/Microsoft.DocAsCode.Dotnet/Filters/AttributeFilterData.cs rename to src/Docfx.Dotnet/Filters/AttributeFilterData.cs index 6b7da7b631e..a69ca4a1aad 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/AttributeFilterData.cs +++ b/src/Docfx.Dotnet/Filters/AttributeFilterData.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class AttributeFilterData { diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/AttributeFilterInfo.cs b/src/Docfx.Dotnet/Filters/AttributeFilterInfo.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/Filters/AttributeFilterInfo.cs rename to src/Docfx.Dotnet/Filters/AttributeFilterInfo.cs index 9da06951935..2c2a35de0f8 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/AttributeFilterInfo.cs +++ b/src/Docfx.Dotnet/Filters/AttributeFilterInfo.cs @@ -3,7 +3,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; [Serializable] internal class AttributeFilterInfo diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRule.cs b/src/Docfx.Dotnet/Filters/ConfigFilterRule.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRule.cs rename to src/Docfx.Dotnet/Filters/ConfigFilterRule.cs index 3aee2cf8f92..f4ca636fcab 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRule.cs +++ b/src/Docfx.Dotnet/Filters/ConfigFilterRule.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Reflection; -using Microsoft.DocAsCode.Common; +using Docfx.Common; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; [Serializable] internal class ConfigFilterRule diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleExcludeItem.cs b/src/Docfx.Dotnet/Filters/ConfigFilterRuleExcludeItem.cs similarity index 90% rename from src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleExcludeItem.cs rename to src/Docfx.Dotnet/Filters/ConfigFilterRuleExcludeItem.cs index e3512ccd691..7128f15bcab 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleExcludeItem.cs +++ b/src/Docfx.Dotnet/Filters/ConfigFilterRuleExcludeItem.cs @@ -3,7 +3,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; [Serializable] internal class ConfigFilterRuleExcludeItem : ConfigFilterRuleItem diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleIncludeItem.cs b/src/Docfx.Dotnet/Filters/ConfigFilterRuleIncludeItem.cs similarity index 90% rename from src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleIncludeItem.cs rename to src/Docfx.Dotnet/Filters/ConfigFilterRuleIncludeItem.cs index 68bf3b74f18..d28328d9be3 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleIncludeItem.cs +++ b/src/Docfx.Dotnet/Filters/ConfigFilterRuleIncludeItem.cs @@ -3,7 +3,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; [Serializable] internal class ConfigFilterRuleIncludeItem : ConfigFilterRuleItem diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleItem.cs b/src/Docfx.Dotnet/Filters/ConfigFilterRuleItem.cs similarity index 96% rename from src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleItem.cs rename to src/Docfx.Dotnet/Filters/ConfigFilterRuleItem.cs index a8bc4a175c7..de0caa28345 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleItem.cs +++ b/src/Docfx.Dotnet/Filters/ConfigFilterRuleItem.cs @@ -5,7 +5,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal abstract class ConfigFilterRuleItem { diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleItemUnion.cs b/src/Docfx.Dotnet/Filters/ConfigFilterRuleItemUnion.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleItemUnion.cs rename to src/Docfx.Dotnet/Filters/ConfigFilterRuleItemUnion.cs index 9ec676597f7..82ccc8498e0 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/ConfigFilterRuleItemUnion.cs +++ b/src/Docfx.Dotnet/Filters/ConfigFilterRuleItemUnion.cs @@ -3,7 +3,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; [Serializable] internal class ConfigFilterRuleItemUnion diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/ExtendedSymbolKind.cs b/src/Docfx.Dotnet/Filters/ExtendedSymbolKind.cs similarity index 94% rename from src/Microsoft.DocAsCode.Dotnet/Filters/ExtendedSymbolKind.cs rename to src/Docfx.Dotnet/Filters/ExtendedSymbolKind.cs index 5abdcc9b0f1..a8502c78cc6 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/ExtendedSymbolKind.cs +++ b/src/Docfx.Dotnet/Filters/ExtendedSymbolKind.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal enum ExtendedSymbolKind { diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/RoslynFilterData.cs b/src/Docfx.Dotnet/Filters/RoslynFilterData.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/Filters/RoslynFilterData.cs rename to src/Docfx.Dotnet/Filters/RoslynFilterData.cs index 12dd00bf45c..9b23bbbfa70 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/RoslynFilterData.cs +++ b/src/Docfx.Dotnet/Filters/RoslynFilterData.cs @@ -3,7 +3,7 @@ using Microsoft.CodeAnalysis; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class RoslynFilterData { diff --git a/src/Microsoft.DocAsCode.Dotnet/Filters/SymbolFilterData.cs b/src/Docfx.Dotnet/Filters/SymbolFilterData.cs similarity index 89% rename from src/Microsoft.DocAsCode.Dotnet/Filters/SymbolFilterData.cs rename to src/Docfx.Dotnet/Filters/SymbolFilterData.cs index a3b6b6f0a5f..8179d09784a 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Filters/SymbolFilterData.cs +++ b/src/Docfx.Dotnet/Filters/SymbolFilterData.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class SymbolFilterData { diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/AdditionalNotes.cs b/src/Docfx.Dotnet/ManagedReference/AdditionalNotes.cs similarity index 85% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/AdditionalNotes.cs rename to src/Docfx.Dotnet/ManagedReference/AdditionalNotes.cs index 6b4357bf42c..3024f8be024 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/AdditionalNotes.cs +++ b/src/Docfx.Dotnet/ManagedReference/AdditionalNotes.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.DataContracts.Common; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class AdditionalNotes diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/ApiParameter.cs b/src/Docfx.Dotnet/ManagedReference/ApiParameter.cs similarity index 83% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/ApiParameter.cs rename to src/Docfx.Dotnet/ManagedReference/ApiParameter.cs index a32fcadff83..dd2fed18b6d 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/ApiParameter.cs +++ b/src/Docfx.Dotnet/ManagedReference/ApiParameter.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class ApiParameter diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/ArgumentInfo.cs b/src/Docfx.Dotnet/ManagedReference/ArgumentInfo.cs similarity index 81% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/ArgumentInfo.cs rename to src/Docfx.Dotnet/ManagedReference/ArgumentInfo.cs index 9783a351782..0c9fbb9efe8 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/ArgumentInfo.cs +++ b/src/Docfx.Dotnet/ManagedReference/ArgumentInfo.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.DataContracts.Common; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class ArgumentInfo diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/AttributeInfo.cs b/src/Docfx.Dotnet/ManagedReference/AttributeInfo.cs similarity index 87% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/AttributeInfo.cs rename to src/Docfx.Dotnet/ManagedReference/AttributeInfo.cs index 747fc26dd65..0db45260aa7 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/AttributeInfo.cs +++ b/src/Docfx.Dotnet/ManagedReference/AttributeInfo.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.DataContracts.Common; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class AttributeInfo diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/ExceptionInfo.cs b/src/Docfx.Dotnet/ManagedReference/ExceptionInfo.cs similarity index 84% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/ExceptionInfo.cs rename to src/Docfx.Dotnet/ManagedReference/ExceptionInfo.cs index a37f2f49b9a..1f6491692df 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/ExceptionInfo.cs +++ b/src/Docfx.Dotnet/ManagedReference/ExceptionInfo.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class ExceptionInfo diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/ItemViewModel.cs b/src/Docfx.Dotnet/ManagedReference/ItemViewModel.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/ItemViewModel.cs rename to src/Docfx.Dotnet/ManagedReference/ItemViewModel.cs index 12262db33cc..a1c9747eeb2 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/ItemViewModel.cs +++ b/src/Docfx.Dotnet/ManagedReference/ItemViewModel.cs @@ -3,15 +3,15 @@ using System.ComponentModel; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class ItemViewModel : IOverwriteDocumentViewModel diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/LinkInfo.cs b/src/Docfx.Dotnet/ManagedReference/LinkInfo.cs similarity index 86% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/LinkInfo.cs rename to src/Docfx.Dotnet/ManagedReference/LinkInfo.cs index 755c92670c9..f19d0c39892 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/LinkInfo.cs +++ b/src/Docfx.Dotnet/ManagedReference/LinkInfo.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.Common.EntityMergers; +using Docfx.DataContracts.Common; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class LinkInfo diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/MemberType.cs b/src/Docfx.Dotnet/ManagedReference/MemberType.cs similarity index 87% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/MemberType.cs rename to src/Docfx.Dotnet/ManagedReference/MemberType.cs index 2ccb620775a..8bfc823733a 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/MemberType.cs +++ b/src/Docfx.Dotnet/ManagedReference/MemberType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public enum MemberType diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/NamedArgumentInfo.cs b/src/Docfx.Dotnet/ManagedReference/NamedArgumentInfo.cs similarity index 83% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/NamedArgumentInfo.cs rename to src/Docfx.Dotnet/ManagedReference/NamedArgumentInfo.cs index 0efe448adfc..dc5fd77bcd3 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/NamedArgumentInfo.cs +++ b/src/Docfx.Dotnet/ManagedReference/NamedArgumentInfo.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.DataContracts.Common; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class NamedArgumentInfo diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/PageViewModel.cs b/src/Docfx.Dotnet/ManagedReference/PageViewModel.cs similarity index 86% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/PageViewModel.cs rename to src/Docfx.Dotnet/ManagedReference/PageViewModel.cs index c676acdfbaa..82b2fe3c29a 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/PageViewModel.cs +++ b/src/Docfx.Dotnet/ManagedReference/PageViewModel.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class PageViewModel diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/SyntaxDetailViewModel.cs b/src/Docfx.Dotnet/ManagedReference/SyntaxDetailViewModel.cs similarity index 92% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/SyntaxDetailViewModel.cs rename to src/Docfx.Dotnet/ManagedReference/SyntaxDetailViewModel.cs index c27b82bb5ca..3444f3f2d80 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/SyntaxDetailViewModel.cs +++ b/src/Docfx.Dotnet/ManagedReference/SyntaxDetailViewModel.cs @@ -3,14 +3,14 @@ using System.ComponentModel; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; [Serializable] public class SyntaxDetailViewModel diff --git a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/SyntaxLanguage.cs b/src/Docfx.Dotnet/ManagedReference/SyntaxLanguage.cs similarity index 76% rename from src/Microsoft.DocAsCode.Dotnet/ManagedReference/SyntaxLanguage.cs rename to src/Docfx.Dotnet/ManagedReference/SyntaxLanguage.cs index 24c0c7b5c06..b8209e46f50 100644 --- a/src/Microsoft.DocAsCode.Dotnet/ManagedReference/SyntaxLanguage.cs +++ b/src/Docfx.Dotnet/ManagedReference/SyntaxLanguage.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.DataContracts.ManagedReference; +namespace Docfx.DataContracts.ManagedReference; public enum SyntaxLanguage { diff --git a/src/Microsoft.DocAsCode.Dotnet/MetadataJsonConfig.cs b/src/Docfx.Dotnet/MetadataJsonConfig.cs similarity index 98% rename from src/Microsoft.DocAsCode.Dotnet/MetadataJsonConfig.cs rename to src/Docfx.Dotnet/MetadataJsonConfig.cs index 5fc7d2f0abe..54fa41b7273 100644 --- a/src/Microsoft.DocAsCode.Dotnet/MetadataJsonConfig.cs +++ b/src/Docfx.Dotnet/MetadataJsonConfig.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode; +namespace Docfx; public enum MemberLayout { diff --git a/src/Microsoft.DocAsCode.Dotnet/Parsers/XmlComment.cs b/src/Docfx.Dotnet/Parsers/XmlComment.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/Parsers/XmlComment.cs rename to src/Docfx.Dotnet/Parsers/XmlComment.cs index 99eedbbd8e6..9d1701b1666 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Parsers/XmlComment.cs +++ b/src/Docfx.Dotnet/Parsers/XmlComment.cs @@ -12,11 +12,11 @@ using Markdig.Renderers.Roundtrip; using Markdig.Syntax; using Markdig.Syntax.Inlines; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class XmlComment { diff --git a/src/Microsoft.DocAsCode.Dotnet/Parsers/XmlCommentParserContext.cs b/src/Docfx.Dotnet/Parsers/XmlCommentParserContext.cs similarity index 82% rename from src/Microsoft.DocAsCode.Dotnet/Parsers/XmlCommentParserContext.cs rename to src/Docfx.Dotnet/Parsers/XmlCommentParserContext.cs index fcd1e32cf2b..9667cd2bcd4 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Parsers/XmlCommentParserContext.cs +++ b/src/Docfx.Dotnet/Parsers/XmlCommentParserContext.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.DataContracts.Common; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class XmlCommentParserContext { diff --git a/src/Microsoft.DocAsCode.Dotnet/Parsers/XmlCommentTransformer.cs b/src/Docfx.Dotnet/Parsers/XmlCommentTransformer.cs similarity index 94% rename from src/Microsoft.DocAsCode.Dotnet/Parsers/XmlCommentTransformer.cs rename to src/Docfx.Dotnet/Parsers/XmlCommentTransformer.cs index d3e2ad0206a..1ba4d4ae170 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Parsers/XmlCommentTransformer.cs +++ b/src/Docfx.Dotnet/Parsers/XmlCommentTransformer.cs @@ -6,9 +6,9 @@ using System.Xml.XPath; using System.Xml.Xsl; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal static class XmlCommentTransformer { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/BuildMembers.cs b/src/Docfx.Dotnet/Resolvers/BuildMembers.cs similarity index 85% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/BuildMembers.cs rename to src/Docfx.Dotnet/Resolvers/BuildMembers.cs index 9db5ae01bff..a582406f8d8 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/BuildMembers.cs +++ b/src/Docfx.Dotnet/Resolvers/BuildMembers.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.Common; +using Docfx.DataContracts.ManagedReference; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class BuildMembers : IResolverPipeline { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/BuildToc.cs b/src/Docfx.Dotnet/Resolvers/BuildToc.cs similarity index 90% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/BuildToc.cs rename to src/Docfx.Dotnet/Resolvers/BuildToc.cs index 9ef997a25ab..12fc23e6a33 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/BuildToc.cs +++ b/src/Docfx.Dotnet/Resolvers/BuildToc.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class BuildToc : IResolverPipeline { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/IResolverPipeline.cs b/src/Docfx.Dotnet/Resolvers/IResolverPipeline.cs similarity index 86% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/IResolverPipeline.cs rename to src/Docfx.Dotnet/Resolvers/IResolverPipeline.cs index 0cb37d81434..ee9ec1fa114 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/IResolverPipeline.cs +++ b/src/Docfx.Dotnet/Resolvers/IResolverPipeline.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal interface IResolverPipeline { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/LayoutCheckAndCleanup.cs b/src/Docfx.Dotnet/Resolvers/LayoutCheckAndCleanup.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/LayoutCheckAndCleanup.cs rename to src/Docfx.Dotnet/Resolvers/LayoutCheckAndCleanup.cs index e6a46056739..1874456f422 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/LayoutCheckAndCleanup.cs +++ b/src/Docfx.Dotnet/Resolvers/LayoutCheckAndCleanup.cs @@ -4,9 +4,9 @@ using System.Diagnostics; using System.Text; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class LayoutCheckAndCleanup : IResolverPipeline { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/NormalizeSyntax.cs b/src/Docfx.Dotnet/Resolvers/NormalizeSyntax.cs similarity index 90% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/NormalizeSyntax.cs rename to src/Docfx.Dotnet/Resolvers/NormalizeSyntax.cs index 84a428c8e97..1fe8e00c895 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/NormalizeSyntax.cs +++ b/src/Docfx.Dotnet/Resolvers/NormalizeSyntax.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.Common; +using Docfx.DataContracts.ManagedReference; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class NormalizeSyntax : IResolverPipeline { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/ResolveReference.cs b/src/Docfx.Dotnet/Resolvers/ResolveReference.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/ResolveReference.cs rename to src/Docfx.Dotnet/Resolvers/ResolveReference.cs index 792ca9c2a7b..19fc13c0744 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/ResolveReference.cs +++ b/src/Docfx.Dotnet/Resolvers/ResolveReference.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.Common; +using Docfx.DataContracts.ManagedReference; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class ResolveReference : IResolverPipeline { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/ResolverContext.cs b/src/Docfx.Dotnet/Resolvers/ResolverContext.cs similarity index 89% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/ResolverContext.cs rename to src/Docfx.Dotnet/Resolvers/ResolverContext.cs index 30b53f26dbd..f8682730c3b 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/ResolverContext.cs +++ b/src/Docfx.Dotnet/Resolvers/ResolverContext.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class ResolverContext { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/SetDerivedClass.cs b/src/Docfx.Dotnet/Resolvers/SetDerivedClass.cs similarity index 95% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/SetDerivedClass.cs rename to src/Docfx.Dotnet/Resolvers/SetDerivedClass.cs index c0ae4c639de..8a9401b2a32 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/SetDerivedClass.cs +++ b/src/Docfx.Dotnet/Resolvers/SetDerivedClass.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class SetDerivedClass : IResolverPipeline { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/SetParent.cs b/src/Docfx.Dotnet/Resolvers/SetParent.cs similarity index 87% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/SetParent.cs rename to src/Docfx.Dotnet/Resolvers/SetParent.cs index f7664db78cb..ad4bb5b3572 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/SetParent.cs +++ b/src/Docfx.Dotnet/Resolvers/SetParent.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class SetParent : IResolverPipeline { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resolvers/YamlMetadataResolver.cs b/src/Docfx.Dotnet/Resolvers/YamlMetadataResolver.cs similarity index 98% rename from src/Microsoft.DocAsCode.Dotnet/Resolvers/YamlMetadataResolver.cs rename to src/Docfx.Dotnet/Resolvers/YamlMetadataResolver.cs index c09bcc32e67..e4f887d7a39 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Resolvers/YamlMetadataResolver.cs +++ b/src/Docfx.Dotnet/Resolvers/YamlMetadataResolver.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal static class YamlMetadataResolver { diff --git a/src/Microsoft.DocAsCode.Dotnet/Resources/XmlCommentTransform.xsl b/src/Docfx.Dotnet/Resources/XmlCommentTransform.xsl similarity index 100% rename from src/Microsoft.DocAsCode.Dotnet/Resources/XmlCommentTransform.xsl rename to src/Docfx.Dotnet/Resources/XmlCommentTransform.xsl diff --git a/src/Microsoft.DocAsCode.Dotnet/Resources/defaultfilterconfig.yml b/src/Docfx.Dotnet/Resources/defaultfilterconfig.yml similarity index 100% rename from src/Microsoft.DocAsCode.Dotnet/Resources/defaultfilterconfig.yml rename to src/Docfx.Dotnet/Resources/defaultfilterconfig.yml diff --git a/src/Microsoft.DocAsCode.Dotnet/SourceLink/PortableCustomDebugInfoKinds.cs b/src/Docfx.Dotnet/SourceLink/PortableCustomDebugInfoKinds.cs similarity index 100% rename from src/Microsoft.DocAsCode.Dotnet/SourceLink/PortableCustomDebugInfoKinds.cs rename to src/Docfx.Dotnet/SourceLink/PortableCustomDebugInfoKinds.cs diff --git a/src/Microsoft.DocAsCode.Dotnet/SourceLink/SourceLinkMap.cs b/src/Docfx.Dotnet/SourceLink/SourceLinkMap.cs similarity index 100% rename from src/Microsoft.DocAsCode.Dotnet/SourceLink/SourceLinkMap.cs rename to src/Docfx.Dotnet/SourceLink/SourceLinkMap.cs diff --git a/src/Microsoft.DocAsCode.Dotnet/SourceLink/SymbolSourceDocumentFinder.cs b/src/Docfx.Dotnet/SourceLink/SymbolSourceDocumentFinder.cs similarity index 100% rename from src/Microsoft.DocAsCode.Dotnet/SourceLink/SymbolSourceDocumentFinder.cs rename to src/Docfx.Dotnet/SourceLink/SymbolSourceDocumentFinder.cs diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolFilter.cs b/src/Docfx.Dotnet/SymbolFilter.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/SymbolFilter.cs rename to src/Docfx.Dotnet/SymbolFilter.cs index a4b7d3d63f5..cb5c2fb644f 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolFilter.cs +++ b/src/Docfx.Dotnet/SymbolFilter.cs @@ -6,7 +6,7 @@ #nullable enable -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class SymbolFilter { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.Symbols.cs b/src/Docfx.Dotnet/SymbolFormatter.Symbols.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.Symbols.cs rename to src/Docfx.Dotnet/SymbolFormatter.Symbols.cs index 1bf870ac7a5..f7810778c45 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.Symbols.cs +++ b/src/Docfx.Dotnet/SymbolFormatter.Symbols.cs @@ -7,7 +7,7 @@ #pragma warning disable RS1009 -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; partial class SymbolFormatter { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.Syntax.cs b/src/Docfx.Dotnet/SymbolFormatter.Syntax.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.Syntax.cs rename to src/Docfx.Dotnet/SymbolFormatter.Syntax.cs index 04ee0aa3e7d..ba36d7f6321 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.Syntax.cs +++ b/src/Docfx.Dotnet/SymbolFormatter.Syntax.cs @@ -1,13 +1,13 @@ using System.Collections.Immutable; using Microsoft.CodeAnalysis; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using CS = Microsoft.CodeAnalysis.CSharp; using VB = Microsoft.CodeAnalysis.VisualBasic; #nullable enable -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; partial class SymbolFormatter { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.cs b/src/Docfx.Dotnet/SymbolFormatter.cs similarity index 98% rename from src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.cs rename to src/Docfx.Dotnet/SymbolFormatter.cs index aa1831f4f52..ea88f2cbc98 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolFormatter.cs +++ b/src/Docfx.Dotnet/SymbolFormatter.cs @@ -1,11 +1,11 @@ using System.Collections.Immutable; using Microsoft.CodeAnalysis; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using CS = Microsoft.CodeAnalysis.CSharp; using VB = Microsoft.CodeAnalysis.VisualBasic; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal static partial class SymbolFormatter { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolHelper.cs b/src/Docfx.Dotnet/SymbolHelper.cs similarity index 98% rename from src/Microsoft.DocAsCode.Dotnet/SymbolHelper.cs rename to src/Docfx.Dotnet/SymbolHelper.cs index 363333701d0..56ba58e5a21 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolHelper.cs +++ b/src/Docfx.Dotnet/SymbolHelper.cs @@ -2,7 +2,7 @@ #nullable enable -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal static class SymbolHelper { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.Langword.cs b/src/Docfx.Dotnet/SymbolUrlResolver.Langword.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.Langword.cs rename to src/Docfx.Dotnet/SymbolUrlResolver.Langword.cs index 9829232493b..2a570548dbf 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.Langword.cs +++ b/src/Docfx.Dotnet/SymbolUrlResolver.Langword.cs @@ -2,7 +2,7 @@ using System.Text.Json; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; partial class SymbolUrlResolver { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.MSLearn.cs b/src/Docfx.Dotnet/SymbolUrlResolver.MSLearn.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.MSLearn.cs rename to src/Docfx.Dotnet/SymbolUrlResolver.MSLearn.cs index b01fa23f880..2fe50df2a46 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.MSLearn.cs +++ b/src/Docfx.Dotnet/SymbolUrlResolver.MSLearn.cs @@ -3,7 +3,7 @@ #nullable enable -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; partial class SymbolUrlResolver { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.MSLearnAssemblies.cs b/src/Docfx.Dotnet/SymbolUrlResolver.MSLearnAssemblies.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.MSLearnAssemblies.cs rename to src/Docfx.Dotnet/SymbolUrlResolver.MSLearnAssemblies.cs index 7c01e27096e..3f7fdb9e998 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.MSLearnAssemblies.cs +++ b/src/Docfx.Dotnet/SymbolUrlResolver.MSLearnAssemblies.cs @@ -1,6 +1,6 @@ using System.Text.Json; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; partial class SymbolUrlResolver { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.SourceLink.cs b/src/Docfx.Dotnet/SymbolUrlResolver.SourceLink.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.SourceLink.cs rename to src/Docfx.Dotnet/SymbolUrlResolver.SourceLink.cs index ef34c123e9e..31f1ba05c11 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.SourceLink.cs +++ b/src/Docfx.Dotnet/SymbolUrlResolver.SourceLink.cs @@ -5,13 +5,13 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Debugging; using Microsoft.CodeAnalysis.PdbSourceDocument; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Common.Git; +using Docfx.Common; +using Docfx.Common.Git; using Microsoft.SourceLink.Tools; #nullable enable -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; partial class SymbolUrlResolver { diff --git a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.cs b/src/Docfx.Dotnet/SymbolUrlResolver.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.cs rename to src/Docfx.Dotnet/SymbolUrlResolver.cs index 88763be8326..d1dae4cb54f 100644 --- a/src/Microsoft.DocAsCode.Dotnet/SymbolUrlResolver.cs +++ b/src/Docfx.Dotnet/SymbolUrlResolver.cs @@ -3,7 +3,7 @@ #nullable enable -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal static partial class SymbolUrlResolver { diff --git a/src/Microsoft.DocAsCode.Dotnet/Visitors/SpecIdCoreVisitor.cs b/src/Docfx.Dotnet/Visitors/SpecIdCoreVisitor.cs similarity index 96% rename from src/Microsoft.DocAsCode.Dotnet/Visitors/SpecIdCoreVisitor.cs rename to src/Docfx.Dotnet/Visitors/SpecIdCoreVisitor.cs index abbb09997f8..519aa03d6b2 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Visitors/SpecIdCoreVisitor.cs +++ b/src/Docfx.Dotnet/Visitors/SpecIdCoreVisitor.cs @@ -3,7 +3,7 @@ using Microsoft.CodeAnalysis; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal sealed class SpecIdCoreVisitor : SymbolVisitor { diff --git a/src/Microsoft.DocAsCode.Dotnet/Visitors/SpecIdHelper.cs b/src/Docfx.Dotnet/Visitors/SpecIdHelper.cs similarity index 98% rename from src/Microsoft.DocAsCode.Dotnet/Visitors/SpecIdHelper.cs rename to src/Docfx.Dotnet/Visitors/SpecIdHelper.cs index 7e824ddfe4d..6c728817d0c 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Visitors/SpecIdHelper.cs +++ b/src/Docfx.Dotnet/Visitors/SpecIdHelper.cs @@ -5,7 +5,7 @@ using System.Text.RegularExpressions; using Microsoft.CodeAnalysis; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal sealed class SpecIdHelper { diff --git a/src/Microsoft.DocAsCode.Dotnet/Visitors/SymbolVisitorAdapter.cs b/src/Docfx.Dotnet/Visitors/SymbolVisitorAdapter.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/Visitors/SymbolVisitorAdapter.cs rename to src/Docfx.Dotnet/Visitors/SymbolVisitorAdapter.cs index 430c8ebe35a..0965bdb0a40 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Visitors/SymbolVisitorAdapter.cs +++ b/src/Docfx.Dotnet/Visitors/SymbolVisitorAdapter.cs @@ -7,12 +7,12 @@ using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Shared.Extensions; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Exceptions; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class SymbolVisitorAdapter : SymbolVisitor { diff --git a/src/Microsoft.DocAsCode.Dotnet/Visitors/TypeGenericParameterNameVisitor.cs b/src/Docfx.Dotnet/Visitors/TypeGenericParameterNameVisitor.cs similarity index 97% rename from src/Microsoft.DocAsCode.Dotnet/Visitors/TypeGenericParameterNameVisitor.cs rename to src/Docfx.Dotnet/Visitors/TypeGenericParameterNameVisitor.cs index 2198b2dcec2..fabeabcf217 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Visitors/TypeGenericParameterNameVisitor.cs +++ b/src/Docfx.Dotnet/Visitors/TypeGenericParameterNameVisitor.cs @@ -3,7 +3,7 @@ using Microsoft.CodeAnalysis; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal sealed class TypeGenericParameterNameVisitor : SymbolVisitor> { diff --git a/src/Microsoft.DocAsCode.Dotnet/Visitors/VisitorHelper.cs b/src/Docfx.Dotnet/Visitors/VisitorHelper.cs similarity index 95% rename from src/Microsoft.DocAsCode.Dotnet/Visitors/VisitorHelper.cs rename to src/Docfx.Dotnet/Visitors/VisitorHelper.cs index b6618a7bdb3..c4267e5ebe4 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Visitors/VisitorHelper.cs +++ b/src/Docfx.Dotnet/Visitors/VisitorHelper.cs @@ -6,13 +6,13 @@ using Microsoft.CodeAnalysis; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Common.Git; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Common.Git; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal static class VisitorHelper { diff --git a/src/Microsoft.DocAsCode.Dotnet/Visitors/YamlModelGenerator.cs b/src/Docfx.Dotnet/Visitors/YamlModelGenerator.cs similarity index 98% rename from src/Microsoft.DocAsCode.Dotnet/Visitors/YamlModelGenerator.cs rename to src/Docfx.Dotnet/Visitors/YamlModelGenerator.cs index 90e48ba326c..3f919ce4faa 100644 --- a/src/Microsoft.DocAsCode.Dotnet/Visitors/YamlModelGenerator.cs +++ b/src/Docfx.Dotnet/Visitors/YamlModelGenerator.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.CodeAnalysis; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal class YamlModelGenerator { diff --git a/src/Microsoft.DocAsCode.Dotnet/YamlViewModelExtensions.cs b/src/Docfx.Dotnet/YamlViewModelExtensions.cs similarity index 99% rename from src/Microsoft.DocAsCode.Dotnet/YamlViewModelExtensions.cs rename to src/Docfx.Dotnet/YamlViewModelExtensions.cs index f23815f8cb1..af5e1980289 100644 --- a/src/Microsoft.DocAsCode.Dotnet/YamlViewModelExtensions.cs +++ b/src/Docfx.Dotnet/YamlViewModelExtensions.cs @@ -3,10 +3,10 @@ using System.Diagnostics; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; -namespace Microsoft.DocAsCode.Dotnet; +namespace Docfx.Dotnet; internal static class YamlViewModelExtensions { diff --git a/src/Docfx.Glob/Docfx.Glob.csproj b/src/Docfx.Glob/Docfx.Glob.csproj new file mode 100644 index 00000000000..fafa6a9259a --- /dev/null +++ b/src/Docfx.Glob/Docfx.Glob.csproj @@ -0,0 +1,5 @@ + + + + + diff --git a/src/Microsoft.DocAsCode.Glob/FileGlob.cs b/src/Docfx.Glob/FileGlob.cs similarity index 99% rename from src/Microsoft.DocAsCode.Glob/FileGlob.cs rename to src/Docfx.Glob/FileGlob.cs index 9c9b44b3e91..9e3f84d2716 100644 --- a/src/Microsoft.DocAsCode.Glob/FileGlob.cs +++ b/src/Docfx.Glob/FileGlob.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Glob; +namespace Docfx.Glob; public class FileGlob { diff --git a/src/Microsoft.DocAsCode.Glob/GlobMatcher.cs b/src/Docfx.Glob/GlobMatcher.cs similarity index 99% rename from src/Microsoft.DocAsCode.Glob/GlobMatcher.cs rename to src/Docfx.Glob/GlobMatcher.cs index 7bf4b260d0b..cbbbacd910b 100644 --- a/src/Microsoft.DocAsCode.Glob/GlobMatcher.cs +++ b/src/Docfx.Glob/GlobMatcher.cs @@ -4,9 +4,9 @@ using System.Text; using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.Glob; +namespace Docfx.Glob; [Serializable] public class GlobMatcher : IEquatable diff --git a/src/Microsoft.DocAsCode.Glob/GlobUtility.cs b/src/Docfx.Glob/GlobUtility.cs similarity index 96% rename from src/Microsoft.DocAsCode.Glob/GlobUtility.cs rename to src/Docfx.Glob/GlobUtility.cs index 09521391593..8314ff5b946 100644 --- a/src/Microsoft.DocAsCode.Glob/GlobUtility.cs +++ b/src/Docfx.Glob/GlobUtility.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Glob; +using Docfx.Common; +using Docfx.Glob; -namespace Microsoft.DocAsCode; +namespace Docfx; public class GlobUtility { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Constants.cs b/src/Docfx.HtmlToPdf/Constants.cs similarity index 98% rename from src/Microsoft.DocAsCode.HtmlToPdf/Constants.cs rename to src/Docfx.HtmlToPdf/Constants.cs index 086e7adfcc7..3e442a7c8e8 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Constants.cs +++ b/src/Docfx.HtmlToPdf/Constants.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; internal static class Constants { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/ConvertWrapper.cs b/src/Docfx.HtmlToPdf/ConvertWrapper.cs similarity index 98% rename from src/Microsoft.DocAsCode.HtmlToPdf/ConvertWrapper.cs rename to src/Docfx.HtmlToPdf/ConvertWrapper.cs index ef09eb2b71b..7e63d880947 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/ConvertWrapper.cs +++ b/src/Docfx.HtmlToPdf/ConvertWrapper.cs @@ -3,12 +3,12 @@ using System.Collections.Concurrent; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.HtmlToPdf.Transformer; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.HtmlToPdf.Transformer; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class ConvertWrapper { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Microsoft.DocAsCode.HtmlToPdf.csproj b/src/Docfx.HtmlToPdf/Docfx.HtmlToPdf.csproj similarity index 50% rename from src/Microsoft.DocAsCode.HtmlToPdf/Microsoft.DocAsCode.HtmlToPdf.csproj rename to src/Docfx.HtmlToPdf/Docfx.HtmlToPdf.csproj index dd4f1664b14..3aab40c2156 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Microsoft.DocAsCode.HtmlToPdf.csproj +++ b/src/Docfx.HtmlToPdf/Docfx.HtmlToPdf.csproj @@ -11,8 +11,8 @@ - - - + + + \ No newline at end of file diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/FileOutput.cs b/src/Docfx.HtmlToPdf/FileOutput.cs similarity index 92% rename from src/Microsoft.DocAsCode.HtmlToPdf/FileOutput.cs rename to src/Docfx.HtmlToPdf/FileOutput.cs index a026a3b432b..910c966d8a9 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/FileOutput.cs +++ b/src/Docfx.HtmlToPdf/FileOutput.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class FileOutput { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/FileOutputs.cs b/src/Docfx.HtmlToPdf/FileOutputs.cs similarity index 95% rename from src/Microsoft.DocAsCode.HtmlToPdf/FileOutputs.cs rename to src/Docfx.HtmlToPdf/FileOutputs.cs index 4a85bdf5d66..571a1f861cf 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/FileOutputs.cs +++ b/src/Docfx.HtmlToPdf/FileOutputs.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class FileOutputs { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/FolderUtility.cs b/src/Docfx.HtmlToPdf/FolderUtility.cs similarity index 97% rename from src/Microsoft.DocAsCode.HtmlToPdf/FolderUtility.cs rename to src/Docfx.HtmlToPdf/FolderUtility.cs index d89709505c6..194b3c149d2 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/FolderUtility.cs +++ b/src/Docfx.HtmlToPdf/FolderUtility.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public static class FolderUtility { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Guard.cs b/src/Docfx.HtmlToPdf/Guard.cs similarity index 98% rename from src/Microsoft.DocAsCode.HtmlToPdf/Guard.cs rename to src/Docfx.HtmlToPdf/Guard.cs index 26c59ed6b7c..77c17e1c5d1 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Guard.cs +++ b/src/Docfx.HtmlToPdf/Guard.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; /// /// Represents a simple class for validating parameters and throwing exceptions. diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/HtmlModel.cs b/src/Docfx.HtmlToPdf/HtmlModel.cs similarity index 89% rename from src/Microsoft.DocAsCode.HtmlToPdf/HtmlModel.cs rename to src/Docfx.HtmlToPdf/HtmlModel.cs index e22b734f555..f4c817712b5 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/HtmlModel.cs +++ b/src/Docfx.HtmlToPdf/HtmlModel.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class HtmlModel { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/HtmlToPdfConverter.cs b/src/Docfx.HtmlToPdf/HtmlToPdfConverter.cs similarity index 98% rename from src/Microsoft.DocAsCode.HtmlToPdf/HtmlToPdfConverter.cs rename to src/Docfx.HtmlToPdf/HtmlToPdfConverter.cs index d2e718e9113..f195f555cc2 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/HtmlToPdfConverter.cs +++ b/src/Docfx.HtmlToPdf/HtmlToPdfConverter.cs @@ -5,8 +5,8 @@ using System.Diagnostics; using System.Web; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using UglyToad.PdfPig; using UglyToad.PdfPig.Actions; @@ -14,7 +14,7 @@ using UglyToad.PdfPig.Outline.Destinations; using UglyToad.PdfPig.Writer; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class HtmlToPdfConverter { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/HtmlToPdfOptions.cs b/src/Docfx.HtmlToPdf/HtmlToPdfOptions.cs similarity index 99% rename from src/Microsoft.DocAsCode.HtmlToPdf/HtmlToPdfOptions.cs rename to src/Docfx.HtmlToPdf/HtmlToPdfOptions.cs index 208b49f117d..c3e3359f2de 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/HtmlToPdfOptions.cs +++ b/src/Docfx.HtmlToPdf/HtmlToPdfOptions.cs @@ -3,7 +3,7 @@ using System.Text; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class HtmlToPdfOptions { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Manifest.cs b/src/Docfx.HtmlToPdf/Manifest.cs similarity index 94% rename from src/Microsoft.DocAsCode.HtmlToPdf/Manifest.cs rename to src/Docfx.HtmlToPdf/Manifest.cs index ff0b500f366..c4ffa42b9f6 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Manifest.cs +++ b/src/Docfx.HtmlToPdf/Manifest.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf +namespace Docfx.HtmlToPdf { using System.Collections.Generic; diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/ManifestItem.cs b/src/Docfx.HtmlToPdf/ManifestItem.cs similarity index 96% rename from src/Microsoft.DocAsCode.HtmlToPdf/ManifestItem.cs rename to src/Docfx.HtmlToPdf/ManifestItem.cs index 672e76fc454..490843eb54a 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/ManifestItem.cs +++ b/src/Docfx.HtmlToPdf/ManifestItem.cs @@ -1,14 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf +namespace Docfx.HtmlToPdf { using System.Collections.Generic; using Newtonsoft.Json; using Newtonsoft.Json.Converters; - using Microsoft.DocAsCode.Common; + using Docfx.Common; public class ManifestItem { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/ManifestItemType.cs b/src/Docfx.HtmlToPdf/ManifestItemType.cs similarity index 85% rename from src/Microsoft.DocAsCode.HtmlToPdf/ManifestItemType.cs rename to src/Docfx.HtmlToPdf/ManifestItemType.cs index c81f5373618..595a51d4aa5 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/ManifestItemType.cs +++ b/src/Docfx.HtmlToPdf/ManifestItemType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf +namespace Docfx.HtmlToPdf { public enum ManifestItemType { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/ManifestItemWithAssetId.cs b/src/Docfx.HtmlToPdf/ManifestItemWithAssetId.cs similarity index 83% rename from src/Microsoft.DocAsCode.HtmlToPdf/ManifestItemWithAssetId.cs rename to src/Docfx.HtmlToPdf/ManifestItemWithAssetId.cs index 183da8e1522..66b316a6db1 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/ManifestItemWithAssetId.cs +++ b/src/Docfx.HtmlToPdf/ManifestItemWithAssetId.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf +namespace Docfx.HtmlToPdf { using Newtonsoft.Json; - using Microsoft.DocAsCode.Common; - using Microsoft.DocAsCode.Plugins; + using Docfx.Common; + using Docfx.Plugins; public class ManifestItemWithAssetId : ManifestItem { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/ManifestUtility.cs b/src/Docfx.HtmlToPdf/ManifestUtility.cs similarity index 97% rename from src/Microsoft.DocAsCode.HtmlToPdf/ManifestUtility.cs rename to src/Docfx.HtmlToPdf/ManifestUtility.cs index 16971f798f0..30ba69795aa 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/ManifestUtility.cs +++ b/src/Docfx.HtmlToPdf/ManifestUtility.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public static class ManifestUtility { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/OutlineOption.cs b/src/Docfx.HtmlToPdf/OutlineOption.cs similarity index 84% rename from src/Microsoft.DocAsCode.HtmlToPdf/OutlineOption.cs rename to src/Docfx.HtmlToPdf/OutlineOption.cs index a1f35656aba..f5cad26da1a 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/OutlineOption.cs +++ b/src/Docfx.HtmlToPdf/OutlineOption.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public enum OutlineOption { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/PartialPdfModel.cs b/src/Docfx.HtmlToPdf/PartialPdfModel.cs similarity index 88% rename from src/Microsoft.DocAsCode.HtmlToPdf/PartialPdfModel.cs rename to src/Docfx.HtmlToPdf/PartialPdfModel.cs index d43902f90de..d4270be9175 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/PartialPdfModel.cs +++ b/src/Docfx.HtmlToPdf/PartialPdfModel.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class PartialPdfModel { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/PdfHelper.cs b/src/Docfx.HtmlToPdf/PdfHelper.cs similarity index 96% rename from src/Microsoft.DocAsCode.HtmlToPdf/PdfHelper.cs rename to src/Docfx.HtmlToPdf/PdfHelper.cs index 55af7539dcb..42709200e9b 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/PdfHelper.cs +++ b/src/Docfx.HtmlToPdf/PdfHelper.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public static class PdfHelper { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/PdfInformation.cs b/src/Docfx.HtmlToPdf/PdfInformation.cs similarity index 92% rename from src/Microsoft.DocAsCode.HtmlToPdf/PdfInformation.cs rename to src/Docfx.HtmlToPdf/PdfInformation.cs index 4cd3e05979c..3973c128b98 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/PdfInformation.cs +++ b/src/Docfx.HtmlToPdf/PdfInformation.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class PdfInformation { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/PdfOptions.cs b/src/Docfx.HtmlToPdf/PdfOptions.cs similarity index 98% rename from src/Microsoft.DocAsCode.HtmlToPdf/PdfOptions.cs rename to src/Docfx.HtmlToPdf/PdfOptions.cs index fe509a799f9..3809724a460 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/PdfOptions.cs +++ b/src/Docfx.HtmlToPdf/PdfOptions.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class PdfOptions { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/RetryHelper.cs b/src/Docfx.HtmlToPdf/RetryHelper.cs similarity index 96% rename from src/Microsoft.DocAsCode.HtmlToPdf/RetryHelper.cs rename to src/Docfx.HtmlToPdf/RetryHelper.cs index c9e8f001841..bae11912738 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/RetryHelper.cs +++ b/src/Docfx.HtmlToPdf/RetryHelper.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; internal static class RetryHelper { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/SelfCleaningFolder.cs b/src/Docfx.HtmlToPdf/SelfCleaningFolder.cs similarity index 94% rename from src/Microsoft.DocAsCode.HtmlToPdf/SelfCleaningFolder.cs rename to src/Docfx.HtmlToPdf/SelfCleaningFolder.cs index d7081d76043..c012ba957a9 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/SelfCleaningFolder.cs +++ b/src/Docfx.HtmlToPdf/SelfCleaningFolder.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class SelfCleaningFolder : IDisposable { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/TocModel.cs b/src/Docfx.HtmlToPdf/TocModel.cs similarity index 92% rename from src/Microsoft.DocAsCode.HtmlToPdf/TocModel.cs rename to src/Docfx.HtmlToPdf/TocModel.cs index 192cf7cfba3..a2c9be7418e 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/TocModel.cs +++ b/src/Docfx.HtmlToPdf/TocModel.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class TocModel { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/AbsolutePathInTocPageFileTransformer.cs b/src/Docfx.HtmlToPdf/Transformer/AbsolutePathInTocPageFileTransformer.cs similarity index 97% rename from src/Microsoft.DocAsCode.HtmlToPdf/Transformer/AbsolutePathInTocPageFileTransformer.cs rename to src/Docfx.HtmlToPdf/Transformer/AbsolutePathInTocPageFileTransformer.cs index d03654e114d..dc7494a922c 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/AbsolutePathInTocPageFileTransformer.cs +++ b/src/Docfx.HtmlToPdf/Transformer/AbsolutePathInTocPageFileTransformer.cs @@ -3,9 +3,9 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.HtmlToPdf.Transformer; +namespace Docfx.HtmlToPdf.Transformer; public class AbsolutePathInTocPageFileTransformer : ITransformer { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/FrameTransformer.cs b/src/Docfx.HtmlToPdf/Transformer/FrameTransformer.cs similarity index 96% rename from src/Microsoft.DocAsCode.HtmlToPdf/Transformer/FrameTransformer.cs rename to src/Docfx.HtmlToPdf/Transformer/FrameTransformer.cs index 272a174a9c9..90602e879ef 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/FrameTransformer.cs +++ b/src/Docfx.HtmlToPdf/Transformer/FrameTransformer.cs @@ -3,9 +3,9 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.HtmlToPdf.Transformer; +namespace Docfx.HtmlToPdf.Transformer; public class FrameTransformer : ITransformer { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/HtmlNotInTocTransformer.cs b/src/Docfx.HtmlToPdf/Transformer/HtmlNotInTocTransformer.cs similarity index 98% rename from src/Microsoft.DocAsCode.HtmlToPdf/Transformer/HtmlNotInTocTransformer.cs rename to src/Docfx.HtmlToPdf/Transformer/HtmlNotInTocTransformer.cs index d0db1c94cf9..9130f6d5a79 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/HtmlNotInTocTransformer.cs +++ b/src/Docfx.HtmlToPdf/Transformer/HtmlNotInTocTransformer.cs @@ -3,9 +3,9 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.HtmlToPdf.Transformer; +namespace Docfx.HtmlToPdf.Transformer; public class HtmlNotInTocTransformer : ITransformer { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/ITransformer.cs b/src/Docfx.HtmlToPdf/Transformer/ITransformer.cs similarity index 81% rename from src/Microsoft.DocAsCode.HtmlToPdf/Transformer/ITransformer.cs rename to src/Docfx.HtmlToPdf/Transformer/ITransformer.cs index 1ebb11e1bec..4443f283a35 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/ITransformer.cs +++ b/src/Docfx.HtmlToPdf/Transformer/ITransformer.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.HtmlToPdf.Transformer; +namespace Docfx.HtmlToPdf.Transformer; public interface ITransformer { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/RemoveQueryStringTransformer.cs b/src/Docfx.HtmlToPdf/Transformer/RemoveQueryStringTransformer.cs similarity index 95% rename from src/Microsoft.DocAsCode.HtmlToPdf/Transformer/RemoveQueryStringTransformer.cs rename to src/Docfx.HtmlToPdf/Transformer/RemoveQueryStringTransformer.cs index 8b2963df4e2..ec90363ba63 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/Transformer/RemoveQueryStringTransformer.cs +++ b/src/Docfx.HtmlToPdf/Transformer/RemoveQueryStringTransformer.cs @@ -3,9 +3,9 @@ using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.HtmlToPdf.Transformer; +namespace Docfx.HtmlToPdf.Transformer; public class RemoveQueryStringTransformer : ITransformer { diff --git a/src/Microsoft.DocAsCode.HtmlToPdf/UrlCache.cs b/src/Docfx.HtmlToPdf/UrlCache.cs similarity index 96% rename from src/Microsoft.DocAsCode.HtmlToPdf/UrlCache.cs rename to src/Docfx.HtmlToPdf/UrlCache.cs index 3f235c32e9c..728a9847c74 100644 --- a/src/Microsoft.DocAsCode.HtmlToPdf/UrlCache.cs +++ b/src/Docfx.HtmlToPdf/UrlCache.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.HtmlToPdf; +namespace Docfx.HtmlToPdf; public class UrlCache { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/BlockAggregateContext.cs b/src/Docfx.MarkdigEngine.Extensions/Aggregator/BlockAggregateContext.cs similarity index 96% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/BlockAggregateContext.cs rename to src/Docfx.MarkdigEngine.Extensions/Aggregator/BlockAggregateContext.cs index 3e2e53ca34e..6fd81a53963 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/BlockAggregateContext.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Aggregator/BlockAggregateContext.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class BlockAggregateContext { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/BlockAggregator.cs b/src/Docfx.MarkdigEngine.Extensions/Aggregator/BlockAggregator.cs similarity index 90% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/BlockAggregator.cs rename to src/Docfx.MarkdigEngine.Extensions/Aggregator/BlockAggregator.cs index c4f2af43edb..d96f5cbd5ff 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/BlockAggregator.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Aggregator/BlockAggregator.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public abstract class BlockAggregator : IBlockAggregator where TBlock : class, IBlock diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/IBlockAggregator.cs b/src/Docfx.MarkdigEngine.Extensions/Aggregator/IBlockAggregator.cs similarity index 80% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/IBlockAggregator.cs rename to src/Docfx.MarkdigEngine.Extensions/Aggregator/IBlockAggregator.cs index 43785e5b8e8..b9c5648203e 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/IBlockAggregator.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Aggregator/IBlockAggregator.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public interface IBlockAggregator { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/MarkdownDocumentAggregatorVisitor.cs b/src/Docfx.MarkdigEngine.Extensions/Aggregator/MarkdownDocumentAggregatorVisitor.cs similarity index 95% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/MarkdownDocumentAggregatorVisitor.cs rename to src/Docfx.MarkdigEngine.Extensions/Aggregator/MarkdownDocumentAggregatorVisitor.cs index b0c05455157..0dffb4a9bfe 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/MarkdownDocumentAggregatorVisitor.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Aggregator/MarkdownDocumentAggregatorVisitor.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class MarkdownDocumentAggregatorVisitor { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs b/src/Docfx.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs rename to src/Docfx.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs index 8237bb36134..0d2ae78c672 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Aggregator/TabGroupAggregator.cs @@ -9,7 +9,7 @@ using Markdig.Syntax; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TabGroupAggregator : BlockAggregator { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeRange.cs b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeRange.cs similarity index 80% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeRange.cs rename to src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeRange.cs index 9626645e474..4f58ca57090 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeRange.cs +++ b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeRange.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class CodeRange { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippet.cs b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippet.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippet.cs rename to src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippet.cs index fd14e085241..c2e18e6b7a7 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippet.cs +++ b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippet.cs @@ -7,7 +7,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class CodeSnippet : LeafBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtension.cs b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtension.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtension.cs index 055b3075eeb..b93d841a8ce 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtension.cs @@ -4,7 +4,7 @@ using Markdig; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class CodeSnippetExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs rename to src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs index 7055ed5c1b9..0e123ef37d0 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs +++ b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetExtractor.cs @@ -5,7 +5,7 @@ using System.Text.RegularExpressions; using Markdig.Helpers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class CodeSnippetExtractor { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetParser.cs b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetParser.cs similarity index 99% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetParser.cs rename to src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetParser.cs index 844849481e9..27a9892c1ac 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/CodeSnippetParser.cs @@ -4,7 +4,7 @@ using Markdig.Helpers; using Markdig.Parsers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class CodeSnippetParser : BlockParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs similarity index 99% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs index 05aab64b8f9..b409fe7c1d1 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/CodeSnippet/HtmlCodeSnippetRenderer.cs @@ -10,7 +10,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class HtmlCodeSnippetRenderer : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Constants.cs b/src/Docfx.MarkdigEngine.Extensions/Constants.cs similarity index 86% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Constants.cs rename to src/Docfx.MarkdigEngine.Extensions/Constants.cs index 63a8f0b2420..c042eb4c0c8 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Constants.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Constants.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public static class Constants { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Microsoft.DocAsCode.MarkdigEngine.Extensions.csproj b/src/Docfx.MarkdigEngine.Extensions/Docfx.MarkdigEngine.Extensions.csproj similarity index 59% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Microsoft.DocAsCode.MarkdigEngine.Extensions.csproj rename to src/Docfx.MarkdigEngine.Extensions/Docfx.MarkdigEngine.Extensions.csproj index 66ec479a8b8..720040f9224 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Microsoft.DocAsCode.MarkdigEngine.Extensions.csproj +++ b/src/Docfx.MarkdigEngine.Extensions/Docfx.MarkdigEngine.Extensions.csproj @@ -5,7 +5,7 @@ - + diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ExtensionsHelper.cs b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs similarity index 99% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ExtensionsHelper.cs rename to src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs index 0365e9ad5d8..03ea07d3b6f 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ExtensionsHelper.cs +++ b/src/Docfx.MarkdigEngine.Extensions/ExtensionsHelper.cs @@ -6,7 +6,7 @@ using Markdig.Helpers; using Markdig.Parsers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public static class ExtensionsHelper { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/HeadingId/HeadingIdExtension.cs b/src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdExtension.cs similarity index 91% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/HeadingId/HeadingIdExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdExtension.cs index d8c61d9dc07..a40a2b55dd9 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/HeadingId/HeadingIdExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdExtension.cs @@ -4,7 +4,7 @@ using Markdig; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class HeadingIdExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs rename to src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs index a347eedd975..500d7bb0c89 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/HeadingId/HeadingIdRewriter.cs @@ -7,7 +7,7 @@ using Markdig.Syntax; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class HeadingIdRewriter : IMarkdownObjectRewriter { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/HtmlInclusionBlockRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/HtmlInclusionBlockRenderer.cs similarity index 96% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/HtmlInclusionBlockRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/HtmlInclusionBlockRenderer.cs index d09e338fc82..3a87db27b0a 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/HtmlInclusionBlockRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/HtmlInclusionBlockRenderer.cs @@ -5,7 +5,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class HtmlInclusionBlockRenderer : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlock.cs b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlock.cs similarity index 90% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlock.cs rename to src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlock.cs index 624608c4079..a02b1708d61 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlock.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlock.cs @@ -4,7 +4,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class InclusionBlock : ContainerBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlockParser.cs b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlockParser.cs similarity index 96% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlockParser.cs rename to src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlockParser.cs index 47478ede7fe..c34ca00fd08 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlockParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionBlock/InclusionBlockParser.cs @@ -4,7 +4,7 @@ using Markdig.Helpers; using Markdig.Parsers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class InclusionBlockParser : BlockParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionContext.cs b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionContext.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionContext.cs rename to src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionContext.cs index a89c6b3a5b8..e4afa9abd43 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionContext.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionContext.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; /// /// Represents a thread static context of the current document. diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionExtension.cs b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionExtension.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionExtension.cs index e57bda77d63..940d5e37c44 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionExtension.cs @@ -5,7 +5,7 @@ using Markdig.Parsers.Inlines; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; /// /// Extension to enable extension IncludeFile. diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/HtmlInclusionInlineRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/HtmlInclusionInlineRenderer.cs similarity index 96% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/HtmlInclusionInlineRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/HtmlInclusionInlineRenderer.cs index ee9d5cf69ab..dcf2d71e932 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/HtmlInclusionInlineRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/HtmlInclusionInlineRenderer.cs @@ -5,7 +5,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class HtmlInclusionInlineRenderer : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInline.cs b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInline.cs similarity index 88% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInline.cs rename to src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInline.cs index 29d0f2b613b..59a766f571e 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInline.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInline.cs @@ -3,7 +3,7 @@ using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class InclusionInline : ContainerInline { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInlineParser.cs b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInlineParser.cs similarity index 96% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInlineParser.cs rename to src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInlineParser.cs index ce41e6580ce..5bc08be783f 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInlineParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Inclusion/InclusionInline/InclusionInlineParser.cs @@ -5,7 +5,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class InclusionInlineParser : InlineParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/InlineOnly/InlineOnlyExtension.cs b/src/Docfx.MarkdigEngine.Extensions/InlineOnly/InlineOnlyExtension.cs similarity index 93% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/InlineOnly/InlineOnlyExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/InlineOnly/InlineOnlyExtension.cs index 4746c09efa2..3d033819f34 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/InlineOnly/InlineOnlyExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/InlineOnly/InlineOnlyExtension.cs @@ -6,7 +6,7 @@ using Markdig.Parsers; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class InlineOnlyExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/CodeSnippetInteractiveRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/Interactive/CodeSnippetInteractiveRewriter.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/CodeSnippetInteractiveRewriter.cs rename to src/Docfx.MarkdigEngine.Extensions/Interactive/CodeSnippetInteractiveRewriter.cs index 97b939ad7e6..f8fd69d7a8d 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/CodeSnippetInteractiveRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Interactive/CodeSnippetInteractiveRewriter.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class CodeSnippetInteractiveRewriter : InteractiveBaseRewriter { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/FencedCodeInteractiveRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/Interactive/FencedCodeInteractiveRewriter.cs similarity index 96% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/FencedCodeInteractiveRewriter.cs rename to src/Docfx.MarkdigEngine.Extensions/Interactive/FencedCodeInteractiveRewriter.cs index 08fb2990cab..ba69e974dc2 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/FencedCodeInteractiveRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Interactive/FencedCodeInteractiveRewriter.cs @@ -6,7 +6,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class FencedCodeInteractiveRewriter : InteractiveBaseRewriter { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/InteractiveBaseRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/Interactive/InteractiveBaseRewriter.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/InteractiveBaseRewriter.cs rename to src/Docfx.MarkdigEngine.Extensions/Interactive/InteractiveBaseRewriter.cs index 378b0a59d10..87eeb7244f1 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/InteractiveBaseRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Interactive/InteractiveBaseRewriter.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public abstract class InteractiveBaseRewriter : IMarkdownObjectRewriter { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/InteractiveCodeExtension.cs b/src/Docfx.MarkdigEngine.Extensions/Interactive/InteractiveCodeExtension.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/InteractiveCodeExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/Interactive/InteractiveCodeExtension.cs index 9e8ce70ee12..d4031110b05 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Interactive/InteractiveCodeExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Interactive/InteractiveCodeExtension.cs @@ -4,7 +4,7 @@ using Markdig; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class InteractiveCodeExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/LineNumber/LineNumberExtension.cs b/src/Docfx.MarkdigEngine.Extensions/LineNumber/LineNumberExtension.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/LineNumber/LineNumberExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/LineNumber/LineNumberExtension.cs index 159b199fc34..9d2199aa7d6 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/LineNumber/LineNumberExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/LineNumber/LineNumberExtension.cs @@ -7,7 +7,7 @@ using Markdig.Syntax; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class LineNumberExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MarkdownContext.cs b/src/Docfx.MarkdigEngine.Extensions/MarkdownContext.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MarkdownContext.cs rename to src/Docfx.MarkdigEngine.Extensions/MarkdownContext.cs index 7bcc7fef179..4b90214331c 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MarkdownContext.cs +++ b/src/Docfx.MarkdigEngine.Extensions/MarkdownContext.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class MarkdownContext { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MarkdownExtensions.cs b/src/Docfx.MarkdigEngine.Extensions/MarkdownExtensions.cs similarity index 99% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MarkdownExtensions.cs rename to src/Docfx.MarkdigEngine.Extensions/MarkdownExtensions.cs index 27030eef039..a278517b003 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MarkdownExtensions.cs +++ b/src/Docfx.MarkdigEngine.Extensions/MarkdownExtensions.cs @@ -7,7 +7,7 @@ using Markdig.Extensions.EmphasisExtras; using Markdig.Parsers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public static class MarkdownExtensions { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeBlock.cs b/src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeBlock.cs similarity index 88% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeBlock.cs rename to src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeBlock.cs index 36658bdf984..77c89fe021e 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeBlock.cs +++ b/src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeBlock.cs @@ -4,7 +4,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class MonikerRangeBlock : ContainerBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeExtension.cs b/src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeExtension.cs similarity index 95% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeExtension.cs index 8adb847149a..24dc7439002 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeExtension.cs @@ -5,7 +5,7 @@ using Markdig.Extensions.CustomContainers; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class MonikerRangeExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeParser.cs b/src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeParser.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeParser.cs rename to src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeParser.cs index 70f98d0f7f6..2d1942d20b9 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeParser.cs @@ -6,7 +6,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class MonikerRangeParser : BlockParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeRender.cs b/src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeRender.cs similarity index 90% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeRender.cs rename to src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeRender.cs index cc7d614e5fb..47cf20551be 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/MonikerRange/MonikerRangeRender.cs +++ b/src/Docfx.MarkdigEngine.Extensions/MonikerRange/MonikerRangeRender.cs @@ -4,7 +4,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class MonikerRangeRender : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumn.cs b/src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumn.cs similarity index 87% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumn.cs rename to src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumn.cs index 29239d98315..6986df239e9 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumn.cs +++ b/src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumn.cs @@ -4,7 +4,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class NestedColumnBlock : ContainerBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnExtension.cs b/src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnExtension.cs similarity index 95% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnExtension.cs index 7bdd0834182..020f9ba874b 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnExtension.cs @@ -5,7 +5,7 @@ using Markdig.Extensions.CustomContainers; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class NestedColumnExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnParser.cs b/src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnParser.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnParser.cs rename to src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnParser.cs index c1ba6b6c0e9..48087d37c63 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnParser.cs @@ -5,7 +5,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class NestedColumnParser : BlockParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnRenderer.cs similarity index 92% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnRenderer.cs index 5056a0ca606..7fc50ff510e 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/NestedColumn/NestedColumnRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/NestedColumn/NestedColumnRenderer.cs @@ -4,7 +4,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class NestedColumnRender : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocExtension.cs b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocExtension.cs similarity index 91% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/Noloc/NolocExtension.cs index 8dd892aa705..3792366fb70 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocExtension.cs @@ -4,7 +4,7 @@ using Markdig; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class NolocExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocInline.cs b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocInline.cs similarity index 67% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocInline.cs rename to src/Docfx.MarkdigEngine.Extensions/Noloc/NolocInline.cs index c0aca3ced4b..03b4ff5207d 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocInline.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocInline.cs @@ -1,7 +1,7 @@  using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class NolocInline : LeafInline { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocParser.cs b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocParser.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocParser.cs rename to src/Docfx.MarkdigEngine.Extensions/Noloc/NolocParser.cs index 3c78574c8f1..8f4207dcc84 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocParser.cs @@ -2,7 +2,7 @@ using Markdig.Helpers; using Markdig.Parsers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class NolocParser : InlineParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocRender.cs b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocRender.cs similarity index 81% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocRender.cs rename to src/Docfx.MarkdigEngine.Extensions/Noloc/NolocRender.cs index f54ce981d2b..2ab95f358ed 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Noloc/NolocRender.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Noloc/NolocRender.cs @@ -2,7 +2,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class NolocRender : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteBlock.cs b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteBlock.cs similarity index 92% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteBlock.cs rename to src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteBlock.cs index df56f23b81a..3b762e2fd1c 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteBlock.cs +++ b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteBlock.cs @@ -4,7 +4,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class QuoteSectionNoteBlock : ContainerBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteExtension.cs b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteExtension.cs similarity index 96% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteExtension.cs index 22e24f569b7..da741da376a 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteExtension.cs @@ -6,7 +6,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class QuoteSectionNoteExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteParser.cs b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteParser.cs similarity index 99% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteParser.cs rename to src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteParser.cs index 8e99c93c8fc..210e314a47f 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteParser.cs @@ -5,7 +5,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class QuoteSectionNoteParser : BlockParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs rename to src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs index dd72a415abe..fbb33d69cf1 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs +++ b/src/Docfx.MarkdigEngine.Extensions/QuoteSectionNote/QuoteSectionNoteRender.cs @@ -5,7 +5,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class QuoteSectionNoteRender : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs b/src/Docfx.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs index c32b5bac7c2..937f26ae437 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/ResolveLink/ResolveLinkExtension.cs @@ -6,7 +6,7 @@ using Markdig.Syntax; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class ResolveLinkExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriter.cs similarity index 87% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriter.cs rename to src/Docfx.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriter.cs index a026c143346..05a5dc0011e 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriter.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public interface IMarkdownObjectRewriter { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriterProvider.cs b/src/Docfx.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriterProvider.cs similarity index 83% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriterProvider.cs rename to src/Docfx.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriterProvider.cs index b1c89d7c1d0..35c736624cf 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriterProvider.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Rewriter/IMarkdownObjectRewriterProvider.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public interface IMarkdownObjectRewriterProvider { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownDocumentVisitor.cs b/src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownDocumentVisitor.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownDocumentVisitor.cs rename to src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownDocumentVisitor.cs index e4883f6ea5c..86cfa40f834 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownDocumentVisitor.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownDocumentVisitor.cs @@ -4,7 +4,7 @@ using Markdig.Syntax; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class MarkdownDocumentVisitor { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownObjectRewriterFactory.cs b/src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownObjectRewriterFactory.cs similarity index 90% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownObjectRewriterFactory.cs rename to src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownObjectRewriterFactory.cs index c8bc13f7cce..0de542b3411 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownObjectRewriterFactory.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownObjectRewriterFactory.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using Markdig.Syntax; -using Microsoft.DocAsCode.MarkdigEngine.Validators; +using Docfx.MarkdigEngine.Validators; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public static class MarkdownObjectRewriterFactory { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownObjectValidatorAdapter.cs b/src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownObjectValidatorAdapter.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownObjectValidatorAdapter.cs rename to src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownObjectValidatorAdapter.cs index 4fe2e5f3a07..7d20b831ca7 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Rewriter/MarkdownObjectValidatorAdapter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Rewriter/MarkdownObjectValidatorAdapter.cs @@ -4,9 +4,9 @@ using System.Collections.Immutable; using Markdig.Syntax; -using Microsoft.DocAsCode.MarkdigEngine.Validators; +using Docfx.MarkdigEngine.Validators; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; internal class MarkdownObjectValidatorAdapter : IMarkdownObjectRewriter { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/Row.cs b/src/Docfx.MarkdigEngine.Extensions/Row/Row.cs similarity index 85% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/Row.cs rename to src/Docfx.MarkdigEngine.Extensions/Row/Row.cs index 99bd6ff070d..9cfd33ab66f 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/Row.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Row/Row.cs @@ -4,7 +4,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class RowBlock : ContainerBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowExtension.cs b/src/Docfx.MarkdigEngine.Extensions/Row/RowExtension.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/Row/RowExtension.cs index 064cbb6919b..e54315ae053 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Row/RowExtension.cs @@ -5,7 +5,7 @@ using Markdig.Extensions.CustomContainers; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class RowExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowParser.cs b/src/Docfx.MarkdigEngine.Extensions/Row/RowParser.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowParser.cs rename to src/Docfx.MarkdigEngine.Extensions/Row/RowParser.cs index 639d99a0ebd..3a8076b044a 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Row/RowParser.cs @@ -5,7 +5,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class RowParser : BlockParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowRender.cs b/src/Docfx.MarkdigEngine.Extensions/Row/RowRender.cs similarity index 89% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowRender.cs rename to src/Docfx.MarkdigEngine.Extensions/Row/RowRender.cs index ebdf75c7af5..ba327062bed 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Row/RowRender.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Row/RowRender.cs @@ -4,7 +4,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class RowRender : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs index a3208271029..fdd4121fa13 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/ActiveAndVisibleRewriter.cs @@ -5,7 +5,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class ActiveAndVisibleRewriter : IMarkdownObjectRewriter { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabContentBlockRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabContentBlockRenderer.cs similarity index 90% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabContentBlockRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabContentBlockRenderer.cs index 3c09f6ef7d3..2c62bff83e2 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabContentBlockRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabContentBlockRenderer.cs @@ -5,7 +5,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; class HtmlTabContentBlockRenderer : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabGroupBlockRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabGroupBlockRenderer.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabGroupBlockRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabGroupBlockRenderer.cs index c6ecc967e4d..d3be0f021d1 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabGroupBlockRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabGroupBlockRenderer.cs @@ -4,7 +4,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class HtmlTabGroupBlockRenderer : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabTitleBlockRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabTitleBlockRenderer.cs similarity index 89% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabTitleBlockRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabTitleBlockRenderer.cs index 0a7dde983de..71a5dde6889 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/HtmlTabTitleBlockRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/HtmlTabTitleBlockRenderer.cs @@ -4,7 +4,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class HtmlTabTitleBlockRenderer : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabContentBlock.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabContentBlock.cs similarity index 86% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabContentBlock.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/TabContentBlock.cs index 3d12c9f7e0d..88751e1cdd1 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabContentBlock.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabContentBlock.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TabContentBlock : ContainerBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupBlock.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupBlock.cs similarity index 93% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupBlock.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupBlock.cs index 63cc1087302..5f8e7d09d88 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupBlock.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupBlock.cs @@ -5,7 +5,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TabGroupBlock : ContainerBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupExtension.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupExtension.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupExtension.cs index 7b4140b2acf..23c97f17fc5 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupExtension.cs @@ -4,7 +4,7 @@ using Markdig; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TabGroupExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupIdRewriter.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupIdRewriter.cs similarity index 86% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupIdRewriter.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupIdRewriter.cs index 7d37c93adbe..f062391f4a5 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabGroupIdRewriter.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabGroupIdRewriter.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using Markdig.Syntax; -using Microsoft.DocAsCode.MarkdigEngine.Extensions; +using Docfx.MarkdigEngine.Extensions; -namespace Microsoft.DocAsCode.MarkdigEngine; +namespace Docfx.MarkdigEngine; public class TabGroupIdRewriter : IMarkdownObjectRewriter { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabItemBlock.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabItemBlock.cs similarity index 91% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabItemBlock.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/TabItemBlock.cs index 56fce778e20..f5fd2465acb 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabItemBlock.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabItemBlock.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TabItemBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabTitleBlock.cs b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabTitleBlock.cs similarity index 82% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabTitleBlock.cs rename to src/Docfx.MarkdigEngine.Extensions/TabGroup/TabTitleBlock.cs index 83fd7221776..1de71b7e002 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TabGroup/TabTitleBlock.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TabGroup/TabTitleBlock.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TabTitleBlock : LeafBlock { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ChromelessFormExtension.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/ChromelessFormExtension.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ChromelessFormExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/ChromelessFormExtension.cs index 6766314e22b..6a485a0ceb3 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ChromelessFormExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/ChromelessFormExtension.cs @@ -6,7 +6,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class ChromelessFormExtension : ITripleColonExtensionInfo { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/CodeExtension.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/CodeExtension.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/CodeExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/CodeExtension.cs index 21b41554bee..7e0a53422ba 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/CodeExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/CodeExtension.cs @@ -5,7 +5,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class CodeExtension : ITripleColonExtensionInfo { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ImageExtension.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/ImageExtension.cs similarity index 99% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ImageExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/ImageExtension.cs index 8142c297ab9..7668f03163d 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ImageExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/ImageExtension.cs @@ -6,7 +6,7 @@ using Markdig.Syntax; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class ImageExtension : ITripleColonExtensionInfo { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlock.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlock.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlock.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlock.cs index 963e2395fe0..6d88fc7df8c 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlock.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlock.cs @@ -4,7 +4,7 @@ using Markdig.Parsers; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TripleColonBlock : ContainerBlock, ITripleColon { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlockParser.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlockParser.cs similarity index 99% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlockParser.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlockParser.cs index 8784498e0df..0154c07a37e 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlockParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlockParser.cs @@ -7,7 +7,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TripleColonBlockParser : BlockParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlockRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlockRenderer.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlockRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlockRenderer.cs index d1450b73a22..929ec76208a 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonBlockRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonBlockRenderer.cs @@ -4,7 +4,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TripleColonBlockRenderer : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonExtension.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonExtension.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonExtension.cs index 247f9a09752..0fffeafe537 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonExtension.cs @@ -8,7 +8,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TripleColonExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInline.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInline.cs similarity index 91% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInline.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInline.cs index 46b5c401c9a..ce66f84b203 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInline.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInline.cs @@ -4,7 +4,7 @@ using Markdig.Parsers; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TripleColonInline : ContainerInline, ITripleColon { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInlineParser.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInlineParser.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInlineParser.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInlineParser.cs index 99d7217ca0a..852c22eecdf 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInlineParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInlineParser.cs @@ -6,7 +6,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TripleColonInlineParser : InlineParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInlineRenderer.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInlineRenderer.cs similarity index 94% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInlineRenderer.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInlineRenderer.cs index 01c4c88c71d..4178589fdf8 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/TripleColonInlineRenderer.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/TripleColonInlineRenderer.cs @@ -4,7 +4,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class TripleColonInlineRenderer : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/VideoExtension.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/VideoExtension.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/VideoExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/VideoExtension.cs index 42620b248cd..f6efb2b4822 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/VideoExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/VideoExtension.cs @@ -5,7 +5,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class VideoExtension : ITripleColonExtensionInfo { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs b/src/Docfx.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs index 5fc881a4735..b047e2875ad 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/TripleColon/ZoneExtension.cs @@ -6,7 +6,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class ZoneExtension : ITripleColonExtensionInfo { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/HtmlXrefInlineRender.cs b/src/Docfx.MarkdigEngine.Extensions/Xref/HtmlXrefInlineRender.cs similarity index 93% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/HtmlXrefInlineRender.cs rename to src/Docfx.MarkdigEngine.Extensions/Xref/HtmlXrefInlineRender.cs index c98d5b60096..e5bf2bf225f 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/HtmlXrefInlineRender.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Xref/HtmlXrefInlineRender.cs @@ -4,7 +4,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class HtmlXrefInlineRender : HtmlObjectRenderer { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInline.cs b/src/Docfx.MarkdigEngine.Extensions/Xref/XrefInline.cs similarity index 81% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInline.cs rename to src/Docfx.MarkdigEngine.Extensions/Xref/XrefInline.cs index b3913a0520c..9ff85733a85 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInline.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Xref/XrefInline.cs @@ -3,7 +3,7 @@ using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class XrefInline : LeafInline { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineExtension.cs b/src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineExtension.cs similarity index 93% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineExtension.cs rename to src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineExtension.cs index 358a83ed4fc..e1eb1db9e56 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineExtension.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineExtension.cs @@ -5,7 +5,7 @@ using Markdig.Parsers.Inlines; using Markdig.Renderers; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class XrefInlineExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineParser.cs b/src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineParser.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineParser.cs rename to src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineParser.cs index 1f74abe7da7..3d870253732 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineParser.cs @@ -6,7 +6,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class XrefInlineParser : InlineParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineShortParser.cs b/src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineShortParser.cs similarity index 98% rename from src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineShortParser.cs rename to src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineShortParser.cs index 553e7145a78..e0912531ed4 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Extensions/Xref/XrefInlineShortParser.cs +++ b/src/Docfx.MarkdigEngine.Extensions/Xref/XrefInlineShortParser.cs @@ -6,7 +6,7 @@ using Markdig.Renderers.Html; using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; class XrefInlineShortParser : InlineParser { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/Microsoft.DocAsCode.MarkdigEngine.Validators.csproj b/src/Docfx.MarkdigEngine.Validators/Docfx.MarkdigEngine.Validators.csproj similarity index 100% rename from src/Microsoft.DocAsCode.MarkdigEngine.Validators/Microsoft.DocAsCode.MarkdigEngine.Validators.csproj rename to src/Docfx.MarkdigEngine.Validators/Docfx.MarkdigEngine.Validators.csproj diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/IMarkdownObjectValidator.cs b/src/Docfx.MarkdigEngine.Validators/IMarkdownObjectValidator.cs similarity index 86% rename from src/Microsoft.DocAsCode.MarkdigEngine.Validators/IMarkdownObjectValidator.cs rename to src/Docfx.MarkdigEngine.Validators/IMarkdownObjectValidator.cs index ee68a59ae7e..cf970e1f6da 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/IMarkdownObjectValidator.cs +++ b/src/Docfx.MarkdigEngine.Validators/IMarkdownObjectValidator.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Validators; +namespace Docfx.MarkdigEngine.Validators; public interface IMarkdownObjectValidator { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/IMarkdownObjectValidatorProvider.cs b/src/Docfx.MarkdigEngine.Validators/IMarkdownObjectValidatorProvider.cs similarity index 83% rename from src/Microsoft.DocAsCode.MarkdigEngine.Validators/IMarkdownObjectValidatorProvider.cs rename to src/Docfx.MarkdigEngine.Validators/IMarkdownObjectValidatorProvider.cs index 201e85924db..bcf7df2b870 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/IMarkdownObjectValidatorProvider.cs +++ b/src/Docfx.MarkdigEngine.Validators/IMarkdownObjectValidatorProvider.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.MarkdigEngine.Validators; +namespace Docfx.MarkdigEngine.Validators; public interface IMarkdownObjectValidatorProvider { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/MarkdownLambdaObjectValidator.cs b/src/Docfx.MarkdigEngine.Validators/MarkdownLambdaObjectValidator.cs similarity index 95% rename from src/Microsoft.DocAsCode.MarkdigEngine.Validators/MarkdownLambdaObjectValidator.cs rename to src/Docfx.MarkdigEngine.Validators/MarkdownLambdaObjectValidator.cs index 563e4c16510..7bb1cf256d5 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/MarkdownLambdaObjectValidator.cs +++ b/src/Docfx.MarkdigEngine.Validators/MarkdownLambdaObjectValidator.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Validators; +namespace Docfx.MarkdigEngine.Validators; internal class MarkdownLambdaObjectValidator : IMarkdownObjectValidator where TObject : class, IMarkdownObject { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/MarkdownObjectValidatorFactory.cs b/src/Docfx.MarkdigEngine.Validators/MarkdownObjectValidatorFactory.cs similarity index 91% rename from src/Microsoft.DocAsCode.MarkdigEngine.Validators/MarkdownObjectValidatorFactory.cs rename to src/Docfx.MarkdigEngine.Validators/MarkdownObjectValidatorFactory.cs index dd86e717fc2..2c8867d1593 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine.Validators/MarkdownObjectValidatorFactory.cs +++ b/src/Docfx.MarkdigEngine.Validators/MarkdownObjectValidatorFactory.cs @@ -3,7 +3,7 @@ using Markdig.Syntax; -namespace Microsoft.DocAsCode.MarkdigEngine.Validators; +namespace Docfx.MarkdigEngine.Validators; public static class MarkdownObjectValidatorFactory { diff --git a/src/Docfx.MarkdigEngine/Docfx.MarkdigEngine.csproj b/src/Docfx.MarkdigEngine/Docfx.MarkdigEngine.csproj new file mode 100644 index 00000000000..81a77a4620a --- /dev/null +++ b/src/Docfx.MarkdigEngine/Docfx.MarkdigEngine.csproj @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/MarkdigMarkdownService.cs b/src/Docfx.MarkdigEngine/MarkdigMarkdownService.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine/MarkdigMarkdownService.cs rename to src/Docfx.MarkdigEngine/MarkdigMarkdownService.cs index 3a706915d4d..a543ff07cca 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine/MarkdigMarkdownService.cs +++ b/src/Docfx.MarkdigEngine/MarkdigMarkdownService.cs @@ -5,11 +5,11 @@ using Markdig; using Markdig.Renderers; using Markdig.Syntax; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.MarkdigEngine.Extensions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.MarkdigEngine.Extensions; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.MarkdigEngine; +namespace Docfx.MarkdigEngine; public class MarkdigMarkdownService : IMarkdownService { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/MarkdigServiceProvider.cs b/src/Docfx.MarkdigEngine/MarkdigServiceProvider.cs similarity index 87% rename from src/Microsoft.DocAsCode.MarkdigEngine/MarkdigServiceProvider.cs rename to src/Docfx.MarkdigEngine/MarkdigServiceProvider.cs index 30eba8d000f..5178c214a3c 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine/MarkdigServiceProvider.cs +++ b/src/Docfx.MarkdigEngine/MarkdigServiceProvider.cs @@ -2,9 +2,9 @@ // The .NET Foundation licenses this file to you under the MIT license. using Markdig; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.MarkdigEngine; +namespace Docfx.MarkdigEngine; public class MarkdigServiceProvider : IMarkdownServiceProvider { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/Validation/MarkdownValidatorBuilder.cs b/src/Docfx.MarkdigEngine/Validation/MarkdownValidatorBuilder.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine/Validation/MarkdownValidatorBuilder.cs rename to src/Docfx.MarkdigEngine/Validation/MarkdownValidatorBuilder.cs index 496c40ec38e..6803b9cd304 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine/Validation/MarkdownValidatorBuilder.cs +++ b/src/Docfx.MarkdigEngine/Validation/MarkdownValidatorBuilder.cs @@ -4,11 +4,11 @@ using System.Collections.Immutable; using Markdig.Syntax; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.MarkdigEngine.Validators; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.MarkdigEngine.Validators; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class MarkdownValidatorBuilder { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/Validation/Tag.cs b/src/Docfx.MarkdigEngine/Validation/Tag.cs similarity index 97% rename from src/Microsoft.DocAsCode.MarkdigEngine/Validation/Tag.cs rename to src/Docfx.MarkdigEngine/Validation/Tag.cs index 98e509286af..98848aaf0fa 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine/Validation/Tag.cs +++ b/src/Docfx.MarkdigEngine/Validation/Tag.cs @@ -7,7 +7,7 @@ using Markdig.Syntax; using Markdig.Syntax.Inlines; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; internal class Tag { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/Validation/TagValidator.cs b/src/Docfx.MarkdigEngine/Validation/TagValidator.cs similarity index 95% rename from src/Microsoft.DocAsCode.MarkdigEngine/Validation/TagValidator.cs rename to src/Docfx.MarkdigEngine/Validation/TagValidator.cs index a4acb084cec..75ddf7a2312 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine/Validation/TagValidator.cs +++ b/src/Docfx.MarkdigEngine/Validation/TagValidator.cs @@ -4,9 +4,9 @@ using System.Collections.Immutable; using Markdig.Syntax; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; internal class TagValidator { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/Validation/ValidationExtension.cs b/src/Docfx.MarkdigEngine/Validation/ValidationExtension.cs similarity index 95% rename from src/Microsoft.DocAsCode.MarkdigEngine/Validation/ValidationExtension.cs rename to src/Docfx.MarkdigEngine/Validation/ValidationExtension.cs index 6eb8b7499a3..3dc5909ec4e 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine/Validation/ValidationExtension.cs +++ b/src/Docfx.MarkdigEngine/Validation/ValidationExtension.cs @@ -4,9 +4,9 @@ using Markdig; using Markdig.Renderers; using Markdig.Syntax; -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class ValidationExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/YamlHeader/YamlHeaderExtension.cs b/src/Docfx.MarkdigEngine/YamlHeader/YamlHeaderExtension.cs similarity index 95% rename from src/Microsoft.DocAsCode.MarkdigEngine/YamlHeader/YamlHeaderExtension.cs rename to src/Docfx.MarkdigEngine/YamlHeader/YamlHeaderExtension.cs index 3ca0fb68b1a..1e297c9d4d6 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine/YamlHeader/YamlHeaderExtension.cs +++ b/src/Docfx.MarkdigEngine/YamlHeader/YamlHeaderExtension.cs @@ -7,7 +7,7 @@ using Markdig.Renderers; using Markdig.Renderers.Html; -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; +namespace Docfx.MarkdigEngine.Extensions; public class YamlHeaderExtension : IMarkdownExtension { diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/YamlHeader/YamlHeaderRenderer.cs b/src/Docfx.MarkdigEngine/YamlHeader/YamlHeaderRenderer.cs similarity index 91% rename from src/Microsoft.DocAsCode.MarkdigEngine/YamlHeader/YamlHeaderRenderer.cs rename to src/Docfx.MarkdigEngine/YamlHeader/YamlHeaderRenderer.cs index 6f1c2e0e811..edb7ab0579a 100644 --- a/src/Microsoft.DocAsCode.MarkdigEngine/YamlHeader/YamlHeaderRenderer.cs +++ b/src/Docfx.MarkdigEngine/YamlHeader/YamlHeaderRenderer.cs @@ -1,48 +1,48 @@ -// Licensed to the .NET Foundation under one or more agreements. -// The .NET Foundation licenses this file to you under the MIT license. - -using System.Net; - -using Markdig.Extensions.Yaml; -using Markdig.Renderers; -using Markdig.Renderers.Html; -using Microsoft.DocAsCode.Common; - -namespace Microsoft.DocAsCode.MarkdigEngine.Extensions; - -public class YamlHeaderRenderer : HtmlObjectRenderer -{ - private readonly MarkdownContext _context; - - public YamlHeaderRenderer(MarkdownContext context) - { - _context = context; - } - - protected override void Write(HtmlRenderer renderer, YamlFrontMatterBlock obj) - { - if (InclusionContext.IsInclude) - { - return; - } - - var content = obj.Lines.ToString(); - try - { - using StringReader reader = new(content); - var result = YamlUtility.Deserialize>(reader); - if (result != null) - { - renderer.Write(""); - renderer.Write(WebUtility.HtmlEncode(obj.Lines.ToString())); - renderer.Write(""); - } - } - catch (Exception ex) - { - // not a valid yml header, do nothing - _context.LogWarning("invalid-yaml-header", ex.Message, obj); - } - } -} +// Licensed to the .NET Foundation under one or more agreements. +// The .NET Foundation licenses this file to you under the MIT license. + +using System.Net; + +using Markdig.Extensions.Yaml; +using Markdig.Renderers; +using Markdig.Renderers.Html; +using Docfx.Common; + +namespace Docfx.MarkdigEngine.Extensions; + +public class YamlHeaderRenderer : HtmlObjectRenderer +{ + private readonly MarkdownContext _context; + + public YamlHeaderRenderer(MarkdownContext context) + { + _context = context; + } + + protected override void Write(HtmlRenderer renderer, YamlFrontMatterBlock obj) + { + if (InclusionContext.IsInclude) + { + return; + } + + var content = obj.Lines.ToString(); + try + { + using StringReader reader = new(content); + var result = YamlUtility.Deserialize>(reader); + if (result != null) + { + renderer.Write(""); + renderer.Write(WebUtility.HtmlEncode(obj.Lines.ToString())); + renderer.Write(""); + } + } + catch (Exception ex) + { + // not a valid yml header, do nothing + _context.LogWarning("invalid-yaml-header", ex.Message, obj); + } + } +} diff --git a/src/Microsoft.DocAsCode.Plugins/BuildPhase.cs b/src/Docfx.Plugins/BuildPhase.cs similarity index 87% rename from src/Microsoft.DocAsCode.Plugins/BuildPhase.cs rename to src/Docfx.Plugins/BuildPhase.cs index 49d614c11be..607362aae52 100644 --- a/src/Microsoft.DocAsCode.Plugins/BuildPhase.cs +++ b/src/Docfx.Plugins/BuildPhase.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum BuildPhase { diff --git a/src/Microsoft.DocAsCode.Plugins/DefaultFileAbstractLayer.cs b/src/Docfx.Plugins/DefaultFileAbstractLayer.cs similarity index 98% rename from src/Microsoft.DocAsCode.Plugins/DefaultFileAbstractLayer.cs rename to src/Docfx.Plugins/DefaultFileAbstractLayer.cs index 31dfaaf1549..cef05b98f33 100644 --- a/src/Microsoft.DocAsCode.Plugins/DefaultFileAbstractLayer.cs +++ b/src/Docfx.Plugins/DefaultFileAbstractLayer.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class DefaultFileAbstractLayer : IFileAbstractLayer { diff --git a/src/Microsoft.DocAsCode.Plugins/DictionaryAsListJsonConverter.cs b/src/Docfx.Plugins/DictionaryAsListJsonConverter.cs similarity index 97% rename from src/Microsoft.DocAsCode.Plugins/DictionaryAsListJsonConverter.cs rename to src/Docfx.Plugins/DictionaryAsListJsonConverter.cs index 267f2206658..91f74ce6e57 100644 --- a/src/Microsoft.DocAsCode.Plugins/DictionaryAsListJsonConverter.cs +++ b/src/Docfx.Plugins/DictionaryAsListJsonConverter.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class DictionaryAsListJsonConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.Plugins/Microsoft.DocAsCode.Plugins.csproj b/src/Docfx.Plugins/Docfx.Plugins.csproj similarity index 100% rename from src/Microsoft.DocAsCode.Plugins/Microsoft.DocAsCode.Plugins.csproj rename to src/Docfx.Plugins/Docfx.Plugins.csproj diff --git a/src/Microsoft.DocAsCode.Plugins/DocumentException.cs b/src/Docfx.Plugins/DocumentException.cs similarity index 95% rename from src/Microsoft.DocAsCode.Plugins/DocumentException.cs rename to src/Docfx.Plugins/DocumentException.cs index 5aa00264b02..6c260aa3273 100644 --- a/src/Microsoft.DocAsCode.Plugins/DocumentException.cs +++ b/src/Docfx.Plugins/DocumentException.cs @@ -1,4 +1,4 @@ -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class DocumentException : Exception { diff --git a/src/Microsoft.DocAsCode.Plugins/DocumentExceptionExtensions.cs b/src/Docfx.Plugins/DocumentExceptionExtensions.cs similarity index 98% rename from src/Microsoft.DocAsCode.Plugins/DocumentExceptionExtensions.cs rename to src/Docfx.Plugins/DocumentExceptionExtensions.cs index 58a7d5933a9..2db0f742ba2 100644 --- a/src/Microsoft.DocAsCode.Plugins/DocumentExceptionExtensions.cs +++ b/src/Docfx.Plugins/DocumentExceptionExtensions.cs @@ -1,4 +1,4 @@ -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public static class DocumentExceptionExtensions { diff --git a/src/Microsoft.DocAsCode.Plugins/DocumentType.cs b/src/Docfx.Plugins/DocumentType.cs similarity index 86% rename from src/Microsoft.DocAsCode.Plugins/DocumentType.cs rename to src/Docfx.Plugins/DocumentType.cs index 79169dda1d4..d3798fdf1ff 100644 --- a/src/Microsoft.DocAsCode.Plugins/DocumentType.cs +++ b/src/Docfx.Plugins/DocumentType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum DocumentType { diff --git a/src/Microsoft.DocAsCode.Plugins/EnvironmentContext.cs b/src/Docfx.Plugins/EnvironmentContext.cs similarity index 97% rename from src/Microsoft.DocAsCode.Plugins/EnvironmentContext.cs rename to src/Docfx.Plugins/EnvironmentContext.cs index c0f534e3d74..b6d1a9de8dc 100644 --- a/src/Microsoft.DocAsCode.Plugins/EnvironmentContext.cs +++ b/src/Docfx.Plugins/EnvironmentContext.cs @@ -3,7 +3,7 @@ using System.ComponentModel; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public static class EnvironmentContext { diff --git a/src/Microsoft.DocAsCode.Plugins/FileAbstractLayerExtensions.cs b/src/Docfx.Plugins/FileAbstractLayerExtensions.cs similarity index 97% rename from src/Microsoft.DocAsCode.Plugins/FileAbstractLayerExtensions.cs rename to src/Docfx.Plugins/FileAbstractLayerExtensions.cs index 4242cc25578..fd6b2177109 100644 --- a/src/Microsoft.DocAsCode.Plugins/FileAbstractLayerExtensions.cs +++ b/src/Docfx.Plugins/FileAbstractLayerExtensions.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public static class FileAbstractLayerExtensions { diff --git a/src/Microsoft.DocAsCode.Plugins/FileAndType.cs b/src/Docfx.Plugins/FileAndType.cs similarity index 99% rename from src/Microsoft.DocAsCode.Plugins/FileAndType.cs rename to src/Docfx.Plugins/FileAndType.cs index 7b1c5a2ba09..6534d45982d 100644 --- a/src/Microsoft.DocAsCode.Plugins/FileAndType.cs +++ b/src/Docfx.Plugins/FileAndType.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public sealed class FileAndType : IEquatable diff --git a/src/Microsoft.DocAsCode.Plugins/FileModel.cs b/src/Docfx.Plugins/FileModel.cs similarity index 98% rename from src/Microsoft.DocAsCode.Plugins/FileModel.cs rename to src/Docfx.Plugins/FileModel.cs index 5d19bcd7f5c..b6e39005148 100644 --- a/src/Microsoft.DocAsCode.Plugins/FileModel.cs +++ b/src/Docfx.Plugins/FileModel.cs @@ -4,7 +4,7 @@ using System.Collections.Immutable; using System.Dynamic; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public sealed class FileModel { diff --git a/src/Microsoft.DocAsCode.Plugins/GroupInfo.cs b/src/Docfx.Plugins/GroupInfo.cs similarity index 91% rename from src/Microsoft.DocAsCode.Plugins/GroupInfo.cs rename to src/Docfx.Plugins/GroupInfo.cs index e824c9f5e95..bdc1add4552 100644 --- a/src/Microsoft.DocAsCode.Plugins/GroupInfo.cs +++ b/src/Docfx.Plugins/GroupInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class GroupInfo { diff --git a/src/Microsoft.DocAsCode.Plugins/HomepageInfo.cs b/src/Docfx.Plugins/HomepageInfo.cs similarity index 89% rename from src/Microsoft.DocAsCode.Plugins/HomepageInfo.cs rename to src/Docfx.Plugins/HomepageInfo.cs index b4a6eb7bae5..02ea0b094bd 100644 --- a/src/Microsoft.DocAsCode.Plugins/HomepageInfo.cs +++ b/src/Docfx.Plugins/HomepageInfo.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class HomepageInfo { diff --git a/src/Microsoft.DocAsCode.Plugins/IBuildParameters.cs b/src/Docfx.Plugins/IBuildParameters.cs similarity index 87% rename from src/Microsoft.DocAsCode.Plugins/IBuildParameters.cs rename to src/Docfx.Plugins/IBuildParameters.cs index 3e1514b4207..e24cefd3faa 100644 --- a/src/Microsoft.DocAsCode.Plugins/IBuildParameters.cs +++ b/src/Docfx.Plugins/IBuildParameters.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json.Linq; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IBuildParameters { diff --git a/src/Microsoft.DocAsCode.Plugins/ICompositionContainer.cs b/src/Docfx.Plugins/ICompositionContainer.cs similarity index 89% rename from src/Microsoft.DocAsCode.Plugins/ICompositionContainer.cs rename to src/Docfx.Plugins/ICompositionContainer.cs index 956fa9ad58f..5d076b5b3f7 100644 --- a/src/Microsoft.DocAsCode.Plugins/ICompositionContainer.cs +++ b/src/Docfx.Plugins/ICompositionContainer.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface ICompositionContainer { diff --git a/src/Microsoft.DocAsCode.Plugins/ICustomHrefGenerator.cs b/src/Docfx.Plugins/ICustomHrefGenerator.cs similarity index 85% rename from src/Microsoft.DocAsCode.Plugins/ICustomHrefGenerator.cs rename to src/Docfx.Plugins/ICustomHrefGenerator.cs index f49959ae41b..123df1804ac 100644 --- a/src/Microsoft.DocAsCode.Plugins/ICustomHrefGenerator.cs +++ b/src/Docfx.Plugins/ICustomHrefGenerator.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface ICustomHrefGenerator { diff --git a/src/Microsoft.DocAsCode.Plugins/ICustomMarkdownTagValidator.cs b/src/Docfx.Plugins/ICustomMarkdownTagValidator.cs similarity index 88% rename from src/Microsoft.DocAsCode.Plugins/ICustomMarkdownTagValidator.cs rename to src/Docfx.Plugins/ICustomMarkdownTagValidator.cs index 377f27d7347..605b0dfbbf0 100644 --- a/src/Microsoft.DocAsCode.Plugins/ICustomMarkdownTagValidator.cs +++ b/src/Docfx.Plugins/ICustomMarkdownTagValidator.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; /// /// Contract interface for custom validate tag in markdown diff --git a/src/Microsoft.DocAsCode.Plugins/IDocumentBuildContext.cs b/src/Docfx.Plugins/IDocumentBuildContext.cs similarity index 98% rename from src/Microsoft.DocAsCode.Plugins/IDocumentBuildContext.cs rename to src/Docfx.Plugins/IDocumentBuildContext.cs index fb14886928c..dd59d17d555 100644 --- a/src/Microsoft.DocAsCode.Plugins/IDocumentBuildContext.cs +++ b/src/Docfx.Plugins/IDocumentBuildContext.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IDocumentBuildContext { diff --git a/src/Microsoft.DocAsCode.Plugins/IDocumentBuildStep.cs b/src/Docfx.Plugins/IDocumentBuildStep.cs similarity index 92% rename from src/Microsoft.DocAsCode.Plugins/IDocumentBuildStep.cs rename to src/Docfx.Plugins/IDocumentBuildStep.cs index 6598c15bdc9..7e72f551b0b 100644 --- a/src/Microsoft.DocAsCode.Plugins/IDocumentBuildStep.cs +++ b/src/Docfx.Plugins/IDocumentBuildStep.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IDocumentBuildStep { diff --git a/src/Microsoft.DocAsCode.Plugins/IDocumentProcessor.cs b/src/Docfx.Plugins/IDocumentProcessor.cs similarity index 93% rename from src/Microsoft.DocAsCode.Plugins/IDocumentProcessor.cs rename to src/Docfx.Plugins/IDocumentProcessor.cs index 64c1ba8e86f..a007979a198 100644 --- a/src/Microsoft.DocAsCode.Plugins/IDocumentProcessor.cs +++ b/src/Docfx.Plugins/IDocumentProcessor.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IDocumentProcessor { diff --git a/src/Microsoft.DocAsCode.Plugins/IFileAbstractLayer.cs b/src/Docfx.Plugins/IFileAbstractLayer.cs similarity index 94% rename from src/Microsoft.DocAsCode.Plugins/IFileAbstractLayer.cs rename to src/Docfx.Plugins/IFileAbstractLayer.cs index e2fd748ac5f..e58342a7aeb 100644 --- a/src/Microsoft.DocAsCode.Plugins/IFileAbstractLayer.cs +++ b/src/Docfx.Plugins/IFileAbstractLayer.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IFileAbstractLayer { diff --git a/src/Microsoft.DocAsCode.Plugins/IFileLinkInfo.cs b/src/Docfx.Plugins/IFileLinkInfo.cs similarity index 96% rename from src/Microsoft.DocAsCode.Plugins/IFileLinkInfo.cs rename to src/Docfx.Plugins/IFileLinkInfo.cs index 0045f58ea95..6e0b427414e 100644 --- a/src/Microsoft.DocAsCode.Plugins/IFileLinkInfo.cs +++ b/src/Docfx.Plugins/IFileLinkInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IFileLinkInfo { diff --git a/src/Microsoft.DocAsCode.Plugins/IHostService.cs b/src/Docfx.Plugins/IHostService.cs similarity index 98% rename from src/Microsoft.DocAsCode.Plugins/IHostService.cs rename to src/Docfx.Plugins/IHostService.cs index f36be53c523..22a550f8240 100644 --- a/src/Microsoft.DocAsCode.Plugins/IHostService.cs +++ b/src/Docfx.Plugins/IHostService.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IHostService { diff --git a/src/Microsoft.DocAsCode.Plugins/IInputMetadataValidator.cs b/src/Docfx.Plugins/IInputMetadataValidator.cs similarity index 88% rename from src/Microsoft.DocAsCode.Plugins/IInputMetadataValidator.cs rename to src/Docfx.Plugins/IInputMetadataValidator.cs index 8439bc0d86e..ac31fd08fb0 100644 --- a/src/Microsoft.DocAsCode.Plugins/IInputMetadataValidator.cs +++ b/src/Docfx.Plugins/IInputMetadataValidator.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IInputMetadataValidator { diff --git a/src/Microsoft.DocAsCode.Plugins/IMarkdownService.cs b/src/Docfx.Plugins/IMarkdownService.cs similarity index 86% rename from src/Microsoft.DocAsCode.Plugins/IMarkdownService.cs rename to src/Docfx.Plugins/IMarkdownService.cs index ba643e0d390..1824a0f3970 100644 --- a/src/Microsoft.DocAsCode.Plugins/IMarkdownService.cs +++ b/src/Docfx.Plugins/IMarkdownService.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IMarkdownService { diff --git a/src/Microsoft.DocAsCode.Plugins/IMarkdownServiceProvider.cs b/src/Docfx.Plugins/IMarkdownServiceProvider.cs similarity index 87% rename from src/Microsoft.DocAsCode.Plugins/IMarkdownServiceProvider.cs rename to src/Docfx.Plugins/IMarkdownServiceProvider.cs index 3189ae62693..9f5b487438a 100644 --- a/src/Microsoft.DocAsCode.Plugins/IMarkdownServiceProvider.cs +++ b/src/Docfx.Plugins/IMarkdownServiceProvider.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IMarkdownServiceProvider { diff --git a/src/Microsoft.DocAsCode.Plugins/IPostProcessor.cs b/src/Docfx.Plugins/IPostProcessor.cs similarity index 95% rename from src/Microsoft.DocAsCode.Plugins/IPostProcessor.cs rename to src/Docfx.Plugins/IPostProcessor.cs index caaee2e1b71..d881ee761a7 100644 --- a/src/Microsoft.DocAsCode.Plugins/IPostProcessor.cs +++ b/src/Docfx.Plugins/IPostProcessor.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IPostProcessor { diff --git a/src/Microsoft.DocAsCode.Plugins/IPostProcessorHost.cs b/src/Docfx.Plugins/IPostProcessorHost.cs similarity index 89% rename from src/Microsoft.DocAsCode.Plugins/IPostProcessorHost.cs rename to src/Docfx.Plugins/IPostProcessorHost.cs index 5faa06ed139..599d343793a 100644 --- a/src/Microsoft.DocAsCode.Plugins/IPostProcessorHost.cs +++ b/src/Docfx.Plugins/IPostProcessorHost.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IPostProcessorHost { diff --git a/src/Microsoft.DocAsCode.Plugins/IUriTemplatePipeline.cs b/src/Docfx.Plugins/IUriTemplatePipeline.cs similarity index 85% rename from src/Microsoft.DocAsCode.Plugins/IUriTemplatePipeline.cs rename to src/Docfx.Plugins/IUriTemplatePipeline.cs index c5a734ef5b7..aa7b326b86e 100644 --- a/src/Microsoft.DocAsCode.Plugins/IUriTemplatePipeline.cs +++ b/src/Docfx.Plugins/IUriTemplatePipeline.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public interface IUriTemplatePipeline { diff --git a/src/Microsoft.DocAsCode.Plugins/LinkSourceInfo.cs b/src/Docfx.Plugins/LinkSourceInfo.cs similarity index 89% rename from src/Microsoft.DocAsCode.Plugins/LinkSourceInfo.cs rename to src/Docfx.Plugins/LinkSourceInfo.cs index 4e94956f83e..978309778ea 100644 --- a/src/Microsoft.DocAsCode.Plugins/LinkSourceInfo.cs +++ b/src/Docfx.Plugins/LinkSourceInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public struct LinkSourceInfo { diff --git a/src/Microsoft.DocAsCode.Plugins/Manifest.cs b/src/Docfx.Plugins/Manifest.cs similarity index 99% rename from src/Microsoft.DocAsCode.Plugins/Manifest.cs rename to src/Docfx.Plugins/Manifest.cs index 95ac8a56a4e..8eb27dafc71 100644 --- a/src/Microsoft.DocAsCode.Plugins/Manifest.cs +++ b/src/Docfx.Plugins/Manifest.cs @@ -6,7 +6,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class Manifest { diff --git a/src/Microsoft.DocAsCode.Plugins/ManifestGroupInfo.cs b/src/Docfx.Plugins/ManifestGroupInfo.cs similarity index 95% rename from src/Microsoft.DocAsCode.Plugins/ManifestGroupInfo.cs rename to src/Docfx.Plugins/ManifestGroupInfo.cs index 1a31aee9ad6..1f5fcb142e6 100644 --- a/src/Microsoft.DocAsCode.Plugins/ManifestGroupInfo.cs +++ b/src/Docfx.Plugins/ManifestGroupInfo.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class ManifestGroupInfo { diff --git a/src/Microsoft.DocAsCode.Plugins/ManifestItem.cs b/src/Docfx.Plugins/ManifestItem.cs similarity index 95% rename from src/Microsoft.DocAsCode.Plugins/ManifestItem.cs rename to src/Docfx.Plugins/ManifestItem.cs index 550e60ca1f5..7d43506cb71 100644 --- a/src/Microsoft.DocAsCode.Plugins/ManifestItem.cs +++ b/src/Docfx.Plugins/ManifestItem.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class ManifestItem { diff --git a/src/Microsoft.DocAsCode.Plugins/ManifestItemCollection.cs b/src/Docfx.Plugins/ManifestItemCollection.cs similarity index 98% rename from src/Microsoft.DocAsCode.Plugins/ManifestItemCollection.cs rename to src/Docfx.Plugins/ManifestItemCollection.cs index 31961f3ab58..fdf049efc15 100644 --- a/src/Microsoft.DocAsCode.Plugins/ManifestItemCollection.cs +++ b/src/Docfx.Plugins/ManifestItemCollection.cs @@ -6,7 +6,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; [JsonConverter(typeof(ManifestItemCollectionConverter))] public class ManifestItemCollection : ObservableCollection diff --git a/src/Microsoft.DocAsCode.Plugins/ManifestItemCollectionConverter.cs b/src/Docfx.Plugins/ManifestItemCollectionConverter.cs similarity index 96% rename from src/Microsoft.DocAsCode.Plugins/ManifestItemCollectionConverter.cs rename to src/Docfx.Plugins/ManifestItemCollectionConverter.cs index dd4698d0b0f..d64af2fc159 100644 --- a/src/Microsoft.DocAsCode.Plugins/ManifestItemCollectionConverter.cs +++ b/src/Docfx.Plugins/ManifestItemCollectionConverter.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class ManifestItemCollectionConverter : JsonConverter { diff --git a/src/Microsoft.DocAsCode.Plugins/MarkdownMetadataValidationRule.cs b/src/Docfx.Plugins/MarkdownMetadataValidationRule.cs similarity index 95% rename from src/Microsoft.DocAsCode.Plugins/MarkdownMetadataValidationRule.cs rename to src/Docfx.Plugins/MarkdownMetadataValidationRule.cs index e506a95ac42..28b8ac95585 100644 --- a/src/Microsoft.DocAsCode.Plugins/MarkdownMetadataValidationRule.cs +++ b/src/Docfx.Plugins/MarkdownMetadataValidationRule.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class MarkdownMetadataValidationRule { diff --git a/src/Microsoft.DocAsCode.Plugins/MarkdownServiceParameters.cs b/src/Docfx.Plugins/MarkdownServiceParameters.cs similarity index 97% rename from src/Microsoft.DocAsCode.Plugins/MarkdownServiceParameters.cs rename to src/Docfx.Plugins/MarkdownServiceParameters.cs index 1b73fb7cc05..73eccca7d9a 100644 --- a/src/Microsoft.DocAsCode.Plugins/MarkdownServiceParameters.cs +++ b/src/Docfx.Plugins/MarkdownServiceParameters.cs @@ -4,7 +4,7 @@ using System.Collections.Immutable; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class MarkdownServiceProperties { diff --git a/src/Microsoft.DocAsCode.Plugins/MarkdownStyleConfig.cs b/src/Docfx.Plugins/MarkdownStyleConfig.cs similarity index 94% rename from src/Microsoft.DocAsCode.Plugins/MarkdownStyleConfig.cs rename to src/Docfx.Plugins/MarkdownStyleConfig.cs index 534b7eeacfb..5bd5d1c008c 100644 --- a/src/Microsoft.DocAsCode.Plugins/MarkdownStyleConfig.cs +++ b/src/Docfx.Plugins/MarkdownStyleConfig.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class MarkdownStyleConfig { diff --git a/src/Microsoft.DocAsCode.Plugins/MarkdownSytleDefinition.cs b/src/Docfx.Plugins/MarkdownSytleDefinition.cs similarity index 94% rename from src/Microsoft.DocAsCode.Plugins/MarkdownSytleDefinition.cs rename to src/Docfx.Plugins/MarkdownSytleDefinition.cs index ba5bdd17e9e..efa298fb08b 100644 --- a/src/Microsoft.DocAsCode.Plugins/MarkdownSytleDefinition.cs +++ b/src/Docfx.Plugins/MarkdownSytleDefinition.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class MarkdownStyleDefinition { diff --git a/src/Microsoft.DocAsCode.Plugins/MarkdownTagValidationRule.cs b/src/Docfx.Plugins/MarkdownTagValidationRule.cs similarity index 90% rename from src/Microsoft.DocAsCode.Plugins/MarkdownTagValidationRule.cs rename to src/Docfx.Plugins/MarkdownTagValidationRule.cs index e2536c1df65..e309f965443 100644 --- a/src/Microsoft.DocAsCode.Plugins/MarkdownTagValidationRule.cs +++ b/src/Docfx.Plugins/MarkdownTagValidationRule.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class MarkdownTagValidationRule { @@ -30,7 +30,7 @@ public class MarkdownTagValidationRule [JsonProperty("messageFormatter", Required = Required.Always)] public string MessageFormatter { get; set; } /// - /// The contract name for custom validator . + /// The contract name for custom validator . /// [JsonProperty("customValidatorContractName")] public string CustomValidatorContractName { get; set; } diff --git a/src/Microsoft.DocAsCode.Plugins/MarkdownValidationRule.cs b/src/Docfx.Plugins/MarkdownValidationRule.cs similarity index 96% rename from src/Microsoft.DocAsCode.Plugins/MarkdownValidationRule.cs rename to src/Docfx.Plugins/MarkdownValidationRule.cs index 016c59a3bc6..a731639e3d1 100644 --- a/src/Microsoft.DocAsCode.Plugins/MarkdownValidationRule.cs +++ b/src/Docfx.Plugins/MarkdownValidationRule.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class MarkdownValidationRule { diff --git a/src/Microsoft.DocAsCode.Plugins/MarkdownValidationSetting.cs b/src/Docfx.Plugins/MarkdownValidationSetting.cs similarity index 95% rename from src/Microsoft.DocAsCode.Plugins/MarkdownValidationSetting.cs rename to src/Docfx.Plugins/MarkdownValidationSetting.cs index c9d88807365..edf3e3a47d5 100644 --- a/src/Microsoft.DocAsCode.Plugins/MarkdownValidationSetting.cs +++ b/src/Docfx.Plugins/MarkdownValidationSetting.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class MarkdownValidationSetting { diff --git a/src/Microsoft.DocAsCode.Plugins/MarkupResult.cs b/src/Docfx.Plugins/MarkupResult.cs similarity index 96% rename from src/Microsoft.DocAsCode.Plugins/MarkupResult.cs rename to src/Docfx.Plugins/MarkupResult.cs index 1d4dc36e342..d2772b65560 100644 --- a/src/Microsoft.DocAsCode.Plugins/MarkupResult.cs +++ b/src/Docfx.Plugins/MarkupResult.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class MarkupResult { diff --git a/src/Microsoft.DocAsCode.Plugins/ObservableDictionary.cs b/src/Docfx.Plugins/ObservableDictionary.cs similarity index 99% rename from src/Microsoft.DocAsCode.Plugins/ObservableDictionary.cs rename to src/Docfx.Plugins/ObservableDictionary.cs index 4482d6571f1..e935a0541c8 100644 --- a/src/Microsoft.DocAsCode.Plugins/ObservableDictionary.cs +++ b/src/Docfx.Plugins/ObservableDictionary.cs @@ -4,7 +4,7 @@ using System.Collections; using System.Collections.Specialized; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class ObservableDictionary : IDictionary, INotifyCollectionChanged { diff --git a/src/Microsoft.DocAsCode.Plugins/OutputFileCollection.cs b/src/Docfx.Plugins/OutputFileCollection.cs similarity index 96% rename from src/Microsoft.DocAsCode.Plugins/OutputFileCollection.cs rename to src/Docfx.Plugins/OutputFileCollection.cs index 3a95d6d71e7..9ddd16c5f3a 100644 --- a/src/Microsoft.DocAsCode.Plugins/OutputFileCollection.cs +++ b/src/Docfx.Plugins/OutputFileCollection.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class OutputFileCollection : ObservableDictionary { diff --git a/src/Microsoft.DocAsCode.Plugins/OutputFileInfo.cs b/src/Docfx.Plugins/OutputFileInfo.cs similarity index 97% rename from src/Microsoft.DocAsCode.Plugins/OutputFileInfo.cs rename to src/Docfx.Plugins/OutputFileInfo.cs index 623c6397b76..c33618c651e 100644 --- a/src/Microsoft.DocAsCode.Plugins/OutputFileInfo.cs +++ b/src/Docfx.Plugins/OutputFileInfo.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class OutputFileInfo : INotifyPropertyChanged { diff --git a/src/Microsoft.DocAsCode.Plugins/PageChangeFrequency.cs b/src/Docfx.Plugins/PageChangeFrequency.cs similarity index 86% rename from src/Microsoft.DocAsCode.Plugins/PageChangeFrequency.cs rename to src/Docfx.Plugins/PageChangeFrequency.cs index 05a593f5d2a..cb95da36277 100644 --- a/src/Microsoft.DocAsCode.Plugins/PageChangeFrequency.cs +++ b/src/Docfx.Plugins/PageChangeFrequency.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum PageChangeFrequency { diff --git a/src/Microsoft.DocAsCode.Plugins/ProcessingPriority.cs b/src/Docfx.Plugins/ProcessingPriority.cs similarity index 92% rename from src/Microsoft.DocAsCode.Plugins/ProcessingPriority.cs rename to src/Docfx.Plugins/ProcessingPriority.cs index 08c064248bc..5642386df66 100644 --- a/src/Microsoft.DocAsCode.Plugins/ProcessingPriority.cs +++ b/src/Docfx.Plugins/ProcessingPriority.cs @@ -3,7 +3,7 @@ using System.ComponentModel; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum ProcessingPriority { diff --git a/src/Microsoft.DocAsCode.Plugins/PropertyChangedEventArgs.cs b/src/Docfx.Plugins/PropertyChangedEventArgs.cs similarity index 90% rename from src/Microsoft.DocAsCode.Plugins/PropertyChangedEventArgs.cs rename to src/Docfx.Plugins/PropertyChangedEventArgs.cs index bd11b1f1da9..12b1ef70ddb 100644 --- a/src/Microsoft.DocAsCode.Plugins/PropertyChangedEventArgs.cs +++ b/src/Docfx.Plugins/PropertyChangedEventArgs.cs @@ -1,7 +1,7 @@  using System.ComponentModel; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class PropertyChangedEventArgs : PropertyChangedEventArgs diff --git a/src/Microsoft.DocAsCode.Plugins/RootedFileAbstractLayer.cs b/src/Docfx.Plugins/RootedFileAbstractLayer.cs similarity index 98% rename from src/Microsoft.DocAsCode.Plugins/RootedFileAbstractLayer.cs rename to src/Docfx.Plugins/RootedFileAbstractLayer.cs index 64f71588866..027b3d0be5e 100644 --- a/src/Microsoft.DocAsCode.Plugins/RootedFileAbstractLayer.cs +++ b/src/Docfx.Plugins/RootedFileAbstractLayer.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class RootedFileAbstractLayer : IFileAbstractLayer { diff --git a/src/Microsoft.DocAsCode.Plugins/SaveResult.cs b/src/Docfx.Plugins/SaveResult.cs similarity index 96% rename from src/Microsoft.DocAsCode.Plugins/SaveResult.cs rename to src/Docfx.Plugins/SaveResult.cs index d9692d04453..1d4c0169808 100644 --- a/src/Microsoft.DocAsCode.Plugins/SaveResult.cs +++ b/src/Docfx.Plugins/SaveResult.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class SaveResult { diff --git a/src/Microsoft.DocAsCode.Plugins/SitemapElementOptions.cs b/src/Docfx.Plugins/SitemapElementOptions.cs similarity index 93% rename from src/Microsoft.DocAsCode.Plugins/SitemapElementOptions.cs rename to src/Docfx.Plugins/SitemapElementOptions.cs index 39d1067ef5e..e5be8751614 100644 --- a/src/Microsoft.DocAsCode.Plugins/SitemapElementOptions.cs +++ b/src/Docfx.Plugins/SitemapElementOptions.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; [Serializable] public class SitemapElementOptions diff --git a/src/Microsoft.DocAsCode.Plugins/SitemapOptions.cs b/src/Docfx.Plugins/SitemapOptions.cs similarity index 91% rename from src/Microsoft.DocAsCode.Plugins/SitemapOptions.cs rename to src/Docfx.Plugins/SitemapOptions.cs index 398280f439f..cf593396d1b 100644 --- a/src/Microsoft.DocAsCode.Plugins/SitemapOptions.cs +++ b/src/Docfx.Plugins/SitemapOptions.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; [Serializable] public class SitemapOptions : SitemapElementOptions diff --git a/src/Microsoft.DocAsCode.Plugins/SourceFileInfo.cs b/src/Docfx.Plugins/SourceFileInfo.cs similarity index 93% rename from src/Microsoft.DocAsCode.Plugins/SourceFileInfo.cs rename to src/Docfx.Plugins/SourceFileInfo.cs index 6e9ad56c3ca..6b4b9385fc7 100644 --- a/src/Microsoft.DocAsCode.Plugins/SourceFileInfo.cs +++ b/src/Docfx.Plugins/SourceFileInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class SourceFileInfo { diff --git a/src/Microsoft.DocAsCode.Plugins/SubCommandParseOption.cs b/src/Docfx.Plugins/SubCommandParseOption.cs similarity index 83% rename from src/Microsoft.DocAsCode.Plugins/SubCommandParseOption.cs rename to src/Docfx.Plugins/SubCommandParseOption.cs index 4569a04e21a..893182cefdd 100644 --- a/src/Microsoft.DocAsCode.Plugins/SubCommandParseOption.cs +++ b/src/Docfx.Plugins/SubCommandParseOption.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum SubCommandParseOption { diff --git a/src/Microsoft.DocAsCode.Plugins/TagRelation.cs b/src/Docfx.Plugins/TagRelation.cs similarity index 82% rename from src/Microsoft.DocAsCode.Plugins/TagRelation.cs rename to src/Docfx.Plugins/TagRelation.cs index b0de7aa61bc..2b1be1773fe 100644 --- a/src/Microsoft.DocAsCode.Plugins/TagRelation.cs +++ b/src/Docfx.Plugins/TagRelation.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum TagRelation { diff --git a/src/Microsoft.DocAsCode.Plugins/TagValidationBehavior.cs b/src/Docfx.Plugins/TagValidationBehavior.cs similarity index 84% rename from src/Microsoft.DocAsCode.Plugins/TagValidationBehavior.cs rename to src/Docfx.Plugins/TagValidationBehavior.cs index eeca29a45cf..1e71df522fe 100644 --- a/src/Microsoft.DocAsCode.Plugins/TagValidationBehavior.cs +++ b/src/Docfx.Plugins/TagValidationBehavior.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum TagValidationBehavior { diff --git a/src/Microsoft.DocAsCode.Plugins/TocInfo.cs b/src/Docfx.Plugins/TocInfo.cs similarity index 89% rename from src/Microsoft.DocAsCode.Plugins/TocInfo.cs rename to src/Docfx.Plugins/TocInfo.cs index 39eca4a2115..478396956ea 100644 --- a/src/Microsoft.DocAsCode.Plugins/TocInfo.cs +++ b/src/Docfx.Plugins/TocInfo.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class TocInfo { diff --git a/src/Microsoft.DocAsCode.Plugins/TreeItem.cs b/src/Docfx.Plugins/TreeItem.cs similarity index 90% rename from src/Microsoft.DocAsCode.Plugins/TreeItem.cs rename to src/Docfx.Plugins/TreeItem.cs index 434b8f0d669..478e4dfcfec 100644 --- a/src/Microsoft.DocAsCode.Plugins/TreeItem.cs +++ b/src/Docfx.Plugins/TreeItem.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class TreeItem { diff --git a/src/Microsoft.DocAsCode.Plugins/TreeItemActionType.cs b/src/Docfx.Plugins/TreeItemActionType.cs similarity index 87% rename from src/Microsoft.DocAsCode.Plugins/TreeItemActionType.cs rename to src/Docfx.Plugins/TreeItemActionType.cs index 25bb3d9de2d..86db0f31e3b 100644 --- a/src/Microsoft.DocAsCode.Plugins/TreeItemActionType.cs +++ b/src/Docfx.Plugins/TreeItemActionType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum TreeItemActionType { diff --git a/src/Microsoft.DocAsCode.Plugins/TreeItemKeyType.cs b/src/Docfx.Plugins/TreeItemKeyType.cs similarity index 83% rename from src/Microsoft.DocAsCode.Plugins/TreeItemKeyType.cs rename to src/Docfx.Plugins/TreeItemKeyType.cs index 81bf2c5126c..d23265bf157 100644 --- a/src/Microsoft.DocAsCode.Plugins/TreeItemKeyType.cs +++ b/src/Docfx.Plugins/TreeItemKeyType.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public enum TreeItemKeyType { diff --git a/src/Microsoft.DocAsCode.Plugins/TreeItemRestructure.cs b/src/Docfx.Plugins/TreeItemRestructure.cs similarity index 93% rename from src/Microsoft.DocAsCode.Plugins/TreeItemRestructure.cs rename to src/Docfx.Plugins/TreeItemRestructure.cs index ed6321bc5e5..a4ded00bd7e 100644 --- a/src/Microsoft.DocAsCode.Plugins/TreeItemRestructure.cs +++ b/src/Docfx.Plugins/TreeItemRestructure.cs @@ -3,7 +3,7 @@ using System.Collections.Immutable; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class TreeItemRestructure { diff --git a/src/Microsoft.DocAsCode.Plugins/TreeNavigator.cs b/src/Docfx.Plugins/TreeNavigator.cs similarity index 98% rename from src/Microsoft.DocAsCode.Plugins/TreeNavigator.cs rename to src/Docfx.Plugins/TreeNavigator.cs index 2b270cfbcde..33292609061 100644 --- a/src/Microsoft.DocAsCode.Plugins/TreeNavigator.cs +++ b/src/Docfx.Plugins/TreeNavigator.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class TreeNavigator { diff --git a/src/Microsoft.DocAsCode.Plugins/UidDefinition.cs b/src/Docfx.Plugins/UidDefinition.cs similarity index 96% rename from src/Microsoft.DocAsCode.Plugins/UidDefinition.cs rename to src/Docfx.Plugins/UidDefinition.cs index cecc552c238..92f93c836ef 100644 --- a/src/Microsoft.DocAsCode.Plugins/UidDefinition.cs +++ b/src/Docfx.Plugins/UidDefinition.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class UidDefinition { diff --git a/src/Microsoft.DocAsCode.Plugins/VersionInfo.cs b/src/Docfx.Plugins/VersionInfo.cs similarity index 87% rename from src/Microsoft.DocAsCode.Plugins/VersionInfo.cs rename to src/Docfx.Plugins/VersionInfo.cs index 067702fb166..d6f8c7378f6 100644 --- a/src/Microsoft.DocAsCode.Plugins/VersionInfo.cs +++ b/src/Docfx.Plugins/VersionInfo.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; public class VersionInfo { diff --git a/src/Microsoft.DocAsCode.Plugins/XRefSpec.cs b/src/Docfx.Plugins/XRefSpec.cs similarity index 99% rename from src/Microsoft.DocAsCode.Plugins/XRefSpec.cs rename to src/Docfx.Plugins/XRefSpec.cs index edeb3a0ea1b..4c9974bd526 100644 --- a/src/Microsoft.DocAsCode.Plugins/XRefSpec.cs +++ b/src/Docfx.Plugins/XRefSpec.cs @@ -1,6 +1,6 @@ using System.Collections; -namespace Microsoft.DocAsCode.Plugins; +namespace Docfx.Plugins; [Serializable] public sealed class XRefSpec : IDictionary diff --git a/src/Microsoft.DocAsCode.YamlSerialization/Microsoft.DocAsCode.YamlSerialization.csproj b/src/Docfx.YamlSerialization/Docfx.YamlSerialization.csproj similarity index 100% rename from src/Microsoft.DocAsCode.YamlSerialization/Microsoft.DocAsCode.YamlSerialization.csproj rename to src/Docfx.YamlSerialization/Docfx.YamlSerialization.csproj diff --git a/src/Microsoft.DocAsCode.YamlSerialization/ExtensibleMemberAttribute.cs b/src/Docfx.YamlSerialization/ExtensibleMemberAttribute.cs similarity index 89% rename from src/Microsoft.DocAsCode.YamlSerialization/ExtensibleMemberAttribute.cs rename to src/Docfx.YamlSerialization/ExtensibleMemberAttribute.cs index 910b903df5c..10aebc25d1f 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/ExtensibleMemberAttribute.cs +++ b/src/Docfx.YamlSerialization/ExtensibleMemberAttribute.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.YamlSerialization; +namespace Docfx.YamlSerialization; public sealed class ExtensibleMemberAttribute : Attribute { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/ArrayDictionary.cs b/src/Docfx.YamlSerialization/Helpers/ArrayDictionary.cs similarity index 97% rename from src/Microsoft.DocAsCode.YamlSerialization/Helpers/ArrayDictionary.cs rename to src/Docfx.YamlSerialization/Helpers/ArrayDictionary.cs index 9cc5bc8fe4e..59273a046fa 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/ArrayDictionary.cs +++ b/src/Docfx.YamlSerialization/Helpers/ArrayDictionary.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.YamlSerialization.Helpers; +namespace Docfx.YamlSerialization.Helpers; /// /// Array based key-value cache. diff --git a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/ReflectionExtensions.cs b/src/Docfx.YamlSerialization/Helpers/ReflectionExtensions.cs similarity index 95% rename from src/Microsoft.DocAsCode.YamlSerialization/Helpers/ReflectionExtensions.cs rename to src/Docfx.YamlSerialization/Helpers/ReflectionExtensions.cs index b0d171ab20c..a60a1924d29 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/ReflectionExtensions.cs +++ b/src/Docfx.YamlSerialization/Helpers/ReflectionExtensions.cs @@ -3,7 +3,7 @@ using System.Reflection; -namespace Microsoft.DocAsCode.YamlSerialization.Helpers; +namespace Docfx.YamlSerialization.Helpers; internal static class ReflectionExtensions { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/ReflectionUtility.cs b/src/Docfx.YamlSerialization/Helpers/ReflectionUtility.cs similarity index 93% rename from src/Microsoft.DocAsCode.YamlSerialization/Helpers/ReflectionUtility.cs rename to src/Docfx.YamlSerialization/Helpers/ReflectionUtility.cs index cb532c5234d..6c36e33d24b 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/ReflectionUtility.cs +++ b/src/Docfx.YamlSerialization/Helpers/ReflectionUtility.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.YamlSerialization.Helpers; +namespace Docfx.YamlSerialization.Helpers; internal static class ReflectionUtility { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/Regexes.cs b/src/Docfx.YamlSerialization/Helpers/Regexes.cs similarity index 94% rename from src/Microsoft.DocAsCode.YamlSerialization/Helpers/Regexes.cs rename to src/Docfx.YamlSerialization/Helpers/Regexes.cs index c6a1b48e4bc..08eb461e4f5 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/Regexes.cs +++ b/src/Docfx.YamlSerialization/Helpers/Regexes.cs @@ -3,7 +3,7 @@ using System.Text.RegularExpressions; -namespace Microsoft.DocAsCode.YamlSerialization.Helpers; +namespace Docfx.YamlSerialization.Helpers; internal static class Regexes { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/YamlTypeConverters.cs b/src/Docfx.YamlSerialization/Helpers/YamlTypeConverters.cs similarity index 90% rename from src/Microsoft.DocAsCode.YamlSerialization/Helpers/YamlTypeConverters.cs rename to src/Docfx.YamlSerialization/Helpers/YamlTypeConverters.cs index 8b652754a05..a4b0e6e3c46 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/Helpers/YamlTypeConverters.cs +++ b/src/Docfx.YamlSerialization/Helpers/YamlTypeConverters.cs @@ -4,7 +4,7 @@ using YamlDotNet.Serialization; using YamlDotNet.Serialization.Converters; -namespace Microsoft.DocAsCode.YamlSerialization.Helpers; +namespace Docfx.YamlSerialization.Helpers; internal static class YamlTypeConverters { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitArrayNodeDeserializer.cs b/src/Docfx.YamlSerialization/NodeDeserializers/EmitArrayNodeDeserializer.cs similarity index 97% rename from src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitArrayNodeDeserializer.cs rename to src/Docfx.YamlSerialization/NodeDeserializers/EmitArrayNodeDeserializer.cs index 399ed01d089..6dda6cca5c3 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitArrayNodeDeserializer.cs +++ b/src/Docfx.YamlSerialization/NodeDeserializers/EmitArrayNodeDeserializer.cs @@ -8,7 +8,7 @@ using YamlDotNet.Core; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.NodeDeserializers; +namespace Docfx.YamlSerialization.NodeDeserializers; public class EmitArrayNodeDeserializer : INodeDeserializer { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs b/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs similarity index 97% rename from src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs rename to src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs index 50c9b85539f..ddaa18c212a 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs +++ b/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericCollectionNodeDeserializer.cs @@ -3,7 +3,7 @@ using System.Reflection; using System.Reflection.Emit; -using Microsoft.DocAsCode.YamlSerialization.Helpers; +using Docfx.YamlSerialization.Helpers; using YamlDotNet.Core; using YamlDotNet.Core.Events; using YamlDotNet.Serialization; @@ -11,7 +11,7 @@ using EditorBrowsable = System.ComponentModel.EditorBrowsableAttribute; using EditorBrowsableState = System.ComponentModel.EditorBrowsableState; -namespace Microsoft.DocAsCode.YamlSerialization.NodeDeserializers; +namespace Docfx.YamlSerialization.NodeDeserializers; public class EmitGenericCollectionNodeDeserializer : INodeDeserializer { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs b/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs similarity index 97% rename from src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs rename to src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs index 7516a3c9609..92342b7dd01 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs +++ b/src/Docfx.YamlSerialization/NodeDeserializers/EmitGenericDictionaryNodeDeserializer.cs @@ -4,12 +4,12 @@ using System.ComponentModel; using System.Reflection; using System.Reflection.Emit; -using Microsoft.DocAsCode.YamlSerialization.Helpers; +using Docfx.YamlSerialization.Helpers; using YamlDotNet.Core; using YamlDotNet.Core.Events; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.NodeDeserializers; +namespace Docfx.YamlSerialization.NodeDeserializers; public class EmitGenericDictionaryNodeDeserializer : INodeDeserializer { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/ExtensibleObjectNodeDeserializer.cs b/src/Docfx.YamlSerialization/NodeDeserializers/ExtensibleObjectNodeDeserializer.cs similarity index 97% rename from src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/ExtensibleObjectNodeDeserializer.cs rename to src/Docfx.YamlSerialization/NodeDeserializers/ExtensibleObjectNodeDeserializer.cs index 4794abaeaf3..bc172d4266c 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/NodeDeserializers/ExtensibleObjectNodeDeserializer.cs +++ b/src/Docfx.YamlSerialization/NodeDeserializers/ExtensibleObjectNodeDeserializer.cs @@ -6,7 +6,7 @@ using YamlDotNet.Serialization; using YamlDotNet.Serialization.Utilities; -namespace Microsoft.DocAsCode.YamlSerialization.NodeDeserializers; +namespace Docfx.YamlSerialization.NodeDeserializers; public sealed class ExtensibleObjectNodeDeserializer : INodeDeserializer { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs b/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs similarity index 93% rename from src/Microsoft.DocAsCode.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs rename to src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs index 314f0ae4c12..b1e3f9c9ece 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs +++ b/src/Docfx.YamlSerialization/NodeTypeResolvers/ScalarYamlNodeTypeResolver.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization.Helpers; +using Docfx.YamlSerialization.Helpers; using YamlDotNet.Core.Events; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.NodeTypeResolvers; +namespace Docfx.YamlSerialization.NodeTypeResolvers; internal sealed class ScalarYamlNodeTypeResolver : INodeTypeResolver { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs b/src/Docfx.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs similarity index 91% rename from src/Microsoft.DocAsCode.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs rename to src/Docfx.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs index e163173271a..da4c46dcfd9 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs +++ b/src/Docfx.YamlSerialization/ObjectDescriptors/BetterObjectDescriptor.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization.Helpers; +using Docfx.YamlSerialization.Helpers; using YamlDotNet.Core; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.ObjectDescriptors; +namespace Docfx.YamlSerialization.ObjectDescriptors; public class BetterObjectDescriptor : IObjectDescriptor { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs b/src/Docfx.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs similarity index 97% rename from src/Microsoft.DocAsCode.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs rename to src/Docfx.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs index 468cb505be4..0b6ab897df4 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs +++ b/src/Docfx.YamlSerialization/ObjectFactories/DefaultEmitObjectFactory.cs @@ -6,7 +6,7 @@ using YamlDotNet.Serialization.ObjectFactories; -namespace Microsoft.DocAsCode.YamlSerialization.ObjectFactories; +namespace Docfx.YamlSerialization.ObjectFactories; public class DefaultEmitObjectFactory : ObjectFactoryBase { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs b/src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs similarity index 98% rename from src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs rename to src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs index 5a01ecae6f7..38a571c22e5 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs +++ b/src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/FullObjectGraphTraversalStrategy.cs @@ -6,14 +6,14 @@ using System.Globalization; using System.Reflection; using System.Reflection.Emit; -using Microsoft.DocAsCode.YamlSerialization.Helpers; -using Microsoft.DocAsCode.YamlSerialization.ObjectDescriptors; +using Docfx.YamlSerialization.Helpers; +using Docfx.YamlSerialization.ObjectDescriptors; using YamlDotNet.Serialization; using YamlDotNet.Serialization.NamingConventions; using IObjectGraphVisitor = System.Object; using IObjectGraphVisitorContext = System.Object; -namespace Microsoft.DocAsCode.YamlSerialization.ObjectGraphTraversalStrategies; +namespace Docfx.YamlSerialization.ObjectGraphTraversalStrategies; /// /// An implementation of that traverses diff --git a/src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphTraversalStrategies/RoundtripObjectGraphTraversalStrategy.cs b/src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/RoundtripObjectGraphTraversalStrategy.cs similarity index 91% rename from src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphTraversalStrategies/RoundtripObjectGraphTraversalStrategy.cs rename to src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/RoundtripObjectGraphTraversalStrategy.cs index 0cc7acb72e9..3e53a587526 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphTraversalStrategies/RoundtripObjectGraphTraversalStrategy.cs +++ b/src/Docfx.YamlSerialization/ObjectGraphTraversalStrategies/RoundtripObjectGraphTraversalStrategy.cs @@ -2,12 +2,12 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Globalization; -using Microsoft.DocAsCode.YamlSerialization.Helpers; +using Docfx.YamlSerialization.Helpers; using YamlDotNet.Serialization; using IObjectGraphVisitor = System.Object; using IObjectGraphVisitorContext = System.Object; -namespace Microsoft.DocAsCode.YamlSerialization.ObjectGraphTraversalStrategies; +namespace Docfx.YamlSerialization.ObjectGraphTraversalStrategies; /// /// An implementation of that traverses diff --git a/src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphVisitors/ExclusiveObjectGraphVisitor.cs b/src/Docfx.YamlSerialization/ObjectGraphVisitors/ExclusiveObjectGraphVisitor.cs similarity index 94% rename from src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphVisitors/ExclusiveObjectGraphVisitor.cs rename to src/Docfx.YamlSerialization/ObjectGraphVisitors/ExclusiveObjectGraphVisitor.cs index ed7e70c9910..d4c1afaec7e 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/ObjectGraphVisitors/ExclusiveObjectGraphVisitor.cs +++ b/src/Docfx.YamlSerialization/ObjectGraphVisitors/ExclusiveObjectGraphVisitor.cs @@ -6,7 +6,7 @@ using YamlDotNet.Serialization; using YamlDotNet.Serialization.ObjectGraphVisitors; -namespace Microsoft.DocAsCode.YamlSerialization.ObjectGraphVisitors; +namespace Docfx.YamlSerialization.ObjectGraphVisitors; /// /// YamlDotNet behavior has changed since 6.x so a custom version which doesn't check on EnterMapping(IObjectDescriptor). diff --git a/src/Microsoft.DocAsCode.YamlSerialization/SerializationOptions.cs b/src/Docfx.YamlSerialization/SerializationOptions.cs similarity index 96% rename from src/Microsoft.DocAsCode.YamlSerialization/SerializationOptions.cs rename to src/Docfx.YamlSerialization/SerializationOptions.cs index b42b4c8ec29..3d9aa21bced 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/SerializationOptions.cs +++ b/src/Docfx.YamlSerialization/SerializationOptions.cs @@ -1,7 +1,7 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -namespace Microsoft.DocAsCode.YamlSerialization; +namespace Docfx.YamlSerialization; /// Options that control the serialization process. [Flags] diff --git a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/EmitTypeInspector.cs b/src/Docfx.YamlSerialization/TypeInspectors/EmitTypeInspector.cs similarity index 99% rename from src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/EmitTypeInspector.cs rename to src/Docfx.YamlSerialization/TypeInspectors/EmitTypeInspector.cs index 6783f763345..f8b6ddb09c7 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/EmitTypeInspector.cs +++ b/src/Docfx.YamlSerialization/TypeInspectors/EmitTypeInspector.cs @@ -4,12 +4,12 @@ using System.Collections.Concurrent; using System.Reflection; using System.Reflection.Emit; -using Microsoft.DocAsCode.YamlSerialization.Helpers; -using Microsoft.DocAsCode.YamlSerialization.ObjectDescriptors; +using Docfx.YamlSerialization.Helpers; +using Docfx.YamlSerialization.ObjectDescriptors; using YamlDotNet.Core; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.TypeInspectors; +namespace Docfx.YamlSerialization.TypeInspectors; public class EmitTypeInspector : ExtensibleTypeInspectorSkeleton { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleNamingConventionTypeInspector.cs b/src/Docfx.YamlSerialization/TypeInspectors/ExtensibleNamingConventionTypeInspector.cs similarity index 95% rename from src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleNamingConventionTypeInspector.cs rename to src/Docfx.YamlSerialization/TypeInspectors/ExtensibleNamingConventionTypeInspector.cs index 683289521e6..61f6dc6aa32 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleNamingConventionTypeInspector.cs +++ b/src/Docfx.YamlSerialization/TypeInspectors/ExtensibleNamingConventionTypeInspector.cs @@ -3,7 +3,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.TypeInspectors; +namespace Docfx.YamlSerialization.TypeInspectors; public sealed class ExtensibleNamingConventionTypeInspector : ExtensibleTypeInspectorSkeleton { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleReadableAndWritablePropertiesTypeInspector.cs b/src/Docfx.YamlSerialization/TypeInspectors/ExtensibleReadableAndWritablePropertiesTypeInspector.cs similarity index 93% rename from src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleReadableAndWritablePropertiesTypeInspector.cs rename to src/Docfx.YamlSerialization/TypeInspectors/ExtensibleReadableAndWritablePropertiesTypeInspector.cs index fc13a3a6a96..5ed13063d70 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleReadableAndWritablePropertiesTypeInspector.cs +++ b/src/Docfx.YamlSerialization/TypeInspectors/ExtensibleReadableAndWritablePropertiesTypeInspector.cs @@ -3,7 +3,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.TypeInspectors; +namespace Docfx.YamlSerialization.TypeInspectors; public sealed class ExtensibleReadableAndWritablePropertiesTypeInspector : ExtensibleTypeInspectorSkeleton { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleTypeInspectorSkeleton.cs b/src/Docfx.YamlSerialization/TypeInspectors/ExtensibleTypeInspectorSkeleton.cs similarity index 96% rename from src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleTypeInspectorSkeleton.cs rename to src/Docfx.YamlSerialization/TypeInspectors/ExtensibleTypeInspectorSkeleton.cs index 9d81d53c774..964b1ea8d7e 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleTypeInspectorSkeleton.cs +++ b/src/Docfx.YamlSerialization/TypeInspectors/ExtensibleTypeInspectorSkeleton.cs @@ -5,7 +5,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.TypeInspectors; +namespace Docfx.YamlSerialization.TypeInspectors; public abstract class ExtensibleTypeInspectorSkeleton : ITypeInspector, IExtensibleTypeInspector { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleYamlAttributesTypeInspector.cs b/src/Docfx.YamlSerialization/TypeInspectors/ExtensibleYamlAttributesTypeInspector.cs similarity index 96% rename from src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleYamlAttributesTypeInspector.cs rename to src/Docfx.YamlSerialization/TypeInspectors/ExtensibleYamlAttributesTypeInspector.cs index 820f5e7a319..23e5a3cd026 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/ExtensibleYamlAttributesTypeInspector.cs +++ b/src/Docfx.YamlSerialization/TypeInspectors/ExtensibleYamlAttributesTypeInspector.cs @@ -1,6 +1,6 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.TypeInspectors; +namespace Docfx.YamlSerialization.TypeInspectors; /// /// Applies the to another . diff --git a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/IExtensibleTypeInspector.cs b/src/Docfx.YamlSerialization/TypeInspectors/IExtensibleTypeInspector.cs similarity index 83% rename from src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/IExtensibleTypeInspector.cs rename to src/Docfx.YamlSerialization/TypeInspectors/IExtensibleTypeInspector.cs index 1520c5ca9a5..9ce4a40898b 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/TypeInspectors/IExtensibleTypeInspector.cs +++ b/src/Docfx.YamlSerialization/TypeInspectors/IExtensibleTypeInspector.cs @@ -3,7 +3,7 @@ using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.YamlSerialization.TypeInspectors; +namespace Docfx.YamlSerialization.TypeInspectors; public interface IExtensibleTypeInspector : ITypeInspector { diff --git a/src/Microsoft.DocAsCode.YamlSerialization/YamlDeserializer.cs b/src/Docfx.YamlSerialization/YamlDeserializer.cs similarity index 96% rename from src/Microsoft.DocAsCode.YamlSerialization/YamlDeserializer.cs rename to src/Docfx.YamlSerialization/YamlDeserializer.cs index 122b29629df..6003b65301e 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/YamlDeserializer.cs +++ b/src/Docfx.YamlSerialization/YamlDeserializer.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization.Helpers; -using Microsoft.DocAsCode.YamlSerialization.NodeDeserializers; -using Microsoft.DocAsCode.YamlSerialization.NodeTypeResolvers; -using Microsoft.DocAsCode.YamlSerialization.ObjectFactories; -using Microsoft.DocAsCode.YamlSerialization.TypeInspectors; +using Docfx.YamlSerialization.Helpers; +using Docfx.YamlSerialization.NodeDeserializers; +using Docfx.YamlSerialization.NodeTypeResolvers; +using Docfx.YamlSerialization.ObjectFactories; +using Docfx.YamlSerialization.TypeInspectors; using YamlDotNet.Core; using YamlDotNet.Core.Events; using YamlDotNet.Serialization; @@ -16,7 +16,7 @@ using YamlDotNet.Serialization.Utilities; using YamlDotNet.Serialization.ValueDeserializers; -namespace Microsoft.DocAsCode.YamlSerialization; +namespace Docfx.YamlSerialization; /// /// A facade for the YAML library with the standard configuration. diff --git a/src/Microsoft.DocAsCode.YamlSerialization/YamlSerializer.cs b/src/Docfx.YamlSerialization/YamlSerializer.cs similarity index 93% rename from src/Microsoft.DocAsCode.YamlSerialization/YamlSerializer.cs rename to src/Docfx.YamlSerialization/YamlSerializer.cs index 858ac7a4fa3..348ac373208 100644 --- a/src/Microsoft.DocAsCode.YamlSerialization/YamlSerializer.cs +++ b/src/Docfx.YamlSerialization/YamlSerializer.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization.Helpers; -using Microsoft.DocAsCode.YamlSerialization.ObjectDescriptors; -using Microsoft.DocAsCode.YamlSerialization.ObjectGraphTraversalStrategies; -using Microsoft.DocAsCode.YamlSerialization.ObjectGraphVisitors; -using Microsoft.DocAsCode.YamlSerialization.TypeInspectors; +using Docfx.YamlSerialization.Helpers; +using Docfx.YamlSerialization.ObjectDescriptors; +using Docfx.YamlSerialization.ObjectGraphTraversalStrategies; +using Docfx.YamlSerialization.ObjectGraphVisitors; +using Docfx.YamlSerialization.TypeInspectors; using YamlDotNet.Core; using YamlDotNet.Core.Events; using YamlDotNet.Serialization; @@ -15,7 +15,7 @@ using YamlDotNet.Serialization.TypeInspectors; using YamlDotNet.Serialization.TypeResolvers; -namespace Microsoft.DocAsCode.YamlSerialization; +namespace Docfx.YamlSerialization; public class YamlSerializer { diff --git a/src/Microsoft.DocAsCode.App/Microsoft.DocAsCode.App.csproj b/src/Microsoft.DocAsCode.App/Microsoft.DocAsCode.App.csproj deleted file mode 100644 index 834f6dc0884..00000000000 --- a/src/Microsoft.DocAsCode.App/Microsoft.DocAsCode.App.csproj +++ /dev/null @@ -1,37 +0,0 @@ - - - true - 2.60.0 - Docfx published as a library for extensibility and advanced customization - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.Common/Microsoft.DocAsCode.Build.Common.csproj b/src/Microsoft.DocAsCode.Build.Common/Microsoft.DocAsCode.Build.Common.csproj deleted file mode 100644 index 93fd9bba3bd..00000000000 --- a/src/Microsoft.DocAsCode.Build.Common/Microsoft.DocAsCode.Build.Common.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - - - - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/Microsoft.DocAsCode.Build.ConceptualDocuments.csproj b/src/Microsoft.DocAsCode.Build.ConceptualDocuments/Microsoft.DocAsCode.Build.ConceptualDocuments.csproj deleted file mode 100644 index 4494747e770..00000000000 --- a/src/Microsoft.DocAsCode.Build.ConceptualDocuments/Microsoft.DocAsCode.Build.ConceptualDocuments.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.Engine/Microsoft.DocAsCode.Build.Engine.csproj b/src/Microsoft.DocAsCode.Build.Engine/Microsoft.DocAsCode.Build.Engine.csproj deleted file mode 100644 index a15774591f4..00000000000 --- a/src/Microsoft.DocAsCode.Build.Engine/Microsoft.DocAsCode.Build.Engine.csproj +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.ManagedReference/Microsoft.DocAsCode.Build.ManagedReference.csproj b/src/Microsoft.DocAsCode.Build.ManagedReference/Microsoft.DocAsCode.Build.ManagedReference.csproj deleted file mode 100644 index 2d0c449bf86..00000000000 --- a/src/Microsoft.DocAsCode.Build.ManagedReference/Microsoft.DocAsCode.Build.ManagedReference.csproj +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.ResourceFiles/Microsoft.DocAsCode.Build.ResourceFiles.csproj b/src/Microsoft.DocAsCode.Build.ResourceFiles/Microsoft.DocAsCode.Build.ResourceFiles.csproj deleted file mode 100644 index 4494747e770..00000000000 --- a/src/Microsoft.DocAsCode.Build.ResourceFiles/Microsoft.DocAsCode.Build.ResourceFiles.csproj +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.RestApi/Microsoft.DocAsCode.Build.RestApi.csproj b/src/Microsoft.DocAsCode.Build.RestApi/Microsoft.DocAsCode.Build.RestApi.csproj deleted file mode 100644 index 95c618c537b..00000000000 --- a/src/Microsoft.DocAsCode.Build.RestApi/Microsoft.DocAsCode.Build.RestApi.csproj +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.SchemaDriven/Microsoft.DocAsCode.Build.SchemaDriven.csproj b/src/Microsoft.DocAsCode.Build.SchemaDriven/Microsoft.DocAsCode.Build.SchemaDriven.csproj deleted file mode 100644 index 95f58a11ba2..00000000000 --- a/src/Microsoft.DocAsCode.Build.SchemaDriven/Microsoft.DocAsCode.Build.SchemaDriven.csproj +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.TableOfContents/Microsoft.DocAsCode.Build.TableOfContents.csproj b/src/Microsoft.DocAsCode.Build.TableOfContents/Microsoft.DocAsCode.Build.TableOfContents.csproj deleted file mode 100644 index 568fb2b4529..00000000000 --- a/src/Microsoft.DocAsCode.Build.TableOfContents/Microsoft.DocAsCode.Build.TableOfContents.csproj +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/src/Microsoft.DocAsCode.Build.UniversalReference/Microsoft.DocAsCode.Build.UniversalReference.csproj b/src/Microsoft.DocAsCode.Build.UniversalReference/Microsoft.DocAsCode.Build.UniversalReference.csproj deleted file mode 100644 index 0bd8e3f7e4d..00000000000 --- a/src/Microsoft.DocAsCode.Build.UniversalReference/Microsoft.DocAsCode.Build.UniversalReference.csproj +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.DocAsCode.Common/Microsoft.DocAsCode.Common.csproj b/src/Microsoft.DocAsCode.Common/Microsoft.DocAsCode.Common.csproj deleted file mode 100644 index 2409eea9891..00000000000 --- a/src/Microsoft.DocAsCode.Common/Microsoft.DocAsCode.Common.csproj +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - diff --git a/src/Microsoft.DocAsCode.DataContracts.Common/Microsoft.DocAsCode.DataContracts.Common.csproj b/src/Microsoft.DocAsCode.DataContracts.Common/Microsoft.DocAsCode.DataContracts.Common.csproj deleted file mode 100644 index 681bc01cf78..00000000000 --- a/src/Microsoft.DocAsCode.DataContracts.Common/Microsoft.DocAsCode.DataContracts.Common.csproj +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/Microsoft.DocAsCode.DataContracts.RestApi/Microsoft.DocAsCode.DataContracts.RestApi.csproj b/src/Microsoft.DocAsCode.DataContracts.RestApi/Microsoft.DocAsCode.DataContracts.RestApi.csproj deleted file mode 100644 index 6f5905c21b3..00000000000 --- a/src/Microsoft.DocAsCode.DataContracts.RestApi/Microsoft.DocAsCode.DataContracts.RestApi.csproj +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/Microsoft.DocAsCode.DataContracts.UniversalReference.csproj b/src/Microsoft.DocAsCode.DataContracts.UniversalReference/Microsoft.DocAsCode.DataContracts.UniversalReference.csproj deleted file mode 100644 index c396d9b5313..00000000000 --- a/src/Microsoft.DocAsCode.DataContracts.UniversalReference/Microsoft.DocAsCode.DataContracts.UniversalReference.csproj +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/src/Microsoft.DocAsCode.Glob/Microsoft.DocAsCode.Glob.csproj b/src/Microsoft.DocAsCode.Glob/Microsoft.DocAsCode.Glob.csproj deleted file mode 100644 index 681bc01cf78..00000000000 --- a/src/Microsoft.DocAsCode.Glob/Microsoft.DocAsCode.Glob.csproj +++ /dev/null @@ -1,5 +0,0 @@ - - - - - diff --git a/src/Microsoft.DocAsCode.MarkdigEngine/Microsoft.DocAsCode.MarkdigEngine.csproj b/src/Microsoft.DocAsCode.MarkdigEngine/Microsoft.DocAsCode.MarkdigEngine.csproj deleted file mode 100644 index 2d52bd30100..00000000000 --- a/src/Microsoft.DocAsCode.MarkdigEngine/Microsoft.DocAsCode.MarkdigEngine.csproj +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - - - - - - - - - diff --git a/src/docfx/Extensions/ArrayOptionConverter.cs b/src/docfx/Extensions/ArrayOptionConverter.cs index af704306d11..9faf1629a07 100644 --- a/src/docfx/Extensions/ArrayOptionConverter.cs +++ b/src/docfx/Extensions/ArrayOptionConverter.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using System.Globalization; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class ArrayOptionConverter : TypeConverter { diff --git a/src/docfx/Extensions/ConsoleExtension.cs b/src/docfx/Extensions/ConsoleExtension.cs index 25eab23058d..f89cb3f469b 100644 --- a/src/docfx/Extensions/ConsoleExtension.cs +++ b/src/docfx/Extensions/ConsoleExtension.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode; +namespace Docfx; internal static class ConsoleExtension { diff --git a/src/docfx/Models/BuildCommand.cs b/src/docfx/Models/BuildCommand.cs index f7bde5cec5d..f9de593ecc8 100644 --- a/src/docfx/Models/BuildCommand.cs +++ b/src/docfx/Models/BuildCommand.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class BuildCommand : Command { diff --git a/src/docfx/Models/BuildCommandOptions.cs b/src/docfx/Models/BuildCommandOptions.cs index 306e03187b9..9b75f955768 100644 --- a/src/docfx/Models/BuildCommandOptions.cs +++ b/src/docfx/Models/BuildCommandOptions.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; [Description("Generate client-only website combining API in YAML files and conceptual files")] internal class BuildCommandOptions : LogOptions diff --git a/src/docfx/Models/CommandHelper.cs b/src/docfx/Models/CommandHelper.cs index d0720343c04..2cf6b85d1b9 100644 --- a/src/docfx/Models/CommandHelper.cs +++ b/src/docfx/Models/CommandHelper.cs @@ -1,9 +1,9 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class CommandHelper { diff --git a/src/docfx/Models/DefaultCommand.cs b/src/docfx/Models/DefaultCommand.cs index 0280a50359e..b83da39c035 100644 --- a/src/docfx/Models/DefaultCommand.cs +++ b/src/docfx/Models/DefaultCommand.cs @@ -3,11 +3,11 @@ using System.ComponentModel; using System.Reflection; -using Microsoft.DocAsCode.Dotnet; +using Docfx.Dotnet; using Newtonsoft.Json; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; class DefaultCommand : Command { diff --git a/src/docfx/Models/DownloadCommand.cs b/src/docfx/Models/DownloadCommand.cs index 7dfc05a902c..138394a2742 100644 --- a/src/docfx/Models/DownloadCommand.cs +++ b/src/docfx/Models/DownloadCommand.cs @@ -2,11 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; +using Docfx.Build.Engine; +using Docfx.Common; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class DownloadCommand : Command { diff --git a/src/docfx/Models/DownloadCommandOptions.cs b/src/docfx/Models/DownloadCommandOptions.cs index 87722522300..2543593a6da 100644 --- a/src/docfx/Models/DownloadCommandOptions.cs +++ b/src/docfx/Models/DownloadCommandOptions.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; [Description("Download remote xref map file and create an xref archive in local.")] internal class DownloadCommandOptions : CommandSettings diff --git a/src/docfx/Models/InitCommand.cs b/src/docfx/Models/InitCommand.cs index 683cbee482d..15aa1c3a643 100644 --- a/src/docfx/Models/InitCommand.cs +++ b/src/docfx/Models/InitCommand.cs @@ -2,11 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Newtonsoft.Json; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class InitCommand : Command { diff --git a/src/docfx/Models/InitCommandOptions.cs b/src/docfx/Models/InitCommandOptions.cs index 103be9e3491..c14754bd9c6 100644 --- a/src/docfx/Models/InitCommandOptions.cs +++ b/src/docfx/Models/InitCommandOptions.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; [Description("Generate an initial docfx.json following the instructions")] internal class InitCommandOptions : CommandSettings diff --git a/src/docfx/Models/LogOptions.cs b/src/docfx/Models/LogOptions.cs index f77cf36ffc8..d74f7679164 100644 --- a/src/docfx/Models/LogOptions.cs +++ b/src/docfx/Models/LogOptions.cs @@ -2,11 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class LogOptions : CommandSettings { diff --git a/src/docfx/Models/MergeCommand.cs b/src/docfx/Models/MergeCommand.cs index 25be459963c..cbfd9105109 100644 --- a/src/docfx/Models/MergeCommand.cs +++ b/src/docfx/Models/MergeCommand.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class MergeCommand : Command { diff --git a/src/docfx/Models/MergeCommandOptions.cs b/src/docfx/Models/MergeCommandOptions.cs index 0fcc3d426d2..396c0867e90 100644 --- a/src/docfx/Models/MergeCommandOptions.cs +++ b/src/docfx/Models/MergeCommandOptions.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; [Description("Merge .net base API in YAML files and toc files.")] internal class MergeCommandOptions : LogOptions diff --git a/src/docfx/Models/MetadataCommand.cs b/src/docfx/Models/MetadataCommand.cs index c7fd09fba0b..6181eb359a4 100644 --- a/src/docfx/Models/MetadataCommand.cs +++ b/src/docfx/Models/MetadataCommand.cs @@ -2,11 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Diagnostics.CodeAnalysis; -using Microsoft.DocAsCode.Dotnet; +using Docfx.Dotnet; using Newtonsoft.Json; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class MetadataCommand : Command { diff --git a/src/docfx/Models/MetadataCommandOptions.cs b/src/docfx/Models/MetadataCommandOptions.cs index 666507c4392..ac116621a8c 100644 --- a/src/docfx/Models/MetadataCommandOptions.cs +++ b/src/docfx/Models/MetadataCommandOptions.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; [Description("Generate YAML files from source code")] internal class MetadataCommandOptions : LogOptions diff --git a/src/docfx/Models/PdfCommand.cs b/src/docfx/Models/PdfCommand.cs index f9318f6ee26..3b38b156daa 100644 --- a/src/docfx/Models/PdfCommand.cs +++ b/src/docfx/Models/PdfCommand.cs @@ -5,7 +5,7 @@ using Newtonsoft.Json; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class PdfCommand : Command { diff --git a/src/docfx/Models/PdfCommandOptions.cs b/src/docfx/Models/PdfCommandOptions.cs index a2d5e33d321..e8ef925e734 100644 --- a/src/docfx/Models/PdfCommandOptions.cs +++ b/src/docfx/Models/PdfCommandOptions.cs @@ -4,7 +4,7 @@ using System.ComponentModel; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; [Description("Generate pdf file")] internal class PdfCommandOptions : BuildCommandOptions diff --git a/src/docfx/Models/ServeCommand.cs b/src/docfx/Models/ServeCommand.cs index 0570c403492..c3c0a3b3b3d 100644 --- a/src/docfx/Models/ServeCommand.cs +++ b/src/docfx/Models/ServeCommand.cs @@ -5,7 +5,7 @@ using System.Diagnostics.CodeAnalysis; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class ServeCommand : Command { diff --git a/src/docfx/Models/TemplateCommand.cs b/src/docfx/Models/TemplateCommand.cs index b544041442b..41e77dbbafa 100644 --- a/src/docfx/Models/TemplateCommand.cs +++ b/src/docfx/Models/TemplateCommand.cs @@ -2,11 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.ComponentModel; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; +using Docfx.Build.Engine; +using Docfx.Common; using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class TemplateCommand { diff --git a/src/docfx/Program.cs b/src/docfx/Program.cs index 450600b862a..738dc8108e5 100644 --- a/src/docfx/Program.cs +++ b/src/docfx/Program.cs @@ -3,7 +3,7 @@ using Spectre.Console.Cli; -namespace Microsoft.DocAsCode; +namespace Docfx; internal class Program { diff --git a/src/docfx/docfx.csproj b/src/docfx/docfx.csproj index e657ccc62cd..05dada2525e 100644 --- a/src/docfx/docfx.csproj +++ b/src/docfx/docfx.csproj @@ -12,8 +12,8 @@ - - + + diff --git a/templates/build.js b/templates/build.js index b21376dddb6..48def0354c6 100644 --- a/templates/build.js +++ b/templates/build.js @@ -13,7 +13,7 @@ const argv = yargs(hideBin(process.argv)).argv const watch = argv.watch const project = argv.project || '../samples/seed' -const distdir = '../src/Microsoft.DocAsCode.App/templates' +const distdir = '../src/Docfx.App/templates' const loader = { '.eot': 'file', diff --git a/test/Docfx.Build.Common.Tests/Docfx.Build.Common.Tests.csproj b/test/Docfx.Build.Common.Tests/Docfx.Build.Common.Tests.csproj new file mode 100644 index 00000000000..341cbfcd7e5 --- /dev/null +++ b/test/Docfx.Build.Common.Tests/Docfx.Build.Common.Tests.csproj @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.Common.Tests/FileLinkInfoTest.cs b/test/Docfx.Build.Common.Tests/FileLinkInfoTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Build.Common.Tests/FileLinkInfoTest.cs rename to test/Docfx.Build.Common.Tests/FileLinkInfoTest.cs index a9ccf4a700b..536942d5dca 100644 --- a/test/Microsoft.DocAsCode.Build.Common.Tests/FileLinkInfoTest.cs +++ b/test/Docfx.Build.Common.Tests/FileLinkInfoTest.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Xunit; -namespace Microsoft.DocAsCode.MarkdigEngine.Tests; +namespace Docfx.MarkdigEngine.Tests; public class FileLinkInfoTest { diff --git a/test/Microsoft.DocAsCode.Build.Common.Tests/MarkdownReaderTest.cs b/test/Docfx.Build.Common.Tests/MarkdownReaderTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Build.Common.Tests/MarkdownReaderTest.cs rename to test/Docfx.Build.Common.Tests/MarkdownReaderTest.cs index 09796a4f99b..e96c3abd402 100644 --- a/test/Microsoft.DocAsCode.Build.Common.Tests/MarkdownReaderTest.cs +++ b/test/Docfx.Build.Common.Tests/MarkdownReaderTest.cs @@ -3,12 +3,12 @@ using System.Collections.Immutable; using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Engine; +using Docfx.MarkdigEngine; +using Docfx.Plugins; using Xunit; -namespace Microsoft.DocAsCode.Build.Common.Tests; +namespace Docfx.Build.Common.Tests; public class MarkdownReaderTest { diff --git a/test/Microsoft.DocAsCode.Build.Common.Tests/ModelAttributeHandlerTest.cs b/test/Docfx.Build.Common.Tests/ModelAttributeHandlerTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.Common.Tests/ModelAttributeHandlerTest.cs rename to test/Docfx.Build.Common.Tests/ModelAttributeHandlerTest.cs index 32a8c76d9b7..ebdc84af37d 100644 --- a/test/Microsoft.DocAsCode.Build.Common.Tests/ModelAttributeHandlerTest.cs +++ b/test/Docfx.Build.Common.Tests/ModelAttributeHandlerTest.cs @@ -2,13 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.MarkdigEngine; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Engine; +using Docfx.DataContracts.Common; +using Docfx.MarkdigEngine; +using Docfx.Plugins; using Xunit; -namespace Microsoft.DocAsCode.Build.Common.Tests; +namespace Docfx.Build.Common.Tests; public class ModelAttributeHandlerTest { diff --git a/test/Microsoft.DocAsCode.Build.Common.Tests/ReflectionHelperTest.cs b/test/Docfx.Build.Common.Tests/ReflectionHelperTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Build.Common.Tests/ReflectionHelperTest.cs rename to test/Docfx.Build.Common.Tests/ReflectionHelperTest.cs index 72d1d172e6e..70dcd04bf18 100644 --- a/test/Microsoft.DocAsCode.Build.Common.Tests/ReflectionHelperTest.cs +++ b/test/Docfx.Build.Common.Tests/ReflectionHelperTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Build.Common.Tests; +namespace Docfx.Build.Common.Tests; public class ReflectionHelperTest { diff --git a/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/ConceptualDocumentProcessorTest.cs b/test/Docfx.Build.ConceptualDocuments.Tests/ConceptualDocumentProcessorTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/ConceptualDocumentProcessorTest.cs rename to test/Docfx.Build.ConceptualDocuments.Tests/ConceptualDocumentProcessorTest.cs index 8ad6b2308f8..5ea0a407b06 100644 --- a/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/ConceptualDocumentProcessorTest.cs +++ b/test/Docfx.Build.ConceptualDocuments.Tests/ConceptualDocumentProcessorTest.cs @@ -3,16 +3,16 @@ using System.Collections.Immutable; using System.Web; -using Microsoft.DocAsCode.Build.ConceptualDocuments; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.ConceptualDocuments; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.ManagedReference.Tests; +namespace Docfx.Build.ManagedReference.Tests; [Collection("docfx STA")] public class ConceptualDocumentProcessorTest : TestBase diff --git a/test/Docfx.Build.ConceptualDocuments.Tests/Docfx.Build.ConceptualDocuments.Tests.csproj b/test/Docfx.Build.ConceptualDocuments.Tests/Docfx.Build.ConceptualDocuments.Tests.csproj new file mode 100644 index 00000000000..640b32a5adb --- /dev/null +++ b/test/Docfx.Build.ConceptualDocuments.Tests/Docfx.Build.ConceptualDocuments.Tests.csproj @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/WordCounterUnitTest.cs b/test/Docfx.Build.ConceptualDocuments.Tests/WordCounterUnitTest.cs similarity index 96% rename from test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/WordCounterUnitTest.cs rename to test/Docfx.Build.ConceptualDocuments.Tests/WordCounterUnitTest.cs index 1168c5d367c..7b47b805dfe 100644 --- a/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/WordCounterUnitTest.cs +++ b/test/Docfx.Build.ConceptualDocuments.Tests/WordCounterUnitTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Build.ConceptualDocuments.Tests; +namespace Docfx.Build.ConceptualDocuments.Tests; [Trait("Related", "Conceptual")] public class WordCounterUnitTest diff --git a/test/Docfx.Build.Engine.Tests/Docfx.Build.Engine.Tests.csproj b/test/Docfx.Build.Engine.Tests/Docfx.Build.Engine.Tests.csproj new file mode 100644 index 00000000000..e7973fad02f --- /dev/null +++ b/test/Docfx.Build.Engine.Tests/Docfx.Build.Engine.Tests.csproj @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentBuilderTest.cs b/test/Docfx.Build.Engine.Tests/DocumentBuilderTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentBuilderTest.cs rename to test/Docfx.Build.Engine.Tests/DocumentBuilderTest.cs index 702736b1630..09446e59ecc 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentBuilderTest.cs +++ b/test/Docfx.Build.Engine.Tests/DocumentBuilderTest.cs @@ -4,18 +4,18 @@ using System.Collections.Immutable; using System.Net; using System.Reflection; -using Microsoft.DocAsCode.Build.ConceptualDocuments; -using Microsoft.DocAsCode.Build.ManagedReference; -using Microsoft.DocAsCode.Build.ResourceFiles; -using Microsoft.DocAsCode.Build.TableOfContents; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.ConceptualDocuments; +using Docfx.Build.ManagedReference; +using Docfx.Build.ResourceFiles; +using Docfx.Build.TableOfContents; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class DocumentBuilderTest : TestBase @@ -268,7 +268,7 @@ public void TestBuild() "", "

Test XRef: Hello World", "Test link: link text", - "Test link: link text 2", + "Test link: link text 2", "Test link style xref: link text 3", "Test link style xref with anchor: link text 4", "Test encoded link style xref with anchor: link text 5", diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentProcessors/YamlDocumentModel.cs b/test/Docfx.Build.Engine.Tests/DocumentProcessors/YamlDocumentModel.cs similarity index 87% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentProcessors/YamlDocumentModel.cs rename to test/Docfx.Build.Engine.Tests/DocumentProcessors/YamlDocumentModel.cs index 720566ad9ea..2d8b02eca5e 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentProcessors/YamlDocumentModel.cs +++ b/test/Docfx.Build.Engine.Tests/DocumentProcessors/YamlDocumentModel.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Newtonsoft.Json; using YamlDotNet.Serialization; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Serializable] public class YamlDocumentModel diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentProcessors/YamlDocumentProcessor.cs b/test/Docfx.Build.Engine.Tests/DocumentProcessors/YamlDocumentProcessor.cs similarity index 96% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentProcessors/YamlDocumentProcessor.cs rename to test/Docfx.Build.Engine.Tests/DocumentProcessors/YamlDocumentProcessor.cs index 29462786395..c20ceca26ab 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/DocumentProcessors/YamlDocumentProcessor.cs +++ b/test/Docfx.Build.Engine.Tests/DocumentProcessors/YamlDocumentProcessor.cs @@ -5,13 +5,13 @@ using System.Composition; using System.Text; -using Microsoft.DocAsCode.Build.Common; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Build.Common; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Export(typeof(IDocumentProcessor))] public class YamlDocumentProcessor : DisposableDocumentProcessor diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/ExtractSearchIndexFromHtmlTest.cs b/test/Docfx.Build.Engine.Tests/ExtractSearchIndexFromHtmlTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/ExtractSearchIndexFromHtmlTest.cs rename to test/Docfx.Build.Engine.Tests/ExtractSearchIndexFromHtmlTest.cs index 7b7cac24688..19a2d27e872 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/ExtractSearchIndexFromHtmlTest.cs +++ b/test/Docfx.Build.Engine.Tests/ExtractSearchIndexFromHtmlTest.cs @@ -3,10 +3,10 @@ using System.Text; using HtmlAgilityPack; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class ExtractSearchIndexFromHtmlTest diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/FileMetadataHelperTest.cs b/test/Docfx.Build.Engine.Tests/FileMetadataHelperTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/FileMetadataHelperTest.cs rename to test/Docfx.Build.Engine.Tests/FileMetadataHelperTest.cs index cdb74af5157..0f4aa62230a 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/FileMetadataHelperTest.cs +++ b/test/Docfx.Build.Engine.Tests/FileMetadataHelperTest.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Glob; +using Docfx.Glob; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; public class FileMetadataHelperTest { diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/JintProcessorHelperTest.cs b/test/Docfx.Build.Engine.Tests/JintProcessorHelperTest.cs similarity index 95% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/JintProcessorHelperTest.cs rename to test/Docfx.Build.Engine.Tests/JintProcessorHelperTest.cs index 8e5205c393a..51a37b3af96 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/JintProcessorHelperTest.cs +++ b/test/Docfx.Build.Engine.Tests/JintProcessorHelperTest.cs @@ -1,10 +1,10 @@  using Jint; -using Microsoft.DocAsCode.Common; +using Docfx.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; public class JintProcessorHelperTest { diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/JsonConverterTest.cs b/test/Docfx.Build.Engine.Tests/JsonConverterTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/JsonConverterTest.cs rename to test/Docfx.Build.Engine.Tests/JsonConverterTest.cs index bcd209f9bf5..bc51830b6a2 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/JsonConverterTest.cs +++ b/test/Docfx.Build.Engine.Tests/JsonConverterTest.cs @@ -2,11 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Glob; +using Docfx.Glob; using Newtonsoft.Json; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; public class JsonConverterTest { diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/AppendStringPostProcessor.cs b/test/Docfx.Build.Engine.Tests/PostProcessors/AppendStringPostProcessor.cs similarity index 94% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/AppendStringPostProcessor.cs rename to test/Docfx.Build.Engine.Tests/PostProcessors/AppendStringPostProcessor.cs index ef8f1068c5b..b8d919b03c1 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/AppendStringPostProcessor.cs +++ b/test/Docfx.Build.Engine.Tests/PostProcessors/AppendStringPostProcessor.cs @@ -3,10 +3,10 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; internal class AppendStringPostProcessor : IPostProcessor { diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/Data/manifest_basic.json b/test/Docfx.Build.Engine.Tests/PostProcessors/Data/manifest_basic.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/Data/manifest_basic.json rename to test/Docfx.Build.Engine.Tests/PostProcessors/Data/manifest_basic.json diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/Data/manifest_incremental.json b/test/Docfx.Build.Engine.Tests/PostProcessors/Data/manifest_incremental.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/Data/manifest_incremental.json rename to test/Docfx.Build.Engine.Tests/PostProcessors/Data/manifest_incremental.json diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/Data/manifest_incremental_split_case.json b/test/Docfx.Build.Engine.Tests/PostProcessors/Data/manifest_incremental_split_case.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/Data/manifest_incremental_split_case.json rename to test/Docfx.Build.Engine.Tests/PostProcessors/Data/manifest_incremental_split_case.json diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/Data/manifest_incremental_with_directory.json b/test/Docfx.Build.Engine.Tests/PostProcessors/Data/manifest_incremental_with_directory.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/Data/manifest_incremental_with_directory.json rename to test/Docfx.Build.Engine.Tests/PostProcessors/Data/manifest_incremental_with_directory.json diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/PostProcessorsHandlerTest.cs b/test/Docfx.Build.Engine.Tests/PostProcessors/PostProcessorsHandlerTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/PostProcessorsHandlerTest.cs rename to test/Docfx.Build.Engine.Tests/PostProcessors/PostProcessorsHandlerTest.cs index e022d96a878..4507f2ed667 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/PostProcessorsHandlerTest.cs +++ b/test/Docfx.Build.Engine.Tests/PostProcessors/PostProcessorsHandlerTest.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class PostProcessorsHandlerTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/SitemapGeneratorTests.cs b/test/Docfx.Build.Engine.Tests/PostProcessors/SitemapGeneratorTests.cs similarity index 93% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/SitemapGeneratorTests.cs rename to test/Docfx.Build.Engine.Tests/PostProcessors/SitemapGeneratorTests.cs index 8e767cdd73d..538097ae09a 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/PostProcessors/SitemapGeneratorTests.cs +++ b/test/Docfx.Build.Engine.Tests/PostProcessors/SitemapGeneratorTests.cs @@ -2,13 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Xml.Linq; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; using Xunit.Abstractions; -using DocumentType = Microsoft.DocAsCode.DataContracts.Common.Constants.DocumentType; +using DocumentType = Docfx.DataContracts.Common.Constants.DocumentType; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class SitemapGeneratorTests : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/RemoveDebugInfoTest.cs b/test/Docfx.Build.Engine.Tests/RemoveDebugInfoTest.cs similarity index 92% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/RemoveDebugInfoTest.cs rename to test/Docfx.Build.Engine.Tests/RemoveDebugInfoTest.cs index 1ac3d522405..dd66ffaf346 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/RemoveDebugInfoTest.cs +++ b/test/Docfx.Build.Engine.Tests/RemoveDebugInfoTest.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class RemoveDebugInfoTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateManagerUnitTest.cs b/test/Docfx.Build.Engine.Tests/TemplateManagerUnitTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateManagerUnitTest.cs rename to test/Docfx.Build.Engine.Tests/TemplateManagerUnitTest.cs index 7d243e095c5..28b7a0c23f9 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateManagerUnitTest.cs +++ b/test/Docfx.Build.Engine.Tests/TemplateManagerUnitTest.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class TemplateManagerUnitTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplatePageLoaderUnitTest.cs b/test/Docfx.Build.Engine.Tests/TemplatePageLoaderUnitTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TemplatePageLoaderUnitTest.cs rename to test/Docfx.Build.Engine.Tests/TemplatePageLoaderUnitTest.cs index 07973d62bb7..f2aac88477b 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplatePageLoaderUnitTest.cs +++ b/test/Docfx.Build.Engine.Tests/TemplatePageLoaderUnitTest.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class TemplatePageLoaderUnitTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplatePreprocessorLoaderUnitTest.cs b/test/Docfx.Build.Engine.Tests/TemplatePreprocessorLoaderUnitTest.cs similarity index 93% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TemplatePreprocessorLoaderUnitTest.cs rename to test/Docfx.Build.Engine.Tests/TemplatePreprocessorLoaderUnitTest.cs index edca2b3fb4b..b6d2603f848 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplatePreprocessorLoaderUnitTest.cs +++ b/test/Docfx.Build.Engine.Tests/TemplatePreprocessorLoaderUnitTest.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class TemplatePreprocessorLoaderUnitTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateProcessorUnitTest.cs b/test/Docfx.Build.Engine.Tests/TemplateProcessorUnitTest.cs similarity index 93% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateProcessorUnitTest.cs rename to test/Docfx.Build.Engine.Tests/TemplateProcessorUnitTest.cs index e1a84c62712..f641e0bf1e3 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateProcessorUnitTest.cs +++ b/test/Docfx.Build.Engine.Tests/TemplateProcessorUnitTest.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class TemplateProcessorUnitTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateRendererLoaderUnitTest.cs b/test/Docfx.Build.Engine.Tests/TemplateRendererLoaderUnitTest.cs similarity index 96% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateRendererLoaderUnitTest.cs rename to test/Docfx.Build.Engine.Tests/TemplateRendererLoaderUnitTest.cs index 040921138f6..1724950c5be 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/TemplateRendererLoaderUnitTest.cs +++ b/test/Docfx.Build.Engine.Tests/TemplateRendererLoaderUnitTest.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class TemplateRendererLoaderUnitTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TestData/System.Console.csyml b/test/Docfx.Build.Engine.Tests/TestData/System.Console.csyml similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TestData/System.Console.csyml rename to test/Docfx.Build.Engine.Tests/TestData/System.Console.csyml diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TestData/System.ConsoleColor.csyml b/test/Docfx.Build.Engine.Tests/TestData/System.ConsoleColor.csyml similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TestData/System.ConsoleColor.csyml rename to test/Docfx.Build.Engine.Tests/TestData/System.ConsoleColor.csyml diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TestData/snippets/dataflowdegreeofparallelism.cs b/test/Docfx.Build.Engine.Tests/TestData/snippets/dataflowdegreeofparallelism.cs similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TestData/snippets/dataflowdegreeofparallelism.cs rename to test/Docfx.Build.Engine.Tests/TestData/snippets/dataflowdegreeofparallelism.cs diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/TestData/xrefmap.yml b/test/Docfx.Build.Engine.Tests/TestData/xrefmap.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/TestData/xrefmap.yml rename to test/Docfx.Build.Engine.Tests/TestData/xrefmap.yml diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/ValidateBookmarkTest.cs b/test/Docfx.Build.Engine.Tests/ValidateBookmarkTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/ValidateBookmarkTest.cs rename to test/Docfx.Build.Engine.Tests/ValidateBookmarkTest.cs index cda07aef0d1..dd3ad03d166 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/ValidateBookmarkTest.cs +++ b/test/Docfx.Build.Engine.Tests/ValidateBookmarkTest.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Collection("docfx STA")] public class ValidateBookmarkTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/XRefArchiveBuilderTest.cs b/test/Docfx.Build.Engine.Tests/XRefArchiveBuilderTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/XRefArchiveBuilderTest.cs rename to test/Docfx.Build.Engine.Tests/XRefArchiveBuilderTest.cs index f34e7fc3363..c71055cf2a6 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/XRefArchiveBuilderTest.cs +++ b/test/Docfx.Build.Engine.Tests/XRefArchiveBuilderTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; [Trait("Related", "XRefArchive")] public class XRefArchiveBuilderTest diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/XRefMapDownloaderTest.cs b/test/Docfx.Build.Engine.Tests/XRefMapDownloaderTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/XRefMapDownloaderTest.cs rename to test/Docfx.Build.Engine.Tests/XRefMapDownloaderTest.cs index 267a6a8ce82..2f2875453e4 100644 --- a/test/Microsoft.DocAsCode.Build.Engine.Tests/XRefMapDownloaderTest.cs +++ b/test/Docfx.Build.Engine.Tests/XRefMapDownloaderTest.cs @@ -4,7 +4,7 @@ using System.Net; using Xunit; -namespace Microsoft.DocAsCode.Build.Engine.Tests; +namespace Docfx.Build.Engine.Tests; public class XRefMapDownloadTest { diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/tmpl/tmpl1/sub/file1 b/test/Docfx.Build.Engine.Tests/tmpl/tmpl1/sub/file1 similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/tmpl/tmpl1/sub/file1 rename to test/Docfx.Build.Engine.Tests/tmpl/tmpl1/sub/file1 diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/tmpl/tmpl1/tmpl1.dot.$ b/test/Docfx.Build.Engine.Tests/tmpl/tmpl1/tmpl1.dot.$ similarity index 100% rename from test/Microsoft.DocAsCode.Build.Engine.Tests/tmpl/tmpl1/tmpl1.dot.$ rename to test/Docfx.Build.Engine.Tests/tmpl/tmpl1/tmpl1.dot.$ diff --git a/test/Docfx.Build.ManagedReference.Tests/Docfx.Build.ManagedReference.Tests.csproj b/test/Docfx.Build.ManagedReference.Tests/Docfx.Build.ManagedReference.Tests.csproj new file mode 100644 index 00000000000..2e6fc5693b2 --- /dev/null +++ b/test/Docfx.Build.ManagedReference.Tests/Docfx.Build.ManagedReference.Tests.csproj @@ -0,0 +1,7 @@ + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/ManagedReferenceDocumentProcessorTest.cs b/test/Docfx.Build.ManagedReference.Tests/ManagedReferenceDocumentProcessorTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/ManagedReferenceDocumentProcessorTest.cs rename to test/Docfx.Build.ManagedReference.Tests/ManagedReferenceDocumentProcessorTest.cs index 8b9049864d3..678098f6fe3 100644 --- a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/ManagedReferenceDocumentProcessorTest.cs +++ b/test/Docfx.Build.ManagedReference.Tests/ManagedReferenceDocumentProcessorTest.cs @@ -3,17 +3,17 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Build.ManagedReference.BuildOutputs; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Build.ManagedReference.BuildOutputs; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.ManagedReference.Tests; +namespace Docfx.Build.ManagedReference.Tests; public class ManagedReferenceDocumentProcessorTest : TestBase { diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/CatLibrary.Cat-2.yml b/test/Docfx.Build.ManagedReference.Tests/TestData/mref/CatLibrary.Cat-2.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/CatLibrary.Cat-2.yml rename to test/Docfx.Build.ManagedReference.Tests/TestData/mref/CatLibrary.Cat-2.yml diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/FileWithNoContent.yml b/test/Docfx.Build.ManagedReference.Tests/TestData/mref/FileWithNoContent.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/FileWithNoContent.yml rename to test/Docfx.Build.ManagedReference.Tests/TestData/mref/FileWithNoContent.yml diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/Namespace1.Class1`2.#ctor.yml b/test/Docfx.Build.ManagedReference.Tests/TestData/mref/Namespace1.Class1`2.#ctor.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/Namespace1.Class1`2.#ctor.yml rename to test/Docfx.Build.ManagedReference.Tests/TestData/mref/Namespace1.Class1`2.#ctor.yml diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/Namespace1.Class1`2.yml b/test/Docfx.Build.ManagedReference.Tests/TestData/mref/Namespace1.Class1`2.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/Namespace1.Class1`2.yml rename to test/Docfx.Build.ManagedReference.Tests/TestData/mref/Namespace1.Class1`2.yml diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/System.String.yml b/test/Docfx.Build.ManagedReference.Tests/TestData/mref/System.String.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/mref/System.String.yml rename to test/Docfx.Build.ManagedReference.Tests/TestData/mref/System.String.yml diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.default.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.default.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.default.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.default.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.invalid.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.invalid.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.invalid.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.invalid.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.invalid.ref.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.invalid.ref.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.invalid.ref.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.invalid.ref.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.multi.uid.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.multi.uid.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.multi.uid.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.multi.uid.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.not.predefined.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.not.predefined.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.not.predefined.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.not.predefined.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.overload.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.overload.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.overload.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.overload.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.parameters.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.parameters.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.parameters.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.parameters.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.remarks.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.remarks.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.remarks.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.remarks.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.simple.md b/test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.simple.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.simple.md rename to test/Docfx.Build.ManagedReference.Tests/TestData/overwrite/mref.overwrite.simple.md diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/template/ManagedReference.html.tmpl b/test/Docfx.Build.ManagedReference.Tests/TestData/template/ManagedReference.html.tmpl similarity index 100% rename from test/Microsoft.DocAsCode.Build.ManagedReference.Tests/TestData/template/ManagedReference.html.tmpl rename to test/Docfx.Build.ManagedReference.Tests/TestData/template/ManagedReference.html.tmpl diff --git a/test/Docfx.Build.OverwriteDocuments.Tests/Docfx.Build.OverwriteDocuments.Tests.csproj b/test/Docfx.Build.OverwriteDocuments.Tests/Docfx.Build.OverwriteDocuments.Tests.csproj new file mode 100644 index 00000000000..ada9e2ab801 --- /dev/null +++ b/test/Docfx.Build.OverwriteDocuments.Tests/Docfx.Build.OverwriteDocuments.Tests.csproj @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/MarkdownFragmentsCreatorTest.cs b/test/Docfx.Build.OverwriteDocuments.Tests/MarkdownFragmentsCreatorTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/MarkdownFragmentsCreatorTest.cs rename to test/Docfx.Build.OverwriteDocuments.Tests/MarkdownFragmentsCreatorTest.cs index 20d7af8dd60..f08c2c55d73 100644 --- a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/MarkdownFragmentsCreatorTest.cs +++ b/test/Docfx.Build.OverwriteDocuments.Tests/MarkdownFragmentsCreatorTest.cs @@ -5,7 +5,7 @@ using Markdig.Syntax; using Xunit; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments.Tests; +namespace Docfx.Build.OverwriteDocuments.Tests; public class MarkdownFragmentsCreatorTest { diff --git a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs b/test/Docfx.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs rename to test/Docfx.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs index b8af10c3ac9..180cc438081 100644 --- a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs +++ b/test/Docfx.Build.OverwriteDocuments.Tests/OverwriteDocumentModelCreatorTest.cs @@ -3,14 +3,14 @@ using Markdig; using Markdig.Syntax; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments.Tests; +namespace Docfx.Build.OverwriteDocuments.Tests; public class OverwriteDocumentModelCreatorTest { diff --git a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/OverwriteUtilityTest.cs b/test/Docfx.Build.OverwriteDocuments.Tests/OverwriteUtilityTest.cs similarity index 95% rename from test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/OverwriteUtilityTest.cs rename to test/Docfx.Build.OverwriteDocuments.Tests/OverwriteUtilityTest.cs index 2f32de26e14..e7e5513b21a 100644 --- a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/OverwriteUtilityTest.cs +++ b/test/Docfx.Build.OverwriteDocuments.Tests/OverwriteUtilityTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Build.OverwriteDocuments.Tests; +namespace Docfx.Build.OverwriteDocuments.Tests; public class OverwriteUtilityTest { diff --git a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/TestData/System.String.yml.md b/test/Docfx.Build.OverwriteDocuments.Tests/TestData/System.String.yml.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/TestData/System.String.yml.md rename to test/Docfx.Build.OverwriteDocuments.Tests/TestData/System.String.yml.md diff --git a/test/Docfx.Build.RestApi.Tests/Docfx.Build.RestApi.Tests.csproj b/test/Docfx.Build.RestApi.Tests/Docfx.Build.RestApi.Tests.csproj new file mode 100644 index 00000000000..98e701193c3 --- /dev/null +++ b/test/Docfx.Build.RestApi.Tests/Docfx.Build.RestApi.Tests.csproj @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs b/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs rename to test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs index 6bc5a27dd6a..d239c5eb60f 100644 --- a/test/Microsoft.DocAsCode.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs +++ b/test/Docfx.Build.RestApi.Tests/RestApiDocumentProcessorTest.cs @@ -3,17 +3,17 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.RestApi.Tests; +namespace Docfx.Build.RestApi.Tests; [Collection("docfx STA")] public class RestApiDocumentProcessorTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/SwaggerJsonParserTest.cs b/test/Docfx.Build.RestApi.Tests/SwaggerJsonParserTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/SwaggerJsonParserTest.cs rename to test/Docfx.Build.RestApi.Tests/SwaggerJsonParserTest.cs index b90a0fc8541..a9bbb30c2d3 100644 --- a/test/Microsoft.DocAsCode.Build.RestApi.Tests/SwaggerJsonParserTest.cs +++ b/test/Docfx.Build.RestApi.Tests/SwaggerJsonParserTest.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Build.RestApi.Swagger; +using Docfx.Build.RestApi.Swagger; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.RestApi.Tests; +namespace Docfx.Build.RestApi.Tests; public class SwaggerJsonParserTest { diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/contacts-operations.md b/test/Docfx.Build.RestApi.Tests/TestData/contacts-operations.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/contacts-operations.md rename to test/Docfx.Build.RestApi.Tests/TestData/contacts-operations.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.default.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.default.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.default.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.default.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.links.first.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.links.first.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.links.first.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.links.first.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.links.second.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.links.second.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.links.second.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.links.second.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.invalid.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.multi.uid.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.multi.uid.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.multi.uid.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.multi.uid.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.not.predefined.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.not.predefined.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.not.predefined.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.not.predefined.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.parameters.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.parameters.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.parameters.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.parameters.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.remarks.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.remarks.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.remarks.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.remarks.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.simple.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.simple.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.simple.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.simple.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.tags.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.tags.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.tags.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.tags.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.unmergeable.md b/test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.unmergeable.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.unmergeable.md rename to test/Docfx.Build.RestApi.Tests/TestData/overwrite/rest.overwrite.unmergeable.md diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/contacts.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/contacts.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/contacts.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/contacts.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/contactsForExternalRef.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/contactsForExternalRef.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/contactsForExternalRef.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/contactsForExternalRef.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalLoopRef_A.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/externalLoopRef_A.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalLoopRef_A.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/externalLoopRef_A.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalLoopRef_B.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/externalLoopRef_B.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalLoopRef_B.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/externalLoopRef_B.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalRefNotExist.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/externalRefNotExist.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalRefNotExist.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/externalRefNotExist.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalRefWithDefinition.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/externalRefWithDefinition.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalRefWithDefinition.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/externalRefWithDefinition.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalRefWithRefInside.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/externalRefWithRefInside.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/externalRefWithRefInside.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/externalRefWithRefInside.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/loopref_swagger2.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/loopref_swagger2.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/loopref_swagger2.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/loopref_swagger2.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/pathParameters_swagger2.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/pathParameters_swagger2.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/pathParameters_swagger2.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/pathParameters_swagger2.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/ref.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/ref.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/ref.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/ref.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/refWithRefInside.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/refWithRefInside.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/refWithRefInside.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/refWithRefInside.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/ref_swagger2.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/ref_swagger2.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/ref_swagger2.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/ref_swagger2.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/resolveKeywordWithRefInside.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/resolveKeywordWithRefInside.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/resolveKeywordWithRefInside.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/resolveKeywordWithRefInside.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/simple_swagger2.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/simple_swagger2.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/simple_swagger2.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/simple_swagger2.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/tag_swagger2.json b/test/Docfx.Build.RestApi.Tests/TestData/swagger/tag_swagger2.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.Tests/TestData/swagger/tag_swagger2.json rename to test/Docfx.Build.RestApi.Tests/TestData/swagger/tag_swagger2.json diff --git a/test/Docfx.Build.RestApi.WithPlugins.Tests/Docfx.Build.RestApi.WithPlugins.Tests.csproj b/test/Docfx.Build.RestApi.WithPlugins.Tests/Docfx.Build.RestApi.WithPlugins.Tests.csproj new file mode 100644 index 00000000000..6b3a87ddec7 --- /dev/null +++ b/test/Docfx.Build.RestApi.WithPlugins.Tests/Docfx.Build.RestApi.WithPlugins.Tests.csproj @@ -0,0 +1,13 @@ + + + + + + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs b/test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs similarity index 96% rename from test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs rename to test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs index b7979bf43bc..0ff968c8906 100644 --- a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs +++ b/test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToOperationLevelTest.cs @@ -2,19 +2,19 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Build.OperationLevelRestApi; -using Microsoft.DocAsCode.Build.TableOfContents; -using Microsoft.DocAsCode.Build.TagLevelRestApi; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Build.OperationLevelRestApi; +using Docfx.Build.TableOfContents; +using Docfx.Build.TagLevelRestApi; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests; +namespace Docfx.Build.RestApi.WithPlugins.Tests; [Collection("docfx STA")] public class SplitRestApiToOperationLevelTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/SplitRestApiToTagLevelTest.cs b/test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToTagLevelTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/SplitRestApiToTagLevelTest.cs rename to test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToTagLevelTest.cs index efde4a978ef..fc4e9ccb650 100644 --- a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/SplitRestApiToTagLevelTest.cs +++ b/test/Docfx.Build.RestApi.WithPlugins.Tests/SplitRestApiToTagLevelTest.cs @@ -3,19 +3,19 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Build.TableOfContents; -using Microsoft.DocAsCode.Build.TagLevelRestApi; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.RestApi; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Build.TableOfContents; +using Docfx.Build.TagLevelRestApi; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.RestApi; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests; +namespace Docfx.Build.RestApi.WithPlugins.Tests; [Collection("docfx STA")] public class SplitRestApiToTagLevelTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/TestData/swagger/petstore.json b/test/Docfx.Build.RestApi.WithPlugins.Tests/TestData/swagger/petstore.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/TestData/swagger/petstore.json rename to test/Docfx.Build.RestApi.WithPlugins.Tests/TestData/swagger/petstore.json diff --git a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/TestData/swagger/toc.yml b/test/Docfx.Build.RestApi.WithPlugins.Tests/TestData/swagger/toc.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/TestData/swagger/toc.yml rename to test/Docfx.Build.RestApi.WithPlugins.Tests/TestData/swagger/toc.yml diff --git a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/TestData/template/RestApi.html.tmpl b/test/Docfx.Build.RestApi.WithPlugins.Tests/TestData/template/RestApi.html.tmpl similarity index 100% rename from test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/TestData/template/RestApi.html.tmpl rename to test/Docfx.Build.RestApi.WithPlugins.Tests/TestData/template/RestApi.html.tmpl diff --git a/test/Docfx.Build.SchemaDriven.Tests/Docfx.Build.SchemaDriven.Tests.csproj b/test/Docfx.Build.SchemaDriven.Tests/Docfx.Build.SchemaDriven.Tests.csproj new file mode 100644 index 00000000000..8cfa1d1ae6b --- /dev/null +++ b/test/Docfx.Build.SchemaDriven.Tests/Docfx.Build.SchemaDriven.Tests.csproj @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/JsonPointerTest.cs b/test/Docfx.Build.SchemaDriven.Tests/JsonPointerTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/JsonPointerTest.cs rename to test/Docfx.Build.SchemaDriven.Tests/JsonPointerTest.cs index 2ca1573e0ff..a0a77a528f8 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/JsonPointerTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/JsonPointerTest.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Tests; +namespace Docfx.Build.SchemaDriven.Tests; public class JsonPointerTest : TestBase { [Fact] diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/LimitationReachedTest.cs b/test/Docfx.Build.SchemaDriven.Tests/LimitationReachedTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/LimitationReachedTest.cs rename to test/Docfx.Build.SchemaDriven.Tests/LimitationReachedTest.cs index afdf504550b..25b15bcc911 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/LimitationReachedTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/LimitationReachedTest.cs @@ -4,13 +4,13 @@ using System.Collections.Immutable; using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Build.TableOfContents; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Build.TableOfContents; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Tests; +namespace Docfx.Build.SchemaDriven.Tests; [Collection("docfx STA")] public class LimitationReachedTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs b/test/Docfx.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs similarity index 95% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs rename to test/Docfx.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs index 3efa4dc44ed..ae173dcc06d 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/MarkdownFragmentsValidationTest.cs @@ -2,14 +2,14 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Tests; +namespace Docfx.Build.SchemaDriven.Tests; [Collection("docfx STA")] public class MarkdownFragmentsValidationTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs b/test/Docfx.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs rename to test/Docfx.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs index 9bfe1bb9d9f..7420adba101 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/MergeMarkdownFragmentsTest.cs @@ -1,13 +1,13 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Tests; +namespace Docfx.Build.SchemaDriven.Tests; [Collection("docfx STA")] public class MergeMarkdownFragmentsTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs b/test/Docfx.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs rename to test/Docfx.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs index 7cc3bcf43b0..5f1ced4b4ed 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/SchemaDrivenProcessorTest.cs @@ -5,18 +5,18 @@ using System.Composition; using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Build.SchemaDriven.Processors; -using Microsoft.DocAsCode.Build.TableOfContents; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Exceptions; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Build.SchemaDriven.Processors; +using Docfx.Build.TableOfContents; +using Docfx.Common; +using Docfx.Exceptions; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Tests; +namespace Docfx.Build.SchemaDriven.Tests; [Collection("docfx STA")] public class SchemaDrivenProcessorTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs b/test/Docfx.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs similarity index 95% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs rename to test/Docfx.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs index d4ea1fef91b..62bc20a8f1c 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/SchemaFragmentsIteratorTest.cs @@ -1,12 +1,12 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Build.OverwriteDocuments; +using Docfx.Build.OverwriteDocuments; using Xunit; using YamlDotNet.RepresentationModel; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Tests; +namespace Docfx.Build.SchemaDriven.Tests; public class SchemaFragmentsIteratorTest { diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaMergerTest.cs b/test/Docfx.Build.SchemaDriven.Tests/SchemaMergerTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaMergerTest.cs rename to test/Docfx.Build.SchemaDriven.Tests/SchemaMergerTest.cs index e5b4c60383f..bf65f8d3e14 100644 --- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/SchemaMergerTest.cs +++ b/test/Docfx.Build.SchemaDriven.Tests/SchemaMergerTest.cs @@ -2,16 +2,16 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Build.TableOfContents; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Build.TableOfContents; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.SchemaDriven.Tests; +namespace Docfx.Build.SchemaDriven.Tests; [Collection("docfx STA")] public class SchemaMergerTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/CatLibrary.ICat.yml b/test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/CatLibrary.ICat.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/CatLibrary.ICat.yml rename to test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/CatLibrary.ICat.yml diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/EmptyUidReference.yml b/test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/EmptyUidReference.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/EmptyUidReference.yml rename to test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/EmptyUidReference.yml diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/FragmentsValidation.yml b/test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/FragmentsValidation.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/FragmentsValidation.yml rename to test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/FragmentsValidation.yml diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/FragmentsValidation.yml.md b/test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/FragmentsValidation.yml.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/FragmentsValidation.yml.md rename to test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/FragmentsValidation.yml.md diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/Suppressions.yml b/test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/Suppressions.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/Suppressions.yml rename to test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/Suppressions.yml diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/Suppressions.yml.md b/test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/Suppressions.yml.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/inputs/Suppressions.yml.md rename to test/Docfx.Build.SchemaDriven.Tests/TestData/inputs/Suppressions.yml.md diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/contextobject.test.schema.json b/test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/contextobject.test.schema.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/contextobject.test.schema.json rename to test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/contextobject.test.schema.json diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/fragments.validation.schema.json b/test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/fragments.validation.schema.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/fragments.validation.schema.json rename to test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/fragments.validation.schema.json diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/general.test.schema.json b/test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/general.test.schema.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/general.test.schema.json rename to test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/general.test.schema.json diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/mref.test.schema.json b/test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/mref.test.schema.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/mref.test.schema.json rename to test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/mref.test.schema.json diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/rest.mixed.schema.json b/test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/rest.mixed.schema.json similarity index 100% rename from test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/TestData/schemas/rest.mixed.schema.json rename to test/Docfx.Build.SchemaDriven.Tests/TestData/schemas/rest.mixed.schema.json diff --git a/test/Docfx.Build.TableOfContents.Tests/Docfx.Build.TableOfContents.Tests.csproj b/test/Docfx.Build.TableOfContents.Tests/Docfx.Build.TableOfContents.Tests.csproj new file mode 100644 index 00000000000..69979787ed4 --- /dev/null +++ b/test/Docfx.Build.TableOfContents.Tests/Docfx.Build.TableOfContents.Tests.csproj @@ -0,0 +1,14 @@ + + + + + + + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/MarkdownTocReaderTest.cs b/test/Docfx.Build.TableOfContents.Tests/MarkdownTocReaderTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Build.TableOfContents.Tests/MarkdownTocReaderTest.cs rename to test/Docfx.Build.TableOfContents.Tests/MarkdownTocReaderTest.cs index 0dfcfbf8fbf..d59fa4cae26 100644 --- a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/MarkdownTocReaderTest.cs +++ b/test/Docfx.Build.TableOfContents.Tests/MarkdownTocReaderTest.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; using Xunit; -namespace Microsoft.DocAsCode.Build.TableOfContents.Tests; +namespace Docfx.Build.TableOfContents.Tests; public class MarkdownTocReaderTest { diff --git a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/TocDocumentProcessorTest.cs b/test/Docfx.Build.TableOfContents.Tests/TocDocumentProcessorTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Build.TableOfContents.Tests/TocDocumentProcessorTest.cs rename to test/Docfx.Build.TableOfContents.Tests/TocDocumentProcessorTest.cs index a601fa6338e..4179d830153 100644 --- a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/TocDocumentProcessorTest.cs +++ b/test/Docfx.Build.TableOfContents.Tests/TocDocumentProcessorTest.cs @@ -4,16 +4,16 @@ using System.Collections.Immutable; using System.Reflection; using System.Web; -using Microsoft.DocAsCode.Build.ConceptualDocuments; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.ConceptualDocuments; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Build.TableOfContents.Tests; +namespace Docfx.Build.TableOfContents.Tests; [Collection("docfx STA")] public class TocDocumentProcessorTest : TestBase diff --git a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/TocRestructureTest.cs b/test/Docfx.Build.TableOfContents.Tests/TocRestructureTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Build.TableOfContents.Tests/TocRestructureTest.cs rename to test/Docfx.Build.TableOfContents.Tests/TocRestructureTest.cs index 60a48ded91c..3df61b993eb 100644 --- a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/TocRestructureTest.cs +++ b/test/Docfx.Build.TableOfContents.Tests/TocRestructureTest.cs @@ -2,13 +2,13 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.TableOfContents.Tests; +namespace Docfx.Build.TableOfContents.Tests; public class TocRestructureTest : TestBase { diff --git a/test/Docfx.Build.UniversalReference.Tests/Docfx.Build.UniversalReference.Tests.csproj b/test/Docfx.Build.UniversalReference.Tests/Docfx.Build.UniversalReference.Tests.csproj new file mode 100644 index 00000000000..f859e44eec1 --- /dev/null +++ b/test/Docfx.Build.UniversalReference.Tests/Docfx.Build.UniversalReference.Tests.csproj @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/overwrite/cntk.core.Value.md b/test/Docfx.Build.UniversalReference.Tests/TestData/overwrite/cntk.core.Value.md similarity index 100% rename from test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/overwrite/cntk.core.Value.md rename to test/Docfx.Build.UniversalReference.Tests/TestData/overwrite/cntk.core.Value.md diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/azure.ApplicationTokenCredentials.yml b/test/Docfx.Build.UniversalReference.Tests/TestData/yml/azure.ApplicationTokenCredentials.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/azure.ApplicationTokenCredentials.yml rename to test/Docfx.Build.UniversalReference.Tests/TestData/yml/azure.ApplicationTokenCredentials.yml diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/cntk.core.Value.yml b/test/Docfx.Build.UniversalReference.Tests/TestData/yml/cntk.core.Value.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/cntk.core.Value.yml rename to test/Docfx.Build.UniversalReference.Tests/TestData/yml/cntk.core.Value.yml diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/cntk.core.yml b/test/Docfx.Build.UniversalReference.Tests/TestData/yml/cntk.core.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/cntk.core.yml rename to test/Docfx.Build.UniversalReference.Tests/TestData/yml/cntk.core.yml diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/cntk.debugging.yml b/test/Docfx.Build.UniversalReference.Tests/TestData/yml/cntk.debugging.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/cntk.debugging.yml rename to test/Docfx.Build.UniversalReference.Tests/TestData/yml/cntk.debugging.yml diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/invalid.yml b/test/Docfx.Build.UniversalReference.Tests/TestData/yml/invalid.yml similarity index 100% rename from test/Microsoft.DocAsCode.Build.UniversalReference.Tests/TestData/yml/invalid.yml rename to test/Docfx.Build.UniversalReference.Tests/TestData/yml/invalid.yml diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs b/test/Docfx.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs rename to test/Docfx.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs index 43a80059113..f7585c28703 100644 --- a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs +++ b/test/Docfx.Build.UniversalReference.Tests/UniversalReferenceDocumentProcessorTest.cs @@ -3,14 +3,14 @@ using System.Collections.Immutable; -using Microsoft.DocAsCode.Build.Engine; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Build.Engine; +using Docfx.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Build.UniversalReference.Tests; +namespace Docfx.Build.UniversalReference.Tests; public class UniversalReferenceDocumentProcessorTest : TestBase { diff --git a/test/Microsoft.DocAsCode.Common.Tests/CollectionUtilityTest.cs b/test/Docfx.Common.Tests/CollectionUtilityTest.cs similarity index 95% rename from test/Microsoft.DocAsCode.Common.Tests/CollectionUtilityTest.cs rename to test/Docfx.Common.Tests/CollectionUtilityTest.cs index 006da6de6cf..350fe407c8d 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/CollectionUtilityTest.cs +++ b/test/Docfx.Common.Tests/CollectionUtilityTest.cs @@ -5,7 +5,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Trait("Related", "CollectionUtilityTest")] public class CollectionUtilityTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/CompositeDictionaryTest.cs b/test/Docfx.Common.Tests/CompositeDictionaryTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Common.Tests/CompositeDictionaryTest.cs rename to test/Docfx.Common.Tests/CompositeDictionaryTest.cs index 5892725bb40..843c2290bec 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/CompositeDictionaryTest.cs +++ b/test/Docfx.Common.Tests/CompositeDictionaryTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Trait("Related", "CompositeDictionary")] public class CompositeDictionaryTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/ConvertToObjectHelperTest.cs b/test/Docfx.Common.Tests/ConvertToObjectHelperTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Common.Tests/ConvertToObjectHelperTest.cs rename to test/Docfx.Common.Tests/ConvertToObjectHelperTest.cs index a7ef69ba8be..85f95556c5e 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/ConvertToObjectHelperTest.cs +++ b/test/Docfx.Common.Tests/ConvertToObjectHelperTest.cs @@ -4,7 +4,7 @@ using Newtonsoft.Json; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Trait("Related", "ConvertToObjectHelper")] public class ConvertToObjectHelperTest diff --git a/test/Docfx.Common.Tests/Docfx.Common.Tests.csproj b/test/Docfx.Common.Tests/Docfx.Common.Tests.csproj new file mode 100644 index 00000000000..d753b3a2558 --- /dev/null +++ b/test/Docfx.Common.Tests/Docfx.Common.Tests.csproj @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/test/Microsoft.DocAsCode.Common.Tests/FileAbstractLayerTest.cs b/test/Docfx.Common.Tests/FileAbstractLayerTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Common.Tests/FileAbstractLayerTest.cs rename to test/Docfx.Common.Tests/FileAbstractLayerTest.cs index 7e3bd2915f2..04b8c47f7df 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/FileAbstractLayerTest.cs +++ b/test/Docfx.Common.Tests/FileAbstractLayerTest.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; public class FileAbstractLayerTest : TestBase { diff --git a/test/Microsoft.DocAsCode.Common.Tests/FileAbstractLayerWithEnvironmentVariableTest.cs b/test/Docfx.Common.Tests/FileAbstractLayerWithEnvironmentVariableTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Common.Tests/FileAbstractLayerWithEnvironmentVariableTest.cs rename to test/Docfx.Common.Tests/FileAbstractLayerWithEnvironmentVariableTest.cs index 02b3e855336..cab93c84e63 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/FileAbstractLayerWithEnvironmentVariableTest.cs +++ b/test/Docfx.Common.Tests/FileAbstractLayerWithEnvironmentVariableTest.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Immutable; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Collection("docfx STA")] public class FileAbstractLayerWithEnvironmentVariableTest : TestBase diff --git a/test/Microsoft.DocAsCode.Common.Tests/FolderRedirectionTest.cs b/test/Docfx.Common.Tests/FolderRedirectionTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Common.Tests/FolderRedirectionTest.cs rename to test/Docfx.Common.Tests/FolderRedirectionTest.cs index 7279894b7e5..1dc8998defe 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/FolderRedirectionTest.cs +++ b/test/Docfx.Common.Tests/FolderRedirectionTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Trait("Related", "FolderRedirection")] public class FolderRedirectionTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/GitUtilityTest.cs b/test/Docfx.Common.Tests/GitUtilityTest.cs similarity index 87% rename from test/Microsoft.DocAsCode.Common.Tests/GitUtilityTest.cs rename to test/Docfx.Common.Tests/GitUtilityTest.cs index bf18e1518e2..8fcad1d2a23 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/GitUtilityTest.cs +++ b/test/Docfx.Common.Tests/GitUtilityTest.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.Git; +using Docfx.Common.Git; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Collection("docfx STA")] public class GitUtilityTest : IDisposable @@ -56,15 +56,15 @@ public void TestParseGitRepoInfo() Assert.Equal("docfx", repoInfo.RepoName); Assert.Equal(RepoType.GitHub, repoInfo.RepoType); - repoInfo = GitUtility.Parse("ssh://mseng@vs-ssh.visualstudio.com:22/FakeProject/_ssh/DocAsCode"); + repoInfo = GitUtility.Parse("ssh://mseng@vs-ssh.visualstudio.com:22/FakeProject/_ssh/Docfx"); Assert.Equal("mseng", repoInfo.RepoAccount); - Assert.Equal("DocAsCode", repoInfo.RepoName); + Assert.Equal("Docfx", repoInfo.RepoName); Assert.Equal("FakeProject", repoInfo.RepoProject); Assert.Equal(RepoType.Vso, repoInfo.RepoType); - repoInfo = GitUtility.Parse("https://mseng.visualstudio.com/FakeProject/_git/DocAsCode"); + repoInfo = GitUtility.Parse("https://mseng.visualstudio.com/FakeProject/_git/Docfx"); Assert.Equal("mseng", repoInfo.RepoAccount); - Assert.Equal("DocAsCode", repoInfo.RepoName); + Assert.Equal("Docfx", repoInfo.RepoName); Assert.Equal("FakeProject", repoInfo.RepoProject); Assert.Equal(RepoType.Vso, repoInfo.RepoType); } @@ -77,8 +77,8 @@ public void TestCombineGitUrl() var url = GitUtility.CombineUrl(repoInfo.NormalizedRepoUrl.AbsoluteUri, "dev", "src/docfx/Program.cs", RepoType.GitHub); Assert.Equal("https://github.com/dotnet/docfx/blob/dev/src/docfx/Program.cs", url.AbsoluteUri); - repoInfo = GitUtility.Parse("https://mseng.visualstudio.com/FakeProject/_git/DocAsCode"); + repoInfo = GitUtility.Parse("https://mseng.visualstudio.com/FakeProject/_git/Docfx"); url = GitUtility.CombineUrl(repoInfo.NormalizedRepoUrl.AbsoluteUri, "dev", "src/docfx/Program.cs", RepoType.Vso); - Assert.Equal("https://mseng.visualstudio.com/DefaultCollection/FakeProject/_git/DocAsCode?path=%2fsrc%2fdocfx%2fProgram.cs&version=GBdev&_a=contents", url.AbsoluteUri); + Assert.Equal("https://mseng.visualstudio.com/DefaultCollection/FakeProject/_git/Docfx?path=%2fsrc%2fdocfx%2fProgram.cs&version=GBdev&_a=contents", url.AbsoluteUri); } } diff --git a/test/Microsoft.DocAsCode.Common.Tests/JObjectMergerTest.cs b/test/Docfx.Common.Tests/JObjectMergerTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Common.Tests/JObjectMergerTest.cs rename to test/Docfx.Common.Tests/JObjectMergerTest.cs index 0b817c58b5a..b52773d0e5c 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/JObjectMergerTest.cs +++ b/test/Docfx.Common.Tests/JObjectMergerTest.cs @@ -1,13 +1,13 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; +using Docfx.Common.EntityMergers; using Newtonsoft.Json.Linq; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Trait("Related", "JObjectMerger")] public class JObjectMergerTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/LogCodesLogListenerTest.cs b/test/Docfx.Common.Tests/LogCodesLogListenerTest.cs similarity index 96% rename from test/Microsoft.DocAsCode.Common.Tests/LogCodesLogListenerTest.cs rename to test/Docfx.Common.Tests/LogCodesLogListenerTest.cs index eb56c47265b..d43e3ae5b51 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/LogCodesLogListenerTest.cs +++ b/test/Docfx.Common.Tests/LogCodesLogListenerTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Collection("docfx STA")] public class LogCodesLogListenerTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/ManifestFileAbstractLayerTest.cs b/test/Docfx.Common.Tests/ManifestFileAbstractLayerTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Common.Tests/ManifestFileAbstractLayerTest.cs rename to test/Docfx.Common.Tests/ManifestFileAbstractLayerTest.cs index 4a5fbf364b7..0597eaae97f 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/ManifestFileAbstractLayerTest.cs +++ b/test/Docfx.Common.Tests/ManifestFileAbstractLayerTest.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Plugins; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Plugins; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; public class ManifestFileAbstractLayerTest : TestBase { diff --git a/test/Microsoft.DocAsCode.Common.Tests/ReflectionEntityMergerTest.cs b/test/Docfx.Common.Tests/ReflectionEntityMergerTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Common.Tests/ReflectionEntityMergerTest.cs rename to test/Docfx.Common.Tests/ReflectionEntityMergerTest.cs index a3a8327ded4..d67b1138cf7 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/ReflectionEntityMergerTest.cs +++ b/test/Docfx.Common.Tests/ReflectionEntityMergerTest.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common.EntityMergers; +using Docfx.Common.EntityMergers; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Trait("Related", "ReflectionEntityMerger")] public class ReflectionEntityMergerTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/RelativePathTest.cs b/test/Docfx.Common.Tests/RelativePathTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Common.Tests/RelativePathTest.cs rename to test/Docfx.Common.Tests/RelativePathTest.cs index 8376e7cdd01..999bb959071 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/RelativePathTest.cs +++ b/test/Docfx.Common.Tests/RelativePathTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Trait("Related", "RelativePath")] public class RelativePathTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/ReportLoggerListenerTest.cs b/test/Docfx.Common.Tests/ReportLoggerListenerTest.cs similarity index 96% rename from test/Microsoft.DocAsCode.Common.Tests/ReportLoggerListenerTest.cs rename to test/Docfx.Common.Tests/ReportLoggerListenerTest.cs index d4f17e6f9a2..104adb8329e 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/ReportLoggerListenerTest.cs +++ b/test/Docfx.Common.Tests/ReportLoggerListenerTest.cs @@ -1,11 +1,11 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Collection("docfx STA")] public class ReportLoggerListenerTest : TestBase diff --git a/test/Microsoft.DocAsCode.Common.Tests/ScopeTest.cs b/test/Docfx.Common.Tests/ScopeTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Common.Tests/ScopeTest.cs rename to test/Docfx.Common.Tests/ScopeTest.cs index bd5ace168a2..1ea47e0b25e 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/ScopeTest.cs +++ b/test/Docfx.Common.Tests/ScopeTest.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Collection("docfx STA")] public class ScopeTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/UriTemplateTest.cs b/test/Docfx.Common.Tests/UriTemplateTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Common.Tests/UriTemplateTest.cs rename to test/Docfx.Common.Tests/UriTemplateTest.cs index 237d481f139..6b49caf0062 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/UriTemplateTest.cs +++ b/test/Docfx.Common.Tests/UriTemplateTest.cs @@ -2,11 +2,11 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Text.RegularExpressions; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; [Trait("Related", "UriTemplate")] public class UriTemplateTest diff --git a/test/Microsoft.DocAsCode.Common.Tests/UriUtilityTest.cs b/test/Docfx.Common.Tests/UriUtilityTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Common.Tests/UriUtilityTest.cs rename to test/Docfx.Common.Tests/UriUtilityTest.cs index 473293b229d..de4493ba204 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/UriUtilityTest.cs +++ b/test/Docfx.Common.Tests/UriUtilityTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; public class UriUtilityTest { diff --git a/test/Microsoft.DocAsCode.Common.Tests/YamlDeserializerWithFallbackTest.cs b/test/Docfx.Common.Tests/YamlDeserializerWithFallbackTest.cs similarity index 98% rename from test/Microsoft.DocAsCode.Common.Tests/YamlDeserializerWithFallbackTest.cs rename to test/Docfx.Common.Tests/YamlDeserializerWithFallbackTest.cs index 6e031def429..4674cdf5943 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/YamlDeserializerWithFallbackTest.cs +++ b/test/Docfx.Common.Tests/YamlDeserializerWithFallbackTest.cs @@ -4,7 +4,7 @@ using Xunit; using YamlDotNet.Core; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; public class YamlDeserializerWithFallbackTest { diff --git a/test/Microsoft.DocAsCode.Common.Tests/YamlSerializationTest.cs b/test/Docfx.Common.Tests/YamlSerializationTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Common.Tests/YamlSerializationTest.cs rename to test/Docfx.Common.Tests/YamlSerializationTest.cs index c8b8f421948..925e49c8bbd 100644 --- a/test/Microsoft.DocAsCode.Common.Tests/YamlSerializationTest.cs +++ b/test/Docfx.Common.Tests/YamlSerializationTest.cs @@ -3,11 +3,11 @@ using System.Collections.Immutable; using System.Collections.ObjectModel; -using Microsoft.DocAsCode.YamlSerialization; +using Docfx.YamlSerialization; using Xunit; using YamlDotNet.Core; -namespace Microsoft.DocAsCode.Common.Tests; +namespace Docfx.Common.Tests; public class YamlSerializationTest { diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/ApiFilterUnitTest.cs b/test/Docfx.Dotnet.Tests/ApiFilterUnitTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Dotnet.Tests/ApiFilterUnitTest.cs rename to test/Docfx.Dotnet.Tests/ApiFilterUnitTest.cs index a9274dac719..eeb337aebed 100644 --- a/test/Microsoft.DocAsCode.Dotnet.Tests/ApiFilterUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/ApiFilterUnitTest.cs @@ -4,7 +4,7 @@ using Microsoft.CodeAnalysis; using Xunit; -namespace Microsoft.DocAsCode.Dotnet.Tests; +namespace Docfx.Dotnet.Tests; [Trait("Related", "Filter")] [Collection("docfx STA")] diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/DefinitionMergeUnitTest.cs b/test/Docfx.Dotnet.Tests/DefinitionMergeUnitTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Dotnet.Tests/DefinitionMergeUnitTest.cs rename to test/Docfx.Dotnet.Tests/DefinitionMergeUnitTest.cs index 778bcfbe5ab..9e287d90b58 100644 --- a/test/Microsoft.DocAsCode.Dotnet.Tests/DefinitionMergeUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/DefinitionMergeUnitTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Dotnet.Tests; +namespace Docfx.Dotnet.Tests; public class DefinitionMergeUnitTest { diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/Microsoft.DocAsCode.Dotnet.Tests.csproj b/test/Docfx.Dotnet.Tests/Docfx.Dotnet.Tests.csproj similarity index 64% rename from test/Microsoft.DocAsCode.Dotnet.Tests/Microsoft.DocAsCode.Dotnet.Tests.csproj rename to test/Docfx.Dotnet.Tests/Docfx.Dotnet.Tests.csproj index 951fc984b3f..981e7f088ae 100644 --- a/test/Microsoft.DocAsCode.Dotnet.Tests/Microsoft.DocAsCode.Dotnet.Tests.csproj +++ b/test/Docfx.Dotnet.Tests/Docfx.Dotnet.Tests.csproj @@ -4,6 +4,6 @@ - + diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromAssemblyTest.cs b/test/Docfx.Dotnet.Tests/GenerateMetadataFromAssemblyTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromAssemblyTest.cs rename to test/Docfx.Dotnet.Tests/GenerateMetadataFromAssemblyTest.cs index 99cd8185ab9..9ef41b066c9 100644 --- a/test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromAssemblyTest.cs +++ b/test/Docfx.Dotnet.Tests/GenerateMetadataFromAssemblyTest.cs @@ -1,10 +1,10 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using Xunit; -namespace Microsoft.DocAsCode.Dotnet.Tests; +namespace Docfx.Dotnet.Tests; [Collection("docfx STA")] public class GenerateMetadataFromAssemblyTest diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs b/test/Docfx.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs rename to test/Docfx.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs index 6d523950cec..722adcb055e 100644 --- a/test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/GenerateMetadataFromCSUnitTest.cs @@ -4,10 +4,10 @@ using System.Reflection; using Microsoft.CodeAnalysis; using Microsoft.CodeAnalysis.Emit; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using Xunit; -namespace Microsoft.DocAsCode.Dotnet.Tests; +namespace Docfx.Dotnet.Tests; [Collection("docfx STA")] public class GenerateMetadataFromCSUnitTest diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs b/test/Docfx.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs similarity index 99% rename from test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs rename to test/Docfx.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs index 3995d46b357..148d2ea9cde 100644 --- a/test/Microsoft.DocAsCode.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/GenerateMetadataFromVBUnitTest.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.CodeAnalysis; -using Microsoft.DocAsCode.DataContracts.ManagedReference; +using Docfx.DataContracts.ManagedReference; using Xunit; -namespace Microsoft.DocAsCode.Dotnet.Tests; +namespace Docfx.Dotnet.Tests; [Trait("EntityType", "Model")] [Collection("docfx STA")] diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/SymbolUrlResolverUnitTest.cs b/test/Docfx.Dotnet.Tests/SymbolUrlResolverUnitTest.cs similarity index 94% rename from test/Microsoft.DocAsCode.Dotnet.Tests/SymbolUrlResolverUnitTest.cs rename to test/Docfx.Dotnet.Tests/SymbolUrlResolverUnitTest.cs index 2179a3e0f46..26fe8d82bed 100644 --- a/test/Microsoft.DocAsCode.Dotnet.Tests/SymbolUrlResolverUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/SymbolUrlResolverUnitTest.cs @@ -6,7 +6,7 @@ using Microsoft.CodeAnalysis; using Xunit; -namespace Microsoft.DocAsCode.Dotnet.Tests; +namespace Docfx.Dotnet.Tests; public class SymbolUrlResolverUnitTest { @@ -86,13 +86,13 @@ public static void GetPdbSourceLinkUrlTest() Assert.NotNull(type); var compilationLink = ReplaceSHA(SymbolUrlResolver.GetPdbSourceLinkUrl(compilation, type)); Assert.True(compilationLink?.StartsWith("https://github.com/")); - Assert.True(compilationLink?.EndsWith("/blob/*/src/Microsoft.DocAsCode.Dotnet/DotnetApiCatalog.cs")); + Assert.True(compilationLink?.EndsWith("/blob/*/src/Docfx.Dotnet/DotnetApiCatalog.cs")); var method = type.GetMembers(nameof(DotnetApiCatalog.GenerateManagedReferenceYamlFiles)).FirstOrDefault(); Assert.NotNull(method); var methodLink = ReplaceSHA(SymbolUrlResolver.GetPdbSourceLinkUrl(compilation, method)); Assert.True(compilationLink?.StartsWith("https://github.com/")); - Assert.True(compilationLink?.EndsWith("/blob/*/src/Microsoft.DocAsCode.Dotnet/DotnetApiCatalog.cs")); + Assert.True(compilationLink?.EndsWith("/blob/*/src/Docfx.Dotnet/DotnetApiCatalog.cs")); static string ReplaceSHA(string value) { diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/BaseClassForTestClass1.dll b/test/Docfx.Dotnet.Tests/TestData/BaseClassForTestClass1.dll similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/BaseClassForTestClass1.dll rename to test/Docfx.Dotnet.Tests/TestData/BaseClassForTestClass1.dll diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/CatLibrary.dll b/test/Docfx.Dotnet.Tests/TestData/CatLibrary.dll similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/CatLibrary.dll rename to test/Docfx.Dotnet.Tests/TestData/CatLibrary.dll diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/CatLibrary2.dll b/test/Docfx.Dotnet.Tests/TestData/CatLibrary2.dll similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/CatLibrary2.dll rename to test/Docfx.Dotnet.Tests/TestData/CatLibrary2.dll diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/System.Console.csyml b/test/Docfx.Dotnet.Tests/TestData/System.Console.csyml similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/System.Console.csyml rename to test/Docfx.Dotnet.Tests/TestData/System.Console.csyml diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/System.ConsoleColor.csyml b/test/Docfx.Dotnet.Tests/TestData/System.ConsoleColor.csyml similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/System.ConsoleColor.csyml rename to test/Docfx.Dotnet.Tests/TestData/System.ConsoleColor.csyml diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/TupleLibrary.dll b/test/Docfx.Dotnet.Tests/TestData/TupleLibrary.dll similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/TupleLibrary.dll rename to test/Docfx.Dotnet.Tests/TestData/TupleLibrary.dll diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/dotnet-xrefmap.txt b/test/Docfx.Dotnet.Tests/TestData/dotnet-xrefmap.txt similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/dotnet-xrefmap.txt rename to test/Docfx.Dotnet.Tests/TestData/dotnet-xrefmap.txt diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/filterconfig.yml b/test/Docfx.Dotnet.Tests/TestData/filterconfig.yml similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/filterconfig.yml rename to test/Docfx.Dotnet.Tests/TestData/filterconfig.yml diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestData/filterconfig_attribute.yml b/test/Docfx.Dotnet.Tests/TestData/filterconfig_attribute.yml similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestData/filterconfig_attribute.yml rename to test/Docfx.Dotnet.Tests/TestData/filterconfig_attribute.yml diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/TestDataReferences/System.ValueTuple.dll b/test/Docfx.Dotnet.Tests/TestDataReferences/System.ValueTuple.dll similarity index 100% rename from test/Microsoft.DocAsCode.Dotnet.Tests/TestDataReferences/System.ValueTuple.dll rename to test/Docfx.Dotnet.Tests/TestDataReferences/System.ValueTuple.dll diff --git a/test/Microsoft.DocAsCode.Dotnet.Tests/XmlCommentUnitTest.cs b/test/Docfx.Dotnet.Tests/XmlCommentUnitTest.cs similarity index 97% rename from test/Microsoft.DocAsCode.Dotnet.Tests/XmlCommentUnitTest.cs rename to test/Docfx.Dotnet.Tests/XmlCommentUnitTest.cs index 58fd51aee60..1a6f0447d24 100644 --- a/test/Microsoft.DocAsCode.Dotnet.Tests/XmlCommentUnitTest.cs +++ b/test/Docfx.Dotnet.Tests/XmlCommentUnitTest.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Text.RegularExpressions; -using Microsoft.DocAsCode.DataContracts.Common; +using Docfx.DataContracts.Common; using Xunit; -namespace Microsoft.DocAsCode.Dotnet.Tests; +namespace Docfx.Dotnet.Tests; public class XmlCommentUnitTest { @@ -260,7 +260,7 @@ loose text not wrapped in description This is a sample of another invalid exception node - This sample shows how to call the method. + This sample shows how to call the method. class TestClass { @@ -283,7 +283,7 @@ Check empty code. This is an example using source reference. - + Global See section @@ -338,7 +338,7 @@ loose text not wrapped in description commentModel.Examples, e => Assert.Equal( """ - This sample shows how to call the method. + This sample shows how to call the method.

class TestClass
                  {
                      static int Main()
diff --git a/test/Docfx.Glob.Tests/Docfx.Glob.Tests.csproj b/test/Docfx.Glob.Tests/Docfx.Glob.Tests.csproj
new file mode 100644
index 00000000000..b6824f92d81
--- /dev/null
+++ b/test/Docfx.Glob.Tests/Docfx.Glob.Tests.csproj
@@ -0,0 +1,6 @@
+
+  
+    
+    
+  
+
diff --git a/test/Microsoft.DocAsCode.Glob.Tests/GlobFileTest.cs b/test/Docfx.Glob.Tests/GlobFileTest.cs
similarity index 97%
rename from test/Microsoft.DocAsCode.Glob.Tests/GlobFileTest.cs
rename to test/Docfx.Glob.Tests/GlobFileTest.cs
index 5d79ab749b3..6f57511b42e 100644
--- a/test/Microsoft.DocAsCode.Glob.Tests/GlobFileTest.cs
+++ b/test/Docfx.Glob.Tests/GlobFileTest.cs
@@ -1,10 +1,10 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-using Microsoft.DocAsCode.Tests.Common;
+using Docfx.Tests.Common;
 using Xunit;
 
-namespace Microsoft.DocAsCode.Glob.Tests;
+namespace Docfx.Glob.Tests;
 
 public class GlobFileTest : TestBase
 {
diff --git a/test/Microsoft.DocAsCode.Glob.Tests/GlobMatcherTest.cs b/test/Docfx.Glob.Tests/GlobMatcherTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.Glob.Tests/GlobMatcherTest.cs
rename to test/Docfx.Glob.Tests/GlobMatcherTest.cs
index 9f98b7ea369..5f8fe66a00a 100644
--- a/test/Microsoft.DocAsCode.Glob.Tests/GlobMatcherTest.cs
+++ b/test/Docfx.Glob.Tests/GlobMatcherTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.Glob.Tests;
+namespace Docfx.Glob.Tests;
 
 public class GlobMatcherTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/AggregatorTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/AggregatorTest.cs
similarity index 96%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/AggregatorTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/AggregatorTest.cs
index 347ac2a2659..4c065892877 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/AggregatorTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/AggregatorTest.cs
@@ -4,10 +4,10 @@
 using Markdig;
 using Markdig.Syntax;
 using Markdig.Syntax.Inlines;
-using Microsoft.DocAsCode.MarkdigEngine.Extensions;
+using Docfx.MarkdigEngine.Extensions;
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class AggregatorTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/ChromelessFormsTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/ChromelessFormsTest.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/ChromelessFormsTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/ChromelessFormsTest.cs
index 9fb690d000a..eeac9337e6b 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/ChromelessFormsTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/ChromelessFormsTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class ChromelessFormsTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/CodeSnippetTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/CodeSnippetTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/CodeSnippetTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/CodeSnippetTest.cs
index e313b0aceb3..029f78c2d5f 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/CodeSnippetTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/CodeSnippetTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class CodeSnippetTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/CodeTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/CodeTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/CodeTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/CodeTest.cs
index 82f6dc73d25..e0e62de6b5a 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/CodeTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/CodeTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class CodeTest
 {
diff --git a/test/Docfx.MarkdigEngine.Extensions.Tests/Docfx.MarkdigEngine.Extensions.Tests.csproj b/test/Docfx.MarkdigEngine.Extensions.Tests/Docfx.MarkdigEngine.Extensions.Tests.csproj
new file mode 100644
index 00000000000..6bb49f20177
--- /dev/null
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/Docfx.MarkdigEngine.Extensions.Tests.csproj
@@ -0,0 +1,5 @@
+
+  
+    
+  
+
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/EmojiTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/EmojiTest.cs
similarity index 88%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/EmojiTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/EmojiTest.cs
index 08ea3913fd4..80284c24baa 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/EmojiTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/EmojiTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class EmojiTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/GeneralTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/GeneralTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/GeneralTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/GeneralTest.cs
index 0818b06f74b..18aac8810fc 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/GeneralTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/GeneralTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class GeneralTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/ImageTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/ImageTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/ImageTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/ImageTest.cs
index 7a620de1938..0baa9915c4c 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/ImageTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/ImageTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class ImageTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/InteractiveCodeTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/InteractiveCodeTest.cs
similarity index 96%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/InteractiveCodeTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/InteractiveCodeTest.cs
index 308affe910a..b594c211290 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/InteractiveCodeTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/InteractiveCodeTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class InteractiveCodeTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/LineNumberTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/LineNumberTest.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/LineNumberTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/LineNumberTest.cs
index d359aff0166..277b7ab6057 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/LineNumberTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/LineNumberTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class LineNumberTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/MathematicsTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/MathematicsTest.cs
similarity index 93%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/MathematicsTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/MathematicsTest.cs
index bdaebb9f2e5..bec8be743f8 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/MathematicsTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/MathematicsTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class MathematicsTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/MonikerRangeTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/MonikerRangeTest.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/MonikerRangeTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/MonikerRangeTest.cs
index b3979bb944f..9e9fdf5f834 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/MonikerRangeTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/MonikerRangeTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class MonikerRangeTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/NolocTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/NolocTest.cs
similarity index 96%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/NolocTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/NolocTest.cs
index 5ede6750a10..218bc09aa9c 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/NolocTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/NolocTest.cs
@@ -1,7 +1,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class NolocTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/QuoteSectionNoteTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/QuoteSectionNoteTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/QuoteSectionNoteTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/QuoteSectionNoteTest.cs
index a4b91355f70..99bd3f4743d 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/QuoteSectionNoteTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/QuoteSectionNoteTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class QuoteSectionNoteTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/RenderZoneTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/RenderZoneTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/RenderZoneTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/RenderZoneTest.cs
index 188484a23b4..9507f4c2f31 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/RenderZoneTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/RenderZoneTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class RenderZoneTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/RowsTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/RowsTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/RowsTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/RowsTest.cs
index 38f7bec8317..866200d4d26 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/RowsTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/RowsTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class RowTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TabGroupTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/TabGroupTest.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TabGroupTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/TabGroupTest.cs
index 1c6afbd2593..f02e426c32f 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TabGroupTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/TabGroupTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class TabGroupTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TestUtility.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/TestUtility.cs
similarity index 96%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TestUtility.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/TestUtility.cs
index 3b9a47d0f08..497d0f160fc 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TestUtility.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/TestUtility.cs
@@ -3,10 +3,10 @@
 
 using Markdig;
 using Markdig.Syntax;
-using Microsoft.DocAsCode.MarkdigEngine.Extensions;
+using Docfx.MarkdigEngine.Extensions;
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public static class TestUtility
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TripleColonTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/TripleColonTest.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TripleColonTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/TripleColonTest.cs
index 42bcc337c00..4c059e123c7 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/TripleColonTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/TripleColonTest.cs
@@ -4,7 +4,7 @@
 using System.Text;
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class TripleColonTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/VideoTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/VideoTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/VideoTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/VideoTest.cs
index 6a679fb9901..1d46172b513 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/VideoTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/VideoTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class VideoTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/XrefTest.cs b/test/Docfx.MarkdigEngine.Extensions.Tests/XrefTest.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/XrefTest.cs
rename to test/Docfx.MarkdigEngine.Extensions.Tests/XrefTest.cs
index d87963ea67f..38c32abfd99 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/XrefTest.cs
+++ b/test/Docfx.MarkdigEngine.Extensions.Tests/XrefTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class XrefTest
 {
diff --git a/test/Docfx.MarkdigEngine.Tests/Docfx.MarkdigEngine.Tests.csproj b/test/Docfx.MarkdigEngine.Tests/Docfx.MarkdigEngine.Tests.csproj
new file mode 100644
index 00000000000..da2f060531f
--- /dev/null
+++ b/test/Docfx.MarkdigEngine.Tests/Docfx.MarkdigEngine.Tests.csproj
@@ -0,0 +1,8 @@
+
+  
+    
+    
+    
+    
+  
+
\ No newline at end of file
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/HtmlMarkdownObjectValidatorProvider.cs b/test/Docfx.MarkdigEngine.Tests/HtmlMarkdownObjectValidatorProvider.cs
similarity index 84%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Tests/HtmlMarkdownObjectValidatorProvider.cs
rename to test/Docfx.MarkdigEngine.Tests/HtmlMarkdownObjectValidatorProvider.cs
index 7f6ae9552f2..09d824ed781 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/HtmlMarkdownObjectValidatorProvider.cs
+++ b/test/Docfx.MarkdigEngine.Tests/HtmlMarkdownObjectValidatorProvider.cs
@@ -5,10 +5,10 @@
 using System.Composition;
 
 using Markdig.Syntax;
-using Microsoft.DocAsCode.Common;
-using Microsoft.DocAsCode.MarkdigEngine.Validators;
+using Docfx.Common;
+using Docfx.MarkdigEngine.Validators;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 [Export(ContractName, typeof(IMarkdownObjectValidatorProvider))]
 public class HtmlMarkdownObjectValidatorProvider : IMarkdownObjectValidatorProvider
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/InclusionTest.cs b/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs
similarity index 99%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Tests/InclusionTest.cs
rename to test/Docfx.MarkdigEngine.Tests/InclusionTest.cs
index 6672cde357b..8634771fc16 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/InclusionTest.cs
+++ b/test/Docfx.MarkdigEngine.Tests/InclusionTest.cs
@@ -3,13 +3,13 @@
 
 using System.Collections.Immutable;
 using Markdig;
-using Microsoft.DocAsCode.Common;
-using Microsoft.DocAsCode.MarkdigEngine.Extensions;
-using Microsoft.DocAsCode.Plugins;
+using Docfx.Common;
+using Docfx.MarkdigEngine.Extensions;
+using Docfx.Plugins;
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 [Collection("docfx STA")]
 public class InclusionTest
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/MarkdigServiceTest.cs b/test/Docfx.MarkdigEngine.Tests/MarkdigServiceTest.cs
similarity index 95%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Tests/MarkdigServiceTest.cs
rename to test/Docfx.MarkdigEngine.Tests/MarkdigServiceTest.cs
index 3b868f888a0..b0fc0e6c87b 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/MarkdigServiceTest.cs
+++ b/test/Docfx.MarkdigEngine.Tests/MarkdigServiceTest.cs
@@ -4,10 +4,10 @@
 using System.Collections.Immutable;
 
 using Markdig.Syntax;
-using Microsoft.DocAsCode.MarkdigEngine.Extensions;
+using Docfx.MarkdigEngine.Extensions;
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 [Collection("docfx STA")]
 public class MarkdigServiceTest
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs b/test/Docfx.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs
similarity index 93%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs
rename to test/Docfx.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs
index 5ad93a7ab39..e4738763037 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs
+++ b/test/Docfx.MarkdigEngine.Tests/TestUtility/TestLoggerListener.cs
@@ -1,9 +1,9 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-using Microsoft.DocAsCode.Common;
+using Docfx.Common;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 internal class TestLoggerListener : ILoggerListener
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/TestUtility/TestUtility.cs b/test/Docfx.MarkdigEngine.Tests/TestUtility/TestUtility.cs
similarity index 95%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Tests/TestUtility/TestUtility.cs
rename to test/Docfx.MarkdigEngine.Tests/TestUtility/TestUtility.cs
index 2a173b917ae..15b02bb8715 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/TestUtility/TestUtility.cs
+++ b/test/Docfx.MarkdigEngine.Tests/TestUtility/TestUtility.cs
@@ -1,10 +1,10 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-using Microsoft.DocAsCode.Plugins;
+using Docfx.Plugins;
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public static class TestUtility
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/ValidationTest.cs b/test/Docfx.MarkdigEngine.Tests/ValidationTest.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Tests/ValidationTest.cs
rename to test/Docfx.MarkdigEngine.Tests/ValidationTest.cs
index b23ca7003c5..78a04a05698 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/ValidationTest.cs
+++ b/test/Docfx.MarkdigEngine.Tests/ValidationTest.cs
@@ -5,13 +5,13 @@
 
 using Markdig;
 using Markdig.Syntax;
-using Microsoft.DocAsCode.Common;
-using Microsoft.DocAsCode.MarkdigEngine.Extensions;
-using Microsoft.DocAsCode.MarkdigEngine.Validators;
-using Microsoft.DocAsCode.Plugins;
+using Docfx.Common;
+using Docfx.MarkdigEngine.Extensions;
+using Docfx.MarkdigEngine.Validators;
+using Docfx.Plugins;
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class ValidationTest
 {
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/YamlHeaderTest.cs b/test/Docfx.MarkdigEngine.Tests/YamlHeaderTest.cs
similarity index 97%
rename from test/Microsoft.DocAsCode.MarkdigEngine.Tests/YamlHeaderTest.cs
rename to test/Docfx.MarkdigEngine.Tests/YamlHeaderTest.cs
index 0ae71d55325..4077b5fdccb 100644
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/YamlHeaderTest.cs
+++ b/test/Docfx.MarkdigEngine.Tests/YamlHeaderTest.cs
@@ -1,10 +1,10 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-using Microsoft.DocAsCode.Plugins;
+using Docfx.Plugins;
 using Xunit;
 
-namespace Microsoft.DocAsCode.MarkdigEngine.Tests;
+namespace Docfx.MarkdigEngine.Tests;
 
 public class YamlHeaderTest
 {
diff --git a/test/Docfx.Plugins.Tests/Docfx.Plugins.Tests.csproj b/test/Docfx.Plugins.Tests/Docfx.Plugins.Tests.csproj
new file mode 100644
index 00000000000..2699b121f97
--- /dev/null
+++ b/test/Docfx.Plugins.Tests/Docfx.Plugins.Tests.csproj
@@ -0,0 +1,5 @@
+
+  
+    
+  
+
diff --git a/test/Microsoft.DocAsCode.Plugins.Tests/JsonConverterTest.cs b/test/Docfx.Plugins.Tests/JsonConverterTest.cs
similarity index 97%
rename from test/Microsoft.DocAsCode.Plugins.Tests/JsonConverterTest.cs
rename to test/Docfx.Plugins.Tests/JsonConverterTest.cs
index 8ea905e6398..ba7da590cea 100644
--- a/test/Microsoft.DocAsCode.Plugins.Tests/JsonConverterTest.cs
+++ b/test/Docfx.Plugins.Tests/JsonConverterTest.cs
@@ -6,7 +6,7 @@
 using Newtonsoft.Json.Serialization;
 using Xunit;
 
-namespace Microsoft.DocAsCode.Plugins.Tests;
+namespace Docfx.Plugins.Tests;
 
 public class JsonConverterTest
 {
diff --git a/test/Microsoft.DocAsCode.Plugins.Tests/TreeNavigatorTest.cs b/test/Docfx.Plugins.Tests/TreeNavigatorTest.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.Plugins.Tests/TreeNavigatorTest.cs
rename to test/Docfx.Plugins.Tests/TreeNavigatorTest.cs
index 88881431c82..e0f744baebe 100644
--- a/test/Microsoft.DocAsCode.Plugins.Tests/TreeNavigatorTest.cs
+++ b/test/Docfx.Plugins.Tests/TreeNavigatorTest.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.Plugins.Tests;
+namespace Docfx.Plugins.Tests;
 
 public class TreeNavigatorTest
 {
diff --git a/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj b/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj
new file mode 100644
index 00000000000..e4874e726bf
--- /dev/null
+++ b/test/Docfx.Tests.Common/Docfx.Tests.Common.csproj
@@ -0,0 +1,5 @@
+
+  
+    
+  
+ 
diff --git a/test/Microsoft.DocAsCode.Tests.Common/TestBase.cs b/test/Docfx.Tests.Common/TestBase.cs
similarity index 98%
rename from test/Microsoft.DocAsCode.Tests.Common/TestBase.cs
rename to test/Docfx.Tests.Common/TestBase.cs
index c152bc5d3b1..2f5a9cc1cc1 100644
--- a/test/Microsoft.DocAsCode.Tests.Common/TestBase.cs
+++ b/test/Docfx.Tests.Common/TestBase.cs
@@ -3,7 +3,7 @@
 
 using Xunit;
 
-namespace Microsoft.DocAsCode.Tests.Common;
+namespace Docfx.Tests.Common;
 
 public class TestBase : IClassFixture, IDisposable
 {
diff --git a/test/Microsoft.DocAsCode.Tests.Common/TestListenerScope.cs b/test/Docfx.Tests.Common/TestListenerScope.cs
similarity index 90%
rename from test/Microsoft.DocAsCode.Tests.Common/TestListenerScope.cs
rename to test/Docfx.Tests.Common/TestListenerScope.cs
index c77abf11d43..796701b29fa 100644
--- a/test/Microsoft.DocAsCode.Tests.Common/TestListenerScope.cs
+++ b/test/Docfx.Tests.Common/TestListenerScope.cs
@@ -1,9 +1,9 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-using Microsoft.DocAsCode.Common;
+using Docfx.Common;
 
-namespace Microsoft.DocAsCode.Tests.Common;
+namespace Docfx.Tests.Common;
 
 public class TestListenerScope : IDisposable
 {
diff --git a/test/Microsoft.DocAsCode.Tests.Common/TestLoggerListener.cs b/test/Docfx.Tests.Common/TestLoggerListener.cs
similarity index 97%
rename from test/Microsoft.DocAsCode.Tests.Common/TestLoggerListener.cs
rename to test/Docfx.Tests.Common/TestLoggerListener.cs
index 2925906dd2e..9432659bd80 100644
--- a/test/Microsoft.DocAsCode.Tests.Common/TestLoggerListener.cs
+++ b/test/Docfx.Tests.Common/TestLoggerListener.cs
@@ -1,9 +1,9 @@
 // Licensed to the .NET Foundation under one or more agreements.
 // The .NET Foundation licenses this file to you under the MIT license.
 
-using Microsoft.DocAsCode.Common;
+using Docfx.Common;
 
-namespace Microsoft.DocAsCode.Tests.Common;
+namespace Docfx.Tests.Common;
 
 public class TestLoggerListener : ILoggerListener
 {
diff --git a/test/Microsoft.DocAsCode.Build.Common.Tests/Microsoft.DocAsCode.Build.Common.Tests.csproj b/test/Microsoft.DocAsCode.Build.Common.Tests/Microsoft.DocAsCode.Build.Common.Tests.csproj
deleted file mode 100644
index 70ac05816ad..00000000000
--- a/test/Microsoft.DocAsCode.Build.Common.Tests/Microsoft.DocAsCode.Build.Common.Tests.csproj
+++ /dev/null
@@ -1,10 +0,0 @@
-
-  
-    
-    
-    
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj b/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj
deleted file mode 100644
index d9ba91c5935..00000000000
--- a/test/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests/Microsoft.DocAsCode.Build.ConceptualDocuments.Tests.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-  
-    
-    
-    
-    
-    
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.Engine.Tests/Microsoft.DocAsCode.Build.Engine.Tests.csproj b/test/Microsoft.DocAsCode.Build.Engine.Tests/Microsoft.DocAsCode.Build.Engine.Tests.csproj
deleted file mode 100644
index eedc30a33fe..00000000000
--- a/test/Microsoft.DocAsCode.Build.Engine.Tests/Microsoft.DocAsCode.Build.Engine.Tests.csproj
+++ /dev/null
@@ -1,25 +0,0 @@
-
-  
-    
-  
-
-  
-    
-  
-
-  
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj b/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj
deleted file mode 100644
index 9008a285736..00000000000
--- a/test/Microsoft.DocAsCode.Build.ManagedReference.Tests/Microsoft.DocAsCode.Build.ManagedReference.Tests.csproj
+++ /dev/null
@@ -1,7 +0,0 @@
-
-  
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests.csproj b/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests.csproj
deleted file mode 100644
index 79f65cb146e..00000000000
--- a/test/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests/Microsoft.DocAsCode.Build.OverwriteDocuments.Tests.csproj
+++ /dev/null
@@ -1,9 +0,0 @@
-
-  
-    
-  
-  
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.RestApi.Tests/Microsoft.DocAsCode.Build.RestApi.Tests.csproj b/test/Microsoft.DocAsCode.Build.RestApi.Tests/Microsoft.DocAsCode.Build.RestApi.Tests.csproj
deleted file mode 100644
index b09107eac6a..00000000000
--- a/test/Microsoft.DocAsCode.Build.RestApi.Tests/Microsoft.DocAsCode.Build.RestApi.Tests.csproj
+++ /dev/null
@@ -1,16 +0,0 @@
-
-  
-    
-  
-
-  
-    
-    
-    
-    
-    
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj b/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj
deleted file mode 100644
index 055ae741ab8..00000000000
--- a/test/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests/Microsoft.DocAsCode.Build.RestApi.WithPlugins.Tests.csproj
+++ /dev/null
@@ -1,13 +0,0 @@
-
-  
-    
-    
-    
-    
-    
-    
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj b/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj
deleted file mode 100644
index 407ca048b78..00000000000
--- a/test/Microsoft.DocAsCode.Build.SchemaDriven.Tests/Microsoft.DocAsCode.Build.SchemaDriven.Tests.csproj
+++ /dev/null
@@ -1,12 +0,0 @@
-
-  
-    
-    
-    
-    
-    
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj b/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj
deleted file mode 100644
index 540479b3d6f..00000000000
--- a/test/Microsoft.DocAsCode.Build.TableOfContents.Tests/Microsoft.DocAsCode.Build.TableOfContents.Tests.csproj
+++ /dev/null
@@ -1,14 +0,0 @@
-
-  
-    
-    
-    
-    
-    
-    
-    
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/Microsoft.DocAsCode.Build.UniversalReference.Tests.csproj b/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/Microsoft.DocAsCode.Build.UniversalReference.Tests.csproj
deleted file mode 100644
index 64da13fdde3..00000000000
--- a/test/Microsoft.DocAsCode.Build.UniversalReference.Tests/Microsoft.DocAsCode.Build.UniversalReference.Tests.csproj
+++ /dev/null
@@ -1,11 +0,0 @@
-
-  
-    
-  
-  
-  
-    
-    
-    
-  
-
\ No newline at end of file
diff --git a/test/Microsoft.DocAsCode.Common.Tests/Microsoft.DocAsCode.Common.Tests.csproj b/test/Microsoft.DocAsCode.Common.Tests/Microsoft.DocAsCode.Common.Tests.csproj
deleted file mode 100644
index fc9843b530e..00000000000
--- a/test/Microsoft.DocAsCode.Common.Tests/Microsoft.DocAsCode.Common.Tests.csproj
+++ /dev/null
@@ -1,8 +0,0 @@
-
-  
-    
-    
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Glob.Tests/Microsoft.DocAsCode.Glob.Tests.csproj b/test/Microsoft.DocAsCode.Glob.Tests/Microsoft.DocAsCode.Glob.Tests.csproj
deleted file mode 100644
index bdf89104e7b..00000000000
--- a/test/Microsoft.DocAsCode.Glob.Tests/Microsoft.DocAsCode.Glob.Tests.csproj
+++ /dev/null
@@ -1,6 +0,0 @@
-
-  
-    
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests.csproj b/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests.csproj
deleted file mode 100644
index 54d25211b99..00000000000
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests/Microsoft.DocAsCode.MarkdigEngine.Extensions.Tests.csproj
+++ /dev/null
@@ -1,5 +0,0 @@
-
-  
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/Microsoft.DocAsCode.MarkdigEngine.Tests.csproj b/test/Microsoft.DocAsCode.MarkdigEngine.Tests/Microsoft.DocAsCode.MarkdigEngine.Tests.csproj
deleted file mode 100644
index 98ca8160093..00000000000
--- a/test/Microsoft.DocAsCode.MarkdigEngine.Tests/Microsoft.DocAsCode.MarkdigEngine.Tests.csproj
+++ /dev/null
@@ -1,8 +0,0 @@
-
-  
-    
-    
-    
-    
-  
-
\ No newline at end of file
diff --git a/test/Microsoft.DocAsCode.Plugins.Tests/Microsoft.DocAsCode.Plugins.Tests.csproj b/test/Microsoft.DocAsCode.Plugins.Tests/Microsoft.DocAsCode.Plugins.Tests.csproj
deleted file mode 100644
index 9950c59ee46..00000000000
--- a/test/Microsoft.DocAsCode.Plugins.Tests/Microsoft.DocAsCode.Plugins.Tests.csproj
+++ /dev/null
@@ -1,5 +0,0 @@
-
-  
-    
-  
-
diff --git a/test/Microsoft.DocAsCode.Tests.Common/Microsoft.DocAsCode.Tests.Common.csproj b/test/Microsoft.DocAsCode.Tests.Common/Microsoft.DocAsCode.Tests.Common.csproj
deleted file mode 100644
index 234c7a091e2..00000000000
--- a/test/Microsoft.DocAsCode.Tests.Common/Microsoft.DocAsCode.Tests.Common.csproj
+++ /dev/null
@@ -1,5 +0,0 @@
-
-  
-    
-  
- 
diff --git a/test/docfx.Snapshot.Tests/ModuleInitializer.cs b/test/docfx.Snapshot.Tests/ModuleInitializer.cs
index 5cc27c04225..d842fe9daec 100644
--- a/test/docfx.Snapshot.Tests/ModuleInitializer.cs
+++ b/test/docfx.Snapshot.Tests/ModuleInitializer.cs
@@ -4,7 +4,7 @@
 using System.Runtime.CompilerServices;
 using DiffEngine;
 
-namespace Microsoft.DocAsCode.Tests;
+namespace Docfx.Tests;
 
 public static class ModuleInitializer
 {
diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/engineering_guidelines.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/engineering_guidelines.html.view.verified.json
index c757f37ede3..8c6f105bbe5 100644
--- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/engineering_guidelines.html.view.verified.json
+++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/articles/engineering_guidelines.html.view.verified.json
@@ -1,5 +1,5 @@
 {
-  "conceptual": "\n

Basics

\n

Copyright header and license notice

\n

All source code files require the following exact header according to its language (please do not make any changes to it).

\n
\n

extension: .cs

\n
\n
// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n
\n
\n

extension: .js

\n
\n
// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n
\n
\n

extension: .css

\n
\n
/**\n * Licensed to the .NET Foundation under one or more agreements.\n * The .NET Foundation licenses this file to you under the MIT license.\n */\n
\n
\n

extension: .tmpl, .tmpl.partial

\n
\n
{{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license.}}\n
\n

External dependencies

\n

This refers to dependencies on projects (i.e. NuGet packages) outside of the docfx repo, and especially outside of Microsoft. Adding new dependencies require additional approval.

\n

Current approved dependencies are:

\n
    \n
  • Newtonsoft.Json
  • \n
  • Jint
  • \n
  • HtmlAgilityPack
  • \n
  • Nustache
  • \n
  • YamlDotNet
  • \n
\n

Code reviews and checkins

\n

To help ensure that only the highest quality code makes its way into the project, please submit all your code changes to GitHub as PRs. This includes runtime code changes, unit test updates, and deployment scripts. For example, sending a PR for just an update to a unit test might seem like a waste of time but the unit tests are just as important as the product code and as such, reviewing changes to them is also just as important.

\n

The advantages are numerous: improving code quality, more visibility on changes and their potential impact, avoiding duplication of effort, and creating general awareness of progress being made in various areas.

\n

In general a PR should be signed off(using the \uD83D\uDC4D emoticon) by the Owner of that code.

\n

To commit the PR to the repo do not use the Big Green Button. Instead, do a typical push that you would use with Git (e.g. local pull, rebase, merge, push).

\n

Source Code Management

\n

Branch strategy

\n

In general:

\n
    \n
  • master has the code for the latest release on NuGet.org. (e.g. 1.0.0, 1.1.0)
  • \n
  • dev has the code that is being worked on but not yet released. This is the branch into which devs normally submit pull requests and merge changes into. We run daily CI towards dev branch and generate pre-release nuget package, e.g. 1.0.1-alpha-9-abcdefsd.
  • \n
  • hotfix has the code for fixing master bug after it is released. hotfix changes will be merged back to master and dev once it is verified.
  • \n
\n

Solution and project folder structure and naming

\n

Solution files go in the repo root. The default entry point is All.sln.

\n

Every project also needs a project.json and a matching .xproj file. This project.json is the source of truth for a project's dependencies and configuration options.

\n

Solution need to contain solution folders that match the physical folder (src, test, tools, etc.).

\n

Assembly naming pattern

\n

The general naming pattern is Microsoft.DocAsCode.<area>.<subarea>.

\n

Unit tests

\n

We use xUnit.net for all unit testing.

\n

Coding Standards

\n

Please refer to C# Coding standards for detailed guideline for C# coding standards.

\n

TODO Template Coding standards

\n

TODO Template Preprocess JS Coding standards

\n", + "conceptual": "\n

Basics

\n

Copyright header and license notice

\n

All source code files require the following exact header according to its language (please do not make any changes to it).

\n
\n

extension: .cs

\n
\n
// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n
\n
\n

extension: .js

\n
\n
// Licensed to the .NET Foundation under one or more agreements.\n// The .NET Foundation licenses this file to you under the MIT license.\n
\n
\n

extension: .css

\n
\n
/**\n * Licensed to the .NET Foundation under one or more agreements.\n * The .NET Foundation licenses this file to you under the MIT license.\n */\n
\n
\n

extension: .tmpl, .tmpl.partial

\n
\n
{{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license.}}\n
\n

External dependencies

\n

This refers to dependencies on projects (i.e. NuGet packages) outside of the docfx repo, and especially outside of Microsoft. Adding new dependencies require additional approval.

\n

Current approved dependencies are:

\n
    \n
  • Newtonsoft.Json
  • \n
  • Jint
  • \n
  • HtmlAgilityPack
  • \n
  • Nustache
  • \n
  • YamlDotNet
  • \n
\n

Code reviews and checkins

\n

To help ensure that only the highest quality code makes its way into the project, please submit all your code changes to GitHub as PRs. This includes runtime code changes, unit test updates, and deployment scripts. For example, sending a PR for just an update to a unit test might seem like a waste of time but the unit tests are just as important as the product code and as such, reviewing changes to them is also just as important.

\n

The advantages are numerous: improving code quality, more visibility on changes and their potential impact, avoiding duplication of effort, and creating general awareness of progress being made in various areas.

\n

In general a PR should be signed off(using the \uD83D\uDC4D emoticon) by the Owner of that code.

\n

To commit the PR to the repo do not use the Big Green Button. Instead, do a typical push that you would use with Git (e.g. local pull, rebase, merge, push).

\n

Source Code Management

\n

Branch strategy

\n

In general:

\n
    \n
  • master has the code for the latest release on NuGet.org. (e.g. 1.0.0, 1.1.0)
  • \n
  • dev has the code that is being worked on but not yet released. This is the branch into which devs normally submit pull requests and merge changes into. We run daily CI towards dev branch and generate pre-release nuget package, e.g. 1.0.1-alpha-9-abcdefsd.
  • \n
  • hotfix has the code for fixing master bug after it is released. hotfix changes will be merged back to master and dev once it is verified.
  • \n
\n

Solution and project folder structure and naming

\n

Solution files go in the repo root. The default entry point is All.sln.

\n

Every project also needs a project.json and a matching .xproj file. This project.json is the source of truth for a project's dependencies and configuration options.

\n

Solution need to contain solution folders that match the physical folder (src, test, tools, etc.).

\n

Assembly naming pattern

\n

The general naming pattern is Docfx.<area>.<subarea>.

\n

Unit tests

\n

We use xUnit.net for all unit testing.

\n

Coding Standards

\n

Please refer to C# Coding standards for detailed guideline for C# coding standards.

\n

TODO Template Coding standards

\n

TODO Template Preprocess JS Coding standards

\n", "type": "Conceptual", "source": { "remote": { diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json index 75be9094396..0e9d6e0b946 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/index.verified.json @@ -247,7 +247,7 @@ "articles/engineering_guidelines.html": { "href": "articles/engineering_guidelines.html", "title": "Engineering Guidelines | docfx seed website", - "keywords": "Engineering Guidelines Basics Copyright header and license notice All source code files require the following exact header according to its language (please do not make any changes to it). extension: .cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. extension: .js // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. extension: .css /** * Licensed to the .NET Foundation under one or more agreements. * The .NET Foundation licenses this file to you under the MIT license. */ extension: .tmpl, .tmpl.partial {{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license.}} External dependencies This refers to dependencies on projects (i.e. NuGet packages) outside of the docfx repo, and especially outside of Microsoft. Adding new dependencies require additional approval. Current approved dependencies are: Newtonsoft.Json Jint HtmlAgilityPack Nustache YamlDotNet Code reviews and checkins To help ensure that only the highest quality code makes its way into the project, please submit all your code changes to GitHub as PRs. This includes runtime code changes, unit test updates, and deployment scripts. For example, sending a PR for just an update to a unit test might seem like a waste of time but the unit tests are just as important as the product code and as such, reviewing changes to them is also just as important. The advantages are numerous: improving code quality, more visibility on changes and their potential impact, avoiding duplication of effort, and creating general awareness of progress being made in various areas. In general a PR should be signed off(using the \uD83D\uDC4D emoticon) by the Owner of that code. To commit the PR to the repo do not use the Big Green Button. Instead, do a typical push that you would use with Git (e.g. local pull, rebase, merge, push). Source Code Management Branch strategy In general: master has the code for the latest release on NuGet.org. (e.g. 1.0.0, 1.1.0) dev has the code that is being worked on but not yet released. This is the branch into which devs normally submit pull requests and merge changes into. We run daily CI towards dev branch and generate pre-release nuget package, e.g. 1.0.1-alpha-9-abcdefsd. hotfix has the code for fixing master bug after it is released. hotfix changes will be merged back to master and dev once it is verified. Solution and project folder structure and naming Solution files go in the repo root. The default entry point is All.sln. Every project also needs a project.json and a matching .xproj file. This project.json is the source of truth for a project's dependencies and configuration options. Solution need to contain solution folders that match the physical folder (src, test, tools, etc.). Assembly naming pattern The general naming pattern is Microsoft.DocAsCode... Unit tests We use xUnit.net for all unit testing. Coding Standards Please refer to C# Coding standards for detailed guideline for C# coding standards. TODO Template Coding standards TODO Template Preprocess JS Coding standards" + "keywords": "Engineering Guidelines Basics Copyright header and license notice All source code files require the following exact header according to its language (please do not make any changes to it). extension: .cs // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. extension: .js // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. extension: .css /** * Licensed to the .NET Foundation under one or more agreements. * The .NET Foundation licenses this file to you under the MIT license. */ extension: .tmpl, .tmpl.partial {{!Licensed to the .NET Foundation under one or more agreements. The .NET Foundation licenses this file to you under the MIT license.}} External dependencies This refers to dependencies on projects (i.e. NuGet packages) outside of the docfx repo, and especially outside of Microsoft. Adding new dependencies require additional approval. Current approved dependencies are: Newtonsoft.Json Jint HtmlAgilityPack Nustache YamlDotNet Code reviews and checkins To help ensure that only the highest quality code makes its way into the project, please submit all your code changes to GitHub as PRs. This includes runtime code changes, unit test updates, and deployment scripts. For example, sending a PR for just an update to a unit test might seem like a waste of time but the unit tests are just as important as the product code and as such, reviewing changes to them is also just as important. The advantages are numerous: improving code quality, more visibility on changes and their potential impact, avoiding duplication of effort, and creating general awareness of progress being made in various areas. In general a PR should be signed off(using the \uD83D\uDC4D emoticon) by the Owner of that code. To commit the PR to the repo do not use the Big Green Button. Instead, do a typical push that you would use with Git (e.g. local pull, rebase, merge, push). Source Code Management Branch strategy In general: master has the code for the latest release on NuGet.org. (e.g. 1.0.0, 1.1.0) dev has the code that is being worked on but not yet released. This is the branch into which devs normally submit pull requests and merge changes into. We run daily CI towards dev branch and generate pre-release nuget package, e.g. 1.0.1-alpha-9-abcdefsd. hotfix has the code for fixing master bug after it is released. hotfix changes will be merged back to master and dev once it is verified. Solution and project folder structure and naming Solution files go in the repo root. The default entry point is All.sln. Every project also needs a project.json and a matching .xproj file. This project.json is the source of truth for a project's dependencies and configuration options. Solution need to contain solution folders that match the physical folder (src, test, tools, etc.). Assembly naming pattern The general naming pattern is Docfx... Unit tests We use xUnit.net for all unit testing. Coding Standards Please refer to C# Coding standards for detailed guideline for C# coding standards. TODO Template Coding standards TODO Template Preprocess JS Coding standards" }, "articles/markdown.html": { "href": "articles/markdown.html", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.cs b/test/docfx.Snapshot.Tests/SamplesTest.cs index 75cf878025d..37f9234099e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.cs +++ b/test/docfx.Snapshot.Tests/SamplesTest.cs @@ -1,4 +1,4 @@ -// Licensed to the .NET Foundation under one or more agreements. +// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using System.Collections.Concurrent; @@ -9,11 +9,11 @@ using System.Text.Json.Nodes; using System.Text.RegularExpressions; using ImageMagick; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Dotnet; +using Docfx.Common; +using Docfx.Dotnet; using Microsoft.Playwright; -namespace Microsoft.DocAsCode.Tests; +namespace Docfx.Tests; [UsesVerify] [Trait("Stage", "Snapshot")] @@ -51,7 +51,7 @@ private static readonly (int width, int height, string theme, bool fullPage)[] s static SamplesTest() { - Playwright.Program.Main(new[] { "install" }); + Microsoft.Playwright.Program.Main(new[] { "install" }); Process.Start("dotnet", $"build \"{s_samplesDir}/seed/dotnet/assembly/BuildFromAssembly.csproj\"").WaitForExit(); } @@ -90,7 +90,7 @@ public async Task SeedHtml() const int port = 8089; var _ = Task.Run(() => Program.Main(new[] { "serve", "--port", $"{port}", $"{samplePath}/_site" })); - using var playwright = await Playwright.Playwright.CreateAsync(); + using var playwright = await Playwright.CreateAsync(); var browser = await playwright.Chromium.LaunchAsync(); var htmlUrls = new ConcurrentDictionary(); @@ -200,9 +200,9 @@ public Task Extensions() Clean(samplePath); #if DEBUG - Assert.Equal(0, Exec("dotnet", "run --project build", workingDirectory: samplePath)); + Assert.Equal(0, Exec("dotnet", "run --no-build --project build", workingDirectory: samplePath)); #else - Assert.Equal(0, Exec("dotnet", "run -c Release --project build", workingDirectory: samplePath)); + Assert.Equal(0, Exec("dotnet", "run --no-build -c Release --project build", workingDirectory: samplePath)); #endif return Verifier.VerifyDirectory($"{samplePath}/_site", IncludeFile).AutoVerify(includeBuildServer: false); diff --git a/test/docfx.Tests/Assets/template/plugins/CustomPostProcessor.cs b/test/docfx.Tests/Assets/template/plugins/CustomPostProcessor.cs index 38c4d49a809..996508f53d7 100644 --- a/test/docfx.Tests/Assets/template/plugins/CustomPostProcessor.cs +++ b/test/docfx.Tests/Assets/template/plugins/CustomPostProcessor.cs @@ -1,6 +1,6 @@ using System.Collections.Immutable; using System.Composition; -using Microsoft.DocAsCode.Plugins; +using Docfx.Plugins; [Export(nameof(CustomPostProcessor), typeof(IPostProcessor))] public class CustomPostProcessor : IPostProcessor diff --git a/test/docfx.Tests/Assets/template/plugins/plugins.csproj b/test/docfx.Tests/Assets/template/plugins/plugins.csproj index a15a04d7c50..1714e2a73bb 100644 --- a/test/docfx.Tests/Assets/template/plugins/plugins.csproj +++ b/test/docfx.Tests/Assets/template/plugins/plugins.csproj @@ -9,7 +9,7 @@ - + diff --git a/test/docfx.Tests/CommandLineTest.cs b/test/docfx.Tests/CommandLineTest.cs index 5ed45133ed9..699f070a46a 100644 --- a/test/docfx.Tests/CommandLineTest.cs +++ b/test/docfx.Tests/CommandLineTest.cs @@ -3,7 +3,7 @@ using Xunit; -namespace Microsoft.DocAsCode.Tests; +namespace Docfx.Tests; public static class CommandLineTest { diff --git a/test/docfx.Tests/CompositeCommandTest.cs b/test/docfx.Tests/CompositeCommandTest.cs index b965e8c21d0..1278f74fd46 100644 --- a/test/docfx.Tests/CompositeCommandTest.cs +++ b/test/docfx.Tests/CompositeCommandTest.cs @@ -3,11 +3,11 @@ using System.Xml.Linq; using HtmlAgilityPack; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Tests; +namespace Docfx.Tests; [Collection("docfx STA")] public class CompositeCommandTest : TestBase diff --git a/test/docfx.Tests/DocsetTest.cs b/test/docfx.Tests/DocsetTest.cs index cb159a875bc..432238ffc6b 100644 --- a/test/docfx.Tests/DocsetTest.cs +++ b/test/docfx.Tests/DocsetTest.cs @@ -4,11 +4,11 @@ using System.Runtime.CompilerServices; using System.Text.Json; using System.Xml.Linq; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Tests; +namespace Docfx.Tests; [Collection("docfx STA")] public class DocsetTest : TestBase diff --git a/test/docfx.Tests/JsonConverterTest.cs b/test/docfx.Tests/JsonConverterTest.cs index 28ed599589f..25b7a9a7385 100644 --- a/test/docfx.Tests/JsonConverterTest.cs +++ b/test/docfx.Tests/JsonConverterTest.cs @@ -3,14 +3,14 @@ using System.Collections; using System.Reflection; -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.Plugins; +using Docfx.Common; +using Docfx.Plugins; using Newtonsoft.Json; using Newtonsoft.Json.Linq; using Newtonsoft.Json.Serialization; using Xunit; -namespace Microsoft.DocAsCode.Tests; +namespace Docfx.Tests; public class JsonConverterTest { diff --git a/test/docfx.Tests/MetadataCommandTest.cs b/test/docfx.Tests/MetadataCommandTest.cs index 40aa2015f9e..8f22bd92187 100644 --- a/test/docfx.Tests/MetadataCommandTest.cs +++ b/test/docfx.Tests/MetadataCommandTest.cs @@ -1,14 +1,14 @@ // Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. -using Microsoft.DocAsCode.Common; -using Microsoft.DocAsCode.DataContracts.Common; -using Microsoft.DocAsCode.DataContracts.ManagedReference; -using Microsoft.DocAsCode.Dotnet; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Common; +using Docfx.DataContracts.Common; +using Docfx.DataContracts.ManagedReference; +using Docfx.Dotnet; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Tests; +namespace Docfx.Tests; [Collection("docfx STA")] public class MetadataCommandTest : TestBase diff --git a/test/docfx.Tests/PdfTest.cs b/test/docfx.Tests/PdfTest.cs index 5d01de78331..0a2bf0a1485 100644 --- a/test/docfx.Tests/PdfTest.cs +++ b/test/docfx.Tests/PdfTest.cs @@ -2,10 +2,10 @@ // The .NET Foundation licenses this file to you under the MIT license. using System.Runtime.CompilerServices; -using Microsoft.DocAsCode.Tests.Common; +using Docfx.Tests.Common; using Xunit; -namespace Microsoft.DocAsCode.Tests; +namespace Docfx.Tests; [Collection("docfx STA")] public class PdfTest : TestBase diff --git a/test/docfx.Tests/docfx.Tests.csproj b/test/docfx.Tests/docfx.Tests.csproj index da68df25dfe..1420b46e110 100644 --- a/test/docfx.Tests/docfx.Tests.csproj +++ b/test/docfx.Tests/docfx.Tests.csproj @@ -4,9 +4,9 @@ - - + + - +