Skip to content

Module API - #1209

Merged
skipjack merged 4 commits into
masterfrom
module-api
May 17, 2017
Merged

skipjack merged 4 commits into
masterfrom
module-api

Conversation

@skipjack

@skipjack skipjack commented May 13, 2017 •

Copy link
Copy Markdown
Contributor

Port module api page from old docs.

Took the content from https://webpack.github.io/docs/api-in-modules.html and
started re-organizing it. This is still a work in progress.

Fixes #1099 and adds a significant bit of missing documentation.

@skipjack
skipjack requested review from bebraw and simon04 May 13, 2017 04:21
@skipjack

skipjack commented May 13, 2017 •

Copy link
Copy Markdown
Contributor Author

@simon04 @bebraw this is still a first draft, but I'm interested in your thoughts on the structure which I changed a bit from the original page in the old docs. I think it will read better this way as most things are now grouped by style usage.

@bebraw bebraw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good start. Not a lot to go till it can be merged.

@skipjack skipjack added the API label May 13, 2017
@skipjack

Copy link
Copy Markdown
Contributor Author

@bebraw @simon04 I think this is good to go... can one of you give it another quick skim before I merge? I tried to simplify some of the examples and clean up some of the grammar in the descriptions.

Comment thread content/api/module.md



## Webpack

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it make sense to split here and push webpack specifics to another article? It's quite long otherwise.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think maybe it would make more sense to split at the ## Module Variables section? Until we have that a nicer page grouping (#438) maybe something like module-api-methods.md and module-api-variables.md?

@skipjack skipjack May 16, 2017 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Idk I guess it could work to split out webpack specific functionality sections separate, I just think it may be odd having to jump around the two articles to see all module variables (methods would probably be ok as people would most likely choose one method and stick with it).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variables is a good split, yeah.

@skipjack
skipjack merged commit 6b752f7 into master May 17, 2017
@skipjack
skipjack deleted the module-api branch May 17, 2017 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants