Commit graph

254 commits

Author SHA1 Message Date
unicodeveloper
b324a7d741 Fix grammar 2018-05-02 16:07:23 -07:00
PROSPER OTEMUYIWA
59cabde92c Fix grammar 2018-05-02 16:04:26 -07:00
PROSPER OTEMUYIWA
08879ff0a6 Add migration for 2.0 beta 2018-05-02 15:59:51 -07:00
Evans Hauser
ba9ee6274a
Merge pull request #1022 from apollographql/evans/error-docs
Add error handling docs section to features
2018-05-02 11:51:47 -07:00
Evans Hauser
33697e68a7
docs: reword intro for features/errors 2018-05-02 11:46:29 -07:00
Evans Hauser
222400ebf4
docs: fix line highlightin features/errors 2018-05-02 11:38:20 -07:00
Evans Hauser
0bcfeb1f3d
docs: remove unused AuthenticationError from features/errors 2018-05-02 11:33:17 -07:00
Evans Hauser
a24ef8da16
docs: root -> parent in feature/errors 2018-05-02 11:32:04 -07:00
Evans Hauser
32caf0aa10
docs: add error handling section 2018-05-02 11:19:14 -07:00
Jesse Rosenberger
7871866136
Update info argument to talk about cache control. 2018-05-02 06:58:11 -07:00
Jesse Rosenberger
b882785389
Change link to Promise to Mozilla docs. 2018-05-02 06:55:22 -07:00
Jesse Rosenberger
264c1c6991
Fix spelling of "alway". 2018-05-02 06:53:20 -07:00
Peggy Rayzis
fa2aa2c54c Restructured essentials (#1019)
* Restructured essentials

* Fix broken links
2018-05-02 06:49:49 -07:00
Sashko Stubailo
e8344befae Make some improvements to schema stitching page 2018-05-01 22:48:09 -07:00
Jesse Rosenberger
9c19dec4bd
Update hexo-versioned-netlify-deploys to 1.0.7.
Hopefully for the last time!
2018-05-01 21:37:16 -07:00
Jesse Rosenberger
f871d32b70
Start ignoring _redirects again, since it's dynamically generated. 2018-05-01 21:37:16 -07:00
Jesse Rosenberger
063edd7b05
Update hexo-versioned-netlify-redirects to 1.0.6. 2018-05-01 21:37:16 -07:00
Jesse Rosenberger
5a2034ea9d
Update hexo-versioned-netlify-redirects to 1.0.5. 2018-05-01 21:37:16 -07:00
Jesse Rosenberger
fbe56d8846
Update hexo-versioned-netlify-redirects to 1.0.4.
Follows-up on 07efd96d15f93f3e30fd63942d75ce65e26eb672.
2018-05-01 21:37:16 -07:00
Jesse Rosenberger
0ccf214161
Update hexo-versioned-netlify-redirects to 1.0.3.
In order to include the changes from
https://github.com/meteor/hexo-versioned-netlify-redirects/pull/1, which
should properly handle the sub-path roots of this Hexo deployment.
2018-05-01 21:37:16 -07:00
Jesse Rosenberger
b9d49ae723
Enable version support via Netlify redirects.
This uses `hexo-versioned-netlify-redirects`[0], a package I wrote just for
this purpose (on Meteor) a few months back.

With any luck, this will do the trick for Apollo too.

[0]: https://github.com/meteor/hexo-versioned-netlify-redirects
2018-05-01 21:37:16 -07:00
Jesse Rosenberger
b2691adaa4
docs: Add v2 to the versions property in _config.yml.
This should enable the dropdown box in the sidebar of the documentation.
Currently, that sidebar will be a terrible color, since it has never
appeared on Apollo documentation before and nobody has ever defined style on
it.  That'll have to be fixed in the theme itself[0].

[0]: https://github.com/meteor/meteor-theme-hexo
2018-05-01 21:37:16 -07:00
Evans Hauser
d16c08536c
docs: add clarity around mocks object combined with resolvers 2018-05-01 17:08:38 -07:00
Evans Hauser
a658eb4843
docs: directives sections using and implementing titles 2018-05-01 16:46:09 -07:00
Evans Hauser
1b8a2936d3
docs: initial union and interfaces page 2018-05-01 16:12:43 -07:00
Sashko Stubailo
727d782f66 Organize into features section 2018-05-01 14:48:54 -07:00
Evans Hauser
72a59260d5 Schema Organization and Manage a Large Schema (#996)
* docs: simplify schema organization and add modularize schema advanced section

* docs: working around code snippets demonstating how to organize a large schema

* update headers to be h tags and capitalization

* docs: intro to each file in modularize schema and circular reference full type defs

* docs: schema modularization formatting

* docs: shorten wording around intros to code snippets

* Move modularization to organizaition

* docs: removed circular dependencies section from schema organization
2018-05-01 14:09:52 -07:00
Evans Hauser
ad6ffec653 docs: add mocking docs from graphql-tools (#1007) 2018-05-01 14:07:30 -07:00
Evans Hauser
de7f20990b Forklift Schema Stitching Docs from graphql-tools (#1008)
* docs: copy initial stitching sections from graphql-tools

* docs: convert schema stitching introduction to use apollo-server

* docs: remote-schema shortened to contain links only

* docs: schema delegation shortened to remove api reference

* docs: rename schema-stitching to features
2018-05-01 14:07:14 -07:00
Jesse Rosenberger
011f0063aa
docs: Update links to new schema concepts. 2018-04-30 17:25:30 -07:00
Jesse Rosenberger
761ff92bb8
docs: Iteration from Docs workshop.
* Bury Best Practices, for the time being.
* Bury Schema, but leave it on disk.
* Introduce new Querying section.
* Move "Why Apollo Server?" into "Index".
   * ...to be refined.
* Remove no-longer-helpful "Getting Started" from "Index".

cc @stubailo @evans @peggyrayzis @JakeDawkins @unicodeveloper @jbaxleyiii
2018-04-30 15:36:08 -07:00
Jesse Rosenberger
fe6ee688a2
Merge pull request #985 from apollographql/docs-essentials-data
[Work in Progress] docs: essentials > data
2018-04-30 22:09:28 +03:00
Jesse Rosenberger
a989314453
Merge pull request #1011 from apollographql/abernix/docs/editoral-1
docs: Editorial Pass
2018-04-30 22:08:55 +03:00
Jesse Rosenberger
e273c35ba7
Merge branch 'docs-overhaul' into docs-essentials-data 2018-04-30 22:05:13 +03:00
Jesse Rosenberger
196ae929ac Tweaks to complexity limits. 2018-04-29 21:11:30 +03:00
Jesse Rosenberger
23529ac9bc Editorial: Best Practices > Security > DoS. 2018-04-29 21:02:20 +03:00
Jesse Rosenberger
3529c12a10 Tweaks to introspection. 2018-04-29 20:54:32 +03:00
Jesse Rosenberger
4b3bbafaf8 Editorial on "Best practices > Schema > Node Interface". 2018-04-29 19:44:02 +03:00
Jesse Rosenberger
fa0d70af73 Editorial on "Best Practices > Schema Design > Interfaces". 2018-04-29 18:51:42 +03:00
Jesse Rosenberger
0fa335ddc8 Change "Naming" to "Style conventions".
Keeping in mind that capitalization differences are not "naming"
conventions, and that there were no other recommendations for naming (e.g.
"begin each fetcher with "Get", etc.), I've changed this section to
"Style conventions".
2018-04-29 18:35:15 +03:00
Jesse Rosenberger
150423f53f
Rework Security Introspection. 2018-04-27 21:59:36 +03:00
Jesse Rosenberger
a212f5cb61
Rename page fragment to just 'introspection'. 2018-04-27 21:47:10 +03:00
Jesse Rosenberger
a4ae542e61
Re-work introduction to Security Best Practices.
While GraphQL is less susceptible to injection attacks, this introduction
made it sound like it wasn't possible, but the first paragraph then
demonstrated an injection attack and how to prevent it.
2018-04-27 21:42:04 +03:00
Jesse Rosenberger
d5fe357536
Re-work introduction on Best Practices > Performance. 2018-04-27 21:40:04 +03:00
Jesse Rosenberger
5091121228
Quick first pass, mostly spelling. 2018-04-27 19:16:00 +03:00
Jesse Rosenberger
e85fc6c347
Nits and editorial on earlier content in Schema 2018-04-27 18:18:11 +03:00
Jesse Rosenberger
1ae3ce2dc7
Remove grave accents, which do not work for titles. 2018-04-27 17:02:33 +03:00
Jesse Rosenberger
dfa4f61940
Merge branch 'docs-overhaul' into abernix/docs/api 2018-04-27 17:02:11 +03:00
Jesse Rosenberger
02f5c467ac
Change apollo-engine title to be without grave accents. 2018-04-27 17:01:57 +03:00
Jesse Rosenberger
d2ec5bb6d5
Clarify that gql must be imported, per feedback from @peggyrayzis. 2018-04-27 16:55:04 +03:00