Skip to content

Commit

Permalink
fix links
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri committed Aug 28, 2021
1 parent cf306ec commit 878799d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
6 changes: 3 additions & 3 deletions example/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,17 @@ const config = {
specs: [
{
specUrl: 'https://redocly.github.io/redoc/openapi.yaml',
routePath: '/using-spec-url/',
routePath: '/examples/using-spec-url/',
},
{
specUrl: `${process.env.DEPLOY_BASE_URL || '/'}openapi-page.yaml`,
routePath: '/using-relative-url/',
routePath: '/examples/using-relative-url/',
},
{
spec: 'openapi.yaml',
// This becomes the Download URL in this case
specUrl: `${process.env.DEPLOY_BASE_URL || '/'}openapi-page.yaml`,
routePath: '/using-spec-yaml/',
routePath: '/examples/using-spec-yaml/',
},
],
theme: {
Expand Down
4 changes: 0 additions & 4 deletions example/src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@ import styles from './styles.module.css';
const sections = [
{
title: <>🌚 Dark Mode Support</>,
// link: '/custom-page/',
description: (
<>Inbuilt support for Docusaurus Classic Theme&apos;s Dark Mode!</>
),
},
{
title: <>🧩 Customizable</>,
// link: '/custom-layout/',
description: (
<>
Pass in your custom theme colors or options and it will be merged. All
Expand All @@ -25,14 +23,12 @@ const sections = [
},
{
title: <>📑 Schema Definitions</>,
// link: '/using-spec-url/',
description: (
<>Use individual schema definitions directly in your MDX docs</>
),
},
{
title: <>⚡️ Blazing Fast</>,
// link: '/using-spec-yaml/',
description: <>Support for Server Side Rendering!</>,
},
];
Expand Down

0 comments on commit 878799d

Please sign in to comment.