|
20 | 20 | # documentation root, use os.path.abspath to make it absolute, like shown here.
|
21 | 21 | sys.path.insert(0, os.path.abspath(".."))
|
22 | 22 |
|
23 |
| -__version__ = "0.90.4" |
| 23 | +__version__ = "0.1.0" |
24 | 24 |
|
25 | 25 | # -- General configuration ------------------------------------------------
|
26 | 26 |
|
27 | 27 | # If your documentation needs a minimal Sphinx version, state it here.
|
28 |
| -# needs_sphinx = '1.0' |
| 28 | +needs_sphinx = "1.6.3" |
29 | 29 |
|
30 | 30 | # Add any Sphinx extension module names here, as strings. They can be
|
31 | 31 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
|
|
37 | 37 | "sphinx.ext.intersphinx",
|
38 | 38 | "sphinx.ext.coverage",
|
39 | 39 | "sphinx.ext.napoleon",
|
| 40 | + "sphinx.ext.todo", |
40 | 41 | "sphinx.ext.viewcode",
|
41 | 42 | ]
|
42 | 43 |
|
|
55 | 56 | # The suffix(es) of source filenames.
|
56 | 57 | # You can specify multiple suffix as a list of string:
|
57 | 58 | # source_suffix = ['.rst', '.md']
|
58 |
| -source_suffix = ".rst" |
| 59 | +source_suffix = [".rst", ".md"] |
59 | 60 |
|
60 | 61 | # The encoding of source files.
|
61 | 62 | # source_encoding = 'utf-8-sig'
|
|
130 | 131 | # Theme options are theme-specific and customize the look and feel of a theme
|
131 | 132 | # further. For a list of options available for each theme, see the
|
132 | 133 | # documentation.
|
133 |
| -# html_theme_options = {} |
| 134 | +html_theme_options = { |
| 135 | + "description": "Google Cloud Client Libraries for Python", |
| 136 | + "github_user": "googleapis", |
| 137 | + "github_repo": "google-cloud-python", |
| 138 | + "github_banner": True, |
| 139 | + "font_family": "'Roboto', Georgia, sans", |
| 140 | + "head_font_family": "'Roboto', Georgia, serif", |
| 141 | + "code_font_family": "'Roboto Mono', 'Consolas', monospace", |
| 142 | +} |
134 | 143 |
|
135 | 144 | # Add any paths that contain custom themes here, relative to this directory.
|
136 | 145 | # html_theme_path = []
|
|
219 | 228 | # Output file base name for HTML help builder.
|
220 | 229 | htmlhelp_basename = "google-cloud-language-doc"
|
221 | 230 |
|
| 231 | +# -- Options for warnings ------------------------------------------------------ |
| 232 | + |
| 233 | +suppress_warnings = [ |
| 234 | + # Temporarily suppress this to avoid "more than one target found for |
| 235 | + # cross-reference" warning, which are intractable for us to avoid while in |
| 236 | + # a mono-repo. |
| 237 | + # See https://github.com/sphinx-doc/sphinx/blob |
| 238 | + # /2a65ffeef5c107c19084fabdd706cdff3f52d93c/sphinx/domains/python.py#L843 |
| 239 | + "ref.python" |
| 240 | +] |
| 241 | + |
222 | 242 | # -- Options for LaTeX output ---------------------------------------------
|
223 | 243 |
|
224 | 244 | latex_elements = {
|
|
315 | 335 | intersphinx_mapping = {
|
316 | 336 | "python": ("http://python.readthedocs.org/en/latest/", None),
|
317 | 337 | "gax": ("https://gax-python.readthedocs.org/en/latest/", None),
|
| 338 | + "google-auth": ("https://google-auth.readthedocs.io/en/stable", None), |
| 339 | + "google-gax": ("https://gax-python.readthedocs.io/en/latest/", None), |
| 340 | + "google.api_core": ( |
| 341 | + "https://googleapis.github.io/google-cloud-python/latest", |
| 342 | + None, |
| 343 | + ), |
| 344 | + "grpc": ("https://grpc.io/grpc/python/", None), |
| 345 | + "requests": ("http://docs.python-requests.org/en/master/", None), |
| 346 | + "fastavro": ("https://fastavro.readthedocs.io/en/stable/", None), |
| 347 | + "pandas": ("https://pandas.pydata.org/pandas-docs/stable/", None), |
318 | 348 | }
|
319 | 349 |
|
320 | 350 | # Napoleon settings
|
|
0 commit comments