diff --git a/docs/nbdoc/consts.py b/docs/nbdoc/consts.py index 5681153335fee8..db6d41ccaef17c 100644 --- a/docs/nbdoc/consts.py +++ b/docs/nbdoc/consts.py @@ -8,6 +8,8 @@ repo_name = "openvino_notebooks" +repo_branch = "tree/main" + artifacts_link = "http://repository.toolbox.iotg.sclab.intel.com/projects/ov-notebook/0.1.0-latest/20230517220809/dist/rst_files/" blacklisted_extensions = ['.xml', '.bin'] @@ -34,7 +36,7 @@ .. |github_link| raw:: html - Github + Github \n """ @@ -50,7 +52,7 @@ .. |github_link| raw:: html - Github + Github \n """ diff --git a/docs/nbdoc/nbdoc.py b/docs/nbdoc/nbdoc.py index 828e3a02c130b6..0c8f870092f34d 100644 --- a/docs/nbdoc/nbdoc.py +++ b/docs/nbdoc/nbdoc.py @@ -16,6 +16,7 @@ no_binder_template, repo_directory, repo_name, + repo_branch, repo_owner, rst_template, section_names, @@ -96,6 +97,7 @@ def __init__(self, nb_path: str = notebooks_path): "owner": repo_owner, "repo": repo_name, "folder": repo_directory, + "branch": repo_branch, } def fetch_binder_list(self, file_format: str = 'txt') -> list: