Files
openvino/docs/nbdoc
Sebastian Golebiewski 6761a29af5 [DOCS] Updating Interactive Tutorials (#18504)
* update-notebooks

* Update docs/nbdoc/nbdoc.py

Co-authored-by: bstankix <bartoszx.stankiewicz@intel.com>

* Update docs/nbdoc/nbdoc.py

Co-authored-by: bstankix <bartoszx.stankiewicz@intel.com>

---------

Co-authored-by: bstankix <bartoszx.stankiewicz@intel.com>
2023-07-14 10:57:06 +02:00
..
2023-05-31 18:39:19 +09:00
2022-01-21 15:31:56 +03:00

Jupyter notebooks autodoc

Auto fetching documentations designed for openvino notebooks tutorials. This module is responsible for fetching artifacts, in this particular example jupyter tutorial notebooks and converting them to notebook documentation.

Step 0. Prepare venv

To start new venv based on system interpreter

python -m venv ./venv

Linux:

source ./venv/bin/activate

Windows (cmd):

venv/Scripts/activate

Step 1. Download requirements

python -m pip install -r requirements.txt

Step 2. Configure consts to meet project directions

Consts file contains multiple variables that might differ for different environments.

Step 3. Add classes with methods to makefile or other executed file

Main file contains example usecases of auto generator for notebooks. Informations placed in main should be further used to add it to makefile and possibly fully automate notebook documentation process.

Step 4. Run python file (optional)

If step 4 was skipped use command

python main.py

or use any other command that is responsible for generating documentation