From 25a0811204d2424a135535f8172b3682e7104e08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mikkel=20Friis-M=C3=B8ller?= <mikf@dtu.dk> Date: Tue, 23 Nov 2021 12:26:04 +0000 Subject: [PATCH] Docs --- .gitlab-ci.yml | 2 +- docs/conf.py | 4 ++-- docs/index.rst | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 749598d..26c382f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -46,7 +46,7 @@ pages: paths: - public only: - - master + - main - /^test_doc.*/ tags: - python diff --git a/docs/conf.py b/docs/conf.py index c5ad1bd..dadad08 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -137,8 +137,8 @@ nbsphinx_prolog = r""" .. nbinfo:: - :raw-html:`<a href="https://colab.research.google.com/github/DTUWindEnergy/EDWIN/blob/master/{{ docname }}"><img alt="Open and run in Colab (interactive)" src="https://colab.research.google.com/assets/colab-badge.svg" style="vertical-align:text-bottom"></a> - <a href="https://gitlab.windenergy.dtu.dk/TOPFARM/EDWIN/-/tree/master/{{ docname }}"><img alt="Edit on Gitlab" src="https://img.shields.io/badge/Edit%20on-Gitlab-blue?style=flat&logo=gitlab" style="vertical-align:text-bottom"></a>` + :raw-html:`<a href="https://colab.research.google.com/github/DTUWindEnergy/EDWIN/blob/main/{{ docname }}"><img alt="Open and run in Colab (interactive)" src="https://colab.research.google.com/assets/colab-badge.svg" style="vertical-align:text-bottom"></a> + <a href="https://gitlab.windenergy.dtu.dk/TOPFARM/EDWIN/-/tree/main/{{ docname }}"><img alt="Edit on Gitlab" src="https://img.shields.io/badge/Edit%20on-Gitlab-blue?style=flat&logo=gitlab" style="vertical-align:text-bottom"></a>` """ diff --git a/docs/index.rst b/docs/index.rst index cc34d0c..971315f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -17,7 +17,7 @@ Source code repository (and issue tracker): License: MIT_ -.. _MIT: https://gitlab.windenergy.dtu.dk/TOPFARM/Edwin/blob/master/LICENSE +.. _MIT: https://gitlab.windenergy.dtu.dk/TOPFARM/Edwin/blob/main/LICENSE Contents: -- GitLab