website: delete SidebarAd from DocLayout (#417)

This commit is contained in:
feilinlp 2024-03-12 13:29:58 +08:00 committed by GitHub
parent ab3d01da00
commit 8face21897
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 5 deletions

View File

@ -11,7 +11,6 @@ import DocItemTOCDesktop from '@theme/DocItem/TOC/Desktop';
import DocItemContent from '@theme/DocItem/Content';
import DocBreadcrumbs from '@theme/DocBreadcrumbs';
import styles from './styles.module.css';
import SidebarAd from '../../../components/SidebarAd';
/**
* Decide if the toc should be rendered, on mobile or desktop viewports
@ -47,10 +46,6 @@ export default function DocItemLayout({ children }) {
<DocItemFooter />
</article>
<DocItemPaginator />
{/* TIH: Add sidebar */}
{/* <div className="margin-top--md">
<SidebarAd position="docs_bottom" />
</div> */}
</div>
</div>
{docTOC.desktop && <div className="col col--3">{docTOC.desktop}</div>}