-
Notifications
You must be signed in to change notification settings - Fork 20
Sidebar proposal for docs #19
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
Conversation
Had no seen the Writing Guide... great stuff. First impression is this looks great! I will think about your questions for a few hours and give my thoughts. PS: should we use Vitepress for docs? It is using Vue 3, so we can have it in the same repo as the main lib. If we want to migrate, better now than after we get started writing. |
I wonder if we should switch the order of "passing data" to be first, then conditional rednering, then and "handling events". To me, passing data is more basic - iirc the first thing Vue introduces is:
Additionally, passing data transitions well into conditional rendering:
Also feel free to completely change/move a crash course. It's a lot of information all at once - should that come at the end of essentials? We could link to that on the intro - eg "If you are already familiar with testing, and just want to see the API, check out "a crash course". Otherwise, get started with "essentials - mounting a component" or something. I'd like to get writing so we can move to beta sooner rather than later. I think we should at least have the articles completed in essentials - although it need not be 100% perfect for beta. Can you allocate an article to me (and any notes/important info you would like to highlight)? I also think "migrating" is probably an important one. This one is quite easy to write without much discussion - if anyone is has time, feel free to jump on this one. |
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.
I like where this is going, left some thoughts (I won't say recommendations - docs and their structure is much less objective than code).
(thanks for your kind words!)
sounds good to me, too! I moved Passing Data a bit lower because I assumed it would container
That's a good idea. After reading this, I feel the Crash Course and the stuff we're outlining here have a different nature. One is a fast/happy path, and other content are "city streets". If we end up with more Tutorials, we can even have a separate section for them.
The one you feel like writing :) You've been quite involved with the development of stuff such as Async/Suspense and Shallow/Stubs, so that might make sense! I had this idea where, instead of writing a full-blown section, we could first evolve each section from a blank page -> page with headings (with a summary of content for each one) -> page with headings and code examples -> full-blown section. This way, we might see blind spots, duplicated content, inconsistencies… without having anyone invested much time in a single section. |
I agree about the crash course. We can probably use some content from there elsewhere, so I won't delete it, but I like the idea of short articles that focus on 1-2 specific concepts.
This makes sense. I like how you have left some basic ideas on each page - makes it much easier for someone to pick up an article. Let's merge this and do what you suggested... let it evolve bit by bit. |
Closes #17
This PR splits the main content into 3 sections:
disclaimer: numbers are totally made up 😂
I wrote a tiny proposal for content on each section, check out the markdown.
Also, I tried to keep Essential to its bare minimum, trying to convey the feeling that testing your components is not an advanced skill, but something really doable.
Outline
Unanswered questions
global.components
is going to be quite useful but I'm not sure where it should be mentioned.VueWrapper
/DOMWrapper
? (I'd say no, but I want to hear your thoughts).attachTo
).Any other missing bits? Something's not necessary? Things I got wrong? Better alternatives? Suggestions? :)
btw: The Writing Guide from docs-next is a great source of knowledge to reflect upon when writing docs. Also, I tried to mirror docs-next while creating and naming sections.