From a68143b64c4f6da1751640645cdfe9b6318733e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernardo=20Mart=C3=ADnez=20Garrido?= Date: Wed, 10 Jun 2015 10:31:08 +0200 Subject: [PATCH] Added Github link on the navigation bar --- docs/source/conf.py | 7 +++++-- {{cookiecutter.repo_name}}/docs/source/conf.py | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 0e929f3..32cbab7 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -66,8 +66,11 @@ 'navbar_fixed_top': 'true', 'navbar_site_name': 'Contents', 'bootstrap_version': '3', - 'source_link_position': 'nav', - 'bootswatch_theme': "sandstone", + 'source_link_position': 'footer', + 'bootswatch_theme': '"sandstone', + 'navbar_links': [ + ('Github', 'https://github.com/Bernardo-MG/cookiecutter-python-library', True), + ], } # Custom static files folder. diff --git a/{{cookiecutter.repo_name}}/docs/source/conf.py b/{{cookiecutter.repo_name}}/docs/source/conf.py index bd226f5..3afda64 100644 --- a/{{cookiecutter.repo_name}}/docs/source/conf.py +++ b/{{cookiecutter.repo_name}}/docs/source/conf.py @@ -100,8 +100,11 @@ 'navbar_fixed_top': 'true', 'navbar_site_name': 'Contents', 'bootstrap_version': '3', - 'source_link_position': 'nav', - 'bootswatch_theme': "sandstone", + 'source_link_position': 'footer', + 'bootswatch_theme': 'sandstone', + 'navbar_links': [ + ('Github', 'https://github.com/{{ cookiecutter.github_username }}/{{ cookiecutter.repo_name }}', True), + ], } # Custom static files folder.