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
478dc2d0
Commit
478dc2d0
authored
Feb 01, 2011
by
tom christie tom@tomchristie.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up doc title & desc, fix repo link
parent
98b5b2ab
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
30 additions
and
14 deletions
+30
-14
.hgignore
+1
-1
README.txt
+1
-1
docs/conf.py
+9
-11
docs/index.rst
+6
-1
docs/templates/layout.html
+13
-0
No files found.
.hgignore
View file @
478dc2d0
...
...
@@ -4,7 +4,7 @@ syntax: glob
*.db
*~
env
docs
-
build
docs
/
build
html
examples/media/pygments/*
examples/media/objectstore/*
...
...
README.txt
View file @
478dc2d0
...
...
@@ -9,7 +9,7 @@ pip install -r requirements.txt
# To build the documentation...
pip install -r docs/requirements.txt
sphinx-build -c docs -b html -d docs
-
build docs html
sphinx-build -c docs -b html -d docs
/
build docs html
# To run the examples...
...
...
docs/conf.py
View file @
478dc2d0
...
...
@@ -35,7 +35,7 @@ setup_environ(settings)
extensions
=
[
'sphinx.ext.autodoc'
,
'sphinx.ext.doctest'
,
'sphinx.ext.todo'
,
'sphinx.ext.coverage'
,
'sphinx.ext.viewcode'
]
# Add any paths that contain templates here, relative to this directory.
templates_path
=
[]
templates_path
=
[
'templates'
]
# The suffix of source filenames.
source_suffix
=
'.rst'
...
...
@@ -111,7 +111,7 @@ html_theme = 'default'
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
#html_title = None
html_title
=
"Django REST Framework"
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
...
...
@@ -172,7 +172,7 @@ html_static_path = []
#html_file_suffix = None
# Output file base name for HTML help builder.
htmlhelp_basename
=
'restfulloggingdoc
'
#htmlhelp_basename = '
'
# -- Options for LaTeX output --------------------------------------------------
...
...
@@ -185,10 +185,9 @@ htmlhelp_basename = 'restfulloggingdoc'
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents
=
[
(
'index'
,
'restfullogging.tex'
,
u'restful logging Documentation'
,
u'tom c'
,
'manual'
),
]
#latex_documents = [
# (),
#]
# The name of an image file (relative to this directory) to place at the top of
# the title page.
...
...
@@ -217,7 +216,6 @@ latex_documents = [
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages
=
[
(
'index'
,
'restfullogging'
,
u'restful logging Documentation'
,
[
u'tom c'
],
1
)
]
#man_pages = [
# ()
#]
docs/index.rst
View file @
478dc2d0
.. meta::
:description: A lightweight REST framework for Django.
:keywords: django, python, REST, RESTful
Django REST framework
=====================
...
...
@@ -29,7 +34,7 @@ Installation & Setup
The django-rest-framework project is hosted as a `mercurial repository on bitbucket <https://bitbucket.org/tomchristie/django-rest-framework>`_.
To get a local copy of the repository use mercurial::
hg clone https://
tomchristie@
bitbucket.org/tomchristie/django-rest-framework
hg clone https://bitbucket.org/tomchristie/django-rest-framework
To add django-rest-framework to a django project:
...
...
docs/templates/layout.html
0 → 100644
View file @
478dc2d0
{% extends "!layout.html" %}
{%- if not embedded and docstitle %}
{%- set titleprefix = docstitle|e + " - "|safe %}
{%- else %}
{%- set titleprefix = "" %}
{%- endif %}
{% block htmltitle %}
<title>
{% if pagename == 'index' %}Django REST Framework{% else %}{{ titleprefix }}{{ title|striptags|e }}{% endif %}
</title>
{% endblock %}
{% block extrahead %}
{{ super() }}
{% endblock %}
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