-
-
Notifications
You must be signed in to change notification settings - Fork 638
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add docs page to cancancan using vitepress #841
add docs page to cancancan using vitepress #841
Conversation
docs/.vitepress/config.mts
Outdated
['link', { rel: "shortcut icon", href: "/favicon.ico", type: "image/x-icon" }], | ||
], | ||
sitemap: { | ||
hostname: 'https://cancancan.com' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
assuming this will be the domain
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or maybe cancancan.dev is better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will not only boost the SEO but also helps the user when he searches something on any page since it now gets indexed by google and so
5dd73ec
to
372c544
Compare
docs/introduction.md
Outdated
const members = [ | ||
{ | ||
avatar: 'https://avatars.githubusercontent.com/u/1319150', | ||
name: 'Alessandro Rodi', | ||
title: 'Maintainer', | ||
links: [ | ||
{ icon: 'github', link: 'https://github.com/coorasse' }, | ||
{ icon: 'twitter', link: 'https://twitter.com/coorasse' } | ||
] | ||
}, | ||
] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This work is AMAZING! Thank you @pandermatt. I'll buy cancancan.dev :) |
I think cancancan could benefit a docs page using vitepress.
VitePress https://vitepress.dev is already used by many others and it allows user to create fast docs page.
You can see a preview at: https://cancancan.pages.dev (i will remove this project so you can claim this name)
for the best experience, the page should be hosted on Cloudflare pages (which is free)