-
Notifications
You must be signed in to change notification settings - Fork 594
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
rfc: vNext documentation #6527
Comments
I'd also like to add a "Tutorials" section. I think that probably has to come after we get the basic content in place though. |
I think the stackblitz templates I've been working on would fit somewhere in the Code Examples/Tutorials area. They may need their own home however since they are bigger than what you describe the code examples to be but not exactly a full blown tutorial either. They're more so meant for someone to quickly clone and have an environment already setup where they can play with a specific feature set of FAST and try things out. |
Yay, I am excited for vNext documentation @EisenbergEffect . Looks great at first glance. I like the expansion of the "Creating Design Systems" section and the documentation being geared toward those new to FAST. |
Looks great. I‘d love to see the addition of a DX section on „How to best setup VSCode for FAST Development“. |
Answer to myself: Still, this doesn't give me "jump to definition" or Emmet-style expansion in CSS, but it's okay for starters ;-) |
Update: nevermind, I see it is at https://www.fast.design/docs/introduction/ ... |
We are taking this issue and subsequent feedback into consideration for the launch of v2 |
💬 RFC
In preparation for vNext releases, we need to make many updates, additions, and improvements to our documentation. This RFC attempts to gather that plan into a single place. This RFC does not cover the site home page, which also needs updates. It only covers our documentation.
Organization
At present, our documentation is scattered across the repo, with each package having a sub
docs
folder. Initially, our reasons for doing this were:Some things have changed in the last few years though.
Proposal
I’d like to move all the documentation to a root
docs
folder in the FAST monorepo. I believe this will make the documentation more discoverable and easier to map from the site to the repo. We should also be able to simplify our docs build process by centrally locating the content.Content
The current docs need organizational and content improvement, especially considering the new approach vNext proposes for design systems and the breadth of new features and capabilities that are now available.
ToC Proposal
I’d like to propose the following Table of Content for our v2 documentation:
We need to keep most of the content we already have, but update it in various places. In addition to that, there’s a lot of new content we need to add. Below is an explanation of a few of the new areas.
Building Components (Advanced)
We need to document more of the customization points that are specific to FAST. However, we don’t want this intermingled with the basic
fast-element
content, as I think that would be off-putting to new community members and overwhelming. I’m proposing that we nest that in an “Advanced” section which we can point out in the “Next Steps” section of the existing documents. We need this content but don’t want folks to feel obligated to read it until they need to.Creating Design Systems
With our new emphasis on the FAST CLI and the rapid creation of design systems, I think we need to re-write all the content in our design systems and components sections. We should approach this from the perspective of someone new to FAST who wants to rapidly stand up a design system and then customize it. Here’s a bit more detail on what I think the new pages should cover:
Scaling Apps and Experiences
We have an equivalent section for this today but there’s very little content. We need to expand this section with additional content based on the common questions and scenarios that people have when they start building larger experiences with Web Components. This should also be a good place to educate folks on new W3C protocols, which are important for interop in larger systems.
Server-side Rendering
We should have a top-level section for SSR so that it’s clear that we support this capability. There is enough content to fill out several pages. Nick has written some of this content already. It probably just needs to be re-organized, extended, and moved here.
Code Examples
This is a completely new section which I would like to see focused on copy/paste code. No long narratives to read. Just example titles, with one or two sentences describing the scenario, then a block of code that can be copied and dropped directly into a project. We should organize this by groups of examples, such as: templating, design tokens, architecture, etc.
Interactivity
We should have more example code throughout and we should have examples running inline via some sort of sandbox experience. This is especially important for the foundation components and design tokens.
The text was updated successfully, but these errors were encountered: