openvino/docs/nbdoc
Karol Blaszczak 22bfd50b5f
DOCS-https-change-for-notebook-repository (#13426)
Porting https://github.com/openvinotoolkit/openvino/pull/13145 to master

Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
2022-10-13 07:18:35 +04:00
..
README.md Nbdoc change source (#9739) (#9811) 2022-01-21 15:31:56 +03:00
__init__.py Feature/azaytsev/from 2021 4 (#9247) 2021-12-21 20:26:37 +03:00
consts.py DOCS-https-change-for-notebook-repository (#13426) 2022-10-13 07:18:35 +04:00
nbdoc.py Nbdoc change source (#9739) (#9811) 2022-01-21 15:31:56 +03:00
notebook.py Feature/azaytsev/from 2021 4 (#9247) 2021-12-21 20:26:37 +03:00
requirements.txt Nbdoc change source (#9739) (#9811) 2022-01-21 15:31:56 +03:00
section.py Feature/azaytsev/from 2021 4 (#9247) 2021-12-21 20:26:37 +03:00
utils.py Nbdoc change source (#9739) (#9811) 2022-01-21 15:31:56 +03:00

README.md

Jupyter notebooks autodoc

Auto fetching documentations designed for openvino notebooks tutorials. This module is responsible for fetching artifats, 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