From: Kenneth Reitz Date: Mon, 16 May 2011 03:19:19 +0000 (-0400) Subject: Major docs cleanup X-Git-Tag: v0.4.1^2~37 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ba45b9d8904c3982ebe1a0bc0290b36f859f23c2;p=services%2Fpython-requests.git Major docs cleanup --- diff --git a/docs/_templates/sidebarintro.html b/docs/_templates/sidebarintro.html new file mode 100644 index 0000000..1a5f00e --- /dev/null +++ b/docs/_templates/sidebarintro.html @@ -0,0 +1,22 @@ +

About Requests

+

+ Requests is an elegant and simple HTTP library for Python, built for + human beings. You are currently looking at the documentation of the + development release. +

+ +

Feedback

+

+ Feedback is greatly appreciated. If you have any questions, comments, + random praise, or anonymous threats, + shoot me an email. +

+ + +

Useful Links

+ diff --git a/docs/_templates/sidebarlogo.html b/docs/_templates/sidebarlogo.html new file mode 100644 index 0000000..840601e --- /dev/null +++ b/docs/_templates/sidebarlogo.html @@ -0,0 +1,6 @@ +

About Requests

+

+ Requests is an elegant and simple HTTP library for Python, built for + human beings. You are currently looking at the documentation of the + development release. +

\ No newline at end of file diff --git a/docs/conf.py b/docs/conf.py index a2f5d9d..2d5c146 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -43,7 +43,7 @@ master_doc = 'index' # General information about the project. project = u'Requests' -copyright = u'2011. A Kenneth Reitz Project' +copyright = u'2011. A Kenneth Reitz Project' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -114,6 +114,7 @@ html_theme = 'default' # of the sidebar. #html_logo = None + # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32 # pixels large. @@ -133,7 +134,12 @@ html_static_path = ['_static'] #html_use_smartypants = True # Custom sidebar templates, maps document names to template names. -#html_sidebars = {} +# Custom sidebar templates, maps document names to template names. +html_sidebars = { + 'index': ['sidebarintro.html', 'sourcelink.html', 'searchbox.html'], + '**': ['sidebarlogo.html', 'localtoc.html', 'relations.html', + 'sourcelink.html', 'searchbox.html'] +} # Additional templates that should be rendered to pages, maps page names to # template names.