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 Feb 15, 2021
1 parent 332bf34 commit 1826f42
Show file tree
Hide file tree
Showing 14 changed files with 1,344 additions and 1,442 deletions.
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ node_modules
coverage
dist
sw.*
.env
7 changes: 2 additions & 5 deletions docs/content/en/index.md → docs/content/en/1.index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
---
title: Introduction
description: 'HTTP module for Nuxt.js provides a universal way to make HTTP requests to the API backend.'
position: 1
category: ''
features:
- The fluent ky API has been extended with enhancements and shortcuts
Expand All @@ -11,8 +10,8 @@ features:
- Easy proxy support to avoid CORS problems and making deployment easier
---

<img src="/preview.png" class="light-img shadow rounded-md hover:shadow-lg transition-shadow duration-200" />
<img src="/preview-dark.png" class="dark-img shadow rounded-md hover:shadow-lg transition-shadow duration-200" />
<img src="/preview.png" class="transition-shadow duration-200 rounded-md shadow light-img hover:shadow-lg" />
<img src="/preview-dark.png" class="transition-shadow duration-200 rounded-md shadow dark-img hover:shadow-lg" />

The HTTP module for [Nuxt](https://nuxtjs.org) provides a universal way to make HTTP requests to any API.

Expand All @@ -26,8 +25,6 @@ Starting from [v2.5.0](https://github.com/nuxt/nuxt.js/releases/tag/v2.5.0), Nux

<list :items="features"></list>

<p class="flex items-center">Enjoy a documentation with light and dark mode:&nbsp;<app-color-switcher class="p-2"></app-color-switcher></p>

## Links

* [ky](https://github.com/sindresorhus/ky)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
7 changes: 6 additions & 1 deletion docs/nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import { withDocus } from 'docus'

export default withDocus({})
export default withDocus({
buildModules: ['vue-plausible'],
plausible: {
domain: 'http.nuxtjs.org'
}
})
7 changes: 5 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
"generate": "nuxt generate"
},
"dependencies": {
"docus": "^0.0.4",
"nuxt": "^2.14.12"
"docus": "^0.0.8",
"nuxt": "^2.15.0"
},
"devDependencies": {
"vue-plausible": "^1.1.2"
}
}
2,764 changes: 1,330 additions & 1,434 deletions docs/yarn.lock

Large diffs are not rendered by default.

0 comments on commit 1826f42

Please sign in to comment.