mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 00:39:45 +02:00
1 line
No EOL
3.1 KiB
JavaScript
1 line
No EOL
3.1 KiB
JavaScript
"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([["18638"],{93314:function(e,n,r){r.d(n,{Z:()=>u});var t=r("24246");r("27378");var s=r("53327"),i=r("35363");let a="container_tECh",l="nav_sWk6",o="navlink__gTJ";function c(e){var n=e.to,r=e.children;return(0,t.jsx)(i.Z,{className:o,isNavLink:!0,to:n,exact:!0,activeStyle:{backgroundColor:"#363739"},children:r})}function u(e){var n=e.children;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(s.Z,{children:[(0,t.jsx)("html",{lang:"en"}),(0,t.jsx)("title",{children:"Docusaurus debug panel"}),(0,t.jsx)("meta",{name:"robots",content:"noindex"})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("nav",{className:l,children:[(0,t.jsx)(c,{to:"/__docusaurus/debug",children:"Config"}),(0,t.jsx)(c,{to:"/__docusaurus/debug/metadata",children:"Metadata"}),(0,t.jsx)(c,{to:"/__docusaurus/debug/registry",children:"Registry"}),(0,t.jsx)(c,{to:"/__docusaurus/debug/routes",children:"Routes"}),(0,t.jsx)(c,{to:"/__docusaurus/debug/content",children:"Content"}),(0,t.jsx)(c,{to:"/__docusaurus/debug/globalData",children:"Global data"})]}),(0,t.jsx)("main",{className:a,children:n})]})]})}},83088:function(e,n,r){r.r(n),r.d(n,{default:()=>o});var t=r("24246");r("27378");var s=r("8156"),i=r("93314");let a={sectionTitle:"sectionTitle_T1wU",listItem:"listItem_Bobk",version:"version_gVgE",name:"name_C0v7"};function l(e,n){(null==n||n>e.length)&&(n=e.length);for(var r=0,t=Array(n);r<n;r++)t[r]=e[r];return t}function o(){var e,n=(0,s.Z)().siteMetadata;return(0,t.jsxs)(i.Z,{children:[(0,t.jsx)("h2",{children:"Site Metadata"}),(0,t.jsxs)("div",{children:["Docusaurus Version: ",(0,t.jsx)("code",{children:n.docusaurusVersion})]}),(0,t.jsxs)("div",{children:["Site Version:"," ",(0,t.jsx)("code",{children:null!==(e=n.siteVersion)&&void 0!==e?e:"No version specified"})]}),(0,t.jsx)("h3",{className:a.sectionTitle,children:"Plugins and themes"}),(0,t.jsx)("ul",{className:"clean-list",children:Object.entries(n.pluginVersions).map(function(e){var n,r,s=(r=2,function(e){if(Array.isArray(e))return e}(n=e)||function(e,n){var r,t,s=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=s){var i=[],a=!0,l=!1;try{for(s=s.call(e);!(a=(r=s.next()).done)&&(i.push(r.value),!n||i.length!==n);a=!0);}catch(e){l=!0,t=e}finally{try{!a&&null!=s.return&&s.return()}finally{if(l)throw t}}return i}}(n,2)||function(e,n){if(e){if("string"==typeof e)return l(e,n);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,n)}}(n,r)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),i=s[0],o=s[1];return(0,t.jsxs)("li",{className:a.listItem,children:["package"===o.type&&o.version&&(0,t.jsx)("div",{className:a.version,children:(0,t.jsx)("code",{children:o.version})}),(0,t.jsx)("div",{className:a.name,children:i}),(0,t.jsxs)("div",{children:["Type: ",o.type]})]},i)})})]})}}}]); |