Comments (13)
I would much prefer this style of docs https://felangel.github.io/bloc/#/, with recipes and clear cut documentation that is easy to read for all developers. Then we can link to the API Reference for someone interested in digging into the APIs - and this already exist on pub.dev, just a simple link to the API reference.
from graphql-flutter.
Yes definitely something we need in the future. Iām re writing most of the internals, and made a load of breaking changes, so it might be best to start on the documentation once the api is more solid. What do you think?
from graphql-flutter.
Alright thats better, I will be waiting for that. Meanwhile thumbs up guys.
from graphql-flutter.
@juicycleff Just finished the major API changes. We can start working on some docs.
To try it out use version 1.0.0-alpha.3
of this package.
from graphql-flutter.
@HofmannZ Sorry I was away and busy. I want to start the docs now. Btw I noticed development has been halted, is this permanent or temporary?
from graphql-flutter.
@juicycleff Feel free to start working on the docs.
from graphql-flutter.
The idiomatic thing to do here is probably to use dartdoc
. I think this is especially important as the contributor pool expands and we need to communicate the intent of code internals more robustly
from graphql-flutter.
@micimize i like the concept by the dartdoc tool, it will make it easier to keep the docs is up to to date. I will start exploring this over the weekend. May be soon we can have a docs site.
from graphql-flutter.
@HofmannZ I see you are assigned this issues, any progress?
from graphql-flutter.
Can't we use https://pub.dev/documentation/graphql/latest/graphql/graphql-library.html ? Inline doc generated by pub.dev is also widely used by Flutter 1st party plugin.
Otherwise, we can make use of Flutter web, github and netlify for a static website.
from graphql-flutter.
The dartdoc
tool suggested above does the same thing, but allows you to add extra markdown documentation. But to be honest, this kind of documentation are good for advanced users but not beginners.
Flutter for web would be a mess, it would be the same using Angular or React to create a docs site, its possible it just not suitable. What we need is a Static Site Generator like Hugo or Gatsby which allows for easy content management using Markdown, easy themming and generates a static site that can be hosted anywhere like GitHub Pages or Netlify. Most open source project i have come across use a variation of this.
from graphql-flutter.
I believe inline doc / https://pub.dev/documentation can also have markdown, even code snippet.
from graphql-flutter.
merging into #741
from graphql-flutter.
Related Issues (20)
- OperationException(linkException: ResponseFormatException(originalException: type 'Null' is not a subtype of type 'String' in type cast, originalStackTrace
- OperationException(linkException: ResponseFormatException(originalException: type 'Null' is not a subtype of type 'String' in type cast HOT 2
- Relay-style `useFragment` hook
- retry request when token invalid or expired occured HOT 1
- grapqhql_flutter uses graphql ^5.2.0-beta.4 which does not contain the latest changes in package/graphql HOT 2
- Does the package support connection relay for pagination? HOT 2
- Null check operator used on a null value in SocketClient.onConnectionLost HOT 1
- Operation not permitted when init by initHiveForFlutter HOT 5
- [BUG] writeFragment on interface fields causes an incorrect change in __typename
- [feature] add an easy way to add headers HOT 6
- Issue with Registering Users via GraphQL on Supabase - Need Assistance
- Executing the same query in parallel only makes one request
- New release request to fix upstream bugs HOT 3
- How to return partial data from cache?
- Typo in packages/graphql/lib/src/core/policies.dart
- Update uuid version to ^4.0.0 HOT 4
- Subscription throws uncaught handshake exception when using http HOT 1
- Extreme slowness/jank with JSON scalar
- UUID Out of Date HOT 2
- Example needed for cache HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
š Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ššš
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ā¤ļø Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from graphql-flutter.