Added API Reference to docs
This commit is contained in:
		
							
								
								
									
										10
									
								
								docs/conf.py
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								docs/conf.py
									
									
									
									
									
								
							| @@ -16,13 +16,13 @@ import sys, os | ||||
| # If extensions (or modules to document with autodoc) are in another directory, | ||||
| # add these directories to sys.path here. If the directory is relative to the | ||||
| # documentation root, use os.path.abspath to make it absolute, like shown here. | ||||
| #sys.path.append(os.path.abspath('.')) | ||||
| sys.path.append(os.path.abspath('..')) | ||||
|  | ||||
| # -- General configuration ----------------------------------------------------- | ||||
|  | ||||
| # Add any Sphinx extension module names here, as strings. They can be extensions | ||||
| # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. | ||||
| extensions = [] | ||||
| extensions = ['sphinx.ext.autodoc'] | ||||
|  | ||||
| # Add any paths that contain templates here, relative to this directory. | ||||
| templates_path = ['.templates'] | ||||
| @@ -64,7 +64,7 @@ release = '0.1' | ||||
|  | ||||
| # List of directories, relative to source directory, that shouldn't be searched | ||||
| # for source files. | ||||
| exclude_trees = ['.build'] | ||||
| exclude_trees = ['_build'] | ||||
|  | ||||
| # The reST default role (used for this markup: `text`) to use for all documents. | ||||
| #default_role = None | ||||
| @@ -99,7 +99,7 @@ html_theme = 'nature' | ||||
| #html_theme_options = {} | ||||
|  | ||||
| # Add any paths that contain custom themes here, relative to this directory. | ||||
| html_theme_path = ['.themes'] | ||||
| html_theme_path = ['_themes'] | ||||
|  | ||||
| # The name for this set of Sphinx documents.  If None, it defaults to | ||||
| # "<project> v<release> documentation". | ||||
| @@ -120,7 +120,7 @@ html_theme_path = ['.themes'] | ||||
| # Add any paths that contain custom static files (such as style sheets) here, | ||||
| # relative to this directory. They are copied after the builtin static files, | ||||
| # so a file named "default.css" will overwrite the builtin "default.css". | ||||
| html_static_path = ['.static'] | ||||
| html_static_path = ['_static'] | ||||
|  | ||||
| # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, | ||||
| # using the given strftime format. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user