🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

django-graphqldoc

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-graphqldoc

GraphQLdoc is a simple Django app to document GraphQL schemas.

0.1.1
Maintainers
1

GraphQLdoc

GraphQLdoc is a simple Django app to document GraphQL schemas.

Quick start

  • Add graphqldoc to your INSTALLED_APPS setting like this:

     INSTALLED_APPS = [
         ...
         'graphqldoc',
     ]
    
  • 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.

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

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts