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

API Docs Standardisation #124

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sustained
Copy link

Rendered

This RFC relates to the inconsistencies/lack of cohesion between the different VuePress-based API docs for Vue, Vuex, Vue Router, Vue CLI etc.

@yyx990803
Copy link
Member

This is definitely a good area for improvement (especially as we are reworking the core docs for v3).

We will most likely explore generating API references automatically from TS typings (we can already generate api.json files using api-extractor for vue-next). Once we find that working well we can apply that workflow to sub projects as well.

@sustained
Copy link
Author

Thanks for the response.

That sounds promising, I will definitely have to take a closer look at this "api-extractor" and the JSON it generates for vue-next. Just to clarify, you are referring to this Microsoft tool, yes?

@yyx990803
Copy link
Member

@sustained yes, vue-next uses it to rollup types and extract API metadata.

@CyberAP
Copy link
Contributor

CyberAP commented Jan 29, 2020

@yyx990803 I think people would also appreciate if Vue 3 docs had examples written both in JS and TS, where you could toggle between those two.

@yyx990803
Copy link
Member

@CyberAP TS code and JS code will look almost the same as most of the APIs provide decent inference.

@yyx990803 yyx990803 added the docs label Jun 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants