diff --git a/mkdocs.yml b/mkdocs.yml index 7679a423e992d919f772fd183bde56310a2773da..9b62b33a85fbc3324b2c3e79c293dcbad1e7af9c 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -19,6 +19,7 @@ repo_url: 'https://git.pleroma.social/pleroma/docs' extra: repo_icon: gitlab + branch: !!python/object/apply:os.getenv ["BRANCH"] markdown_extensions: # Note/warning blocks https://squidfunk.github.io/mkdocs-material/extensions/admonition/ diff --git a/theme/partials/source.html b/theme/partials/source.html index 3ed0fff24f8e6c7c45c9ecf40c82bec4cb631b71..970202f4d6d1cd42a64792548ff610d697f2efe8 100644 --- a/theme/partials/source.html +++ b/theme/partials/source.html @@ -48,17 +48,60 @@ {% set repo_name = config.repo_name %} {% endif %} - - - {% if repo_type %} -
- - - + + +