diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 749598d69845e908a21c03abcaa8dcd8f7b1b040..26c382ff41729ba38544275803441f2294a2c304 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 c5ad1bda28b764e90cd9d257c09c4c4fe6d3ee64..dadad08d8c41989b51d32c9f5f1ef5ac66193fc2 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 cc34d0c17ed5a42630ef8f27764c4f046ebe95bc..971315fcd0b2efcc4a2d5e75dba362393cdd9565 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: