Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
pedronauck committed Jul 28, 2023
1 parent fccc097 commit d9f51d4
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/lib/Doc.ts → src/lib/md-doc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { join } from 'path';
import { DOCS_DIRECTORY } from '../constants';
import type { Config, DocType, SidebarLinkItem } from '../types';

import { Docs } from './Docs';
import { Docs } from './md-docs';
import { rehypePlugins, remarkPlugins } from './md-plugins';
import { rehypeExtractHeadings } from './plugins/toc';

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions src/pages/[...slug].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import type { GetStaticProps } from 'next';
import type { MdDoc } from '../../.contentlayer/generated';
import { allMdDocs } from '../../.contentlayer/generated';
import useTheme from '../hooks/useTheme';
import { Doc } from '../lib/Doc';
import { Docs } from '../lib/Docs';
import { Doc } from '../lib/md-doc';
import { Docs } from '../lib/md-docs';
import { DocScreen } from '../screens/DocPage';
import type { DocType, SidebarLinkItem } from '../types';

Expand Down
4 changes: 2 additions & 2 deletions src/pages/sitemap.xml.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import type { GetServerSideProps } from 'next';

import { allMdDocs } from '../../.contentlayer/generated';
import { Doc } from '../lib/Doc';
import { Docs } from '../lib/Docs';
import { Doc } from '../lib/md-doc';
import { Docs } from '../lib/md-docs';

function generateSiteMap() {
const paths = Docs.getAllPaths(allMdDocs).map((p) => {
Expand Down

0 comments on commit d9f51d4

Please sign in to comment.