Skip to content

Commit

Permalink
fix documentation building
Browse files Browse the repository at this point in the history
  • Loading branch information
felipeZ committed Feb 8, 2021
1 parent 78489de commit 3e6686e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 8 deletions.
25 changes: 25 additions & 0 deletions ceibacli/client/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,28 @@ def create_jobs_query(
}}
}}
"""


def query_introspection() -> str:
"""Retrieve available queries."""
return """query {
__type(name: "Query") {
kind
name
fields {
name
description
args {
name
description
defaultValue
}
}
possibleTypes {
name
kind
description
}
}
}
"""
17 changes: 9 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
import os
import sys

import ceibacli

here = os.path.dirname(__file__)
sys.path.insert(0, os.path.abspath(os.path.join(here, '..')))

Expand Down Expand Up @@ -50,17 +48,20 @@

# General information about the project.
project = u'ceibacli'
copyright = u'2020, Netherlands eScience Center'
copyright = u'2020-2021, Netherlands eScience Center'
author = u"Felipe Zapata"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = ceibacli.__version__
# The full version, including alpha/beta/rc tags.
release = ceibacli.__version__
vers = {}
with open(os.path.join(here, '..', 'ceibacli', '__version__.py')) as f:
exec(f.read(), vers)

version = vers["__version__"]
# The full version, including alpha/beta/rc tags
release = vers["__version__"]


# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down

0 comments on commit 3e6686e

Please sign in to comment.