Skip to content

Commit

Permalink
chore: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anteriovieira committed Feb 22, 2023
1 parent 0dd6382 commit f16e9e2
Show file tree
Hide file tree
Showing 5 changed files with 2,343 additions and 19 deletions.
10 changes: 5 additions & 5 deletions docs/.vitepress/cache/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"hash": "6f91e173",
"browserHash": "c9f9a0ba",
"hash": "5473abfd",
"browserHash": "3814496e",
"optimized": {
"vue": {
"src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
"file": "vue.js",
"fileHash": "51f94aba",
"fileHash": "8bc2bba5",
"needsInterop": false
},
"floating-vue": {
"src": "../../../../node_modules/floating-vue/dist/floating-vue.es.js",
"file": "floating-vue.js",
"fileHash": "0a8a6083",
"fileHash": "c664fe7f",
"needsInterop": false
},
"@iconify/vue": {
"src": "../../../../node_modules/@iconify/vue/dist/iconify.mjs",
"file": "@iconify_vue.js",
"fileHash": "4f2ba280",
"fileHash": "e61f9bb4",
"needsInterop": false
}
},
Expand Down
7 changes: 5 additions & 2 deletions docs/.vitepress/config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import { defineConfig } from 'vitepress'
import { withPwa } from '@vite-pwa/vitepress'

const guidesNav = [
{
text: 'Essentials',
Expand Down Expand Up @@ -139,7 +142,7 @@ const versionsNav = [
}
]

module.exports = {
module.exports = withPwa(defineConfig({
title: 'Laravel Auditing',
description: 'Laravel Auditing allows you to record changes to an Eloquent model\'s set of data by simply adding its trait to your model.',

Expand Down Expand Up @@ -244,4 +247,4 @@ module.exports = {
indexName: 'prod_laravel_auditing',
},
},
}
}))
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,8 @@
[build]
publish = "docs/.vitepress/dist"
command = "yarn && yarn docs:build"

[[redirects]]
from = "/*"
to = "/index.html"
status = 200
12 changes: 8 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,20 @@
"docs:preview": "vitepress preview docs"
},
"devDependencies": {
"autoprefixer": "^10.4.13",
"postcss-import": "^15.1.0",
"vitepress": "^1.0.0-alpha.47",
"@iconify/vue": "^4.1.0",
"autoprefixer": "^10.4.13",
"floating-vue": "^2.0.0-beta.20",
"tailwindcss": "^3.2.7",
"postcss": "^8.4.21",
"postcss-import": "^15.1.0",
"tailwindcss": "^3.2.7",
"vite-plugin-pwa": "^0.14.4",
"vitepress": "^1.0.0-alpha.47",
"vue": "^3.2.47"
},
"engines": {
"node": ">14.5.0"
},
"dependencies": {
"@vite-pwa/vitepress": "^0.0.5"
}
}
Loading

0 comments on commit f16e9e2

Please sign in to comment.