diff --git a/_templates/breadcrumbs.html b/_templates/breadcrumbs.html deleted file mode 100644 index ba025b78d429e4361dcdfff5e2884f8be441bbdd..0000000000000000000000000000000000000000 --- a/_templates/breadcrumbs.html +++ /dev/null @@ -1,14 +0,0 @@ -.. SPDX-FileCopyrightText: Huawei Inc. -.. -.. SPDX-License-Identifier: CC-BY-4.0 -{%- extends "sphinx_rtd_theme/breadcrumbs.html" %} - -{% block breadcrumbs_aside %} -{% if display_gitlab_local %} - <li class="wy-breadcrumbs-aside"> - {% if hasdoc(pagename) and pagename != "search" and pagename != "genindex" %} - <a href="https://{{ gitlab_local_host|default("gitlab.com") }}/{{ gitlab_local_repo }}/{{ theme_vcs_pageview_mode|default("blob") }}/{{ gitlab_local_version }}{{ conf_py_path }}{{ pagename }}{{ suffix }}" class="fa fa-gitlab"> {{ _('Edit on GitLab') }}</a> - {% endif %} - </li> -{% endif %} -{% endblock %} \ No newline at end of file diff --git a/conf.py b/conf.py index b3eb377f47f84fdd28dbb5ba96c2faad67e13b5e..ce9c07a3ee80b256734da3da93f9ca3302e1e85b 100644 --- a/conf.py +++ b/conf.py @@ -59,14 +59,6 @@ exclude_patterns = ['README.rst', 'contributing/project.rst', 'experimental'] # html_theme = "sphinx_rtd_theme" -html_context = { - "gitlab_local_host": "git.ostc-eu.org", - "display_gitlab_local": True, # Integrate Gitlab - "gitlab_local_repo": "OSTC/OHOS/docs", # Repo name - "gitlab_local_version": "master", # Version - "conf_py_path": "/", # Path in the checkout to the docs root -} - # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css".