feat(docs): add loaders and plugins index pages#153
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
also one thing - the API links use a hardcoded v5.x (same as the footer already does), so they're consistent for now. but after webpack 6 lands, these will need a quick find-n-replace, or better will be , a /docs/api/latest alias so we don't have to keep updating them every major version |
Can you add them to those links? |
|
Sure, will be adding those. |
|
Sorry for the delay , i added those plugins and loaders pointing to the index , but there are some plugins like SplitChunksPlugin, DefinePlugin, etc but they exist as the output of the typedoc pipeline , the old anchors wouldnt resolve here if i point to the api pages , so what we should do here ? aany suggestions or should we point it to the API pages |
| @@ -0,0 +1,60 @@ | |||
| --- | |||
| authors: simon04,bajras,rhys-vdw,EugeneHlushko,hemal7735,snitin315,anshumanv,jamesgeorge007,chenxsan | |||
| source: https://github.com/webpack/webpack-doc-kit/blob/main/pages/docs/loaders/index.md | |||
There was a problem hiding this comment.
| source: https://github.com/webpack/webpack-doc-kit/blob/main/pages/docs/loaders/index.md |
We should set the default source to this repo so pages in this repo don't need a source
There was a problem hiding this comment.
Got it , just seen the fallback path to this repo , so dropping the source from it
This adds the loaders and plugins index pages, so
/docs/loadersand/docs/pluginsfinally point to real landing pages instead of dead links (the footer already linked to them). I copied the content over from webpack.js.org and fixed up the links: our own loaders/plugins point to their local pages, built-in plugins point to their API docs, and the third-party ones keep their npm/GitHub links.This also unblocks the
#TODO[/loaders]and#TODO[/plugins]markers in the guides from #147, since they now have somewhere to go.