Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation build errors for Sphinx > 4.0 #117

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ Change log
==========

Version 0.1.0 (Sep 2, 2019)
-------------------
---------------------------

- First public release of Enoki
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
#html_theme_path = []

def setup(app):
app.add_stylesheet('theme_overrides.css')
app.add_css_file('theme_overrides.css')

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
Expand Down
4 changes: 2 additions & 2 deletions docs/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ Global variable definitions
Static arrays
-------------

.. cpp:class:: template <typename Value, size_t Size = array_default_size>
.. cpp:class:: template <typename Value, size_t Size = array_default_size> \
Array : StaticArrayImpl<Value, Size, Array<Value, Size>>

The default Enoki array class -- a generic container that stores a
Expand All @@ -221,7 +221,7 @@ Static arrays
Pattern (CRTP). The latter provides the actual machinery that is needed to
evaluate array expressions. See :ref:`custom-arrays` for details.

.. cpp:class:: template <typename Value, size_t Size = array_default_size>
.. cpp:class:: template <typename Value, size_t Size = array_default_size> \
Packet : StaticArrayImpl<Value, Size, Array<Value, Size>>

The ``Packet`` type is identical to :cpp:class:`enoki::Array` except for
Expand Down