|
18 | 18 |
|
19 | 19 | import sys |
20 | 20 | import os |
21 | | - |
22 | | -from version import __version__ |
| 21 | +import shlex |
23 | 22 |
|
24 | 23 | # If extensions (or modules to document with autodoc) are in another directory, |
25 | 24 | # add this directory to sys.path here. If the directory is relative to the |
|
30 | 29 | # See also: https://github.com/docascode/sphinx-docfx-yaml/issues/85 |
31 | 30 | sys.path.insert(0, os.path.abspath(".")) |
32 | 31 |
|
| 32 | +__version__ = "" |
| 33 | + |
33 | 34 | # -- General configuration ------------------------------------------------ |
34 | 35 |
|
35 | 36 | # If your documentation needs a minimal Sphinx version, state it here. |
36 | | -needs_sphinx = "1.6.3" |
| 37 | +needs_sphinx = "1.5.5" |
37 | 38 |
|
38 | 39 | # Add any Sphinx extension module names here, as strings. They can be |
39 | 40 | # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom |
|
43 | 44 | "sphinx.ext.autosummary", |
44 | 45 | "sphinx.ext.intersphinx", |
45 | 46 | "sphinx.ext.coverage", |
| 47 | + "sphinx.ext.doctest", |
46 | 48 | "sphinx.ext.napoleon", |
47 | 49 | "sphinx.ext.todo", |
48 | 50 | "sphinx.ext.viewcode", |
|
171 | 173 | # Add any paths that contain custom static files (such as style sheets) here, |
172 | 174 | # relative to this directory. They are copied after the builtin static files, |
173 | 175 | # so a file named "default.css" will overwrite the builtin "default.css". |
174 | | -# html_static_path = ["_static"] |
| 176 | +html_static_path = ["_static"] |
175 | 177 |
|
176 | 178 | # Add any extra paths that contain custom files (such as robots.txt or |
177 | 179 | # .htaccess) here, relative to this directory. These files are copied |
|
255 | 257 | # -- Options for LaTeX output --------------------------------------------- |
256 | 258 |
|
257 | 259 | latex_elements = { |
258 | | - # # The paper size ('letterpaper' or 'a4paper'). |
| 260 | + # The paper size ('letterpaper' or 'a4paper'). |
259 | 261 | # 'papersize': 'letterpaper', |
260 | | - # # The font size ('10pt', '11pt' or '12pt'). |
| 262 | + # The font size ('10pt', '11pt' or '12pt'). |
261 | 263 | # 'pointsize': '10pt', |
262 | | - # # Additional stuff for the LaTeX preamble. |
| 264 | + # Additional stuff for the LaTeX preamble. |
263 | 265 | # 'preamble': '', |
264 | | - # # Latex figure (float) alignment |
| 266 | + # Latex figure (float) alignment |
265 | 267 | # 'figure_align': 'htbp', |
266 | 268 | } |
267 | 269 |
|
268 | 270 | # Grouping the document tree into LaTeX files. List of tuples |
269 | 271 | # (source_start_file, target_name, title, author, |
270 | 272 | # documentclass ["howto", "manual", or "own class"]). E.g., |
271 | | -# latex_documents = [ |
272 | | -# ( |
273 | | -# master_doc, |
274 | | -# "django-google-spanner.tex", |
275 | | -# u"Spanner Django Documentation", |
276 | | -# author, |
277 | | -# "manual", |
278 | | -# ) |
279 | | -# ] |
| 273 | +latex_documents = [ |
| 274 | + ( |
| 275 | + master_doc, |
| 276 | + "django-google-spanner.tex", |
| 277 | + u"Spanner Django Documentation", |
| 278 | + author, |
| 279 | + "manual", |
| 280 | + ) |
| 281 | +] |
280 | 282 |
|
281 | 283 | # The name of an image file (relative to this directory) |
282 | 284 | # to place at the top of the title page. |
|
349 | 351 |
|
350 | 352 | # Example configuration for intersphinx: refer to the Python standard library. |
351 | 353 | intersphinx_mapping = { |
352 | | - "python": ("http://python.readthedocs.org/en/latest/", None), |
353 | | - "google-auth": ("https://google-auth.readthedocs.io/en/stable", None), |
| 354 | + "python": ("https://python.readthedocs.org/en/latest/", None), |
| 355 | + "google-auth": ("https://googleapis.dev/python/google-auth/latest/", None), |
354 | 356 | "google.api_core": ( |
355 | 357 | "https://googleapis.dev/python/google-api-core/latest/", |
356 | 358 | None, |
357 | 359 | ), |
358 | | - "grpc": ("https://grpc.io/grpc/python/", None), |
| 360 | + "grpc": ("https://grpc.github.io/grpc/python/", None), |
359 | 361 | } |
360 | 362 |
|
361 | 363 |
|
|
0 commit comments