Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
django-rest-framework
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
django-rest-framework
Commits
4e7805cb
Commit
4e7805cb
authored
Oct 30, 2012
by
Tom Christie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make docs ready to push to django-rest-framework.org
parent
a13aaea7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
docs/template.html
+1
-1
mkdocs.py
+2
-2
No files found.
docs/template.html
View file @
4e7805cb
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<div
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"navbar navbar-inverse navbar-fixed-top"
>
<div
class=
"navbar-inner"
>
<div
class=
"navbar-inner"
>
<div
class=
"container-fluid"
>
<div
class=
"container-fluid"
>
<a
class=
"repo-link btn btn-primary btn-small"
href=
"https://github.com/tomchristie/django-rest-framework/tree/
restframework2
"
>
GitHub
</a>
<a
class=
"repo-link btn btn-primary btn-small"
href=
"https://github.com/tomchristie/django-rest-framework/tree/
master
"
>
GitHub
</a>
<a
class=
"btn btn-navbar"
data-toggle=
"collapse"
data-target=
".nav-collapse"
>
<a
class=
"btn btn-navbar"
data-toggle=
"collapse"
data-target=
".nav-collapse"
>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
...
...
mkdocs.py
View file @
4e7805cb
...
@@ -17,14 +17,14 @@ if local:
...
@@ -17,14 +17,14 @@ if local:
suffix
=
'.html'
suffix
=
'.html'
index
=
'index.html'
index
=
'index.html'
else
:
else
:
base_url
=
'http://
tomchristie.github.com/django-rest-framework
'
base_url
=
'http://
django-rest-framework.org
'
suffix
=
''
suffix
=
''
index
=
''
index
=
''
main_header
=
'<li class="main"><a href="#{{ anchor }}">{{ title }}</a></li>'
main_header
=
'<li class="main"><a href="#{{ anchor }}">{{ title }}</a></li>'
sub_header
=
'<li><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
()
page
=
open
(
os
.
path
.
join
(
docs_dir
,
'template.html'
),
'r'
)
.
read
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment