There have been a number of major changes between between 0.12.x and 0.14.x.
The documentation and website requires major restructuring/refactoring to adapt to the significant changes in Graphback.
This is a chance to simplify and focus the documentation to make it the best experience possible for users. This should be easier to achieve, since we now have reduced file generation to client documents and schema (optionals).
To get an idea of what has changed between these releases check https://github.com/aerogear/graphback/blob/master/docs/releases.md#0140
db pooling etcI think we need to get our docs refined from the ground.
Starting with talking about getting started experience to the concepts then to the dev ideas like plugins. Things should be schema centric - currently we are concepts centric
I've put some thought into possible starting point for the website layout.
Let's use it to discuss what to bring in/what not to bring in and changes that can be made.
This section would contain all of the information to set up your data model except for things specific to the different data sources. For this we could link to the databases section or else split like this section into:
The CRUD documentation should fully list the CRUD specification that is used and it should not just link to GraphQLCRUD, since there can (and will) be variations between the two.
All looks amazing!
Questions:
1) Subscriptions are not included? Forgotten?
2) Where this goes? Moving to package info:
https://graphback.dev/docs/next/db/dbmigrations
3) Where plugins will land? Do we need dev section?
https://graphback.dev/docs/next/plugins/plugin-intro
4) graphqlserve mentioned as alternative/note?
Hey you can also use it without template etc using:
https://graphback.dev/docs/next/intro/graphqlserve
I would not kill CLI docs yet until we figure out how to marry graphback and offix together.
I will check that next week
1) Subscriptions are not included? Forgotten?
Subscriptions are there under CRUD - I just did not add the individual subscriptions headers for this as as it is a overview of the site structure. They will be there.
2) Where this goes? Moving to package info:
https://graphback.dev/docs/next/db/dbmigrations
See Databases > Migrations
3) Where plugins will land? Do we need dev section?
See Plugins
4) graphqlserve mentioned as alternative/note?
Yes, I don't think it needs its own page as it is very minimal right now and can't be configured. Adding it to getting started could distract focus of users and add noise to the navigation menu.
I would not kill CLI docs yet until we figure out how to marry graphback and offix together.
Agreed, not killing it just left it from this as not sure where to put it. CLI reference I guess.
Subscriptions are there under CRUD - I just did not add the individual subscriptions headers for this as as it is a overview of the site structure. They will be there.
We need subscription setup and integration - for context see voyager docs or starter :D
@craicoverflow I was looking at the site map and noticed we've datasync there, from my recollection the docs were added by this https://github.com/aerogear/graphback/pull/1422 thanks to @ssd71 as part of 0.14 milestone, maybe we could just keep them as is and iterate on it as planned here https://github.com/aerogear/graphback/pull/1422#issuecomment-646024839. WDYT?
Absolutely, I plan to just move the relevant, up-to-date content back without touching it, but wanted to have a clean slate to begin with.
Planning to start working on graphql serve documentation.
After a quick chat with @craicoverflow we thought that it is worth to be added on top-level having it's on sidebar and not under getting started.
Thoughts? @wtrocki
+100. Good idea!
I'll look into database migrations.
@craicoverflow I was looking at the site map and noticed we've datasync there, from my recollection the docs were added by this #1422 thanks to @ssd71 as part of 0.14 milestone, maybe we could just keep them as is and iterate on it as planned here #1422 (comment). WDYT?
I've created https://github.com/aerogear/graphback/pull/1665 to take care of this.
/cc @craicoverflow
@machi1990 Amazing point. Let's leave datasync untouched. DataSync will by alpha itself so no need to improve docs etc. and they are fairly new and accurate anyway - reviewed this now
A couple of things we should not forget to add:
API reference for KnexDBDataProvider
API ref for MongoDBDataProvider
Usage guide for createCRUDService - something I overlooked when doing the CRUD docs.
@machi1990 @craicoverflow Amazing work.
As for API reference. Would this be covered by typedoc?
@machi1990 @craicoverflow Amazing work.
As for API reference. Would this be covered by typedoc?
Yes, I highly recommend we go that way. We have this issue https://github.com/aerogear/graphback/issues/1702 to cover it.
The API Reference (which is the only outstanding item) docs we'll be done as part of https://github.com/aerogear/graphback/issues/1702: let's move the discussion there and close this issue.
Thanks @craicoverflow @wtrocki for the amazing work.