diff --git a/DisCatSharp.Docs/dcs/partials/_head.liquid b/DisCatSharp.Docs/dcs/partials/_head.liquid index 2ec4f9d06..3f18edfe2 100644 --- a/DisCatSharp.Docs/dcs/partials/_head.liquid +++ b/DisCatSharp.Docs/dcs/partials/_head.liquid @@ -1,60 +1,60 @@ {% comment -%}Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.{% endcomment -%} {%- if title and _appTitle -%} - {{title}} | {{appTitle}} - - + {{title}}| {{appTitle}} + + {%- else -%} {%- if title or _appTitle -%} {{title}}{{appTitle}} {%- endif -%} {%- endif -%} {%- if _description -%} {%- endif -%} {%- if _appFaviconPath -%} {%- else -%} {%- endif -%} {%- if _noindex -%} {%- endif -%} {%- if _enableSearch -%} {%- endif -%} {%- if _enableNewTab -%} {%- endif -%} diff --git a/DisCatSharp.Docs/dcs/partials/head.tmpl.partial b/DisCatSharp.Docs/dcs/partials/head.tmpl.partial index 5e7f6fe2a..303023c38 100644 --- a/DisCatSharp.Docs/dcs/partials/head.tmpl.partial +++ b/DisCatSharp.Docs/dcs/partials/head.tmpl.partial @@ -1,50 +1,50 @@ {{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} - {{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}} | {{_appTitle}} {{/_appTitle}} + {{#title}}{{title}}{{/title}}{{^title}}{{>partials/title}}{{/title}} {{#_appTitle}}| {{_appTitle}} {{/_appTitle}} - - + + {{#_description}}{{/_description}} {{#_noindex}}{{/_noindex}} {{#_enableSearch}}{{/_enableSearch}} {{#_enableNewTab}}{{/_enableNewTab}} diff --git a/DisCatSharp.Docs/dcs/partials/title.tmpl.partial b/DisCatSharp.Docs/dcs/partials/title.tmpl.partial index 3d0241ac9..a25737479 100644 --- a/DisCatSharp.Docs/dcs/partials/title.tmpl.partial +++ b/DisCatSharp.Docs/dcs/partials/title.tmpl.partial @@ -1,49 +1,17 @@ {{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} -{{#inPackage}} -Package {{name.0.value}} -{{/inPackage}} -{{#inNamespace}} -Namespace {{name.0.value}} -{{/inNamespace}} -{{#inClass}} -Class {{name.0.value}} -{{/inClass}} -{{#inStruct}} -Struct {{name.0.value}} -{{/inStruct}} -{{#inInterface}} -Interface {{name.0.value}} -{{/inInterface}} -{{#inEnum}} -Enum {{name.0.value}} -{{/inEnum}} -{{#inDelegate}} -Delegate {{name.0.value}} -{{/inDelegate}} -{{#inConstructor}} -Constructor {{name.0.value}} -{{/inConstructor}} -{{#inField}} -Field {{name.0.value}} -{{/inField}} -{{#inProperty}} -Property {{name.0.value}} -{{/inProperty}} -{{#inMethod}} -Method {{name.0.value}} -{{/inMethod}} -{{#inEvent}} -Event {{name.0.value}} -{{/inEvent}} -{{#inOperator}} -Operator {{name.0.value}} -{{/inOperator}} -{{#inEii}} -Explicit Interface Implementation {{name.0.value}} -{{/inEii}} -{{#inVariable}} -Variable {{name.0.value}} -{{/inVariable}} -{{#inTypeAlias}} -Type Alias {{name.0.value}} -{{/inTypeAlias}} +{{#inPackage}}Package {{name.0.value}}{{/inPackage}} +{{#inNamespace}}Namespace {{name.0.value}}{{/inNamespace}} +{{#inClass}}Class {{name.0.value}}{{/inClass}} +{{#inStruct}}Struct {{name.0.value}}{{/inStruct}} +{{#inInterface}}Interface {{name.0.value}}{{/inInterface}} +{{#inEnum}}Enum {{name.0.value}}{{/inEnum}} +{{#inDelegate}}Delegate {{name.0.value}}{{/inDelegate}} +{{#inConstructor}}Constructor {{name.0.value}}{{/inConstructor}} +{{#inField}}Field {{name.0.value}}{{/inField}} +{{#inProperty}}Property {{name.0.value}}{{/inProperty}} +{{#inMethod}}Method {{name.0.value}}{{/inMethod}} +{{#inEvent}}Event {{name.0.value}}{{/inEvent}} +{{#inOperator}}Operator {{name.0.value}}{{/inOperator}} +{{#inEii}}Explicit Interface Implementation {{name.0.value}}{{/inEii}} +{{#inVariable}}Variable {{name.0.value}}{{/inVariable}} +{{#inTypeAlias}}Type Alias {{name.0.value}}{{/inTypeAlias}} diff --git a/DisCatSharp.Docs/dcs/plugins/DisCatSharp.DocFx.DescriptionGenerator.dll b/DisCatSharp.Docs/dcs/plugins/DisCatSharp.DocFx.DescriptionGenerator.dll index 5b9ec198d..69db13941 100644 Binary files a/DisCatSharp.Docs/dcs/plugins/DisCatSharp.DocFx.DescriptionGenerator.dll and b/DisCatSharp.Docs/dcs/plugins/DisCatSharp.DocFx.DescriptionGenerator.dll differ diff --git a/DisCatSharp.Docs/dcs/src/scripts/main.js b/DisCatSharp.Docs/dcs/src/scripts/main.js index 40b0cdfff..e32d44fa4 100644 --- a/DisCatSharp.Docs/dcs/src/scripts/main.js +++ b/DisCatSharp.Docs/dcs/src/scripts/main.js @@ -1,20 +1,2 @@ // Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information. -function toggleMenu() { - - var x = document.getElementById("sidebar"); - var b = document.getElementById("blackout"); - - if (x.style.left === "0px") - { - x.style.left = "-350px"; - b.classList.remove("showThat"); - b.classList.add("hideThat"); - } - else - { - x.style.left = "0px"; - b.classList.remove("hideThat"); - b.classList.add("showThat"); - } -}