Skip to content

Commit

Permalink
docs: Add badges
Browse files Browse the repository at this point in the history
Signed-off-by: Gal Pressman <galpressman@gmail.com>
  • Loading branch information
galpressman committed Jan 8, 2017
1 parent 4febff7 commit 44f3a0d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/_templates/badges.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<!--h3>Links</h3-->
<p class="badge"><a href="https://github.com/GalPressman/matrigram/network"><img src="https://img.shields.io/github/forks/GalPressman/matrigram.svg" alt="Github repository" /></a></p>
<p class="badge"><a href="https://github.com/GalPressman/matrigram/issues"><img src="https://img.shields.io/github/issues/GalPressman/matrigram.svg" alt="Github repository" /></a></p>
<p class="badge"><a href="https://raw.githubusercontent.com/GalPressman/matrigram/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="Github repository" /></a></p>
10 changes: 9 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,14 @@
# further. For a list of options available for each theme, see the
# documentation.
#
# html_theme_options = {}
html_theme_options = {
'github_user': 'GalPressman',
'github_repo': 'matrigram',
'github_banner': True,
'github_button': True,
'travis_button': True,
'show_powered_by': False,
}

# Add any paths that contain custom themes here, relative to this directory.
# html_theme_path = []
Expand Down Expand Up @@ -187,6 +194,7 @@
'about.html',
'navigation.html',
'searchbox.html',
'badges.html',
]
}

Expand Down

0 comments on commit 44f3a0d

Please sign in to comment.