Skip to content
Snippets Groups Projects
Commit 54d07dbd authored by David Hrbáč's avatar David Hrbáč
Browse files

Enable link to edit

parent 71492a94
No related branches found
No related tags found
5 merge requests!368Update prace.md to document the change from qprace to qprod as the default...,!367Update prace.md to document the change from qprace to qprod as the default...,!366Update prace.md to document the change from qprace to qprod as the default...,!323extended-acls-storage-section,!219Virtual environment, upgrade MKdocs, upgrade Material design
...@@ -4,15 +4,9 @@ ...@@ -4,15 +4,9 @@
{% if toc_ | first is defined and "\x3ch1 id=" in page.content %} {% if toc_ | first is defined and "\x3ch1 id=" in page.content %}
{% set toc_ = (toc_ | first).children %} {% set toc_ = (toc_ | first).children %}
{% endif %} {% endif %}
{% if page.abs_url.rstrip('index.html').rstrip('/') == '' %}
{% set it4i_link = config.repo_url + '/edit/master/docs.it4i/index.md' %} {% set it4i_link = config.repo_url + '/edit/master/docs.it4i/index.md' %}
{% set it4i_page = '/index.md' %} {% set it4i_page = '/index.md' %}
{% set it4i_url = 'https://docs.it4i.cz' %} {% set it4i_url = 'https://docs.it4i.cz' %}
{% else %}
{% set it4i_link = config.repo_url + '/edit/master/docs.it4i' + page.abs_url.rstrip('index.html').rstrip('/') + '.md' %}
{% set it4i_page = page.abs_url.rstrip('index.html').rstrip('/') + '.md' %}
{% set it4i_url = 'https://docs.it4i.cz' + page.abs_url %}
{% endif %}
{% if toc_ | first is defined %} {% if toc_ | first is defined %}
<label class="md-nav__title" for="toc">{{ lang.t('toc.title') }}</label> <label class="md-nav__title" for="toc">{{ lang.t('toc.title') }}</label>
<ul class="md-nav__list" data-md-scrollfix> <ul class="md-nav__list" data-md-scrollfix>
......
site_name: IT4Innovations Documentation site_name: IT4Innovations Documentation
docs_dir: docs.it4i docs_dir: docs.it4i
site_favicon: img/favicon.ico
extra_css: extra_css:
- src/css.css - src/css.css
...@@ -24,7 +23,9 @@ theme: ...@@ -24,7 +23,9 @@ theme:
include_search_page: false include_search_page: false
search_index_only: true search_index_only: true
pages: favicon: img/favicon.ico
nav:
- Home: index.md - Home: index.md
- Accessing the Clusters: - Accessing the Clusters:
- Obtaining Login Credentials: general/obtaining-login-credentials/obtaining-login-credentials.md - Obtaining Login Credentials: general/obtaining-login-credentials/obtaining-login-credentials.md
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment