-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[Documentation] A website with Detailed Documentation #1921
Comments
https://pub.dev/documentation/dio/latest/ should be enough? |
Well, having enough is a good starting point, but let's take to the next level. Picture a complete website contains abundance of examples and explanations like how to use |
The idea is good, though we don't have enough resources to implement such improvements. Any PRs are welcome for the idea. |
According to dartdocs documentation, we can include Markdown files in the generated docs. See https://pub.dev/packages/dartdoc#advanced-features. I guess that would be a good starting point. Edit: I played around with this, but it doesn't actually works the way I imagined. Edit3: go router does it. See for example https://pub.dev/documentation/go_router/latest/topics/Get%20started-topic.html |
I guess it will be great it's an amazing effort from you @ueman 🙏 |
This adds doc pages to the existing API docs. This is similar to the approach of the docs of GoRouter, see for example the following page: https://pub.dev/documentation/go_router/latest/topics/Get%20started-topic.html This works by making use of categories (also called topics). See dartdoc explanation at https://pub.dev/packages/dartdoc#advanced-features ### How to test this Execute `dart doc` in the dio folder. This creates the docs. When opening the index.html, you should see the newly added migration page in the API docs. ### Further stops I'll try to migrate further documentation to, but further I'd like some feedback. ### New Pull Request Checklist - [x] I have read the [Documentation](https://pub.dev/documentation/dio/latest/) - [x] I have searched for a similar pull request in the [project](https://github.com/cfug/dio/pulls) and found none - [x] I have updated this branch with the latest `main` branch to avoid conflicts (via merge from master or rebase) - [ ] I have added the required tests to prove the fix/feature I'm adding - [x] I have updated the documentation (if necessary) - [x] I have run the tests without failures - [ ] I have updated the `CHANGELOG.md` in the corresponding package ### Additional context and info (if any) <!-- Provide more context and info about the PR. --> Fixes #1921
Request Statement
Kindly provide a full Dio documentation page with simple explanations, usage examples, and API references. Dio's acceptance and popularity in the community will be powered by a user-friendly interface that will make it easy for developers to obtain the required information.
Solution Brainstorm
No response
The text was updated successfully, but these errors were encountered: