-
-
Notifications
You must be signed in to change notification settings - Fork 516
feat: Update Dart, Flutter API links and improve document structure #931
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
feat: Update Dart, Flutter API links and improve document structure #931
Conversation
I've added docs publishing to the Flutter SDK; the paths are:
These are the roots of the generated docs, but since we don't need to land on the README, I'd suggest to link directly to the API docs:
Also, there's still a minor issue with the product logo not resizing in the README to HTML conversion, so another reason to link directly to the API docs: |
Regarding the logo, we will solve the problem in Repastory Flutter. In this issue, we can use your links. Added |
What is the purpose of this extra page? I don't think a page with just 2 links is needed as our current structure throughout the website is to look at them as 2 separate SDKs. In addition, if the Flutter SDK docs include the Dart SDK classes as you mentioned previously, this page makes even less sense I think? |
It makes sense from this point of view but what do you suggest to link only the Flutter version? Or should we add two versions of Dart to the document? |
See this page The idea of the What do you think? |
What are these 10% difference? Is that within 1 section or scattered across the docs? I should note that we are thinking about combining the docs into a single document. Then in every section there will be tabs to switch between languages / SDKs for the code examples. There is too much duplicate content across the SDKs. But that is a separate, more complex effort. I just say this because it may make the current solution obsolete, so that we don't over-complicate things. |
I said about 90 percent. The difference that may be in the documents is the path of the library that is in the getting-started.md To be precise, maybe 99% are similar! If we want to put everything in single document, I think the best way is to use |
You say 99% are similar, so there's only 1% difference, that is content that is in the Flutter docs but not in the Dart docs? Could you point out what this 1% is specifically? It may be reasonable to combine the documentation for both into one and not distinguish between the two SDKs on a high level. |
This 1% is related to Dart and Flutter package url which is at the beginning of the |
The package URL is the only docs difference between the two SDKs? I understand that the Flutter SDK is built on the Dart SDK, but I assume there are other things that the Flutter SDK adds on top of the Dart SDK that would be documented? |
Yes, I noticed this when I was merging the documents . Maybe there are things in Flutter that are not documented ! |
Are you referring to the generated docs (dart doc), or the guide? |
The changes need to be on the front page as well. The docs.parseplatform.org page seems outdated as I mentioned previously and I'm unsure whether it's used anywhere at all. It's a duplication of what's on the front page, but an outdated one. Fixing this is a separate docs issue. The front page on the other hand already has a Dart section, but the links there need to be updated, for Dart and Flutter. |
@mtrezza |
fixed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, can we merge?
Yes |
There was a problem with the flutter
API Reference
https://docs.parseplatform.org/flutter/guide/