Skip to content

docs: create vitepress site #813

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

Closed
wants to merge 0 commits into from
Closed

docs: create vitepress site #813

wants to merge 0 commits into from

Conversation

Lehoczky
Copy link
Contributor

@Lehoczky Lehoczky commented Jun 7, 2023

Resolves #809

What has been done:

  • initialized vitepress with basic settings
  • enabled local search functionality
  • current version is read from the package.json and show in the navbar
  • created a table component which shows every rule and whether they are in the recommended config by reading src/configs/recommended.ts
  • markdown files in the docs/rules folder are automatically added to the sidebar with getRulesForSideBar() function (vitepress can't do this automatically, see Auto-sidebar mode vuejs/vitepress#1737)
  • reorganized rule specific docs:

TODO:

  • because I don't know where the site will be deployed, I added a TODO comment where we need to add the URL later
  • github action to automatically deploy the site when there is a change in the docs folder or in src/configs/recommended.ts

Screens:

image
image
image
image

@vhoyer
Copy link
Collaborator

vhoyer commented Jul 14, 2023

maybe we can use https://vue-a11y.github.io/eslint-plugin-vuejs-accessibility/, as in using Github Pages

@vhoyer
Copy link
Collaborator

vhoyer commented Jul 14, 2023

other than that, great work, and sorry for the late reply, had a lot on my plate recently

@vhoyer
Copy link
Collaborator

vhoyer commented Jul 14, 2023

if you can configure the github action to deploy to the docs branch, it would be great, if not, just let me know

@Lehoczky Lehoczky closed this Jul 16, 2023
@Lehoczky
Copy link
Contributor Author

other than that, great work, and sorry for the late reply, had a lot on my plate recently

Aww Thank you, and no worries<3

@Lehoczky
Copy link
Contributor Author

Lehoczky commented Jul 16, 2023

I didn't mean to close this, just synced my fork with the main branch and this got closed automatically 😅

I've created a new PR: #848

@Lehoczky
Copy link
Contributor Author

if you can configure the github action to deploy to the docs branch, it would be great, if not, just let me know

Done 👍

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.

Documentation website
2 participants