Browse Source

trying to make this rtd compatible

digital 7 years ago
parent
commit
68a1d43b15
2 changed files with 10 additions and 11 deletions
  1. 2 3
      Makefile
  2. 8 8
      conf.py

+ 2 - 3
Makefile

@@ -20,10 +20,9 @@
 
 
 # You can set these variables from the command line.
-SPHINXOPTS    = -c sphinx/
-# SPHINXOPTS    =
+SPHINXOPTS    =
 SPHINXBUILD   = sphinx-build
-SPHINXPROJ    = digilib
+SPHINXPROJ    = DigiLib
 SOURCEDIR     = .
 BUILDDIR      = docs
 

+ 8 - 8
sphinx/conf.py → conf.py

@@ -55,7 +55,7 @@ extensions = [
 ]
 
 # Add any paths that contain templates here, relative to this directory.
-templates_path = ['templates']
+templates_path = ['sphinx/templates']
 
 # The suffix(es) of source filenames.
 # You can specify multiple suffix as a list of string:
@@ -67,7 +67,7 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = 'digilib'
+project = 'DigiLib'
 copyright = '2017, Digital'
 author = 'Digital'
 
@@ -115,13 +115,13 @@ html_theme = 'sphinx_rtd_theme'
 # 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 = ['sphinx/static']
 
 
 # -- Options for HTMLHelp output ------------------------------------------
 
 # Output file base name for HTML help builder.
-htmlhelp_basename = 'BeeWatchdoc'
+htmlhelp_basename = 'DigiLibdoc'
 
 
 # -- Options for LaTeX output ---------------------------------------------
@@ -148,7 +148,7 @@ latex_elements = {
 # (source start file, target name, title,
 #  author, documentclass [howto, manual, or own class]).
 latex_documents = [
-    (master_doc, 'BeeWatch.tex', 'BeeWatch Documentation',
+    (master_doc, 'DigiLib.tex', 'DigiLib Documentation',
      'Digital', 'manual'),
 ]
 
@@ -158,7 +158,7 @@ latex_documents = [
 # One entry per manual page. List of tuples
 # (source start file, name, description, authors, manual section).
 man_pages = [
-    (master_doc, 'beewatch', 'BeeWatch Documentation',
+    (master_doc, 'digilib', 'DigiLib Documentation',
      [author], 1)
 ]
 
@@ -169,8 +169,8 @@ man_pages = [
 # (source start file, target name, title, author,
 #  dir menu entry, description, category)
 texinfo_documents = [
-    (master_doc, 'BeeWatch', 'BeeWatch Documentation',
-     author, 'BeeWatch', 'One line description of project.',
+    (master_doc, 'DigiLib', 'DigiLib Documentation',
+     author, 'DigiLib', 'One line description of project.',
      'Miscellaneous'),
 ]