Skip to content

Commit

Permalink
Another garbage commit for rtfd.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmd-ntrf committed Aug 28, 2014
1 parent ecd720a commit 63b82df
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,15 +126,13 @@
plot_html_show_formats = True

# -- Options for extlinks extension ----------------------------------------------
import os
print(os.getcwd())

with open("../.git/HEAD", 'r') as git_head:
line = git_head.readline()
print(line)
branch_name = line.split('/')[2].strip()

extlinks = {'example': ('https://github.com/DEAP/deap/blob/%s/examples/%%s.py' % branch_name, "examples/")}
print("Building doc of branch : {branch}".format(branch=branch_name))

# -- Options for HTML output ---------------------------------------------------

# Add any paths that contain custom themes here, relative to this directory.
Expand Down

0 comments on commit 63b82df

Please sign in to comment.