Skip to content
Snippets Groups Projects
Verified Commit e8dcdf45 authored by Andrei Gherzan's avatar Andrei Gherzan :penguin:
Browse files

Remove the "Edit on GitLab" button


The final documentation is flattened from a symlink-based structure.
Pointing from the documentation to the flatten structure will only add
confusion.

Signed-off-by: Andrei Gherzan's avatarAndrei Gherzan <andrei.gherzan@huawei.com>
parent 38f74907
No related branches found
No related tags found
No related merge requests found
.. 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
......@@ -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".
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment