Skip to content
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

Merged
merged 15 commits into from
May 23, 2024

Conversation

pandermatt
Copy link
Contributor

@pandermatt pandermatt commented Mar 15, 2024

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)

['link', { rel: "shortcut icon", href: "/favicon.ico", type: "image/x-icon" }],
],
sitemap: {
hostname: 'https://cancancan.com'
Copy link
Contributor Author

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

Copy link
Contributor Author

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?

Copy link
Contributor Author

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

Comment on lines 36 to 46
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' }
]
},
]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@coorasse
Copy link
Member

This work is AMAZING! Thank you @pandermatt. I'll buy cancancan.dev :)

@coorasse coorasse merged commit 933e634 into CanCanCommunity:develop May 23, 2024
4 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants