|
16 | 16 | import os |
17 | 17 | import shlex |
18 | 18 |
|
| 19 | +sys.path.insert(0, os.path.abspath('..')) |
| 20 | +import watson_developer_cloud |
| 21 | +import os, shutil, glob |
| 22 | + |
| 23 | +import shutil |
| 24 | +shutil.copy2('../README.md', './index.md') |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | +from recommonmark.parser import CommonMarkParser |
| 29 | +source_parsers = { |
| 30 | + '.md': CommonMarkParser |
| 31 | +} |
| 32 | +source_suffix = ['.rst', '.md'] |
| 33 | + |
19 | 34 | # If extensions (or modules to document with autodoc) are in another directory, |
20 | 35 | # add these directories to sys.path here. If the directory is relative to the |
21 | 36 | # documentation root, use os.path.abspath to make it absolute, like shown here. |
|
31 | 46 | # ones. |
32 | 47 | extensions = [ |
33 | 48 | 'sphinx.ext.autodoc', |
| 49 | + 'sphinx.ext.autosummary', |
| 50 | + 'sphinx.ext.doctest', |
| 51 | + 'sphinx.ext.mathjax', |
34 | 52 | 'sphinx.ext.viewcode', |
35 | 53 | ] |
36 | 54 |
|
|
40 | 58 | # The suffix(es) of source filenames. |
41 | 59 | # You can specify multiple suffix as a list of string: |
42 | 60 | # source_suffix = ['.rst', '.md'] |
43 | | -source_suffix = '.rst' |
| 61 | +source_suffix = '.md' |
44 | 62 |
|
45 | 63 | # The encoding of source files. |
46 | 64 | #source_encoding = 'utf-8-sig' |
|
58 | 76 | # built documents. |
59 | 77 | # |
60 | 78 | # The short X.Y version. |
61 | | -__version__ = '0.1.2' |
62 | | -version = __version__ |
| 79 | +version = watson_developer_cloud.__version__ |
63 | 80 | # The full version, including alpha/beta/rc tags. |
64 | | -release = __version__ |
| 81 | +release = watson_developer_cloud.__version__ |
65 | 82 |
|
66 | 83 | # The language for content autogenerated by Sphinx. Refer to documentation |
67 | 84 | # for a list of supported languages. |
|
282 | 299 |
|
283 | 300 | # If true, do not generate a @detailmenu in the "Top" node's menu. |
284 | 301 | #texinfo_no_detailmenu = False |
285 | | - |
286 | | -# The suffix of source filenames. |
287 | | -from recommonmark.parser import CommonMarkParser |
288 | | - |
289 | | -# The suffix of source filenames. |
290 | | -source_suffix = ['.rst', '.md'] |
291 | | - |
292 | | -parsers = { |
293 | | - '.md': CommonMarkParser, |
294 | | -} |
|
0 commit comments