2021-06-25 10:59:13 +03:00
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
const lightCodeTheme = require ( 'prism-react-renderer/themes/github' ) ;
const darkCodeTheme = require ( 'prism-react-renderer/themes/dracula' ) ;
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module . exports = {
title : 'SuperBench' ,
tagline : 'Hardware and Software Benchmarks for AI Systems' ,
url : 'https://microsoft.github.io' ,
baseUrl : '/superbenchmark/' ,
onBrokenLinks : 'throw' ,
onBrokenMarkdownLinks : 'warn' ,
favicon : 'img/favicon.ico' ,
organizationName : 'microsoft' ,
projectName : 'superbenchmark' ,
themeConfig : {
navbar : {
title : 'SuperBench' ,
logo : {
alt : 'Docusaurus Logo' ,
src : 'img/logo.svg' ,
} ,
items : [
// left
{
type : 'doc' ,
docId : 'introduction' ,
label : 'Docs' ,
position : 'left' ,
} ,
{
type : 'doc' ,
docId : 'cli' ,
label : 'API' ,
position : 'left' ,
} ,
{
to : '/blog' ,
label : 'Blog' ,
position : 'left' ,
} ,
// right
{
href : 'https://github.com/microsoft/superbenchmark' ,
label : 'GitHub' ,
position : 'right' ,
} ,
] ,
} ,
footer : {
style : 'dark' ,
links : [
{
title : 'Docs' ,
items : [
{
label : 'Introduction' ,
to : '/docs/introduction' ,
} ,
{
label : 'Getting Started' ,
to : '/docs/getting-started/installation' ,
} ,
{
label : 'API' ,
to : '/docs/cli' ,
} ,
] ,
} ,
{
title : 'Community' ,
items : [
{
label : 'Issues' ,
href : 'https://github.com/microsoft/superbenchmark/issues' ,
} ,
{
label : 'Discussion' ,
href : 'https://github.com/microsoft/superbenchmark/discussions' ,
} ,
] ,
} ,
{
title : 'More' ,
items : [
{
label : 'Blog' ,
to : '/blog' ,
} ,
{
label : 'GitHub' ,
href : 'https://github.com/microsoft/superbenchmark' ,
} ,
] ,
} ,
] ,
copyright : ` Copyright © ${ new Date ( ) . getFullYear ( ) } SuperBench. <br> Built with Docusaurus and hosted by GitHub. ` ,
} ,
announcementBar : {
id : 'supportus' ,
content :
2023-07-26 08:23:24 +03:00
'📢 <a href="https://microsoft.github.io/superbenchmark/blog/release-sb-v0.9">v0.9.0</a> has been released! ' +
2021-06-25 10:59:13 +03:00
'⭐️ If you like SuperBench, give it a star on <a target="_blank" rel="noopener noreferrer" href="https://github.com/microsoft/superbenchmark">GitHub</a>! ⭐️' ,
} ,
2021-09-02 10:09:45 +03:00
algolia : {
apiKey : '6809111d3dabf59fe562601d591d7c53' ,
indexName : 'superbenchmark' ,
contextualSearch : true ,
} ,
2021-06-25 10:59:13 +03:00
prism : {
theme : lightCodeTheme ,
darkTheme : darkCodeTheme ,
additionalLanguages : [ 'ini' ] ,
} ,
} ,
presets : [
[
'@docusaurus/preset-classic' ,
{
docs : {
path : '../docs' ,
sidebarPath : require . resolve ( './sidebars.js' ) ,
editUrl : 'https://github.com/microsoft/superbenchmark/edit/main/website/' ,
} ,
blog : {
showReadingTime : true ,
editUrl : 'https://github.com/microsoft/superbenchmark/edit/main/website/' ,
} ,
theme : {
customCss : require . resolve ( './src/css/index.css' ) ,
} ,
} ,
] ,
] ,
} ;