From afa95b87f7c4448b8c5e64d0a3167de08b517046 Mon Sep 17 00:00:00 2001 From: Kevin Putnam Date: Mon, 5 Dec 2022 08:13:40 -0800 Subject: [PATCH] Moves nav items from top of page to left nav (#14295) Removes nav items from top of page and moves to left nav. Uses a redirect to home.html to replace index.html. Restores path variables Removes debug print statement Fixes path. Signed-off-by: Kevin Putnam --- docs/conf.py | 6 +++ docs/home.rst | 125 ++++++++++++++++++++++++++++++++++++++++++++++++ docs/index.html | 1 + docs/index.rst | 123 +---------------------------------------------- 4 files changed, 134 insertions(+), 121 deletions(-) create mode 100644 docs/home.rst create mode 100644 docs/index.html diff --git a/docs/conf.py b/docs/conf.py index be9dc1caed1..97446abbd48 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -164,12 +164,18 @@ def autodoc_skip_member(app, what, name, obj, skip, options): return name in exclude_pyapi_methods +shutil.copy("../../../docs/home.rst",".") + +def replace_index_with_redirect(app,exception): + shutil.copy("../../../docs/index.html","../_build/index.html") + def setup(app): logger = logging.getLogger(__name__) app.add_config_value('doxygen_mapping_file', doxygen_mapping_file, rebuild=True) app.add_config_value('repositories', repositories, rebuild=True) app.connect('autodoc-skip-member', autodoc_skip_member) + app.connect('build-finished',replace_index_with_redirect) app.add_js_file('js/custom.js') app.add_js_file('js/graphs.js') app.add_js_file('js/graphs_ov_tf.js') diff --git a/docs/home.rst b/docs/home.rst new file mode 100644 index 00000000000..d25f9583203 --- /dev/null +++ b/docs/home.rst @@ -0,0 +1,125 @@ +.. OpenVINO Toolkit documentation master file, created by + sphinx-quickstart on Wed Jul 7 10:46:56 2021. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +.. meta:: + :google-site-verification: _YqumYQ98cmXUTwtzM_0WIIadtDc6r_TMYGbmGgNvrk + +OpenVINO™ Documentation +======================= + +.. raw:: html + +
+ + +
+ +

+ OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference. +

    +
  • Boost deep learning performance in computer vision, automatic speech recognition, natural language processing and other common tasks
  • +
  • Use models trained with popular frameworks like TensorFlow, PyTorch and more
  • +
  • Reduce resource demands and efficiently deploy on a range of Intel® platforms from edge to cloud
  • +
+

+ + OpenVINO allows to process models built with Caffe, Keras, mxnet, TensorFlow, ONNX, and PyTorch. They can be easily optimized and deployed on devices running Windows, Linux, or MacOS. +
+

Check the full range of supported hardware in the + Supported Devices page and see how it stacks up in our + Performance Benchmarks page.
+ Supports deployment on Windows, Linux, and macOS. +

+ +
+

OpenVINO Workflow

+
+
+ +
+
+ + link to model processing introduction + +
+
+ +
+
+ + link to an optimization guide + +
+
+ +
+
+ + link to deployment introduction + +
+
+ + +
+
+

Want to know more?

+
+
+ + +
+
+ + + + +.. toctree:: + :maxdepth: 2 + :hidden: + + get_started + documentation + tutorials + api/api_reference + model_zoo + resources diff --git a/docs/index.html b/docs/index.html new file mode 100644 index 00000000000..2e615a41d77 --- /dev/null +++ b/docs/index.html @@ -0,0 +1 @@ + diff --git a/docs/index.rst b/docs/index.rst index d25f9583203..1425c26bb26 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,125 +1,6 @@ -.. OpenVINO Toolkit documentation master file, created by - sphinx-quickstart on Wed Jul 7 10:46:56 2021. - You can adapt this file completely to your liking, but it should at least - contain the root `toctree` directive. - -.. meta:: - :google-site-verification: _YqumYQ98cmXUTwtzM_0WIIadtDc6r_TMYGbmGgNvrk - OpenVINO™ Documentation ======================= -.. raw:: html - -
- - -
- -

- OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference. -

    -
  • Boost deep learning performance in computer vision, automatic speech recognition, natural language processing and other common tasks
  • -
  • Use models trained with popular frameworks like TensorFlow, PyTorch and more
  • -
  • Reduce resource demands and efficiently deploy on a range of Intel® platforms from edge to cloud
  • -
-

- - OpenVINO allows to process models built with Caffe, Keras, mxnet, TensorFlow, ONNX, and PyTorch. They can be easily optimized and deployed on devices running Windows, Linux, or MacOS. -
-

Check the full range of supported hardware in the - Supported Devices page and see how it stacks up in our - Performance Benchmarks page.
- Supports deployment on Windows, Linux, and macOS. -

- -
-

OpenVINO Workflow

-
-
- -
-
- - link to model processing introduction - -
-
- -
-
- - link to an optimization guide - -
-
- -
-
- - link to deployment introduction - -
-
- - -
-
-

Want to know more?

-
-
- - -
-
- - - - .. toctree:: - :maxdepth: 2 - :hidden: - - get_started - documentation - tutorials - api/api_reference - model_zoo - resources + + home