Skip to content

Commit

Permalink
docs: move to vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
fratzinger committed Mar 27, 2023
1 parent b8debe9 commit 8d98788
Show file tree
Hide file tree
Showing 11 changed files with 7,146 additions and 10,074 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,4 +121,5 @@ $RECYCLE.BIN/
.cache
.temp
docs/.vitepress/dist
docs/.vuepress/dist
docs/.vuepress/dist
docs/.vitepress/cache
45 changes: 45 additions & 0 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import { defineConfig } from "vitepress";

export default {
title: 'feathers-trigger',
description: 'Add triggers and actions to your feathers app.',
head: [['link', { rel: 'icon', href: '/favicon.ico' }]],
themeConfig: {
logo: '/img/logo.svg',
editLink: { pattern: 'https://github.com/fratzinger/feathers-trigger/edit/main/docs/:path', text: 'Edit this page on GitHub' },
lastUpdatedText: 'Last Updated',
socialLinks: [
{
icon: "twitter",
link: "https://twitter.com/feathersjs",
},
{
icon: "discord",
link: "https://discord.gg/qa8kez8QBx",
},
{ icon: 'github', link: 'https://github.com/fratzinger/feathers-trigger' }
],
nav: [

{
text: 'Ecosystem',
items: [
{
text: 'www.feathersjs.com',
link: 'https://feathersjs.com/'
}, {
text: "Feathers Github Repo",
link: "https://github.com/feathersjs/feathers"
}, {
text: 'Awesome Feathersjs',
link: 'https://github.com/feathersjs/awesome-feathersjs'
}
]
}
],
footer: {
message: 'Released under the MIT License.',
copyright: 'Copyright © 2021-present Frederik Schmatz'
},
}
}
5 changes: 5 additions & 0 deletions docs/.vitepress/theme/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
:root {
--vp-c-brand: #747c7c;
--vp-c-brand-light: #838d8d;
--vp-button-brand-hover-bg: #6e7373;
}
6 changes: 6 additions & 0 deletions docs/.vitepress/theme/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import DefaultTheme from 'vitepress/theme'
import './index.css'

export default {
...DefaultTheme
}
36 changes: 0 additions & 36 deletions docs/.vuepress/config.ts

This file was deleted.

181 changes: 0 additions & 181 deletions docs/.vuepress/styles/index.scss

This file was deleted.

32 changes: 23 additions & 9 deletions docs/index.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,31 @@
---
home: true
heroImage: /img/logo.svg
heroText: feathers-trigger
actions:
- text: Get Started
link: ./getting-started
type: primary
layout: home

hero:
name: feathers-trigger
image:
src: /img/logo.svg
alt: feathers-trigger
actions:
- theme: brand
text: Get Started
link: /getting-started
- theme: alt
text: View on GitHub
link: https://github.com/fratzinger/feathers-trigger

features:
- title: Detect changes
details: Know what exactly was changed and when it was changed
- title: Dynamic subscriptions
details: Fire actions based on complex conditions
- title: Changelog
details: Keep track of changes
footer: MIT Licensed | Copyright © 2021-present | Frederik Schmatz
---
---

<style>
.VPImage.image-src {
width: 250px;
height: 250px;
}
</style>
File renamed without changes.
File renamed without changes
Loading

0 comments on commit 8d98788

Please sign in to comment.