React-beautiful-dnd: No Documention

Created on 1 Sep 2020  路  8Comments  路  Source: atlassian/react-beautiful-dnd

How about adding documentation for react-beautiful-dnd? Storybook is not a documentation and it has 0 lines of code examples.

idea 馃 untriaged

Most helpful comment

There's a fair bit of documentation already in the README. You can also browse the files here: https://github.com/atlassian/react-beautiful-dnd/tree/master/docs

There's also a full getting started video course linked from the README: https://egghead.io/courses/beautiful-and-accessible-drag-and-drop-with-react-beautiful-dnd

As a developer I've personally found these largely sufficient for all my needs!

I don't think this is enough for a library that popular. People want real docs where they can copy code from the examples and paste it in their projects. Digging the code samples out of the GitHub repo is not a solution, finding the storybook and the components, then find out where the import is coming from is not how we should do it in 2020.

All 8 comments

I agree. I actually just released a tutorial on basic minimal multi-column drag and drop. Repo & Blog

I'd be happy to reformat and reorganize it as needed and submit a PR here if the maintainer chimes in.

There's a fair bit of documentation already in the README. You can also browse the files here: https://github.com/atlassian/react-beautiful-dnd/tree/master/docs

There's also a full getting started video course linked from the README: https://egghead.io/courses/beautiful-and-accessible-drag-and-drop-with-react-beautiful-dnd

As a developer I've personally found these largely sufficient for all my needs!

I recommend drop https://github.com/docsifyjs/docsify/ in. This creates a doc page with a sidebar with headers auto populated based on headings in the markdown files.

There's a fair bit of documentation already in the README. You can also browse the files here: https://github.com/atlassian/react-beautiful-dnd/tree/master/docs

There's also a full getting started video course linked from the README: https://egghead.io/courses/beautiful-and-accessible-drag-and-drop-with-react-beautiful-dnd

As a developer I've personally found these largely sufficient for all my needs!

I don't think this is enough for a library that popular. People want real docs where they can copy code from the examples and paste it in their projects. Digging the code samples out of the GitHub repo is not a solution, finding the storybook and the components, then find out where the import is coming from is not how we should do it in 2020.

I personally do not consider it "digging in the repo" if you can find it all in the README. https://github.com/atlassian/react-beautiful-dnd#documentation- Using GitHub README's as documentation, while not my personal favorite approach to docs, is perfectly valid and in wide use in libraries. There are plenty of code samples to copy and paste from there and if you need more, Storybook is code and is in the codebase.

2020-09-08 08 21 02

You are right though! There's a lot of different formats for documentation that might be a better fit! Would love to see what you can come up with.

I personally do not consider it "digging in the repo" if you can find it all in the README. https://github.com/atlassian/react-beautiful-dnd#documentation- Using GitHub README's as documentation, while not my personal favorite approach to docs, is perfectly valid and in wide use in libraries. There are plenty of code samples to copy and paste from there and if you need more, Storybook is code and is in the codebase.

2020-09-08 08 21 02

You are right though! There's a lot of different formats for documentation that might be a better fit! Would love to see what you can come up with.

I disagree that it is enough

Super excited to see what you come up with!

I am for this鈥攁 more standard set of API docs that aren't guides would be really helpful, especially because to really grok how everything works together, ones needs to have many of the guides open at once and cross-reference. Having a direct component reference with all of the inputs and outputs would make it easier to jump in and experiment.

Was this page helpful?
0 / 5 - 0 ratings