X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=doc%2Fsource%2Fconf.py;h=ac373c63699ee18f9dd8dfcf75eb374daecef203;hb=87d8b12c24c3a7a1a42b99b932eaea1663a350c9;hp=baf787e31df7d587fe990fb203b81f8777aba941;hpb=3074f78cad49c95a7f808a72403809df4f7edc5b;p=dunshire.git diff --git a/doc/source/conf.py b/doc/source/conf.py index baf787e..ac373c6 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -40,22 +40,25 @@ copyright = '2016, Michael Orlitzky' author = 'Michael Orlitzky' # The short X.Y version. -version = '0.0.1' +version = '0.1.1' # The full version, including alpha/beta/rc tags. -release = '0.0.1' +release = '0.1.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. exclude_patterns = [] +# Don't show "dunshire.games" before every damned method. +add_module_names = False + # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' @@ -80,7 +83,7 @@ html_sidebars = { ] } -# http://alabaster.readthedocs.io/en/latest/customization.html#theme-options +# https://alabaster.readthedocs.io/en/latest/customization.html#theme-options html_theme_options = { 'github_button': False, 'github_user': False, @@ -102,7 +105,12 @@ html_show_sphinx = False html_show_copyright = False # This is the file name suffix for HTML files (e.g. ".xhtml"). -#html_file_suffix = None +# Warning: regardless of the suffix, sphinx will generate html5. +#html_file_suffix = ".xhtml" + +# Don't include the restructured text source files for the XHTML +# pages, and don't display a link to them either. +html_show_sourcelink = False # The name of a javascript file (relative to the configuration directory) that # implements a search results scorer. If empty, the default will be used. @@ -114,14 +122,16 @@ htmlhelp_basename = 'dunshiredoc' # -- Options for LaTeX output --------------------------------------------- latex_elements = { + 'preamble' : r'\usepackage{amsfonts,amssymb}', + 'printindex' : '' } # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). latex_documents = [ - (master_doc, 'dunshire.tex', 'Dunshire Documentation', - 'author', 'manual'), + (master_doc, 'dunshire.tex', project + ' Documentation', + author, 'manual'), ] # -- Options for manual page output --------------------------------------- @@ -129,7 +139,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - (master_doc, 'Dunshire', 'Dunshire Documentation', + (master_doc, project, project + ' Documentation', [author], 1) ] @@ -143,7 +153,7 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - (master_doc, 'Dunshire', 'Dunshire Documentation', + (master_doc, project, project + ' Documentation', author, 'derp', 'One line description of project.', 'Miscellaneous'), ]