fix edit on github for pot and ovsa (#10285)

This commit is contained in:
Nikolay Tyukaev
2022-02-11 12:13:12 +03:00
committed by GitHub
parent 5535fdefa9
commit f03590d245
2 changed files with 10 additions and 1 deletions

View File

@@ -97,6 +97,12 @@ repositories = {
'github_version': 'master',
'host_url': 'https://github.com'
},
'pot': {
'github_user': 'openvinotoolkit',
'github_repo': 'openvino',
'github_version': 'master',
'host_url': 'https://github.com'
},
'open_model_zoo': {
'github_user': 'openvinotoolkit',
'github_repo': 'open_model_zoo',

View File

@@ -9,9 +9,11 @@ from pathlib import Path
REPOSITORIES = [
'openvino',
'omz'
'omz',
'pot'
]
def create_mapping(xml_input: Path, output_dir: Path, strip_path: Path):
"""
Create a mapping between doxygen label and file path for edit on github button.
@@ -21,6 +23,7 @@ def create_mapping(xml_input: Path, output_dir: Path, strip_path: Path):
strip_path = strip_path.resolve()
mapping = {
'get_started': 'openvino/docs/get_started.md',
'ovsa_get_started': 'openvino/docs/ovsa/ovsa_get_started.md',
'documentation': 'openvino/docs/documentation.md',
'index': 'openvino/docs/index.rst',
'model_zoo': 'openvino/docs/model_zoo.md',