From 8e093bf660a0348a8017e3ead13ecd08218c7b35 Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Fri, 1 Nov 2024 16:18:00 -0700 Subject: [PATCH] Clean up GenAI Examples page (#238) 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 --- conf.py | 2 +- examples/examples.rst | 15 +++++++++++++++ examples/index.rst | 15 +-------------- 3 files changed, 17 insertions(+), 15 deletions(-) create mode 100644 examples/examples.rst diff --git a/conf.py b/conf.py index d80915e2..43164625 100644 --- a/conf.py +++ b/conf.py @@ -84,7 +84,7 @@ # Toc options 'collapse_navigation': False, 'sticky_navigation': True, - 'navigation_depth': 3, + 'navigation_depth': 4, } diff --git a/examples/examples.rst b/examples/examples.rst new file mode 100644 index 00000000..a86a36e1 --- /dev/null +++ b/examples/examples.rst @@ -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 \ No newline at end of file diff --git a/examples/index.rst b/examples/index.rst index 18ce1704..09509a1e 100644 --- a/examples/index.rst +++ b/examples/index.rst @@ -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