Skip to content

Commit

Permalink
docs: move to docus
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Jan 19, 2021
1 parent f5022b7 commit b193d5e
Show file tree
Hide file tree
Showing 9 changed files with 683 additions and 196 deletions.
2 changes: 1 addition & 1 deletion docs/content/en/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Introduction
description: 'Add Tailwind CSS to your Nuxt application in seconds.'
position: 1
category: ''
category: 'Getting started'
categoryPosition: 1
---

Expand Down
5 changes: 2 additions & 3 deletions docs/content/en/options.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
title: Options
description: 'You can configure the module easily with the tailwindcss property.'
position: 5
category: Guide
categoryPosition: 2
position: 3
category: Getting started
---

You can configure the module by using the `tailwindcss` property in the `nuxt.config.js`:
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
title: Setup
description: 'Using TailwindCSS in your Nuxt project is only one command away'
position: 2
category: Guide
category: Getting started
---

Using TailwindCSS in your Nuxt project is only one command away ✨
Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/tailwind-config.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Tailwind Config
description: 'You can configure the integration easily with the storybook property.'
position: 3
position: 4
category: Guide
---

Expand Down
2 changes: 1 addition & 1 deletion docs/content/en/tailwind-viewer.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Tailwind Viewer
description: 'Visualize your Tailwind configuration with the viewer.'
position: 4
position: 5
category: Guide
categoryPosition: 2
---
Expand Down
10 changes: 7 additions & 3 deletions docs/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import theme from '@nuxt/content-theme-docs'
import { withDocus } from 'docus'

export default theme({
export default withDocus({
env: {
GITHUB_TOKEN: process.env.GITHUB_TOKEN
},
loading: { color: '#38b2ac' },
docus: {
colors: {
primary: '#38b2ac'
}
},
buildModules: [
// https://github.com/bdrtsky/nuxt-ackee
'nuxt-ackee'
Expand Down
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"license": "MIT",
"homepage": "https://tailwindcss.nuxtjs.org",
"dependencies": {
"@nuxt/content-theme-docs": "^0.8.2",
"docus": "^0.0.4",
"nuxt": "^2.14.12"
},
"devDependencies": {
Expand Down
19 changes: 0 additions & 19 deletions docs/tailwind.config.js

This file was deleted.

Loading

0 comments on commit b193d5e

Please sign in to comment.