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
2f6773e9
Commit
2f6773e9
authored
Mar 20, 2017
by
Akhil Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated mkdocs
parent
0fdaf4f4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
+15
-15
docs_theme/404.html
+1
-1
docs_theme/main.html
+10
-10
docs_theme/nav.html
+3
-3
requirements/requirements-documentation.txt
+1
-1
No files found.
docs_theme/404.html
View file @
2f6773e9
{% extends "
base
.html" %}
{% extends "
main
.html" %}
{% block content %}
...
...
docs_theme/
base
.html
→
docs_theme/
main
.html
View file @
2f6773e9
...
...
@@ -4,11 +4,11 @@
<head>
<meta
http-equiv=
"Content-Type"
content=
"text/html; charset=UTF-8"
>
<meta
charset=
"utf-8"
>
<title>
{% if page
_title %}{{ page_title }} - {% endif %}{{
site_name }}
</title>
<title>
{% if page
.title %}{{ page.title }} - {% endif %}{{ config.
site_name }}
</title>
<link
href=
"{{ base_url }}/img/favicon.ico"
rel=
"icon"
type=
"image/x-icon"
>
<link
rel=
"canonical"
href=
"{{ canonical_url }}"
/>
<link
rel=
"canonical"
href=
"{{
page.
canonical_url }}"
/>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"description"
content=
"Django, API, REST{% if
current_page %}, {{ current_
page.title }}{% endif %}"
>
<meta
name=
"description"
content=
"Django, API, REST{% if
page %}, {{
page.title }}{% endif %}"
>
<meta
name=
"author"
content=
"Tom Christie"
>
<!-- Le styles -->
...
...
@@ -51,7 +51,7 @@
}
</style>
</head>
<body
onload=
"prettyPrint()"
class=
"{% if
current_page and current_
page.is_homepage %}index{% endif %}-page"
>
<body
onload=
"prettyPrint()"
class=
"{% if
page and
page.is_homepage %}index{% endif %}-page"
>
<div
class=
"wrapper"
>
{% include "nav.html" %}
...
...
@@ -83,14 +83,14 @@
<div
class=
"span3"
>
<div
id=
"table-of-contents"
>
<ul
class=
"nav nav-list side-nav well sidebar-nav-fixed"
>
{% if
current_page and current_
page.is_homepage %}
{% if
page and
page.is_homepage %}
<li
class=
"main"
>
<a
href=
"#"
>
Django REST framework
</a>
</li>
{% endif %}
{% for toc_item in toc %}
<li
class=
"{% if
current_page and not current_
page.is_homepage %}main{% endif %}"
>
{% for toc_item in
page.
toc %}
<li
class=
"{% if
page and not
page.is_homepage %}main{% endif %}"
>
<a
href=
"{{ toc_item.url }}"
>
{{ toc_item.title }}
</a>
</li>
...
...
@@ -112,15 +112,15 @@
<div
id=
"main-content"
class=
"span9"
>
{% block content %}
{% if meta.source %}
{% for filename in meta.source %}
{% if
page.
meta.source %}
{% for filename in
page.
meta.source %}
<a
class=
"github"
href=
"https://github.com/tomchristie/django-rest-framework/tree/master/rest_framework/{{ filename }}"
>
<span
class=
"label label-info"
>
{{ filename }}
</span>
</a>
{% endfor %}
{% endif %}
{{ content }}
{{
page.
content }}
{% endblock %}
</div>
<!--/span-->
...
...
docs_theme/nav.html
View file @
2f6773e9
...
...
@@ -2,10 +2,10 @@
<div
class=
"navbar-inner"
>
<div
class=
"container-fluid"
>
<a
class=
"repo-link btn btn-primary btn-small"
href=
"https://github.com/tomchristie/django-rest-framework/tree/master"
>
GitHub
</a>
<a
class=
"repo-link btn btn-inverse btn-small {% if not
next_page %}disabled{% endif %}"
rel=
"prev"
{%
if
next_page
%}
href=
"{{
next_page.url }}"
{%
endif
%}
>
<a
class=
"repo-link btn btn-inverse btn-small {% if not
page.next_page %}disabled{% endif %}"
rel=
"prev"
{%
if
page
.
next_page
%}
href=
"{{ page.
next_page.url }}"
{%
endif
%}
>
Next
<i
class=
"icon-arrow-right icon-white"
></i>
</a>
<a
class=
"repo-link btn btn-inverse btn-small {% if not p
revious_page %}disabled{% endif %}"
rel=
"next"
{%
if
previous_page
%}
href=
"{{
previous_page.url }}"
{%
endif
%}
>
<a
class=
"repo-link btn btn-inverse btn-small {% if not p
age.previous_page %}disabled{% endif %}"
rel=
"next"
{%
if
page
.
previous_page
%}
href=
"{{ page.
previous_page.url }}"
{%
endif
%}
>
<i
class=
"icon-arrow-left icon-white"
></i>
Previous
</a>
<a
id=
"search_modal_show"
class=
"repo-link btn btn-inverse btn-small"
href=
"#mkdocs_search_modal"
data-toggle=
"modal"
data-target=
"#mkdocs_search_modal"
><i
class=
"icon-search icon-white"
></i>
Search
</a>
...
...
@@ -16,7 +16,7 @@
</a>
<a
class=
"brand"
href=
"http://www.django-rest-framework.org"
>
Django REST framework
</a>
<div
class=
"nav-collapse collapse"
>
{% if
include_nav
%}
{% if
nav|length>1
%}
<!-- Main navigation -->
<ul
class=
"nav navbar-nav"
>
{% for nav_item in nav %} {% if nav_item.children %}
...
...
requirements/requirements-documentation.txt
View file @
2f6773e9
# MkDocs to build our documentation.
mkdocs==0.1
5.3
mkdocs==0.1
6.2
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