Skip to content

Commit

Permalink
Release 1.6.1
Browse files Browse the repository at this point in the history
  • Loading branch information
fuma-nama committed Aug 16, 2023
1 parent 689c75d commit 8f6f3c6
Show file tree
Hide file tree
Showing 14 changed files with 140 additions and 68 deletions.
5 changes: 0 additions & 5 deletions .changeset/five-cameras-deny.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/metal-kings-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-next-docs-app': patch
---

Update examples
5 changes: 0 additions & 5 deletions .changeset/stupid-pots-obey.md

This file was deleted.

32 changes: 16 additions & 16 deletions apps/docs/content/docs/ui/comparisons.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,19 +34,19 @@ Zeta.

### A Table

| Feature | Next Docs UI | Nextra |
| ------------------- | ------------ | ----------------- |
| Static Generation | Yes | Yes |
| Cached | Yes | Yes |
| Light/Dark Mode | Yes | Yes |
| Syntax Highlighting | Yes | Yes |
| Table of Contents | Yes | Yes |
| Full-text Search | Yes | Yes |
| I18n | Yes | Yes |
| Page Icons | Yes | No |
| RSC | Yes | Pages Router Only |
| Remote Source | Yes | Not Documented |
| SEO | Via Metadata | Yes |
| Built-in Components | Yes | Yes |
| RTL Layout | No | Yes |
| Last Git Edit Time | No | Yes |
| Feature | Next Docs UI | Nextra |
| ------------------- | -------------- | ----------------- |
| Static Generation | Yes | Yes |
| Cached | Yes | Yes |
| Light/Dark Mode | Yes | Yes |
| Syntax Highlighting | Yes | Yes |
| Table of Contents | Yes | Yes |
| Full-text Search | Yes | Yes |
| I18n | Yes | Yes |
| Last Git Edit Time | Yes (Via Zeta) | Yes |
| Page Icons | Yes | No |
| RSC | Yes | Pages Router Only |
| Remote Source | Yes | Not Documented |
| SEO | Via Metadata | Yes |
| Built-in Components | Yes | Yes |
| RTL Layout | No | Yes |
59 changes: 59 additions & 0 deletions apps/docs/content/docs/ui/components/files.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
title: Files
description: Display file structure in your documentation
icon: FolderTreeIcon
---

import { File, Files } from 'next-docs-ui/components/files'
import { TypeTable } from 'next-docs-ui/components/type-table'

> it is an optional component which won't be loaded by default.
**File Structure**

<Files>
<File title="app" defaultOpen>
<File title="layout.tsx" />
<File title="page.tsx" />
<File title="global.css" />
</File>
<File title="components">
<File title="button.tsx" />
<File title="tabs.tsx" />
<File title="dialog.tsx" />
</File>
<File title="package.json" />
</Files>

## Usage

Wrap file components in `Files`.

```mdx
import { File, Files } from 'next-docs-ui/components/files'

<Files>
<File title="app" defaultOpen>
<File title="layout.tsx" />
<File title="page.tsx" />
<File title="global.css" />
</File>
<File title="components">
<File title="button.tsx" />
<File title="tabs.tsx" />
<File title="dialog.tsx" />
</File>
<File title="package.json" />
</Files>
```

<TypeTable
type={{
title: { type: 'string' },
defaultOpen: { type: 'boolean', description: 'Open folder by default' },
children: {
type: 'ReactNode',
description: 'children files of the folder, consider as file if empty'
}
}}
/>
1 change: 1 addition & 0 deletions apps/docs/content/docs/ui/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"components/card",
"components/heading",
"components/steps",
"components/files",
"components/roll-button",
"components/type-table",
"---Blocks---",
Expand Down
67 changes: 35 additions & 32 deletions apps/docs/public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,35 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://next-docs-zeta.vercel.app</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/page-tree</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/comparisons</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/images</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/internationalization</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/math</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/search</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/theme</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/components/breadcrumb</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/components/safe-link</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/components/sidebar</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/components/toc</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/contentlayer</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/contentlayer/internationalization</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/mdx/dynamic-content</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/utils/find-neighbour</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/utils/get-toc</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/utils/search</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/blocks/layout</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/blocks/nav</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/blocks/page</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/blocks/root-provider</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/commands/create-next-docs-app</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/card</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/codeblock</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/heading</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/roll-button</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/steps</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/tabs</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/type-table</loc><lastmod>2023-08-16T10:14:10.766Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/api/1</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/api/2</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/page-tree</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/comparisons</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/images</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/internationalization</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/math</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/search</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/theme</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/components/breadcrumb</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/components/safe-link</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/components/sidebar</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/components/toc</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/contentlayer</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/contentlayer/internationalization</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/mdx/dynamic-content</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/utils/find-neighbour</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/utils/get-toc</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/headless/utils/search</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/blocks/layout</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/blocks/nav</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/blocks/page</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/blocks/root-provider</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/commands/create-next-docs-app</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/card</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/codeblock</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/files</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/heading</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/roll-button</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/steps</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/tabs</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://next-docs-zeta.vercel.app/docs/ui/components/type-table</loc><lastmod>2023-08-16T12:47:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
4 changes: 2 additions & 2 deletions examples/advanced/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"next-docs-zeta": "1.6.0",
"next-docs-ui": "1.6.0",
"next-docs-zeta": "1.6.1",
"next-docs-ui": "1.6.1",
"next": "13.4.16",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions examples/simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"start": "next start"
},
"dependencies": {
"next-docs-zeta": "1.6.0",
"next-docs-ui": "1.6.0",
"next-docs-zeta": "1.6.1",
"next-docs-ui": "1.6.1",
"next": "13.4.16",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/next-docs-ui/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# next-docs-ui

## 1.6.1

### Patch Changes

- 689c75d: Create Files component
- Updated dependencies [fc6279e]
- [email protected]

## 1.6.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-docs-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-docs-ui",
"description": "The framework for building a documentation website in Next.js",
"version": "1.6.0",
"version": "1.6.1",
"homepage": "https://next-docs-zeta.vercel.app",
"author": "Money SonMooSans",
"repository": "github:SonMooSans/next-docs",
Expand Down
6 changes: 6 additions & 0 deletions packages/next-docs/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# next-docs-zeta

## 1.6.1

### Patch Changes

- fc6279e: Support get last git edit time

## 1.6.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/next-docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "next-docs-zeta",
"description": "The library for building a documentation website in Next.js",
"version": "1.6.0",
"version": "1.6.1",
"homepage": "https://next-docs-zeta.vercel.app",
"author": "Money SonMooSans",
"repository": "github:SonMooSans/next-docs",
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8f6f3c6

Please sign in to comment.