Skip to main content

GraphQLdoc is a simple Django app to document GraphQL schemas.

Project description

GraphQLdoc

GraphQLdoc is a simple Django app to document GraphQL schemas.

Quick start

  1. Add graphqldoc to your INSTALLED_APPS setting like this:

     INSTALLED_APPS = [
         ...
         'graphqldoc',
     ]
    
  2. Add GRAPHQLDOC config settings in your settings file, and configure according to your needs, like this:

     GRAPHQLDOC = {
         'LOGO_URL': 'https://graphql.org/img/logo.svg',
         'TITLE': 'My GraphQL documentation',
     }
    

    This step is optional, it changes the logo and the default title in the template.

  3. Include the graphqldoc URLconf in your project urls.py like this:

     path('docs/', include('graphqldoc.urls')),
    
  4. Start the development server and visit http://localhost:8000/docs/ to view the rendered documentation for your GraphQL server.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-graphqldoc-0.1.1.tar.gz (7.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_graphqldoc-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file django-graphqldoc-0.1.1.tar.gz.

File metadata

  • Download URL: django-graphqldoc-0.1.1.tar.gz
  • Upload date:
  • Size: 7.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for django-graphqldoc-0.1.1.tar.gz
Algorithm Hash digest
SHA256 596f4b3918e2fe0f546a0eb7e49dc1b5f6776601e846fb3c44c3ae8e9069353d
MD5 f7ee5f198c88bb28f33767470a5ba7be
BLAKE2b-256 c9efb5380822c35fdbd063b0dde3ad5808b3627514324794ff20c49dfba24336

See more details on using hashes here.

File details

Details for the file django_graphqldoc-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: django_graphqldoc-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.2

File hashes

Hashes for django_graphqldoc-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86383a33dbe9b30f58c8aea65be6207384749c63325679080bdc999c72936c6e
MD5 aba8cb2577d152f88dfd6e6a5930cba0
BLAKE2b-256 0779e2f882e54ffdfcbc54c7cf743432fc8f71954593d57db4ee626f07c2af1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page