store repo details in state
This commit is contained in:
parent
dfa4a76e5a
commit
b8029bf776
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
# -*- coding: utf-8 -*- #
|
# -*- coding: utf-8 -*- #
|
||||||
from __future__ import unicode_literals
|
from __future__ import unicode_literals
|
||||||
|
from git import Repo
|
||||||
import sys, os
|
import sys, os
|
||||||
sys.path.insert(0, os.path.realpath('./plugins'))
|
sys.path.insert(0, os.path.realpath('./plugins'))
|
||||||
|
|
||||||
|
@ -26,6 +26,7 @@ import links
|
||||||
ACCOUNTS = links.accounts()
|
ACCOUNTS = links.accounts()
|
||||||
FOOTER_LINKS = links.footer()
|
FOOTER_LINKS = links.footer()
|
||||||
INDEX_PROJECTS = links.index_projects()
|
INDEX_PROJECTS = links.index_projects()
|
||||||
|
REPO = Repo(search_parent_directories=True)
|
||||||
|
|
||||||
# Disable some pages
|
# Disable some pages
|
||||||
TAG_URL = False
|
TAG_URL = False
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
flake8==2.5.0
|
flake8==2.5.0
|
||||||
fontawesome_markdown==0.2.5
|
fontawesome_markdown==0.2.5
|
||||||
gitpython==2.0.3
|
gitpython==2.0.7
|
||||||
iso8601==0.1.11
|
iso8601==0.1.11
|
||||||
markdown==2.6.6
|
markdown==2.6.6
|
||||||
git+https://github.com/ryneeverett/python-markdown-comments.git
|
git+https://github.com/ryneeverett/python-markdown-comments.git
|
||||||
|
|
Reference in a new issue