Skip to content

Commit

Permalink
Clean up GenAI Examples page (#238)
Browse files Browse the repository at this point in the history
1. Increase nav depth to 4 to see examples in site nav
2. Move examples section of examples/index.rst to examples.rst
3. Add examples/examples.rst to examples/index.rst toctree

Signed-off-by: Putnam, Kevin <[email protected]>
  • Loading branch information
intelkevinputnam authored Nov 1, 2024
1 parent 7b48d9a commit 8e093bf
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
# Toc options
'collapse_navigation': False,
'sticky_navigation': True,
'navigation_depth': 3,
'navigation_depth': 4,
}


Expand Down
15 changes: 15 additions & 0 deletions examples/examples.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Examples
##########

.. rst-class:: rst-columns

.. contents::
:local:
:depth: 1

----

.. comment This include file is generated in the Makefile during doc build
time from all the directories found in the GenAIExamples top level directory
.. include:: examples.txt
15 changes: 1 addition & 14 deletions examples/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,6 @@ We're building this documentation from content in the
:glob:

/GenAIExamples/README
examples.rst
/GenAIExamples/*

**Example Applications Table of Contents**

.. rst-class:: rst-columns

.. contents::
:local:
:depth: 1

----

.. comment This include file is generated in the Makefile during doc build
time from all the directories found in the GenAIExamples top level directory
.. include:: examples.txt

0 comments on commit 8e093bf

Please sign in to comment.