singerdmx / flutter-quill

Rich text editor for Flutter
https://pub.dev/packages/flutter_quill
MIT License
2.54k stars 816 forks source link

Support for docs website #2296

Open EchoEllet opened 1 day ago

EchoEllet commented 1 day ago

Currently, one of the things that need to be improved in this project is the documentation, in this issue we're mainly talking about the usage docs and not internal docs, providing docs in Dart doc comment is essential however users are often prefer to have something that they can search in search engine. A fast solution that makes navigating between pages and sections easier without going to the doc directory or us having to provide links and manage them manually, also search functionality is essential.

The doc directory and the README.md also might also some details and usage docs, currently our first priority is to document the internal code itself to make it more readable and understandable with clear labels without hardcoding things. We do have a lot of questions about the code itself and there are many answers to each questions, we're not sure since we can easily introduce a regression.

We do need the following to provide for the users:

We have many options:

Note that we should focus on the project itself to prioritize critical issues and not build our own front-end solution from scratch since that's not the point of this issue.

EchoEllet commented 1 day ago

@CatHood0 I remember you mentioned that we should consider alternatives other than GitBook because we can only have one maintainer to manage it, maybe we could consider using GitBook once again even if this is not a feature, if it's compatible with our existing Markdown files and doesn't require any changes special to their platform, we can use other solution at any time.

CatHood0 commented 1 day ago

@EchoEllet I will admit that GitBook is not bad. It is easy to use and doing anything quickly requires very little time, in addition to making Markdown convertion directly into the format that they use in the GitBook documents. I don't like that you can only invite other maintainers if you pay, but I can't fault it either.

I can restore the entire page I created in GitBook again. I have no problem with them.

I will leave the decision to you. If we should use it for now, I will restore the changes and add the missing documentation to the page.

EchoEllet commented 17 hours ago

This is currently not a critical issue, so we can delay it if you want.

As long as it doesn't require maintenance, doesn't require any changes to the repo or require having any data on their service website, and it can sync the data we have here, then we should good to go.

Also, we should not heavily depend on it, so we don't use links as reference in the code from the docs website from them, so we can migrate smoothly later.

My question is, does it fully manage everything and sync it from the dco directory, or does it require some changes and adjustments to fit some need? The last time I used it, the result looked slightly different from yours. Did you change some things manually? If yes, then we need to know what we might need to change manually so we can decide if we should use it or find another alternative.