diff --git a/docs/_template/light-dark-theme/partials/head.tmpl.partial b/docs/_template/light-dark-theme/partials/head.tmpl.partial index 3deee4aba..6f48f0ff9 100644 --- a/docs/_template/light-dark-theme/partials/head.tmpl.partial +++ b/docs/_template/light-dark-theme/partials/head.tmpl.partial @@ -21,5 +21,4 @@ {{#_noindex}}{{/_noindex}} {{#_enableSearch}}{{/_enableSearch}} {{#_enableNewTab}}{{/_enableNewTab}} - diff --git a/docs/_template/light-dark-theme/partials/scripts.tmpl.partial b/docs/_template/light-dark-theme/partials/scripts.tmpl.partial index 324d16794..0e0f0fee8 100644 --- a/docs/_template/light-dark-theme/partials/scripts.tmpl.partial +++ b/docs/_template/light-dark-theme/partials/scripts.tmpl.partial @@ -7,4 +7,5 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/docs/_template/light-dark-theme/styles/plugin-featherlight.js b/docs/_template/light-dark-theme/styles/plugin-featherlight.js index 846494cf3..2fd056fa0 100644 --- a/docs/_template/light-dark-theme/styles/plugin-featherlight.js +++ b/docs/_template/light-dark-theme/styles/plugin-featherlight.js @@ -1,3 +1,25 @@ +// MIT License + +// Copyright (c) 2017 Roel Fauconnier + +// Permission is hereby granted, free of charge, to any person obtaining a copy +// of this software and associated documentation files (the "Software"), to deal +// in the Software without restriction, including without limitation the rights +// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +// copies of the Software, and to permit persons to whom the Software is +// furnished to do so, subject to the following conditions: + +// The above copyright notice and this permission notice shall be included in all +// copies or substantial portions of the Software. + +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +// SOFTWARE. + $(document).ready(function() { //find all images, but not the logo, and add the lightbox $('img').not('#logo').each(function(){ diff --git a/docs/docfx.json b/docs/docfx.json index 663a49cda..43c481b33 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -36,12 +36,12 @@ "template": [ "default", "_template/light-dark-theme", - "_template/lastmodified" + "_template/lastmodified" ], - "postProcessors": [ "ExtractSearchIndex", "LastModifiedPostProcessor" ], + "postProcessors": ["ExtractSearchIndex", "LastModifiedPostProcessor"], "overwrite": "_overwrites/**/**.md", "globalMetadata": { - "_appTitle": "Discord.Net Documentation", + "_appTitle": "Discord.Net Documentation", "_appFooter": "Discord.Net (c) 2015-2018 2.0.0-beta", "_enableSearch": true },