Skip to content

Commit

Permalink
Merge pull request #49 from JoelPasvolsky/sdk_warning
Browse files Browse the repository at this point in the history
Remove SDK build's "docs_gate/index.rst: WARNING: document isn't in a toctree"
  • Loading branch information
thisac authored Jul 12, 2024
2 parents 0451660 + eccb641 commit 5499b1f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@ dwave-gate
Documentation
-------------

.. sdk-start-marker
.. toctree::
:maxdepth: 1

reference/index
release_notes

.. sdk-end-marker
.. toctree::
:caption: Code
:maxdepth: 1
Expand Down
10 changes: 5 additions & 5 deletions docs/sdk_index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ dwave-gate
:start-after: example-start-marker
:end-before: example-end-marker

.. toctree::
:caption: Documentation
:maxdepth: 1
Documentation
-------------

reference/index
release_notes
.. include:: index.rst
:start-after: sdk-start-marker
:end-before: sdk-end-marker

.. toctree::
:caption: Code
Expand Down

0 comments on commit 5499b1f

Please sign in to comment.