Skip to content

Commit

Permalink
Correct way to make sphinx documentation work is add .nojekyll file t…
Browse files Browse the repository at this point in the history
…o gh-pages branch
  • Loading branch information
Lior Ramati committed May 19, 2019
1 parent 4cbd27e commit 4b489cf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions wrappers/python/docs/CMakeLists.txt
Expand Up @@ -20,10 +20,10 @@ if(NOT DEFINED SPHINX_THEME_DIR)
endif()

# configured documentation tools and intermediate build results
set(BINARY_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/build")
set(BINARY_BUILD_DIR "${CMAKE_CURRENT_BINARY_DIR}/_build")

# Sphinx cache with pickled ReST documents
set(SPHINX_CACHE_DIR "${CMAKE_CURRENT_BINARY_DIR}/doctrees")
set(SPHINX_CACHE_DIR "${CMAKE_CURRENT_BINARY_DIR}/_doctrees")

# HTML output directory
set(SPHINX_HTML_DIR "${CMAKE_CURRENT_BINARY_DIR}/html")
Expand Down
4 changes: 2 additions & 2 deletions wrappers/python/docs/conf.py.in
Expand Up @@ -70,7 +70,7 @@ language = None
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['build', 'Thumbs.db', '.DS_Store', '_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', '_templates']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = None
Expand All @@ -93,7 +93,7 @@ html_theme_path = ['@SPHINX_THEME_DIR@']
# 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']

# Custom sidebar templates, must be a dictionary that maps document names
# to template names.
Expand Down
2 changes: 1 addition & 1 deletion wrappers/python/docs/index.rst
Expand Up @@ -7,7 +7,7 @@ Welcome to pyrealsense2's documentation!
========================================

.. autosummary::
:toctree: generated
:toctree: _generated
:template: module.rst

pyrealsense2

0 comments on commit 4b489cf

Please sign in to comment.