Browse Source

trying to add readthedocs support

digital 7 years ago
parent
commit
db0329060f
2 changed files with 4 additions and 3 deletions
  1. 2 1
      Makefile
  2. 2 2
      conf.py

+ 2 - 1
sphinx/Makefile → Makefile

@@ -2,8 +2,9 @@
 #
 
 # You can set these variables from the command line.
-PROJECT_ROOT  = ../
+PROJECT_ROOT  = ./
 SPHINXOPTS    = -c $(PROJECT_ROOT)sphinx/
+SPHINXOPTS    = 
 SPHINXBUILD   = sphinx-build
 SPHINXPROJ    = BeeWatch
 SOURCEDIR     = $(PROJECT_ROOT)

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

@@ -38,7 +38,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:
@@ -98,7 +98,7 @@ html_theme = 'alabaster'
 # 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 ------------------------------------------