From 14968fd1b1907262a48cf4856384feac8c4c41c7 Mon Sep 17 00:00:00 2001 From: KingDarBoja Date: Wed, 22 Jul 2020 17:57:10 -0500 Subject: [PATCH 1/2] docs: add graphql-server logo --- README.md | 38 +++++++++++++++------------- docs/_static/graphql-server-logo.svg | 1 + 2 files changed, 21 insertions(+), 18 deletions(-) create mode 100644 docs/_static/graphql-server-logo.svg diff --git a/README.md b/README.md index d4f717b..b73e72f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# GraphQL-Server + [![PyPI version](https://badge.fury.io/py/graphql-server-core.svg)](https://badge.fury.io/py/graphql-server-core) [![Build Status](https://travis-ci.org/graphql-python/graphql-server-core.svg?branch=master)](https://travis-ci.org/graphql-python/graphql-server-core) @@ -10,34 +10,35 @@ for building GraphQL servers or integrations into existing web frameworks using ## Integrations built with GraphQL-Server -| Server integration | Docs | -|---|---| -| Flask | [flask](docs/flask.md) | -| Sanic |[sanic](docs/sanic.md) | -| AIOHTTP | [aiohttp](docs/aiohttp.md) | -| WebOb (Pyramid, TurboGears) | [webob](docs/webob.md) | +| Server integration | Docs | +| --------------------------- | -------------------------- | +| Flask | [flask](docs/flask.md) | +| Sanic | [sanic](docs/sanic.md) | +| AIOHTTP | [aiohttp](docs/aiohttp.md) | +| WebOb (Pyramid, TurboGears) | [webob](docs/webob.md) | ## Other integrations built with GraphQL-Server -| Server integration | Package | -| WSGI | [wsgi-graphql](https://github.com/moritzmhmk/wsgi-graphql) | -| Responder | [responder.ext.graphql](https://github.com/kennethreitz/responder/blob/master/responder/ext/graphql.py) | +| Server integration | Package | +| ------------------ | ------------------------------------------------------------------------------------------------------- | +| WSGI | [wsgi-graphql](https://github.com/moritzmhmk/wsgi-graphql) | +| Responder | [responder.ext.graphql](https://github.com/kennethreitz/responder/blob/master/responder/ext/graphql.py) | ## Other integrations using GraphQL-Core or Graphene -| Server integration | Package | -|---|---| -| Django | [graphene-django](https://github.com/graphql-python/graphene-django/) | +| Server integration | Package | +| ------------------ | --------------------------------------------------------------------- | +| Django | [graphene-django](https://github.com/graphql-python/graphene-django/) | ## Documentation The `graphql_server` package provides these public helper functions: - * `run_http_query` - * `encode_execution_results` - * `load_json_body` - * `json_encode` - * `json_encode_pretty` +- `run_http_query` +- `encode_execution_results` +- `load_json_body` +- `json_encode` +- `json_encode_pretty` **NOTE:** the `json_encode_pretty` is kept as backward compatibility change as it uses `json_encode` with `pretty` parameter set to `True`. @@ -50,4 +51,5 @@ blueprint to build your own integration or GraphQL server implementations. Please let us know when you have built something new, so we can list it here. ## Contributing + See [CONTRIBUTING.md](CONTRIBUTING.md) diff --git a/docs/_static/graphql-server-logo.svg b/docs/_static/graphql-server-logo.svg new file mode 100644 index 0000000..7cf6592 --- /dev/null +++ b/docs/_static/graphql-server-logo.svg @@ -0,0 +1 @@ +graphql-server-logo \ No newline at end of file From 6ce78ef9746549cd8cca4f2c0388e6df4665186f Mon Sep 17 00:00:00 2001 From: KingDarBoja Date: Wed, 22 Jul 2020 18:02:40 -0500 Subject: [PATCH 2/2] docs: add logo to manifest --- MANIFEST.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MANIFEST.in b/MANIFEST.in index 25673ee..a6c003d 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -7,7 +7,7 @@ include CONTRIBUTING.md include codecov.yml include tox.ini -recursive-include docs *.md +recursive-include docs *.md *.svg graft tests prune bin