diff --git a/docs/_template/description-generator/plugins/DocFX.Plugin.DescriptionGenerator.dll b/docs/_template/description-generator/plugins/DocFX.Plugin.DescriptionGenerator.dll index 6e883979..9c7b48ac 100644 Binary files a/docs/_template/description-generator/plugins/DocFX.Plugin.DescriptionGenerator.dll and b/docs/_template/description-generator/plugins/DocFX.Plugin.DescriptionGenerator.dll differ diff --git a/docs/_template/last-modified/plugins/LICENSE b/docs/_template/last-modified/plugins/LICENSE deleted file mode 100644 index d74703f3..00000000 --- a/docs/_template/last-modified/plugins/LICENSE +++ /dev/null @@ -1,29 +0,0 @@ -MIT License - -Copyright (c) 2018 Still Hsu - -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. - -============================================================================== - -Humanizer (https://github.com/Humanizr/Humanizer) -The MIT License (MIT) -Copyright (c) .NET Foundation and Contributors - -============================================================================== \ No newline at end of file diff --git a/docs/_template/last-modified/plugins/LastModifiedPostProcessor.dll b/docs/_template/last-modified/plugins/LastModifiedPostProcessor.dll deleted file mode 100644 index be36969c..00000000 Binary files a/docs/_template/last-modified/plugins/LastModifiedPostProcessor.dll and /dev/null differ diff --git a/docs/_template/last-modified/plugins/LibGit2Sharp.dll b/docs/_template/last-modified/plugins/LibGit2Sharp.dll deleted file mode 100644 index 5b356810..00000000 Binary files a/docs/_template/last-modified/plugins/LibGit2Sharp.dll and /dev/null differ diff --git a/docs/_template/last-modified/plugins/LibGit2Sharp.dll.config b/docs/_template/last-modified/plugins/LibGit2Sharp.dll.config deleted file mode 100644 index c93e4cc2..00000000 --- a/docs/_template/last-modified/plugins/LibGit2Sharp.dll.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/docs/_template/last-modified/plugins/lib/alpine-x64/libgit2-a904fc6.so b/docs/_template/last-modified/plugins/lib/alpine-x64/libgit2-a904fc6.so deleted file mode 100644 index f1f45e7d..00000000 Binary files a/docs/_template/last-modified/plugins/lib/alpine-x64/libgit2-a904fc6.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/alpine-x64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/alpine-x64/libgit2-ef5a385.so deleted file mode 100644 index 793f4483..00000000 Binary files a/docs/_template/last-modified/plugins/lib/alpine-x64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/alpine.3.9-x64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/alpine.3.9-x64/libgit2-ef5a385.so deleted file mode 100644 index 49186df2..00000000 Binary files a/docs/_template/last-modified/plugins/lib/alpine.3.9-x64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/debian-arm64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/debian-arm64/libgit2-ef5a385.so deleted file mode 100644 index 11ef799a..00000000 Binary files a/docs/_template/last-modified/plugins/lib/debian-arm64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/debian.9-x64/libgit2-a904fc6.so b/docs/_template/last-modified/plugins/lib/debian.9-x64/libgit2-a904fc6.so deleted file mode 100644 index dd0f7ffc..00000000 Binary files a/docs/_template/last-modified/plugins/lib/debian.9-x64/libgit2-a904fc6.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/debian.9-x64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/debian.9-x64/libgit2-ef5a385.so deleted file mode 100644 index 5cd5e46b..00000000 Binary files a/docs/_template/last-modified/plugins/lib/debian.9-x64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/fedora-x64/libgit2-a904fc6.so b/docs/_template/last-modified/plugins/lib/fedora-x64/libgit2-a904fc6.so deleted file mode 100644 index 7d1aafbe..00000000 Binary files a/docs/_template/last-modified/plugins/lib/fedora-x64/libgit2-a904fc6.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/fedora-x64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/fedora-x64/libgit2-ef5a385.so deleted file mode 100644 index be1be932..00000000 Binary files a/docs/_template/last-modified/plugins/lib/fedora-x64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/linux-arm/libgit2-6777db8.so b/docs/_template/last-modified/plugins/lib/linux-arm/libgit2-6777db8.so deleted file mode 100644 index 4324c2ad..00000000 Binary files a/docs/_template/last-modified/plugins/lib/linux-arm/libgit2-6777db8.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/linux-arm64/libgit2-6777db8.so b/docs/_template/last-modified/plugins/lib/linux-arm64/libgit2-6777db8.so deleted file mode 100644 index a72d7419..00000000 Binary files a/docs/_template/last-modified/plugins/lib/linux-arm64/libgit2-6777db8.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/linux-musl-x64/libgit2-6777db8.so b/docs/_template/last-modified/plugins/lib/linux-musl-x64/libgit2-6777db8.so deleted file mode 100644 index a1f59dfb..00000000 Binary files a/docs/_template/last-modified/plugins/lib/linux-musl-x64/libgit2-6777db8.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-6777db8.so b/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-6777db8.so deleted file mode 100644 index b47f83e2..00000000 Binary files a/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-6777db8.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-a904fc6.so b/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-a904fc6.so deleted file mode 100644 index 6eb5c8b0..00000000 Binary files a/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-a904fc6.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-ef5a385.so deleted file mode 100644 index 1ec4b01f..00000000 Binary files a/docs/_template/last-modified/plugins/lib/linux-x64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/osx/libgit2-6777db8.dylib b/docs/_template/last-modified/plugins/lib/osx/libgit2-6777db8.dylib deleted file mode 100644 index cb1e7eb8..00000000 Binary files a/docs/_template/last-modified/plugins/lib/osx/libgit2-6777db8.dylib and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/osx/libgit2-a904fc6.dylib b/docs/_template/last-modified/plugins/lib/osx/libgit2-a904fc6.dylib deleted file mode 100644 index 041256cc..00000000 Binary files a/docs/_template/last-modified/plugins/lib/osx/libgit2-a904fc6.dylib and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/osx/libgit2-ef5a385.dylib b/docs/_template/last-modified/plugins/lib/osx/libgit2-ef5a385.dylib deleted file mode 100644 index 81f71d6e..00000000 Binary files a/docs/_template/last-modified/plugins/lib/osx/libgit2-ef5a385.dylib and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/rhel-x64/libgit2-a904fc6.so b/docs/_template/last-modified/plugins/lib/rhel-x64/libgit2-a904fc6.so deleted file mode 100644 index 6166cb4c..00000000 Binary files a/docs/_template/last-modified/plugins/lib/rhel-x64/libgit2-a904fc6.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/rhel-x64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/rhel-x64/libgit2-ef5a385.so deleted file mode 100644 index 3d194a97..00000000 Binary files a/docs/_template/last-modified/plugins/lib/rhel-x64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/ubuntu.16.04-arm64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/ubuntu.16.04-arm64/libgit2-ef5a385.so deleted file mode 100644 index a3282b0d..00000000 Binary files a/docs/_template/last-modified/plugins/lib/ubuntu.16.04-arm64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/ubuntu.18.04-x64/libgit2-a904fc6.so b/docs/_template/last-modified/plugins/lib/ubuntu.18.04-x64/libgit2-a904fc6.so deleted file mode 100644 index b3528eee..00000000 Binary files a/docs/_template/last-modified/plugins/lib/ubuntu.18.04-x64/libgit2-a904fc6.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/ubuntu.18.04-x64/libgit2-ef5a385.so b/docs/_template/last-modified/plugins/lib/ubuntu.18.04-x64/libgit2-ef5a385.so deleted file mode 100644 index 0360ce3e..00000000 Binary files a/docs/_template/last-modified/plugins/lib/ubuntu.18.04-x64/libgit2-ef5a385.so and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/win32/x64/git2-6777db8.dll b/docs/_template/last-modified/plugins/lib/win32/x64/git2-6777db8.dll deleted file mode 100644 index af7d32a6..00000000 Binary files a/docs/_template/last-modified/plugins/lib/win32/x64/git2-6777db8.dll and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/win32/x64/git2-a904fc6.dll b/docs/_template/last-modified/plugins/lib/win32/x64/git2-a904fc6.dll deleted file mode 100644 index dd0ca9cd..00000000 Binary files a/docs/_template/last-modified/plugins/lib/win32/x64/git2-a904fc6.dll and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/win32/x64/git2-ef5a385.dll b/docs/_template/last-modified/plugins/lib/win32/x64/git2-ef5a385.dll deleted file mode 100644 index 7ffcdf97..00000000 Binary files a/docs/_template/last-modified/plugins/lib/win32/x64/git2-ef5a385.dll and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/win32/x86/git2-6777db8.dll b/docs/_template/last-modified/plugins/lib/win32/x86/git2-6777db8.dll deleted file mode 100644 index c680911e..00000000 Binary files a/docs/_template/last-modified/plugins/lib/win32/x86/git2-6777db8.dll and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/win32/x86/git2-a904fc6.dll b/docs/_template/last-modified/plugins/lib/win32/x86/git2-a904fc6.dll deleted file mode 100644 index 627d344c..00000000 Binary files a/docs/_template/last-modified/plugins/lib/win32/x86/git2-a904fc6.dll and /dev/null differ diff --git a/docs/_template/last-modified/plugins/lib/win32/x86/git2-ef5a385.dll b/docs/_template/last-modified/plugins/lib/win32/x86/git2-ef5a385.dll deleted file mode 100644 index 9fe2e3e0..00000000 Binary files a/docs/_template/last-modified/plugins/lib/win32/x86/git2-ef5a385.dll and /dev/null differ diff --git a/docs/_template/light-dark-theme/docfx-material-license.md b/docs/_template/light-dark-theme/docfx-material-license.md deleted file mode 100644 index 4576c42b..00000000 --- a/docs/_template/light-dark-theme/docfx-material-license.md +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 Oscar Vásquez - -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. diff --git a/docs/_template/light-dark-theme/partials/affix.tmpl.partial b/docs/_template/light-dark-theme/partials/affix.tmpl.partial deleted file mode 100644 index b3ce60b5..00000000 --- a/docs/_template/light-dark-theme/partials/affix.tmpl.partial +++ /dev/null @@ -1,34 +0,0 @@ -{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} - - diff --git a/docs/_template/light-dark-theme/partials/head.tmpl.partial b/docs/_template/light-dark-theme/partials/head.tmpl.partial deleted file mode 100644 index 8a01b48c..00000000 --- a/docs/_template/light-dark-theme/partials/head.tmpl.partial +++ /dev/null @@ -1,33 +0,0 @@ -{{!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}} - - - {{#_description}}{{/_description}} - - - - - - - - - - - - - - - - - - - - - {{#_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 deleted file mode 100644 index 3142f8c5..00000000 --- a/docs/_template/light-dark-theme/partials/scripts.tmpl.partial +++ /dev/null @@ -1,8 +0,0 @@ -{{!Copyright (c) Microsoft. All rights reserved. Licensed under the MIT license. See LICENSE file in the project root for full license information.}} - - - - - - - \ No newline at end of file diff --git a/docs/_template/light-dark-theme/styles/cornerify.js b/docs/_template/light-dark-theme/styles/cornerify.js deleted file mode 100644 index 4430f2d0..00000000 --- a/docs/_template/light-dark-theme/styles/cornerify.js +++ /dev/null @@ -1,3 +0,0 @@ -window.onload = function (e) { - $('img').corner(); -} diff --git a/docs/_template/light-dark-theme/styles/dark.css b/docs/_template/light-dark-theme/styles/dark.css deleted file mode 100644 index dd55ae94..00000000 --- a/docs/_template/light-dark-theme/styles/dark.css +++ /dev/null @@ -1,322 +0,0 @@ -/* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ - -@import url('vs2015.css'); -html, -body { - background: #212121; - color: #C0C0C0; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - color: #E0E0E0; -} - -button, -a { - color: #64B5F6; -} - -.sidenav{ - background-color: rgb(30, 30, 30); -} - -button:hover, -button:focus, -a:hover, -a:focus, -.btn:focus, -.btn:hover{ - color: #2196F3; -} - -a.disable, -a.disable:hover { - color: #EEEEEE; -} - -.divider { - color: #37474F; -} - -hr { - border-color: #37474F; -} - -.subnav { - background: #383838 -} - -.inheritance h5, -.inheritedMembers h5 { - border-bottom: 1px solid #37474F; -} - -article h4 { - border-bottom: 1px solid #37474F; -} - -.docs-search { - background: #424242; -} - -.search-results-group-heading { - color: #424242; -} - -.search-close { - color: #424242; -} - -.sidetoc { - background-color: #1b1b1b; - border-left: 0px solid #37474F; - border-right: 0px solid #37474F; -} - -.sideaffix { - overflow: visible; -} - -.sideaffix>div.contribution>ul>li>a.contribution-link:hover { - background-color: #333333; -} - -/* toc */ - -.toc .nav>li>a { - color: rgb(218, 218, 218); -} - -.toc .nav>li>a:hover, -.toc .nav>li>a:focus { - color: #E0E0E0; -} - -.toc .nav>li.active>a { - color: #90CAF9; -} - -.toc .nav>li.active>a:hover, -.toc .nav>li.active>a:focus { - background-color: #37474F; - color: #4FC3F7; -} - -.sidefilter { - background-color: #1b1b1b; - border-left: 0px solid #37474F; - border-right: 0px solid #37474F; -} - -.affix ul>li>a:hover { - background: none; - color: #EEEEEE; -} - -.affix ul>li.active>a, -.affix ul>li.active>a:before { - color: #B3E5FC; -} - -.affix ul>li>a { - color: #EEEEEE; -} - -.affix>ul>li.active>a, -.affix>ul>li.active>a:before { - color: #B3E5FC; -} - -.tryspan { - border-color: #37474F; -} - -.footer { - border-top: 1px solid #5F5F5F; - background: #616161; -} - -/* alert */ -.alert-info { - color: #d9edf7; - background: #004458; - border-color: #005873; -} - -.alert-warning { - color: #fffaf2; - background: #80551a; - border-color: #99661f; -} - -.alert-danger { - color: #fff2f2; - background: #4d0000; - border-color: #660000; -} - -/* For tabbed content */ - -.tabGroup { - margin-top: 1rem; -} - -.tabGroup ul[role="tablist"] { - margin: 0; - padding: 0; - list-style: none; -} - -.tabGroup ul[role="tablist"]>li { - list-style: none; - display: inline-block; -} - -.tabGroup a[role="tab"] { - color: white; - box-sizing: border-box; - display: inline-block; - padding: 5px 7.5px; - text-decoration: none; - border-bottom: 2px solid #fff; -} - -.tabGroup a[role="tab"]:hover, -.tabGroup a[role="tab"]:focus, -.tabGroup a[role="tab"][aria-selected="true"] { - border-bottom: 2px solid #607D8B; -} - -.tabGroup a[role="tab"][aria-selected="true"] { - color: #81D4FA; -} - -.tabGroup a[role="tab"]:hover, -.tabGroup a[role="tab"]:focus { - color: #29B6F6; -} - -.tabGroup a[role="tab"]:focus { - outline: 1px solid #607D8B; - outline-offset: -1px; -} - -@media (min-width: 768px) { - .tabGroup a[role="tab"] { - padding: 5px 15px; - } -} - -.tabGroup section[role="tabpanel"] { - border: 1px solid #607D8B; - padding: 15px; - margin: 0; - overflow: hidden; -} - -.tabGroup section[role="tabpanel"]>.codeHeader, -.tabGroup section[role="tabpanel"]>pre { - margin-left: -16px; - margin-right: -16px; -} - -.tabGroup section[role="tabpanel"]> :first-child { - margin-top: 0; -} - -.tabGroup section[role="tabpanel"]>pre:last-child { - display: block; - margin-bottom: -16px; -} - -.mainContainer[dir='rtl'] main ul[role="tablist"] { - margin: 0; -} - -/* code */ - -code { - color: white; - background-color: #4a4c52; - border-radius: 4px; - padding: 3px 7px; -} - -pre { - background-color: #282a36; -} - -/* table */ - -.table-striped>tbody>tr:nth-of-type(odd) { - background-color: #333333; - color: #d3d3d3 -} - -tbody>tr { - background-color: #424242; - color: #c0c0c0 -} - -.table>tbody+tbody { - border-top: 2px solid rgb(173, 173, 173) -} - -/* top navbar */ -.navbar-inverse[role="navigation"] { - background-color: #2C2F33; -} - -/* select */ - -select { - background-color: #3b3b3b; - border-color: #2e2e2e; -} - -/* - Following code regarding collapse container are fetched - or modified from the Materialize project. - - The MIT License (MIT) - Copyright (c) 2014-2018 Materialize - https://github.com/Dogfalo/materialize -*/ - -/* all collapse container */ -.collapse-container.last-modified { - -webkit-box-shadow: 0 2px 2px 0 rgba(50, 50, 50, 0.64), 0 3px 1px -2px rgba(50, 50, 50, 0.62), 0 1px 5px 0 rgba(50, 50, 50, 0.7); - box-shadow: 0 2px 2px 0 rgba(50, 50, 50, 0.64), 0 3px 1px -2px rgba(50, 50, 50, 0.62), 0 1px 5px 0 rgba(50, 50, 50, 0.7); - border-top: 1px solid rgba(96, 96, 96, 0.7); - border-right: 1px solid rgba(96, 96, 96, 0.7); - border-left: 1px solid rgba(96, 96, 96, 0.7); -} - -/* header */ -.collapse-container.last-modified>:nth-child(odd) { - background-color: #3f3f3f; - border-bottom: 1px solid rgba(96, 96, 96, 0.7); -} - -/* body */ -.collapse-container.last-modified>:nth-child(even) { - border-bottom: 1px solid rgba(96, 96, 96, 0.7); - background-color: inherit; -} - -span.arrow-d{ - border-top: 5px solid white -} - -span.arrow-r{ - border-left: 5px solid white -} - -.logo-switcher { - background: url("../marketing/logo/SVG/Combinationmark White.svg") no-repeat; -} diff --git a/docs/_template/light-dark-theme/styles/docfx.vendor.minify.css b/docs/_template/light-dark-theme/styles/docfx.vendor.minify.css deleted file mode 100644 index 771cb0b7..00000000 --- a/docs/_template/light-dark-theme/styles/docfx.vendor.minify.css +++ /dev/null @@ -1,1021 +0,0 @@ -@font-face { - font-family: 'Glyphicons Halflings'; - font-display: fallback; - src: url(../fonts/glyphicons-halflings-regular.eot); - src: url(../fonts/glyphicons-halflings-regular.eot?#iefix) format('embedded-opentype'), url(../fonts/glyphicons-halflings-regular.woff2) format('woff2'), url(../fonts/glyphicons-halflings-regular.woff) format('woff'), url(../fonts/glyphicons-halflings-regular.ttf) format('truetype'), url(../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular) format('svg') -} - -body { - margin: 0; -} - -html { - font-family: sans-serif; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} - -article, -footer, -header, -nav { - display: block; -} - -a { - background-color: transparent; -} - -a:active, -a:hover { - outline: 0; -} - -strong { - font-weight: 700; -} - -h1 { - margin: .67em 0; -} - -svg:not(:root) { - overflow: hidden; -} - -pre { - overflow: auto; -} - -code, -pre { - font-size: 1em; -} - -button, -input, -select { - margin: 0; - font: inherit; - color: inherit; -} - -.glyphicon { - font-style: normal; -} - -button { - overflow: visible; -} - -button, -select { - text-transform: none; -} - -button { - -webkit-appearance: button; - cursor: pointer; -} - -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} - -table { - border-spacing: 0; - border-collapse: collapse; -} - -td, -th { - padding: 0; -} - -@media print { - - pre, - tr { - page-break-inside: avoid; - } - - *, - :after, - :before { - color: #000 !important; - text-shadow: none !important; - background: 0 0 !important; - -webkit-box-shadow: none !important; - box-shadow: none !important; - } - - a, - a:visited { - text-decoration: underline; - } - - a[href]:after { - content: " ("attr(href) ")"; - } - - a[href^="#"]:after { - content: ""; - } - - pre { - border: 1px solid #999; - } - - thead { - display: table-header-group; - } - - h3, - p { - orphans: 3; - widows: 3; - } - - h3 { - page-break-after: avoid; - } - - .navbar { - display: none; - } - - .table { - border-collapse: collapse !important; - } - - .table td, - .table th { - background-color: #fff !important; - } - - .table-bordered td, - .table-bordered th { - border: 1px solid #ddd !important; - } -} - -.collapsing, -.dropdown, -.dropup { - position: relative -} - -.collapsing { - height: 0; - overflow: hidden; - -webkit-transition-timing-function: ease; - -o-transition-timing-function: ease; - transition-timing-function: ease; - -webkit-transition-duration: .35s; - -o-transition-duration: .35s; - transition-duration: .35s; - -webkit-transition-property: height, visibility; - -o-transition-property: height, visibility; - transition-property: height, visibility -} - -.btn, -.btn:active, -.form-control, -.navbar-toggle { - background-image: none; -} - -body { - background-color: #fff; -} - -.glyphicon { - position: relative; - top: 1px; - display: inline-block; - font-family: 'Glyphicons Halflings'; - font-weight: 400; - line-height: 1; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.glyphicon-refresh:before { - content: "\e031"; -} - -.glyphicon-filter:before { - content: "\e138"; -} - -*, -:after, -:before { - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -html { - font-size: 10px; - -webkit-tap-highlight-color: transparent; -} - -body { - font-size: 14px; - line-height: 1.42857143; - color: #333; -} - -button, -input, -select { - font-family: inherit; - font-size: inherit; - line-height: inherit; -} - -a { - color: #337ab7; - text-decoration: none; -} - -a:focus, -a:hover { - color: #23527c; - text-decoration: underline; -} - -a:focus { - outline: -webkit-focus-ring-color auto 5px; - outline-offset: -2px; -} - -.sr-only { - position: absolute; - width: 1px; - height: 1px; - padding: 0; - margin: -1px; - overflow: hidden; - clip: rect(0, 0, 0, 0); - border: 0; -} - -h1, -h3, -h4, -h5, -h6 { - font-family: inherit; - font-weight: 500; - line-height: 1.1; - color: inherit; -} - -h1, -h3 { - margin-top: 20px; - margin-bottom: 10px; -} - -h4, -h5, -h6 { - margin-top: 10px; - margin-bottom: 10px; -} - -h1 { - font-size: 36px; -} - -h3 { - font-size: 24px; -} - -h4 { - font-size: 18px; -} - -h5 { - font-size: 14px; -} - -h6 { - font-size: 12px; -} - -p { - margin: 0 0 10px; -} - -pre { - line-height: 1.42857143; -} - -.small { - font-size: 85%; -} - -pre code, -table { - background-color: transparent; -} - -ul { - margin-top: 0; -} - -ul ul { - margin-bottom: 0; -} - -ul { - margin-bottom: 10px; -} - -@media (min-width:768px) { - .container { - width: 750px; - } -} - -code { - padding: 2px 4px; - font-size: 90%; -} - -th { - text-align: left; -} - -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - word-break: break-all; - word-wrap: break-word; - color: #333; - border-radius: 4px; -} - -.container { - margin-right: auto; - margin-left: auto; -} - -pre code { - padding: 0; - font-size: inherit; - color: inherit; - white-space: pre-wrap; - border-radius: 0; -} - -.container { - padding-right: 15px; - padding-left: 15px; -} - -@media (min-width:992px) { - .container { - width: 970px; - } -} - -@media (min-width:1200px) { - .container { - width: 1170px; - } -} - -.row { - margin-right: -15px; - margin-left: -15px; -} - -.col-md-10, -.col-md-2 { - position: relative; - min-height: 1px; - padding-right: 15px; - padding-left: 15px; -} - -@media (min-width:992px) { - - .col-md-10, - .col-md-2 { - float: left; - } - - .col-md-10 { - width: 83.33333333%; - } - - .col-md-2 { - width: 16.66666667%; - } -} - -.table { - width: 100%; - max-width: 100%; - margin-bottom: 20px; -} - -.table>tbody>tr>td, -.table>thead>tr>th { - padding: 8px; - line-height: 1.42857143; - vertical-align: top; - border-top: 1px solid #ddd; -} - -.table>thead>tr>th { - vertical-align: bottom; - border-bottom: 2px solid #ddd; -} - -.table>thead:first-child>tr:first-child>th { - border-top: 0; -} - -.table-condensed>tbody>tr>td, -.table-condensed>thead>tr>th { - padding: 5px; -} - -.table-bordered, -.table-bordered>tbody>tr>td, -.table-bordered>thead>tr>th { - border: 1px solid #ddd; -} - -.table-bordered>thead>tr>th { - border-bottom-width: 2px; -} - -.table-striped>tbody>tr:nth-of-type(odd) { - background-color: #f9f9f9; -} - -.table-responsive { - min-height: .01%; - overflow-x: auto; -} - -@media screen and (max-width:767px) { - .table-responsive { - width: 100%; - margin-bottom: 15px; - overflow-y: hidden; - -ms-overflow-style: -ms-autohiding-scrollbar; - border: 1px solid #ddd; - } - - .table-responsive>.table { - margin-bottom: 0; - } - - .table-responsive>.table>tbody>tr>td, - .table-responsive>.table>thead>tr>th { - white-space: nowrap; - } - - .table-responsive>.table-bordered { - border: 0; - } - - .table-responsive>.table-bordered>tbody>tr>td:first-child, - .table-responsive>.table-bordered>thead>tr>th:first-child { - border-left: 0; - } - - .table-responsive>.table-bordered>tbody>tr>td:last-child, - .table-responsive>.table-bordered>thead>tr>th:last-child { - border-right: 0; - } - - .table-responsive>.table-bordered>tbody>tr:last-child>td { - border-bottom: 0; - } -} - -.form-control { - font-size: 14px; - line-height: 1.42857143; - color: #555; - display: block; -} - -.form-control { - width: 100%; - height: 34px; - padding: 6px 12px; - background-color: #fff; - border: 1px solid #ccc; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075); - -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; - -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; - transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; -} - -.form-control:focus { - border-color: #66afe9; - outline: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6); -} - -.form-control::-moz-placeholder { - color: #999; - opacity: 1; -} - -.form-control:-ms-input-placeholder { - color: #999; -} - -.form-control::-webkit-input-placeholder { - color: #999; -} - -.form-control::-ms-expand { - background-color: transparent; - border: 0; -} - -.form-group { - margin-bottom: 15px; -} - -.btn { - display: inline-block; - padding: 6px 12px; - margin-bottom: 0; - font-size: 14px; - font-weight: 400; - line-height: 1.42857143; - text-align: center; - white-space: nowrap; - vertical-align: middle; - -ms-touch-action: manipulation; - touch-action: manipulation; - cursor: pointer; - -webkit-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; - border: 1px solid transparent; - border-radius: 4px; -} - -.btn:active:focus, -.btn:focus { - outline: -webkit-focus-ring-color auto 5px; - outline-offset: -2px; -} - -.btn:focus, -.btn:hover { - color: #333; - text-decoration: none; -} - -.btn:active { - outline: 0; - -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); - box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125); -} - -.collapse { - display: none -} - -.collapse.in { - display: block -} - -.nav>li, -.nav>li>a { - display: block; - position: relative; -} - -.nav { - padding-left: 0; - margin-bottom: 0; - list-style: none; -} - -.nav>li>a { - padding: 10px 15px; -} - -.nav>li>a:focus, -.nav>li>a:hover { - text-decoration: none; - background-color: #eee; -} - -.navbar { - position: relative; - min-height: 50px; - margin-bottom: 20px; - border: 1px solid transparent; -} - -.navbar-collapse { - padding-right: 15px; - padding-left: 15px; - overflow-x: visible; - -webkit-overflow-scrolling: touch; - border-top: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1); -} - -@media (min-width:768px) { - .navbar { - border-radius: 4px; - } - - .navbar-header { - float: left; - } - - .navbar-collapse { - width: auto; - border-top: 0; - -webkit-box-shadow: none; - box-shadow: none; - } - - .navbar-collapse.collapse { - display: block !important; - height: auto !important; - padding-bottom: 0; - overflow: visible !important; - } -} - -.container>.navbar-collapse, -.container>.navbar-header { - margin-right: -15px; - margin-left: -15px; -} - -.navbar-brand { - float: left; - height: 50px; - padding: 15px; - font-size: 18px; - line-height: 20px; -} - -.navbar-brand:focus, -.navbar-brand:hover { - text-decoration: none; -} - -@media (min-width:768px) { - - .container>.navbar-collapse, - .container>.navbar-header { - margin-right: 0; - margin-left: 0; - } - - .navbar>.container .navbar-brand { - margin-left: -15px; - } -} - -.navbar-toggle { - position: relative; - float: right; - padding: 9px 10px; - margin-top: 8px; - margin-right: 15px; - margin-bottom: 8px; - background-color: transparent; - border: 1px solid transparent; - border-radius: 4px; -} - -.navbar-toggle:focus { - outline: 0; -} - -.navbar-toggle .icon-bar { - display: block; - width: 22px; - height: 2px; - border-radius: 1px; -} - -.navbar-toggle .icon-bar+.icon-bar { - margin-top: 4px; -} - -.navbar-nav { - margin: 7.5px -15px; -} - -.navbar-nav>li>a { - padding-top: 10px; - padding-bottom: 10px; - line-height: 20px; -} - -@media (min-width:768px) { - .navbar-toggle { - display: none; - } - - .navbar-nav { - float: left; - margin: 0; - } - - .navbar-nav>li { - float: left; - } - - .navbar-nav>li>a { - padding-top: 15px; - padding-bottom: 15px; - } -} - -.navbar-form { - padding: 10px 15px; - border-top: 1px solid transparent; - border-bottom: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), 0 1px 0 rgba(255, 255, 255, .1); - margin: 8px -15px; -} - -@media (min-width:768px) { - .navbar-form .form-group { - display: inline-block; - } - - .navbar-form .form-group { - margin-bottom: 0; - vertical-align: middle; - } - - .navbar-form .form-control { - display: inline-block; - width: auto; - vertical-align: middle; - } - - .navbar-form { - width: auto; - padding-top: 0; - padding-bottom: 0; - margin-right: 0; - margin-left: 0; - border: 0; - -webkit-box-shadow: none; - box-shadow: none; - } -} - -.breadcrumb>li { - display: inline-block; -} - -@media (max-width:767px) { - .navbar-form .form-group { - margin-bottom: 5px; - } - - .navbar-form .form-group:last-child { - margin-bottom: 0; - } -} - -@media (min-width:768px) { - .navbar-right { - float: right !important; - margin-right: -15px; - } -} - -.navbar-default { - background-color: #f8f8f8; - border-color: #e7e7e7; -} - -.navbar-inverse { - background-color: #222; - border-color: #080808; -} - -.navbar-inverse .navbar-brand { - color: #9d9d9d; -} - -.navbar-inverse .navbar-brand:focus, -.navbar-inverse .navbar-brand:hover { - color: #fff; - background-color: transparent; -} - -.navbar-inverse .navbar-nav>li>a { - color: #9d9d9d; -} - -.navbar-inverse .navbar-nav>li>a:focus, -.navbar-inverse .navbar-nav>li>a:hover { - color: #fff; - background-color: transparent; -} - -.navbar-inverse .navbar-nav>.active>a, -.navbar-inverse .navbar-nav>.active>a:focus, -.navbar-inverse .navbar-nav>.active>a:hover { - color: #fff; - background-color: #080808; -} - -.navbar-inverse .navbar-toggle { - border-color: #333; -} - -.navbar-inverse .navbar-toggle:focus, -.navbar-inverse .navbar-toggle:hover { - background-color: #333; -} - -.navbar-inverse .navbar-toggle .icon-bar { - background-color: #fff; -} - -.navbar-inverse .navbar-collapse, -.navbar-inverse .navbar-form { - border-color: #101010; -} - -.breadcrumb { - padding: 8px 15px; - margin-bottom: 20px; - list-style: none; - background-color: #f5f5f5; - border-radius: 4px; -} - -.breadcrumb>li+li:before { - padding: 0 5px; - color: #ccc; - content: "/\00a0"; -} - -.alert { - margin-bottom: 20px; -} - -.alert { - padding: 15px; - border: 1px solid transparent; - border-radius: 4px; -} - -.alert>p { - margin-bottom: 0; -} - -.container:after, -.container:before, -.nav:after, -.nav:before, -.navbar-collapse:after, -.navbar-collapse:before, -.navbar-header:after, -.navbar-header:before, -.navbar:after, -.navbar:before, -.row:after, -.row:before { - display: table; - content: " "; -} - -.container:after, -.nav:after, -.navbar-collapse:after, -.navbar-header:after, -.navbar:after, -.row:after { - clear: both; -} - -.pull-right { - float: right !important; -} - -.affix { - position: fixed; -} - -@media (max-width:767px) { - .hidden-xs { - display: none !important; - } -} - -@media (min-width:768px) and (max-width:991px) { - .hidden-sm { - display: none !important; - } -} - -@media print { - .hidden-print { - display: none !important; - } -} - -.hide { - display: none !important; -} - -.show { - display: block !important; -} - -.pagination { - display: inline-block; -} - -.pagination { - padding-left: 0; - margin: 20px 0; - border-radius: 4px; -} - -.pagination>li { - display: inline; -} - -.pagination>li>a { - position: relative; - float: left; - padding: 6px 12px; - margin-left: -1px; - line-height: 1.42857143; - color: #337ab7; - text-decoration: none; - background-color: #fff; - border: 1px solid #ddd; -} - -.pagination>li:first-child>a { - margin-left: 0; - border-top-left-radius: 4px; - border-bottom-left-radius: 4px; -} - -.pagination>li:last-child>a { - border-top-right-radius: 4px; - border-bottom-right-radius: 4px; -} - -.pagination>li>a:focus, -.pagination>li>a:hover { - z-index: 2; - color: #23527c; - background-color: #eee; - border-color: #ddd; -} - -.pagination>.active>a, -.pagination>.active>a:focus, -.pagination>.active>a:hover { - z-index: 3; - color: #fff; - cursor: default; - background-color: #337ab7; - border-color: #337ab7; -} - -.pagination>.disabled>a, -.pagination>.disabled>a:focus, -.pagination>.disabled>a:hover { - color: #777; - cursor: not-allowed; - background-color: #fff; - border-color: #ddd; -} diff --git a/docs/_template/light-dark-theme/styles/gray.css b/docs/_template/light-dark-theme/styles/gray.css deleted file mode 100644 index 463561be..00000000 --- a/docs/_template/light-dark-theme/styles/gray.css +++ /dev/null @@ -1,324 +0,0 @@ -/* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ - -@import url('vs2015.css'); -html, -body { - background: #23272A; - color: #dddddd; -} - -h1, -h2, -h3, -h4, -h5, -h6 { - color: #EEEEEE; -} - -button, -a { - color: #64B5F6; -} - -.sidenav{ - background-color: rgb(30, 30, 30); -} - -button:hover, -button:focus, -a:hover, -a:focus, -.btn:focus, -.btn:hover{ - color: #2196F3; -} - -a.disable, -a.disable:hover { - color: #EEEEEE; -} - -.divider { - color: #37474F; -} - -hr { - border-color: #37474F; -} - -/* top navbar */ -/*.navbar-inverse[role="navigation"] { - background-color: #2C2F33; -}*/ - -/* sub navbar (below top) */ -.subnav { - background: rgb(69, 75, 82) -} - - -.inheritance h5, -.inheritedMembers h5 { - border-bottom: 1px solid #37474F; -} - -article h4 { - border-bottom: 1px solid #37474F; -} - -.docs-search { - background: #424242; -} - -.search-results-group-heading { - color: #424242; -} - -.search-close { - color: #424242; -} - -.sidetoc { - background-color: #1b1b1b; - border-left: 0px solid #37474F; - border-right: 0px solid #37474F; -} - -.sideaffix { - overflow: visible; -} - -.sideaffix>div.contribution>ul>li>a.contribution-link:hover { - background-color: #333333; -} - -/* toc */ - -.toc .nav>li>a { - color: rgb(218, 218, 218); -} - -.toc .nav>li>a:hover, -.toc .nav>li>a:focus { - color: #E0E0E0; -} - -.toc .nav>li.active>a { - color: #90CAF9; -} - -.toc .nav>li.active>a:hover, -.toc .nav>li.active>a:focus { - background-color: #37474F; - color: #4FC3F7; -} - -.sidefilter { - background-color: #1b1b1b; - border-left: 0px solid #37474F; - border-right: 0px solid #37474F; -} - -.affix ul>li>a:hover { - background: none; - color: #EEEEEE; -} - -.affix ul>li.active>a, -.affix ul>li.active>a:before { - color: #B3E5FC; -} - -.affix ul>li>a { - color: #EEEEEE; -} - -.affix>ul>li.active>a, -.affix>ul>li.active>a:before { - color: #B3E5FC; -} - -.tryspan { - border-color: #37474F; -} - -.footer { - border-top: 1px solid #5F5F5F; - background: #2C2F33; -} - -/* alert */ -.alert-info { - color: #f3fdff; - background: #40788A; - border-color: #2F7A95; -} - -.alert-warning { - color: #fffaf2; - background: #936C36; - border-color: #AE8443; -} - -.alert-danger { - color: #fff4f4; - background: #834040; - border-color: #8C2F2F -} - -/* For tabbed content */ - -.tabGroup { - margin-top: 1rem; -} - -.tabGroup ul[role="tablist"] { - margin: 0; - padding: 0; - list-style: none; -} - -.tabGroup ul[role="tablist"]>li { - list-style: none; - display: inline-block; -} - -.tabGroup a[role="tab"] { - color: white; - box-sizing: border-box; - display: inline-block; - padding: 5px 7.5px; - text-decoration: none; - border-bottom: 2px solid #fff; -} - -.tabGroup a[role="tab"]:hover, -.tabGroup a[role="tab"]:focus, -.tabGroup a[role="tab"][aria-selected="true"] { - border-bottom: 2px solid #607D8B; -} - -.tabGroup a[role="tab"][aria-selected="true"] { - color: #81D4FA; -} - -.tabGroup a[role="tab"]:hover, -.tabGroup a[role="tab"]:focus { - color: #29B6F6; -} - -.tabGroup a[role="tab"]:focus { - outline: 1px solid #607D8B; - outline-offset: -1px; -} - -@media (min-width: 768px) { - .tabGroup a[role="tab"] { - padding: 5px 15px; - } -} - -.tabGroup section[role="tabpanel"] { - border: 1px solid #607D8B; - padding: 15px; - margin: 0; - overflow: hidden; -} - -.tabGroup section[role="tabpanel"]>.codeHeader, -.tabGroup section[role="tabpanel"]>pre { - margin-left: -16px; - margin-right: -16px; -} - -.tabGroup section[role="tabpanel"]> :first-child { - margin-top: 0; -} - -.tabGroup section[role="tabpanel"]>pre:last-child { - display: block; - margin-bottom: -16px; -} - -.mainContainer[dir='rtl'] main ul[role="tablist"] { - margin: 0; -} - -/* code */ - -code { - color: white; - background-color: #5B646B; - border-radius: 4px; - padding: 3px 7px; -} - -pre { - background-color: #282a36; -} - -/* table */ - -.table-striped>tbody>tr:nth-of-type(odd) { - background-color: #333333; - color: #d3d3d3 -} - -tbody>tr { - background-color: #424242; - color: #c0c0c0 -} - -.table>tbody+tbody { - border-top: 2px solid rgb(173, 173, 173) -} - -/* select */ - -select { - background-color: #3b3b3b; - border-color: #2e2e2e; -} - -/* - Following code regarding collapse container are fetched - or modified from the Materialize project. - - The MIT License (MIT) - Copyright (c) 2014-2018 Materialize - https://github.com/Dogfalo/materialize -*/ - -/* all collapse container */ -.collapse-container.last-modified { - -webkit-box-shadow: 0 2px 2px 0 rgba(50, 50, 50, 0.64), 0 3px 1px -2px rgba(50, 50, 50, 0.62), 0 1px 5px 0 rgba(50, 50, 50, 0.7); - box-shadow: 0 2px 2px 0 rgba(50, 50, 50, 0.64), 0 3px 1px -2px rgba(50, 50, 50, 0.62), 0 1px 5px 0 rgba(50, 50, 50, 0.7); - border-top: 1px solid rgba(96, 96, 96, 0.7); - border-right: 1px solid rgba(96, 96, 96, 0.7); - border-left: 1px solid rgba(96, 96, 96, 0.7); -} - -/* header */ -.collapse-container.last-modified>:nth-child(odd) { - background-color: #3f3f3f; - border-bottom: 1px solid rgba(96, 96, 96, 0.7); -} - -/* body */ -.collapse-container.last-modified>:nth-child(even) { - border-bottom: 1px solid rgba(96, 96, 96, 0.7); - background-color: inherit; -} - -span.arrow-d{ - border-top: 5px solid white -} - -span.arrow-r{ - border-left: 5px solid white -} - -.logo-switcher { - background: url("../marketing/logo/SVG/Combinationmark White.svg") no-repeat; -} diff --git a/docs/_template/light-dark-theme/styles/light.css b/docs/_template/light-dark-theme/styles/light.css deleted file mode 100644 index a2ba3078..00000000 --- a/docs/_template/light-dark-theme/styles/light.css +++ /dev/null @@ -1,117 +0,0 @@ -/* Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License.txt in the project root for license information. */ - -@import url('tomorrow.css'); -html, -body { - background: #fff; - color: #000; -} - -.sideaffix { - overflow: visible; -} - -/* links */ - -a:active, a:hover, a:visited { - color: #0078d7; -} - -a { - color: #0050c5; - cursor: pointer; - text-decoration: none; - word-wrap: break-word; -} - -/* alert */ -.alert-info { - color: #165e82; - background-color: #c1e0ef; - border-color: #8cbfd8; -} - -.alert-warning { - color: #825e16; - background-color: #efe0c1; - border-color: #d8bf8c; -} - -.alert-danger { - color: #821616; - background-color: #efc1c1; - border-color: #d88c8c; -} - -/* code */ - -code { - color: #9c3a3f; - background-color: #ececec; - border-radius: 4px; - padding: 3px 7px; -} - -/* table */ - -.table-striped>tbody>tr:nth-of-type(odd) { - color: #333333; - background-color: #d3d3d3 -} - -tbody>tr { - color: #424242; - background-color: #c0c0c0 -} - -.table>tbody+tbody { - border-top: 2px solid rgb(173, 173, 173) -} - -/* select */ - -select { - background-color: #fcfcfc; - border-color: #aeb1b5; -} - -/* - Following code regarding collapse container are fetched - or modified from the Materialize project. - - The MIT License (MIT) - Copyright (c) 2014-2018 Materialize - https://github.com/Dogfalo/materialize -*/ - -/* all collapse container */ -.collapse-container.last-modified { - -webkit-box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2); - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.12), 0 1px 5px 0 rgba(0, 0, 0, 0.2); - border-top: 1px solid #ddd; - border-right: 1px solid #ddd; - border-left: 1px solid #ddd; -} - -/* header */ -.collapse-container.last-modified>:nth-child(odd) { - background-color: #fff; - border-bottom: 1px solid #ddd; -} - -/* body */ -.collapse-container.last-modified>:nth-child(even) { - border-bottom: 1px solid #ddd; -} - -span.arrow-d{ - border-top: 5px solid black -} - -span.arrow-r{ - border-left: 5px solid black -} - -.logo-switcher { - background: url("../marketing/logo/SVG/Combinationmark.svg") no-repeat; -} diff --git a/docs/_template/light-dark-theme/styles/master.css b/docs/_template/light-dark-theme/styles/master.css deleted file mode 100644 index cab54ac2..00000000 --- a/docs/_template/light-dark-theme/styles/master.css +++ /dev/null @@ -1,234 +0,0 @@ -@import url('https://fonts.googleapis.com/css?family=Roboto|Muli|Fira+Mono'); - -html, -body { - font-family: 'Roboto', 'Segoe UI', Tahoma, Helvetica, sans-serif; - font-display: optional; - height: 100%; - font-size: 15px; -} - -code{ - font-family: 'Fira Mono', 'Courier New', Courier, monospace -} - -h1, -h2, -h3, -h4, -h5, -h6 { - font-family: 'Muli', Verdana, Geneva, Tahoma, sans-serif; - line-height: 130%; -} - -h1, -.h1, -h2, -.h2, -h3, -.h3 { - font-weight: 600; -} - -#logo -{ - max-width: 100px; - max-height: 100px; - width: 38pt; - height: 38pt; - padding: 8pt; -} - -p, -li, -.toc { - text-rendering: optimizeLegibility; - line-height: 160%; -} - -.toc-filter{ - background: inherit !important; -} - -.affix ul>li.active>ul, .affix ul>li.active>a:before, .affix ul>li>a:hover:before{ - white-space: normal; -} - -img { - box-shadow: 0px 0px 3px 0px rgb(66, 66, 66); - max-width: 95% !important; - margin-top: 15px; - margin-bottom: 15px; -} - -.big-logo { - display: block; - box-shadow: none !important; - /* Width value was taken from the original size of the combomark svg */ - width: 951pt; - /* Height was arbitrarily determined */ - min-height: 100pt; - max-width: 90%; -} - -article.content p{ - -webkit-transition: all .75s ease-in-out; - transition: all .75s ease-in-out; -} - -article.content h1, -article.content h2, -article.content h3, -article.content h4, -article.content h5, -article.content h6{ - -webkit-transition: all .25s ease-in-out; - transition: all .25s ease-in-out; -} - -.sideaffix { - line-height: 140%; -} - -.sideaffix > div.contribution { - margin-bottom: 0; -} - -header .navbar { - border-width: 0 0 0px; - border-radius: 0; -} - -body .toc { - background-color: inherit; - overflow: visible; -} - -select { - display: inline-block; - overflow: auto; - -webkit-box-sizing: border-box; - box-sizing: border-box; - margin: 0; - padding: 0 30px 0 6px; - vertical-align: middle; - height: 28px; - border: 1px solid #e3e3e3; - line-height: 16px; - outline: 0; - text-overflow: ellipsis; - -webkit-appearance: none; - -moz-appearance: none; - cursor: pointer; - background-image: linear-gradient(45deg, transparent 50%, #707070 0), linear-gradient(135deg, #707070 50%, transparent 0); - background-position: calc(100% - 13px) 11px, calc(100% - 8px) 11px; - background-size: 5px 5px, 5px 6px; - background-repeat: no-repeat; -} - -/* - Following code are fetched or modified from - the Materialize project. - - The MIT License (MIT) - Copyright (c) 2014-2018 Materialize - https://github.com/Dogfalo/materialize -*/ - -/* all collapse container */ - -.collapse-container.last-modified { - margin: 0.5rem 0 1rem 0; -} - -/* header */ - -.collapse-container.last-modified>:nth-child(odd):focus { - outline: 0; -} - -.collapse-container.last-modified>:nth-child(odd) { - display: -webkit-box; - display: -webkit-flex; - display: -ms-flexbox; - display: flex; - cursor: pointer; - -webkit-tap-highlight-color: transparent; - line-height: 1.5; - padding: 0.75rem; - background-image: none; - border: 0px; -} - -/* body */ - -.collapse-container.last-modified>:nth-child(even) { - display: none; - -webkit-box-sizing: border-box; - box-sizing: border-box; - padding: 1rem; - border: 0px; -} - -/* nav bar */ - -.nav { - margin: 0; -} - -.nav li { - -webkit-transition: background-color .3s, color .3s; - transition: background-color .3s, color .3s; -} - -.nav a { - -webkit-transition: background-color .3s, color .3s; - transition: background-color .3s, color .3s; - cursor: pointer; -} - -/* arrow */ - -span.arrow-d{ - top: 6px; position: relative; -} - -span.arrow-r{ - top: 6px; position: relative; -} - -/* widen viewport */ - -@media (min-width: 1085px) { - .container { - width: calc(100% - 15vw); - max-width: calc(100% - 15vw); - } -} - -/* fix level indentation */ - -.level2 { - padding: 0 5px; -} - -.level3 { - padding: 0 5px; - font-size: 90%; -} - -.level4 { - padding: 0 5px; - font-size: 85%; -} - -.level5 { - padding: 0 5px; - font-size: 80%; -} - -.level6 { - padding: 0 5px; - font-size: 75%; -} \ No newline at end of file diff --git a/docs/_template/light-dark-theme/styles/material.css b/docs/_template/light-dark-theme/styles/material.css deleted file mode 100644 index 06a06433..00000000 --- a/docs/_template/light-dark-theme/styles/material.css +++ /dev/null @@ -1,199 +0,0 @@ -body { - color: #34393e; - line-height: 1.5; - /*font-size: 16px;*/ - -ms-text-size-adjust: 100%; - -webkit-text-size-adjust: 100%; - word-wrap: break-word -} - -/* HEADINGS */ - -h1 { - font-weight: 600; - font-size: 32px; -} - -h2 { - font-weight: 600; - font-size: 24px; - line-height: 1.8; -} - -h3 { - font-weight: 600; - font-size: 20px; - line-height: 1.8; -} - -h5 { - font-size: 14px; - padding: 10px 0px; -} - -article h1, -article h2, -article h3, -article h4 { - margin-top: 35px; - margin-bottom: 15px; -} - -article h4 { - padding-bottom: 8px; - border-bottom: 2px solid #ddd; -} - -/* NAVBAR */ - -.navbar-brand>img { - color: #fff; -} - -.navbar { - border: none; - /* Both navbars use box-shadow */ - -webkit-box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5); - -moz-box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5); - box-shadow: 0px 1px 3px 0px rgba(100, 100, 100, 0.5); -} - -.subnav { - border-top: 1px solid #ddd; - background-color: #fff; -} - -.navbar-inverse { - background-color: #0d47a1; - z-index: 100; -} - -.navbar-inverse .navbar-nav>li>a, -.navbar-inverse .navbar-text { - color: #fff; - /*background-color: #0d47a1;*/ - border-bottom: 3px solid transparent; - padding-bottom: 12px; -} - -.navbar-inverse .navbar-nav>li>a:focus, -.navbar-inverse .navbar-nav>li>a:hover { - color: #fff; - background-color: #1157c0; - border-bottom: 3px solid white; -} - -.navbar-inverse .navbar-nav>.active>a, -.navbar-inverse .navbar-nav>.active>a:focus, -.navbar-inverse .navbar-nav>.active>a:hover { - color: #fff; - background-color: #1157c0; - border-bottom: 3px solid white; -} - -.navbar-form .form-control { - border: none; - border-radius: 20px; -} - -/* SIDEBAR */ - -/*.toc .level1>li { - font-weight: 400; -}*/ - -.toc .nav>li>a { - color: #34393e; -} - -.sidefilter { - background-color: #fff; - border-left: none; - border-right: none; -} - -.sidefilter { - background-color: #fff; - border-left: none; - border-right: none; -} - -.toc-filter { - padding: 10px; - margin: 0; -} - -.toc-filter>input { - border: 2px solid #ddd; - border-radius: 20px; -} - -.toc-filter>.filter-icon { - display: none; -} - -.sidetoc>.toc { - overflow-x: hidden; -} - -.sidetoc { - border: none; -} - -/* ALERTS */ - -.alert { - padding: 0px 0px 5px 0px; - color: inherit; - background-color: inherit; - border: none; - box-shadow: 0px 2px 2px 0px rgba(100, 100, 100, 0.4); -} - -.alert>p { - margin-bottom: 0; - padding: 5px 10px; -} - -.alert>ul { - margin-bottom: 0; - padding: 5px 40px; -} - -.alert>h5 { - padding: 10px 15px; - margin-top: 0; - text-transform: uppercase; - font-weight: bold; - border-radius: 4px 4px 0 0; -} - -.alert-info>h5 { - color: #1976d2; - border-bottom: 4px solid #1976d2; - background-color: #e3f2fd; -} - -.alert-warning>h5 { - color: #f57f17; - border-bottom: 4px solid #f57f17; - background-color: #fff3e0; -} - -.alert-danger>h5 { - color: #d32f2f; - border-bottom: 4px solid #d32f2f; - background-color: #ffebee; -} - -/* CODE HIGHLIGHT */ -pre { - padding: 9.5px; - margin: 10px 10px 10px; - font-size: 13px; - word-break: break-all; - word-wrap: break-word; - /*background-color: #fffaef;*/ - border-radius: 4px; - box-shadow: 0px 1px 4px 1px rgba(100, 100, 100, 0.4); -} diff --git a/docs/_template/light-dark-theme/styles/styleswitcher.js b/docs/_template/light-dark-theme/styles/styleswitcher.js deleted file mode 100644 index a87b8952..00000000 --- a/docs/_template/light-dark-theme/styles/styleswitcher.js +++ /dev/null @@ -1,26 +0,0 @@ -const baseUrl = document.getElementById("docfx-style:rel").content; - -function onThemeSelect(event) { - const theme = event.target.value; - window.localStorage.setItem("theme", theme); - window.themeElement.href = getUrl(theme); -} - -function getUrl(slug) { - return baseUrl + "styles/" + slug + ".css"; -} - -const themeElement = document.createElement("link"); -themeElement.rel = "stylesheet"; - -const theme = window.localStorage.getItem("theme") || "light"; -themeElement.href = getUrl(theme); - -document.head.appendChild(themeElement); -window.themeElement = themeElement; - -document.addEventListener("DOMContentLoaded", function() { - const themeSwitcher = document.getElementById("theme-switcher"); - themeSwitcher.onchange = onThemeSelect; - themeSwitcher.value = theme; -}, false); diff --git a/docs/_template/light-dark-theme/styles/theme-switcher.css b/docs/_template/light-dark-theme/styles/theme-switcher.css deleted file mode 100644 index c6e27c93..00000000 --- a/docs/_template/light-dark-theme/styles/theme-switcher.css +++ /dev/null @@ -1,9 +0,0 @@ -div.theme-switch-field { - padding-left: 10px; - padding-bottom: 15px -} - -div.theme-switch-field > p{ - font-weight: bold; - font-size: 1.2em; -} \ No newline at end of file diff --git a/docs/_template/light-dark-theme/styles/tomorrow.css b/docs/_template/light-dark-theme/styles/tomorrow.css deleted file mode 100644 index 026a62fe..00000000 --- a/docs/_template/light-dark-theme/styles/tomorrow.css +++ /dev/null @@ -1,72 +0,0 @@ -/* http://jmblog.github.com/color-themes-for-google-code-highlightjs */ - -/* Tomorrow Comment */ -.hljs-comment, -.hljs-quote { - color: #8e908c; -} - -/* Tomorrow Red */ -.hljs-variable, -.hljs-template-variable, -.hljs-tag, -.hljs-name, -.hljs-selector-id, -.hljs-selector-class, -.hljs-regexp, -.hljs-deletion { - color: #c82829; -} - -/* Tomorrow Orange */ -.hljs-number, -.hljs-built_in, -.hljs-builtin-name, -.hljs-literal, -.hljs-type, -.hljs-params, -.hljs-meta, -.hljs-link { - color: #f5871f; -} - -/* Tomorrow Yellow */ -.hljs-attribute { - color: #eab700; -} - -/* Tomorrow Green */ -.hljs-string, -.hljs-symbol, -.hljs-bullet, -.hljs-addition { - color: #718c00; -} - -/* Tomorrow Blue */ -.hljs-title, -.hljs-section { - color: #4271ae; -} - -/* Tomorrow Purple */ -.hljs-keyword, -.hljs-selector-tag { - color: #8959a8; -} - -.hljs { - display: block; - overflow-x: auto; - background: white; - color: #4d4d4c; - padding: 0.5em; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} diff --git a/docs/_template/light-dark-theme/styles/vs2015.css b/docs/_template/light-dark-theme/styles/vs2015.css deleted file mode 100644 index d8c14a04..00000000 --- a/docs/_template/light-dark-theme/styles/vs2015.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Visual Studio 2015 dark style - * Author: Nicolas LLOBERA - */ - -.hljs { - display: block; - overflow-x: auto; - padding: 0.5em; - background: #282a36; - color: #DCDCDC; -} - -.hljs-keyword, -.hljs-literal, -.hljs-symbol, -.hljs-name { - color: #569CD6; -} -.hljs-link { - color: #569CD6; - text-decoration: underline; -} - -.hljs-built_in, -.hljs-type { - color: #4EC9B0; -} - -.hljs-number, -.hljs-class { - color: #B8D7A3; -} - -.hljs-string, -.hljs-meta-string { - color: #D69D85; -} - -.hljs-regexp, -.hljs-template-tag { - color: #9A5334; -} - -.hljs-subst, -.hljs-function, -.hljs-title, -.hljs-params, -.hljs-formula { - color: #DCDCDC; -} - -.hljs-comment, -.hljs-quote { - color: #57A64A; - font-style: italic; -} - -.hljs-doctag { - color: #608B4E; -} - -.hljs-meta, -.hljs-meta-keyword, -.hljs-tag { - color: #9B9B9B; -} - -.hljs-variable, -.hljs-template-variable { - color: #BD63C5; -} - -.hljs-attr, -.hljs-attribute, -.hljs-builtin-name { - color: #9CDCFE; -} - -.hljs-section { - color: gold; -} - -.hljs-emphasis { - font-style: italic; -} - -.hljs-strong { - font-weight: bold; -} - -/*.hljs-code { - font-family:'Monospace'; -}*/ - -.hljs-bullet, -.hljs-selector-tag, -.hljs-selector-id, -.hljs-selector-class, -.hljs-selector-attr, -.hljs-selector-pseudo { - color: #D7BA7D; -} - -.hljs-addition { - background-color: #144212; - display: inline-block; - width: 100%; -} - -.hljs-deletion { - background-color: #600; - display: inline-block; - width: 100%; -} diff --git a/docs/_template/material/public/main.css b/docs/_template/material/public/main.css new file mode 100644 index 00000000..55779e3b --- /dev/null +++ b/docs/_template/material/public/main.css @@ -0,0 +1,218 @@ +@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;400;700&display=swap'); + +:root { + --bs-font-sans-serif: 'Roboto'; + --bs-border-radius: 10px; + + --border-radius-button: 40px; + --card-box-shadow: 0 1px 2px 0 #3d41440f, 0 1px 3px 1px #3d414429; + + --material-yellow-light: #e6dfbf; + --material-yellow-dark: #5a5338; + + --material-blue-light: #c4d9f1; + --material-blue-dark: #383e5a; + + --material-red-light: #f1c4c4; + --material-red-dark: #5a3838; + + --material-warning-header: #f57f171a; + --material-warning-background: #f6e8bd; + --material-warning-background-dark: #57502c; + + --material-info-header: #1976d21a; + --material-info-background: #e3f2fd; + --material-info-background-dark: #2c4557; + + --material-danger-header: #d32f2f1a; + --material-danger-background: #ffebee; + --material-danger-background-dark: #572c2c; +} + +/* HEADINGS */ + +h1 { + font-weight: 600; + font-size: 32px; +} + +h2 { + font-weight: 600; + font-size: 24px; + line-height: 1.8; +} + +h3 { + font-weight: 600; + font-size: 20px; + line-height: 1.8; +} + +h5 { + font-size: 14px; + padding: 10px 0px; +} + +article h2, +article h3, +article h4 { + margin-top: 15px; + margin-bottom: 15px; +} + +/* MAKES PROPERTIES BE SEPARATED CLEARLY */ +article h3 { + padding-bottom: 8px; + border-bottom: 2px solid #ddd; +} + +/** IMAGES **/ +img { + border-radius: var(--bs-border-radius); + box-shadow: var(--card-box-shadow); +} + +/** NAVBAR **/ +.navbar-brand > img { + border-radius: 0; + box-shadow: none; + color: var(--bs-nav-link-color); +} + +[data-bs-theme='light'] nav.navbar { + background-color: var(--bs-primary-bg-subtle); +} + +[data-bs-theme='dark'] nav.navbar { + background-color: var(--bs-tertiary-bg); +} + +.navbar-nav > li > a { + border-radius: var(--border-radius-button); + transition: 200ms; +} + +.navbar-nav a.nav-link:focus, +.navbar-nav a.nav-link:hover { + background-color: var(--bs-primary-border-subtle); +} + +.navbar-nav .nav-link.active, +.navbar-nav .nav-link.show { + color: var(--bs-link-hover-color); +} + +/** SEARCH AND FILTER **/ +input.form-control { + border-radius: var(--border-radius-button); +} + +form.filter { + margin: 0.3rem; +} + +/** ALERTS **/ +.alert { + padding: 0; + border: none; + box-shadow: var(--card-box-shadow); +} + +.alert > p { + padding: 0.2rem 0.7rem 0.7rem 1rem; +} + +.alert > ul { + margin-bottom: 0; + padding: 5px 40px; +} + +.alert > h5 { + padding: 0.5rem 0.7rem 0.7rem 1rem; + border-radius: var(--bs-border-radius) var(--bs-border-radius) 0 0; + font-weight: bold; + text-transform: capitalize; +} + +.alert-info { + color: var(--material-blue-dark); + background-color: var(--material-info-background); +} + +[data-bs-theme='dark'] .alert-info { + color: var(--material-blue-light); + background-color: var(--material-info-background-dark); +} + +.alert-info > h5 { + background-color: var(--material-info-header); +} + +.alert-warning { + color: var(--material-yellow-dark); + background-color: var(--material-warning-background); +} + +[data-bs-theme='dark'] .alert-warning { + color: var(--material-yellow-light); + background-color: var(--material-warning-background-dark); +} + +.alert-warning > h5 { + background-color: var(--material-warning-header); +} + +.alert-danger { + color: var(--material-red-dark); + background-color: var(--material-danger-background); +} + +[data-bs-theme='dark'] .alert-danger { + color: var(--material-red-light); + background-color: var(--material-danger-background-dark); +} + +.alert-danger > h5 { + background-color: var(--material-danger-header); +} + +/* CODE HIGHLIGHT */ +code { + border-radius: var(--bs-border-radius); + margin: 4px 2px; + box-shadow: var(--card-box-shadow); +} + +/* MAKES DERIVED LIST READABLE */ +:is(dl.typelist.derived, dl.typelist.extensionMethods) > dd > div::after { + content: none !important; +} + +:is(dl.typelist.derived, dl.typelist.extensionMethods) > dd > div { + display: block !important; +} + +/* MAKES "IN THIS ARTICLE" MORE READABLE */ +.affix h5, .affix .h5 { + font-weight: normal !important; +} + +/* MAKES INDEX LOGO VISIBLE ON DIFFERENT THEMES */ +article[data-uid="Root.Landing"] img[alt="logo"] { + height: 100pt !important; + box-shadow: none; +} + +[data-bs-theme="light"] article[data-uid="Root.Landing"] img[alt="logo"] { + content: url('/marketing/logo/SVG/Combinationmark.svg') !important; +} + +[data-bs-theme="dark"] article[data-uid="Root.Landing"] img[alt="logo"] { + content: url('/marketing/logo/SVG/Combinationmark White.svg') !important; +} + +/* MAKES SIDEBAR LINKS A BIT MORE DISTINGUISHABLE */ +.affix ul li a { + display: block !important; + margin-left: 8px !important; +} diff --git a/docs/_template/material/public/main.js b/docs/_template/material/public/main.js new file mode 100644 index 00000000..4bf8fd96 --- /dev/null +++ b/docs/_template/material/public/main.js @@ -0,0 +1,9 @@ +export default { + iconLinks: [ + { + icon: 'github', + href: 'https://github.com/discord-net/Discord.Net', + title: 'GitHub' + } + ] +} diff --git a/docs/docfx.json b/docs/docfx.json index 216b9b19..961bb4cf 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -4,14 +4,12 @@ "src": [ { "src": "../src", - "files": ["**.csproj"] + "files": ["**/*.csproj"], + "exclude": ["Discord.Net.DebugTools/*.csproj"] } ], "dest": "api", - "filter": "filterConfig.yml", - "properties": { - "TargetFramework": "net5.0" - } + "filter": "filterConfig.yml" } ], "build": { @@ -41,21 +39,21 @@ "langwordMapping.yml", "marketing/logo/**.svg", "marketing/logo/**.png", - "favicon.ico" + "favicon.ico", + "../src/Discord.Net.Examples/**.cs" ] } ], - "dest": "_site", + "output": "_site", "template": [ "default", - "_template/light-dark-theme", - "_template/last-modified", + "modern", + "_template/material", "_template/description-generator" ], "postProcessors": [ "ExtractSearchIndex", - "LastModifiedPostProcessor", - "DescriptionPostProcessor" + "DescriptionPostProcessor" ], "overwrite": "_overwrites/**/**.md", "globalMetadata": { @@ -65,6 +63,6 @@ "_appLogoPath": "marketing/logo/SVG/Logomark Purple.svg", "_appFaviconPath": "favicon.ico" }, - "xrefService": ["https://xref.docs.microsoft.com/query?uid={uid}"] + "xrefService": ["https://learn.microsoft.com/api/xref/query?uid={uid}"] } } diff --git a/docs/faq/int_framework/framework.md b/docs/faq/int_framework/framework.md index 793b44d3..1e8b24c8 100644 --- a/docs/faq/int_framework/framework.md +++ b/docs/faq/int_framework/framework.md @@ -43,7 +43,7 @@ If you are using `RunMode.Async` you need to setup your post-execution pipeline Refer to the [documentation about preconditions] -[documentation about preconditions]: xref:Guides.ChatCommands.Preconditions +[documentation about preconditions]: xref:Guides.IntFw.Preconditions ## How do I send the HTTP Response from inside the command modules. diff --git a/docs/faq/misc/legacy.md b/docs/faq/misc/legacy.md index 0b0b5115..39e71295 100644 --- a/docs/faq/misc/legacy.md +++ b/docs/faq/misc/legacy.md @@ -23,7 +23,7 @@ The entity can be retrieved from cache by calling `GetOrDownloadAsync()` on the > [!NOTE] > GetOrDownloadAsync will download the entity if its not available directly from the cache. -[Cacheable]: xref:Discord.Cacheable +[Cacheable]: xref:Discord.Cacheable`2 ## X, Y, Z does not work! It doesn't return a valid value anymore. diff --git a/docs/guides/dependency_injection/basics.md b/docs/guides/dependency_injection/basics.md index c553ee68..d8d4b395 100644 --- a/docs/guides/dependency_injection/basics.md +++ b/docs/guides/dependency_injection/basics.md @@ -66,4 +66,4 @@ Through the provider, we can ask for the DiscordSocketClient we registered earli You can not only directly access the provider from a field or property, but you can also pass around instances to classes registered in the provider. There are multiple ways to do this. Please refer to the -[Injection Documentation](Guides.DI.Injection) for further information. +[Injection Documentation](xref:Guides.DI.Injection) for further information. diff --git a/docs/guides/int_basics/message-components/intro.md b/docs/guides/int_basics/message-components/intro.md index cc22d54c..ed44c321 100644 --- a/docs/guides/int_basics/message-components/intro.md +++ b/docs/guides/int_basics/message-components/intro.md @@ -63,4 +63,4 @@ public async Task Spawn() } ``` -![](images\image1.png) +![](images/image1.png) diff --git a/docs/index.md b/docs/index.md index eda36b1f..9104d683 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,7 +5,7 @@ title: Home # Discord.NET Documentation - +![logo](marketing/logo/SVG/Combinationmark%20White%20Border.svg) [![GitHub](https://img.shields.io/github/last-commit/discord-net/Discord.Net?style=plastic)](https://github.com/discord-net/Discord.Net) [![NuGet](https://img.shields.io/nuget/vpre/Discord.Net.svg?maxAge=2592000?style=plastic)](https://www.nuget.org/packages/Discord.Net) @@ -31,15 +31,8 @@ objects in the library. ## Nightlies -Nightlies are builds of Discord.NET that are still in an experimental phase, and have not been released. -These are not included in the main repository, and are instead taken over by [Discord.NET Labs]. - -Discord.NET Labs is an experimental fork of Discord.NET that implements the newest discord features -for testing and development to eventually get merged into Discord.NET. - -[Installing Discord.NET Labs](xref:Guides.GettingStarted.Installation.Labs) - -[Discord.Net Labs]: https://github.com/Discord-Net-Labs/Discord.Net-Labs +Nightlies are builds of Discord.NET that are still in an experimental phase, and have not been released. +They are available through Discord.NET's [MyGet feed](https://www.myget.org/F/discord-net/api/v3/index.json). ## Questions? diff --git a/docs/marketing/logo/SVG/Combinationmark White Border.svg b/docs/marketing/logo/SVG/Combinationmark White Border.svg index 787803d4..a6ce274f 100644 --- a/docs/marketing/logo/SVG/Combinationmark White Border.svg +++ b/docs/marketing/logo/SVG/Combinationmark White Border.svg @@ -1,5 +1,5 @@ - + @@ -18,4 +18,4 @@ - \ No newline at end of file + diff --git a/docs/marketing/logo/SVG/Logomark Purple.svg b/docs/marketing/logo/SVG/Logomark Purple.svg index 16d3789a..cffd2ef6 100644 --- a/docs/marketing/logo/SVG/Logomark Purple.svg +++ b/docs/marketing/logo/SVG/Logomark Purple.svg @@ -1 +1 @@ -Discord.Net Docs \ No newline at end of file +Discord.Net Docs diff --git a/docs/toc.yml b/docs/toc.yml index 81099538..a44896b7 100644 --- a/docs/toc.yml +++ b/docs/toc.yml @@ -8,4 +8,4 @@ href: api/ topicUid: API.Docs - name: Changelog - topicHref: ../CHANGELOG.md + href: ../CHANGELOG.md diff --git a/src/Discord.Net.Core/Entities/Channels/IGuildChannel.cs b/src/Discord.Net.Core/Entities/Channels/IGuildChannel.cs index 6726b7b4..f948e310 100644 --- a/src/Discord.Net.Core/Entities/Channels/IGuildChannel.cs +++ b/src/Discord.Net.Core/Entities/Channels/IGuildChannel.cs @@ -108,12 +108,12 @@ namespace Discord /// Adds or updates the permission overwrite for the given role. /// /// - /// The following example fetches a role via and a channel via - /// . Next, it checks if an overwrite had already been set via + /// The following example fetches a role via and a channel via + /// . Next, it checks if an overwrite had already been set via /// ; if not, it denies the role from sending any /// messages to the channel. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IGuildChannel.Examples.cs"/> /// /// The role to add the overwrite to. /// The overwrite to add to the role. @@ -127,12 +127,12 @@ namespace Discord /// Adds or updates the permission overwrite for the given user. /// /// - /// The following example fetches a user via and a channel via - /// . Next, it checks if an overwrite had already been set via + /// The following example fetches a user via and a channel via + /// . Next, it checks if an overwrite had already been set via /// ; if not, it denies the user from sending any /// messages to the channel. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IGuildChannel.Examples.cs"/> /// /// The user to add the overwrite to. /// The overwrite to add to the user. diff --git a/src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs b/src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs index 615b009f..6e5d23f1 100644 --- a/src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs +++ b/src/Discord.Net.Core/Entities/Channels/IMessageChannel.cs @@ -17,7 +17,7 @@ namespace Discord /// The following example sends a message with the current system time in RFC 1123 format to the channel and /// deletes itself after 5 seconds. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> /// /// The message to be sent. /// Determines whether the message should be read aloud by Discord or not. @@ -42,14 +42,14 @@ namespace Discord /// Sends a file to this message channel with an optional caption. /// /// - /// The following example uploads a local file called wumpus.txt along with the text + /// The following example uploads a local file called wumpus.txt along with the text /// good discord boi to the channel. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> /// The following example uploads a local image called b1nzy.jpg embedded inside a rich embed to the /// channel. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> /// /// /// This method sends a file as if you are uploading an attachment directly from your Discord client. @@ -86,7 +86,7 @@ namespace Discord /// The following example uploads a streamed image that will be called b1nzy.jpg embedded inside a /// rich embed to the channel. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> /// /// /// This method sends a file as if you are uploading an attachment directly from your Discord client. @@ -195,7 +195,7 @@ namespace Discord /// /// /// - /// The returned collection is an asynchronous enumerable object; one must call + /// The returned collection is an asynchronous enumerable object; one must call /// to access the individual messages as a /// collection. /// @@ -204,17 +204,17 @@ namespace Discord /// rate limit, causing your bot to freeze! /// /// This method will attempt to fetch the number of messages specified under . The - /// library will attempt to split up the requests according to your and + /// library will attempt to split up the requests according to your and /// . In other words, should the user request 500 messages, /// and the constant is 100, the request will /// be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need /// of flattening. /// /// - /// The following example downloads 300 messages and gets messages that belong to the user + /// The following example downloads 300 messages and gets messages that belong to the user /// 53905483156684800. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> /// /// The numbers of message to be gotten from. /// The that determines whether the object should be fetched from @@ -230,7 +230,7 @@ namespace Discord /// /// /// - /// The returned collection is an asynchronous enumerable object; one must call + /// The returned collection is an asynchronous enumerable object; one must call /// to access the individual messages as a /// collection. /// @@ -240,7 +240,7 @@ namespace Discord /// /// This method will attempt to fetch the number of messages specified under around /// the message depending on the . The library will - /// attempt to split up the requests according to your and + /// attempt to split up the requests according to your and /// . In other words, should the user request 500 messages, /// and the constant is 100, the request will /// be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need @@ -249,11 +249,11 @@ namespace Discord /// /// The following example gets 5 message prior to the message identifier 442012544660537354. /// - /// The following example attempts to retrieve messageCount number of messages from the + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> + /// The following example attempts to retrieve messageCount number of messages from the /// beginning of the channel and prints them to the console. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> /// /// The ID of the starting message to get the messages from. /// The direction of the messages to be gotten from. @@ -271,7 +271,7 @@ namespace Discord /// /// /// - /// The returned collection is an asynchronous enumerable object; one must call + /// The returned collection is an asynchronous enumerable object; one must call /// to access the individual messages as a /// collection. /// @@ -281,7 +281,7 @@ namespace Discord /// /// This method will attempt to fetch the number of messages specified under around /// the message depending on the . The library will - /// attempt to split up the requests according to your and + /// attempt to split up the requests according to your and /// . In other words, should the user request 500 messages, /// and the constant is 100, the request will /// be split into 5 individual requests; thus returning 5 individual asynchronous responses, hence the need @@ -290,7 +290,7 @@ namespace Discord /// /// The following example gets 5 message prior to a specific message, oldMessage. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> /// /// The starting message to get the messages from. /// The direction of the messages to be gotten from. @@ -360,7 +360,7 @@ namespace Discord /// /// The following example keeps the client in the typing state until LongRunningAsync has finished. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Channels/IMessageChannel.Examples.cs" /> /// /// The options to be used when sending the request. /// diff --git a/src/Discord.Net.Core/Entities/Guilds/IGuild.cs b/src/Discord.Net.Core/Entities/Guilds/IGuild.cs index d5f80185..65f01480 100644 --- a/src/Discord.Net.Core/Entities/Guilds/IGuild.cs +++ b/src/Discord.Net.Core/Entities/Guilds/IGuild.cs @@ -790,7 +790,7 @@ namespace Discord /// /// The following example creates a new text channel under an existing category named Wumpus with a set topic. /// + /// source="../../../Discord.Net.Examples/Core/Entities/Guilds/IGuild.Examples.cs"/> /// /// The new name for the text channel. /// The delegate containing the properties to be applied to the channel upon its creation. diff --git a/src/Discord.Net.Core/Entities/Users/IUser.cs b/src/Discord.Net.Core/Entities/Users/IUser.cs index 19e1b6d4..15e7f7aa 100644 --- a/src/Discord.Net.Core/Entities/Users/IUser.cs +++ b/src/Discord.Net.Core/Entities/Users/IUser.cs @@ -19,6 +19,13 @@ namespace Discord /// If you wish to retrieve the display avatar for this user, consider using . /// /// + /// + /// The following example attempts to retrieve the user's current avatar and send it to a channel; if one is + /// not set, a default avatar for this user will be returned instead. + /// + /// /// The format of the image. /// The size of the image that matches any power of two, ranging from 16 to 2048. /// diff --git a/src/Discord.Net.Rest/Entities/Guilds/RestGuild.cs b/src/Discord.Net.Rest/Entities/Guilds/RestGuild.cs index 114d37b0..0cbb9a05 100644 --- a/src/Discord.Net.Rest/Entities/Guilds/RestGuild.cs +++ b/src/Discord.Net.Rest/Entities/Guilds/RestGuild.cs @@ -959,25 +959,6 @@ namespace Discord.Rest => GuildHelper.GetUserAsync(this, Discord, OwnerId, options); /// - /// - /// Prunes inactive users. - /// - /// - /// - /// This method removes all users that have not logged on in the provided number of . - /// - /// - /// If is , this method will only return the number of users that - /// would be removed without kicking the users. - /// - /// - /// The number of days required for the users to be kicked. - /// Whether this prune action is a simulation. - /// The options to be used when sending the request. - /// - /// A task that represents the asynchronous prune operation. The task result contains the number of users to - /// be or has been removed from this guild. - /// public Task PruneUsersAsync(int days = 30, bool simulate = false, RequestOptions options = null, IEnumerable includeRoleIds = null) => GuildHelper.PruneUsersAsync(this, Discord, days, simulate, options, includeRoleIds); diff --git a/src/Discord.Net.WebSocket/BaseSocketClient.Events.cs b/src/Discord.Net.WebSocket/BaseSocketClient.Events.cs index 88b601dc..2a7f7ae7 100644 --- a/src/Discord.Net.WebSocket/BaseSocketClient.Events.cs +++ b/src/Discord.Net.WebSocket/BaseSocketClient.Events.cs @@ -23,7 +23,7 @@ namespace Discord.WebSocket /// /// /// + /// source="../Discord.Net.Examples/WebSocket/BaseSocketClient.Events.Examples.cs"/> /// public event Func ChannelCreated { @@ -45,7 +45,7 @@ namespace Discord.WebSocket /// /// /// + /// source="../Discord.Net.Examples/WebSocket/BaseSocketClient.Events.Examples.cs"/> /// public event Func ChannelDestroyed { @@ -68,7 +68,7 @@ namespace Discord.WebSocket /// /// /// + /// source="../Discord.Net.Examples/WebSocket/BaseSocketClient.Events.Examples.cs"/> /// public event Func ChannelUpdated { @@ -111,7 +111,7 @@ namespace Discord.WebSocket /// /// The example below checks if the newly received message contains the target user. /// + /// source="../Discord.Net.Examples/WebSocket/BaseSocketClient.Events.Examples.cs"/> /// public event Func MessageReceived { @@ -144,7 +144,7 @@ namespace Discord.WebSocket /// /// /// + /// source="../Discord.Net.Examples/WebSocket/BaseSocketClient.Events.Examples.cs" /> /// public event Func, Cacheable, Task> MessageDeleted @@ -240,7 +240,7 @@ namespace Discord.WebSocket /// /// /// + /// source="../Discord.Net.Examples/WebSocket/BaseSocketClient.Events.Examples.cs"/> /// public event Func, Cacheable, SocketReaction, Task> ReactionAdded {