-
Notifications
You must be signed in to change notification settings - Fork 155
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
Design System Documentation is not up to date #10233
Comments
Some more technical info: building the docs stopped working after the upgrade to Vue 3. It's probably a good start to check if both |
It would be wonderful to have an actual version. I use the docs quite often. Big kudos if this works again. |
Styleguidist seems to support Vue 3 but the vue-style-loader does not seem to do the same. It seems there is e.g. mini-css-extract-plugin that might be used instead. |
I did research whether styleguidist would still be the right fit and compared it to other solutions: StyleguidistPros:
Cons:
StorybookPros:
Cons:
HistoirePros:
Cons:
Full-Blown Design Docs ProjectPros:
Cons:
RecommendationVue Styleguidist appears to be the most suitable choice. It supports Vue 3, requires relatively fewer adjustments, and allows the team to stay consistent with the existing development approach. However, if the team is open to investing more effort for a more comprehensive solution with a playground, the full-blown design docs project (e.g. like Vuetify) could be considered, especially if the benefits align with long-term goals. |
vue-styleguidist/vue-styleguidist#1363 (comment) Could this be of any use? I'm not keen on keeping webpack around to be honest, but if it's the most reasonable approach (idk), I would really like to see at least a few e2e Tests, so we can confidently accept renovatebot PRs to the ODS |
Thank you for the research @LukasHirt - I share your recommendation. We played around with and even started to switch to Storybook roughly 2 years ago in the design system repo. The efforts turned out to be too much, compared to the value it brings us. The current approach with Since you came to the conclusion that making it work again should be possible, let's try that. It is the right choice with the current requirements. |
This approach would basically tie into the "Full-Blown Design Docs Project". The automatic docs we have generated now (not only the props, slots, etc. but the whole site) is generated thanks to the styleguidist which supports only webpack. If we go with vite (e.g. with vitepress as seen in the comment you posted), we would need to handle the docs ourselves. We can of course utilise the vue-live as mentioned and props and slots docs could still be extracted via the docgen api but the rest would be up to us to maintain (you can see this mentioned in comment above the one you posted). |
I don't insist on getting rid of webpack... The other part of my comment was more relevant imho: we need e2e tests for the docs |
Docs are now in state where they can be built and have E2E tests. If I should look also into publishing, I would probably need someone more familiar with the current release process to pair with or delegate the task. |
Describe the bug
The design system documentation living at https://owncloud.design is not up to date. It is still the old content published from releases of https://github.com/owncloud/owncloud-design-system
Expected behavior
@ownclouders/design-system
(whelp... that artifact doesn't exist yet, either).Actual behavior
The text was updated successfully, but these errors were encountered: