web-infra-dev / rspress

🦀💨 A fast Rspack-based static site generator.
https://rspress.dev
MIT License
1.24k stars 111 forks source link

Rspress Roadmap #133

Open sanyuan0704 opened 10 months ago

sanyuan0704 commented 10 months ago

💡 We will update the Roadmap content every quarter. Please stay tuned.

Tasks

- [ ] https://github.com/web-infra-dev/rspress/issues/231
- [ ] Improve the project cold start performance.
- [ ] https://github.com/web-infra-dev/rspress/issues/120
- [ ] https://github.com/web-infra-dev/rspress/issues/24
- [ ] Support Badge component in toc
- [x] Allow to configure prism languages in code highlight part
- [x] Support Katex syntax
- [x] Support mermaid plugin in mdx compilation.
- [ ] Support more theme, such as blog theme, etc.
- [x] Provide back-top plugin to add a back to top effect to the page.
- [x] Provide google-analytics plugin to integrate Google Analytics into your site to collect site visit data.
- [x] Provide sitemap plugin to generate sitemap file in build phase.
- [x] Provide client-redirect to support route redirect in client runtime.
- [ ] Generate API Table for react components automatically.
- [ ] https://github.com/web-infra-dev/rspress/issues/201
- [ ] https://github.com/web-infra-dev/rspress/issues/198
- [x] Scan the code languages in md(x) files automatically
jeffwcx commented 9 months ago

Are there any plans to add component display features, similar to storybooks?

sanyuan0704 commented 9 months ago

Are there any plans to add component display features, similar to storybooks?

Yeah, Rspress has official preview and playground plugin for component development scene.

https://rspress.dev/plugin/official-plugins/preview https://rspress.dev/plugin/official-plugins/playground

And if you have any need else, welcome to feedback.

jeffwcx commented 9 months ago

I have installed and experienced the writing of the demo. It is very fast and the experience is very good, but there are still some points that can be enhanced.

  1. Lack of CodeSandbox, Stackblitz, CodePen support.
  2. Only supports react component. It is recommended to support cross-framework component display capabilities, such as Vue components.
  3. The ability to extract information from react/vue components and generate API tables
sanyuan0704 commented 9 months ago

I have installed and experienced the writing of the demo. It is very fast and the experience is very good, but there are still some points that can be enhanced.

  1. Lack of CodeSandbox, Stackblitz, CodePen support.
  2. Only supports react component. It is recommended to support cross-framework component display capabilities, such as Vue components.
  3. The ability to extract information from react/vue components and generate API tables

Good advice! I will response to the three points:

  1. The implement of component display in Rspress does not depend on any external sandbox such as CodeSandbox,Stackblitz, etc. But we will also support the link to jump to the corresponding platform in the future. cc @10Derozan
  2. The custom component render process is based on React as well as components in the theme.So we have no plan to support vue component in preview/playground plugin.
  3. The ability is under construction and we have integrated react-docgen-typescript and documentation to generate API Table automatically.Stay tuned!
jeffwcx commented 9 months ago

For the second point, maybe you can run instances of other frameworks in the react framework. Storybook also uses this pattern. Maybe I can make a PR later; For the third point, it would be better to have an interface to connect to other frameworks.

zoolsher commented 9 months ago

@jeffwcx Having cross-framework support as a feature in the framework would be fantastic! looking forward to your PR

Yukiniro commented 7 months ago

Hey guys, what should I do if I want to contribute something such as the badge component for the roadmap?

sanyuan0704 commented 6 months ago

542

sanyuan0704 commented 6 months ago

Hey guys, what should I do if I want to contribute something such as the badge component for the roadmap?

@Yukiniro You can first put a issue and link the roadmap. Then you can implement it by pull request and we will review your code as soon as possible.

iicdii commented 3 months ago

Provide google-analytics plugin to integrate Google Analytics into your site to collect site visit data.

Isn't it already available with rsbuild-plugin-google-analytics?

chenjiahan commented 3 months ago

Isn't it already available with rsbuild-plugin-google-analytics?

Thanks, we have updated the roadmap status.