diff --git a/samples/seed/toc.yml b/samples/seed/toc.yml index 22c3c2ce537..ffff6cd1913 100644 --- a/samples/seed/toc.yml +++ b/samples/seed/toc.yml @@ -3,6 +3,8 @@ - name: Articles href: articles/ - name: API Documentation - href: obj/api/ -- name: REST API - href: restapi/ + items: + - name: .NET API + href: obj/api/ + - name: REST API + href: restapi/ diff --git a/templates/modern/src/nav.ts b/templates/modern/src/nav.ts index 519c9221852..fa81ad78d5a 100644 --- a/templates/modern/src/nav.ts +++ b/templates/modern/src/nav.ts @@ -11,6 +11,11 @@ export type NavItem = { href: URL } +export type NavItemContainer = { + name: string + items: NavItem[] +} + /** * @returns active navbar items */ @@ -23,13 +28,27 @@ export async function renderNavbar(): Promise { const navItems = await loadNavItems() const activeItem = findActiveItem(navItems) + const menuItem = item => { + const current = (item === activeItem ? 'page' : false) + const active = (item === activeItem ? 'active' : null) + return html`` + } + const menu = html` ` @@ -43,7 +62,7 @@ export async function renderNavbar(): Promise { return activeItem ? [activeItem] : [] - async function loadNavItems(): Promise { + async function loadNavItems(): Promise<(NavItem | NavItemContainer)[]> { const navrel = meta('docfx:navrel') if (!navrel) { return [] @@ -51,7 +70,12 @@ export async function renderNavbar(): Promise { const navUrl = new URL(navrel.replace(/.html$/gi, '.json'), window.location.href) const { items } = await fetch(navUrl).then(res => res.json()) - return items.map(a => ({ name: a.name, href: new URL(a.href, navUrl) })) + return items.map((a: NavItem | NavItemContainer) => { + if ('items' in a) { + return { name: a.name, items: a.items.map(i => ({ name: i.name, href: new URL(i.href, navUrl) })) } + } + return { name: a.name, href: new URL(a.href, navUrl) } + }) } function githubLink() { @@ -113,11 +137,11 @@ function inThisArticleForManagedReference(): TemplateResult { } } -function findActiveItem(items: NavItem[]): NavItem { +function findActiveItem(items: (NavItem | NavItemContainer)[]): NavItem { const url = new URL(window.location.href) let activeItem: NavItem let maxPrefix = 0 - for (const item of items) { + for (const item of items.map(i => 'items' in i ? i.items : i).flat()) { const prefix = commonUrlPrefix(url, item.href) if (prefix > maxPrefix) { maxPrefix = prefix diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.html.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.html.view.verified.json index ff7b6b336ce..fe76b51c246 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.html.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.html.view.verified.json @@ -20,22 +20,30 @@ }, { "name": "API Documentation", - "href": "api/BuildFromAssembly.html", - "tocHref": "api/toc.html", - "topicHref": "api/BuildFromAssembly.html", - "topicUid": "BuildFromAssembly", - "level": 2.0, - "items": [], - "leaf": true - }, - { - "name": "REST API", - "href": "restapi/petstore.html", - "tocHref": "restapi/toc.html", - "topicHref": "restapi/petstore.html", - "level": 2.0, - "items": [], - "leaf": true + "items": [ + { + "name": ".NET API", + "href": "api/BuildFromAssembly.html", + "tocHref": "api/toc.html", + "topicHref": "api/BuildFromAssembly.html", + "topicUid": "BuildFromAssembly", + "level": 3.0, + "items": [], + "leaf": true + }, + { + "name": "REST API", + "href": "restapi/petstore.html", + "tocHref": "restapi/toc.html", + "topicHref": "restapi/petstore.html", + "level": 3.0, + "items": [], + "leaf": true + } + ], + "topicHref": null, + "tocHref": null, + "level": 2.0 } ], "_appName": "Seed", diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.json.view.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.json.view.verified.json index b8028b4c921..3b6d61138cf 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.json.view.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.json.view.verified.json @@ -1,3 +1,3 @@ { - "content": "{\"items\":[{\"name\":\"Home\",\"href\":\"index.html\",\"topicHref\":\"index.html\"},{\"name\":\"Articles\",\"href\":\"articles/docfx_getting_started.html\",\"tocHref\":\"articles/toc.html\",\"topicHref\":\"articles/docfx_getting_started.html\"},{\"name\":\"API Documentation\",\"href\":\"api/BuildFromAssembly.html\",\"tocHref\":\"api/toc.html\",\"topicHref\":\"api/BuildFromAssembly.html\",\"topicUid\":\"BuildFromAssembly\"},{\"name\":\"REST API\",\"href\":\"restapi/petstore.html\",\"tocHref\":\"restapi/toc.html\",\"topicHref\":\"restapi/petstore.html\"}]}" + "content": "{\"items\":[{\"name\":\"Home\",\"href\":\"index.html\",\"topicHref\":\"index.html\"},{\"name\":\"Articles\",\"href\":\"articles/docfx_getting_started.html\",\"tocHref\":\"articles/toc.html\",\"topicHref\":\"articles/docfx_getting_started.html\"},{\"name\":\"API Documentation\",\"items\":[{\"name\":\".NET API\",\"href\":\"api/BuildFromAssembly.html\",\"tocHref\":\"api/toc.html\",\"topicHref\":\"api/BuildFromAssembly.html\",\"topicUid\":\"BuildFromAssembly\"},{\"name\":\"REST API\",\"href\":\"restapi/petstore.html\",\"tocHref\":\"restapi/toc.html\",\"topicHref\":\"restapi/petstore.html\"}]}]}" } \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.verified.json b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.verified.json index 984dd908f95..94a24832c96 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.verified.json +++ b/test/docfx.Snapshot.Tests/SamplesTest.Seed/toc.verified.json @@ -13,16 +13,21 @@ }, { "name": "API Documentation", - "href": "api/BuildFromAssembly.html", - "tocHref": "api/toc.html", - "topicHref": "api/BuildFromAssembly.html", - "topicUid": "BuildFromAssembly" - }, - { - "name": "REST API", - "href": "restapi/petstore.html", - "tocHref": "restapi/toc.html", - "topicHref": "restapi/petstore.html" + "items": [ + { + "name": ".NET API", + "href": "api/BuildFromAssembly.html", + "tocHref": "api/toc.html", + "topicHref": "api/BuildFromAssembly.html", + "topicUid": "BuildFromAssembly" + }, + { + "name": "REST API", + "href": "restapi/petstore.html", + "tocHref": "restapi/toc.html", + "topicHref": "restapi/petstore.html" + } + ] } ] } \ No newline at end of file diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-BuildFromProject.Class1.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-BuildFromProject.Class1.html.verified.png index 7e7cae63c33..181a9353ea2 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-BuildFromProject.Class1.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-BuildFromProject.Class1.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:676349ec86c920a604d9fee98c8e2be58c8e201733ac006c75843643ecbbae53 -size 125728 +oid sha256:4255f2bb2ca0d205dd2176eb67b7108abc045857cb40b99e388cfd7674b35dae +size 123873 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.Cat-2.html-q-cat.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.Cat-2.html-q-cat.verified.png index 0c273898dee..d19b375c00d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.Cat-2.html-q-cat.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.Cat-2.html-q-cat.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:004157264e048458179ca2a95f629f9f8c8ad5535913618b8df0fb0114d6050f -size 138042 +oid sha256:532d61943129c3332d1feae41e36ee35c8ccdd635d0c86d03d58ab9a6f2c0458 +size 135839 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.html-term-cat.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.html-term-cat.verified.png index 092de638b4f..32b84a63b94 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.html-term-cat.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.html-term-cat.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:3868691b3202848b802610d0e86f286c24687e8f4ea6b3801588da53215607e3 -size 164625 +oid sha256:21ff1f65fd5aec2ced329190b7091e28e60e81b9060c992dc0f43eab6538a8d7 +size 163396 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.html.verified.png index 6d67bc9e5eb..f3423442cdd 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/api-CatLibrary.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0c24ce1d13e035e634102282678b1ff4f90e4fca02202266955deda8494c02ff -size 88457 +oid sha256:2863b631563596704dab28b38eba2d06c0ea9f9cb0ad422638df520f224dc727 +size 86032 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/articles-csharp_coding_standards.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/articles-csharp_coding_standards.html.verified.png index d1af09db68c..860269d2bd2 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/articles-csharp_coding_standards.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/articles-csharp_coding_standards.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0e6e4d221d71469302e23d42c980f19616f8101a95c483e8c0afc2942bf1e893 -size 141607 +oid sha256:507cfa91187430440011c6a953635c7c45b7eacb9426f1f26a02c7cea3fe51c6 +size 140875 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png index d34fa7caa61..c3b0e086274 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0becb1fe2b0ce35dfb3868f241b3e25ac68cbf4e2e70ff51858ea971c1b2df62 -size 89977 +oid sha256:ac03b1403c05800a531a6f24501cca4d73692813c3069d4dfd6f1dc2fc2fe9d7 +size 89317 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/index.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/index.html.verified.png index 83f0010af88..f6ca304a532 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/index.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/index.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:feeb8414c9f80b6d7f8d7d78586a19db74510f458cfeefc60a157a022bd291fc -size 127652 +oid sha256:6988b8e22b5c484441e2da9d4b6d174faea4088e7d32b43387102d1b7ab581f1 +size 126903 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/restapi-petstore.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/restapi-petstore.html.verified.png index 657373e94df..6ee51e6a20e 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/restapi-petstore.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1152x648/restapi-petstore.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:4465e489bbf1e93dab2374afce43e3526e6785ba1983a29f61105011e23bcf12 -size 65648 +oid sha256:c367f50653f673625e3e2fe4641c759b98a281a0052db1d0426f22f77954f3f0 +size 64793 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-BuildFromProject.Class1.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-BuildFromProject.Class1.html.verified.png index e00b9440114..d27457fc259 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-BuildFromProject.Class1.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-BuildFromProject.Class1.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:11e00a9c628747ff92105d2b7bcaafe0fba60dc8a30e91c184e3c3708ff463ec -size 430071 +oid sha256:a2ea3b34ae82b6b1780d5633f348f61a0ee8ef33acfa87555bccaed0bfed2670 +size 427802 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.Cat-2.html-q-cat.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.Cat-2.html-q-cat.verified.png index b2e10d06289..e900b8e270d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.Cat-2.html-q-cat.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.Cat-2.html-q-cat.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:cb1459b44d19c31b5aac4aa8e815ce7a2095a7a569fe0a821cdacace1d6687e3 -size 839193 +oid sha256:420ebc3c136892d440e90605af6328c38d14c78bd462b19ceb791a957db044c6 +size 837533 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.html-term-cat.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.html-term-cat.verified.png index b4448ac193d..a4fa08b2c67 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.html-term-cat.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.html-term-cat.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:71a9b9b8fbf6832215f44139f31cfaa611d475281953a5f3b96fffbebaa28aef -size 254747 +oid sha256:5318daa31af06d706fbd0a9aaab0a203ac2c474ec741772c899f0af789fb9515 +size 253567 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.html.verified.png index 8e2966d36cc..2379583d3cb 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/api-CatLibrary.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8d8b00f9901f96856f1bc8debaf42a3b86141786b443b4575909294a1acf7f9c -size 166628 +oid sha256:197a47e36a91148f77642cb7b988190bb5484ad7668915422555f52afb783d42 +size 164088 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-csharp_coding_standards.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-csharp_coding_standards.html.verified.png index b9c1177e2ee..e7a01518b1d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-csharp_coding_standards.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-csharp_coding_standards.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:02921544322469929892a373fe630effc05c465d5dce88cee6b39cce559c8614 -size 1013198 +oid sha256:a1612d3f20673df624373d07733cc62279b44b46ab443fb8d4ffaea9f38a2a45 +size 1012746 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png index 8c4c268a363..90dd24ec559 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c1595ec102e504f2043a9f39b0433e0cf2a601255e0c0371f7ae656dacf696d3 -size 936042 +oid sha256:3e6f630ceb8462be597a675d145057d321dcb91ca3a0b3318deae6b3326b6cb2 +size 935256 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/index.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/index.html.verified.png index 64b0a615dd1..d209e987750 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/index.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/index.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:23717a77a7284a7b5d718c38f457dd07b9632f218ae48890c04e9eaab02aad9d -size 182007 +oid sha256:c7a41c7697b7d6fb4019fc6c5ca216044a0aa18c64a84ec6bc3cc398d96fdae6 +size 181320 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/restapi-petstore.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/restapi-petstore.html.verified.png index 1d90133ae6b..cac669bcf2b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/restapi-petstore.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/1920x1080/restapi-petstore.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:33706a39f760fedfec27e8c890d4b288a4fea2d68dac75cca3e985a91459f401 -size 1160969 +oid sha256:1af676fcfc3194b3aa1d8d71d9138826ccb40e6ce7b791bf4b949dbdebff1490 +size 1159881 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-BuildFromProject.Class1.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-BuildFromProject.Class1.html.verified.png index c72b95105fa..602fae81f7d 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-BuildFromProject.Class1.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-BuildFromProject.Class1.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:46110b887ac78b600c60b56aae2e97ce8186d549959f984ea3bfff35e57ce75a -size 289623 +oid sha256:e7667fbaa4c5671e2d0abca773d89171cadad2cfa3b5a3f847bccefd8b567064 +size 288681 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.Cat-2.html-q-cat.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.Cat-2.html-q-cat.verified.png index 96f1d6abdff..cfb2b32309b 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.Cat-2.html-q-cat.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.Cat-2.html-q-cat.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c21ae5a325c2855e64077691f21f0f784a2f37011b346174afa583fbbc9565f3 -size 666734 +oid sha256:4f006a78fb6ee63f9c51d4594f67b2b0b84050f08c1f15bbc17a0fbb887eda35 +size 665604 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.html-term-cat.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.html-term-cat.verified.png index f0828be9259..2801a0fa6ad 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.html-term-cat.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.html-term-cat.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:1aed061f1e328fab6d1083bb8fa7565b54d9a1cbefd5965395283c099e26f0c9 -size 358987 +oid sha256:4aa5a033692e4c9b2566868a4ce8b3cdda091d0c582335f30599c5f4418df7a2 +size 357539 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.html.verified.png index caa03058f73..85ef24555ed 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/375x812/api-CatLibrary.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ad514b28958263213739ad62454bca9c76ecfc8c4bc26a71d095219c5d8cbf35 -size 128913 +oid sha256:10ca47c8a3d6c8873f738838ac64a4df303314ee1fb4d79ced594916fac416a7 +size 127668 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-BuildFromProject.Class1.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-BuildFromProject.Class1.html.verified.png index 42ec476aa01..a3712c47ed9 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-BuildFromProject.Class1.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-BuildFromProject.Class1.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:574858d0e4a56a9eb330d4e7ebee790b7276c22677e135df88ca83869372d31e -size 103018 +oid sha256:0b87a9418f81e0a983209ef99ce217e4da896b82d2e9013e270dd44d467827e9 +size 100909 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.Cat-2.html-q-cat.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.Cat-2.html-q-cat.verified.png index e5d91c5cd4a..288a917f61a 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.Cat-2.html-q-cat.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.Cat-2.html-q-cat.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f2564f089329fce52a3d512e281d95985919d3c0b9522d981bf20a894d969ca6 -size 97981 +oid sha256:d06a53f34e1f5d471dacd761dc3a5e08143ca3629506dc41fbab07b8f70417d6 +size 95712 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.html-term-cat.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.html-term-cat.verified.png index 67ad8c7c3d5..feaab368992 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.html-term-cat.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.html-term-cat.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:c066ea26d5eaafab0f2becdcf37a2bb8db537ba71ce5898fb25d53df787b6e67 -size 141719 +oid sha256:2d5ba7a5d685fa258c9bcc484f5ce7dc9856ad9e0ac8de50d8e6ae7aa148cc72 +size 140778 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.html.verified.png index 906dc5ef54f..a968d327d31 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/api-CatLibrary.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d81bebadd6e3fe78863e8016e8707b88e6558a589af62b3e5ff5af0cb872c5a3 -size 80548 +oid sha256:96ece6bd44f57da24b8f939f3525d8b1120ace88898d5b662ffd393e8f7a211b +size 78272 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/articles-csharp_coding_standards.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/articles-csharp_coding_standards.html.verified.png index 846497aea7a..f0dbb980bf9 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/articles-csharp_coding_standards.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/articles-csharp_coding_standards.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:e494d7f3c8b0ab5101dd095f75bed2f8e867b91e571394a2fa6a756538512e8e -size 120430 +oid sha256:dc7b1014b61dde77bb707ebb2745913418720da45babf923faa3b11a14b7d22f +size 119360 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png index 58b1244a568..be55842d278 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/articles-markdown.html-tabs-windows-2Ctypescript-markdown-extensions.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:05647630f1de7052ad167b6e8b06b307a28391db1786a6d8b2b989465bd89d6a -size 74516 +oid sha256:16453ec5971f419c85b0f0131651df9e1b2558d2e71fa75447e0d7cee0a893bf +size 73421 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/index.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/index.html.verified.png index 33b97524f10..a8a70acf722 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/index.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/index.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:20ecda11288df9fbceae53d9c5e2955ad0fa69bb6ad2a92df9e7eeeb51521dd8 -size 108884 +oid sha256:917c122a3b0eccab13b84764c2f998a7fe75ed8b091590797e66743b7c8c2c67 +size 107476 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/restapi-petstore.html.verified.png b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/restapi-petstore.html.verified.png index e2a1df3ed93..9999b5b3755 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/restapi-petstore.html.verified.png +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/768x600/restapi-petstore.html.verified.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0478de082dc0f1e13206f4c32bd1b8c0067ffe2876b0f245bdc1141c3c6e8773 -size 55955 +oid sha256:5a2c490a52f8807e1b616628da5942b2c7a569445cb5a54636766c655e6e59f0 +size 54947 diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-BuildFromProject.Class1.html.verified.html b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-BuildFromProject.Class1.html.verified.html index eb987379602..7cf5f3e63a1 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-BuildFromProject.Class1.html.verified.html +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-BuildFromProject.Class1.html.verified.html @@ -221,11 +221,13 @@ -
+ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.Cat-2.html-q-cat.verified.html b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.Cat-2.html-q-cat.verified.html index e2e06721f7c..b84188350a2 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.Cat-2.html-q-cat.verified.html +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.Cat-2.html-q-cat.verified.html @@ -221,11 +221,13 @@
-
+ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.html-term-cat.verified.html b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.html-term-cat.verified.html index cbecb1e9985..1fb63d391c3 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.html-term-cat.verified.html +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.html-term-cat.verified.html @@ -221,11 +221,13 @@
-
+ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.html.verified.html b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.html.verified.html index 82b5261b009..8bed5f8ceea 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.html.verified.html +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/api-CatLibrary.html.verified.html @@ -221,11 +221,13 @@
-
+ diff --git a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/articles-csharp_coding_standards.html.verified.html b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/articles-csharp_coding_standards.html.verified.html index d84a3086075..a2bb1d674ce 100644 --- a/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/articles-csharp_coding_standards.html.verified.html +++ b/test/docfx.Snapshot.Tests/SamplesTest.SeedHtml/html/articles-csharp_coding_standards.html.verified.html @@ -219,11 +219,13 @@
-
+