From 5e465fd004167a1b9e31ff934c2840fa9e76c210 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sun, 31 Mar 2024 19:09:09 +0200 Subject: [PATCH 1/3] Fix documentation mentioning wrong file extensions --- apps/docs/pages/docs/guider/guides/config/landing.mdx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/docs/pages/docs/guider/guides/config/landing.mdx b/apps/docs/pages/docs/guider/guides/config/landing.mdx index fc7a527..6518a6d 100644 --- a/apps/docs/pages/docs/guider/guides/config/landing.mdx +++ b/apps/docs/pages/docs/guider/guides/config/landing.mdx @@ -10,7 +10,7 @@ To make a landing page (or any page that isn't MDX for that matter), you will fi If you want the layout to belong to a specific layout or site, you can specify it the `meta` prop - this is completely optional. It accepts the same data as the Frontmatter from a page. -```tsx title="index.mdx" showLineNumbers +```tsx title="index.tsx" showLineNumbers import { GuiderLayout } from '@neato/guider/client'; export default function LandingPage() { @@ -29,7 +29,7 @@ You can add any content you need inside of the `{:tsx}` componen In the case that you don't want to put in extra effort into making a landing page, you can opt for using our premade landing page: -```tsx title="index.mdx" showLineNumbers {12-38} +```tsx title="index.tsx" showLineNumbers {12-38} import { Button, Card, @@ -72,3 +72,7 @@ export default function LandingPage() { ); } ``` + + + when making non-MDX pages, make sure you put it in a `.tsx` file instead of a `.mdx` file. + From 613e30bb0590fc6fd46a65e11ba33253fb8bc576 Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sun, 31 Mar 2024 19:14:42 +0200 Subject: [PATCH 2/3] Fix table responsiveness --- packages/guider/src/client/components/markdown/table.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/guider/src/client/components/markdown/table.tsx b/packages/guider/src/client/components/markdown/table.tsx index 3270fb8..f938fcb 100644 --- a/packages/guider/src/client/components/markdown/table.tsx +++ b/packages/guider/src/client/components/markdown/table.tsx @@ -5,7 +5,7 @@ export function MarkdownTable(props: MarkdownProps) { return (
From 09d1acc82afced5d502578ddb85e070921da610a Mon Sep 17 00:00:00 2001 From: mrjvs Date: Sun, 31 Mar 2024 19:20:31 +0200 Subject: [PATCH 3/3] Bump version --- packages/guider/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/guider/package.json b/packages/guider/package.json index 3633ddc..5c6f35c 100644 --- a/packages/guider/package.json +++ b/packages/guider/package.json @@ -1,6 +1,6 @@ { "name": "@neato/guider", - "version": "0.1.4", + "version": "0.1.5", "description": "Beautiful documentation sites, without all the hassle", "main": "./dist/index.js", "type": "module",