/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import React from 'react'; import {HtmlClassNameProvider, PageMetadata} from '@docusaurus/theme-common'; import { docVersionSearchTag, DocsVersionProvider, } from '@docusaurus/theme-common/internal'; import renderRoutes from '@docusaurus/renderRoutes'; import SearchMetadata from '@theme/SearchMetadata'; function DocVersionRootMetadata(props) { const {version} = props; return ( <> {version.noIndex && } ); } function DocVersionRootContent(props) { const {version, route} = props; return ( {renderRoutes(route.routes)} ); } export default function DocVersionRoot(props) { return ( <> ); }