aboutsummaryrefslogtreecommitdiffstats
path: root/mkdocs.py
diff options
context:
space:
mode:
authorTom Christie2012-10-30 14:18:16 +0000
committerTom Christie2012-10-30 14:18:23 +0000
commit4e7805cb24d73e7f706318b5e5a27e3f9ba39d14 (patch)
treeca138abf4792f58ffa28684f784f201ee1eef6d7 /mkdocs.py
parenta13aaea78debc63fce9c134a9a1ee2a0e3d3236c (diff)
downloaddjango-rest-framework-4e7805cb24d73e7f706318b5e5a27e3f9ba39d14.tar.bz2
Make docs ready to push to django-rest-framework.org
Diffstat (limited to 'mkdocs.py')
-rwxr-xr-xmkdocs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mkdocs.py b/mkdocs.py
index 5d202d7e..3f6c5f65 100755
--- a/mkdocs.py
+++ b/mkdocs.py
@@ -17,14 +17,14 @@ if local:
suffix = '.html'
index = 'index.html'
else:
- base_url = 'http://tomchristie.github.com/django-rest-framework'
+ base_url = 'http://django-rest-framework.org'
suffix = ''
index = ''
main_header = '<li class="main"><a href="#{{ anchor }}">{{ title }}</a></li>'
sub_header = '<li><a href="#{{ anchor }}">{{ title }}</a></li>'
-code_label = r'<a class="github" href="https://github.com/tomchristie/django-rest-framework/blob/restframework2/rest_framework/\1"><span class="label label-info">\1</span></a>'
+code_label = r'<a class="github" href="https://github.com/tomchristie/django-rest-framework/tree/master/rest_framework/\1"><span class="label label-info">\1</span></a>'
page = open(os.path.join(docs_dir, 'template.html'), 'r').read()