[pygccxml-commit] SF.net SVN: pygccxml:[1675] sphinx
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2009-02-12 23:02:53
|
Revision: 1675 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1675&view=rev Author: roman_yakovenko Date: 2009-02-12 22:00:53 +0000 (Thu, 12 Feb 2009) Log Message: ----------- sphinx Modified Paths: -------------- sphinx/conf.py Added Paths: ----------- sphinx/__templates_www/ sphinx/__templates_www/layout.html sphinx/__templates_www/left_ad_unit.html Added: sphinx/__templates_www/layout.html =================================================================== --- sphinx/__templates_www/layout.html (rev 0) +++ sphinx/__templates_www/layout.html 2009-02-12 22:00:53 UTC (rev 1675) @@ -0,0 +1,20 @@ +{% extends "!layout.html" %} + +{% set sidebarsearch = "left_ad_unit.html" %} + +{%- block sidebarsearch %} +{%- if pagename != "search" %} +<div id="searchbox" style="display: none"> +<h3>{{ _('Quick search') }}</h3> + <form class="search" action="{{ pathto('search') }}" method="get"> + <input type="text" name="q" size="18" /> + <input type="submit" value="{{ _('Go') }}" /> + <input type="hidden" name="check_keywords" value="yes" /> + <input type="hidden" name="area" value="default" /> + </form> +{% include "left_ad_unit.html" %} +</div> +<script type="text/javascript">$('#searchbox').show(0);</script> +{%- endif %} +{%- endblock %} + Added: sphinx/__templates_www/left_ad_unit.html =================================================================== --- sphinx/__templates_www/left_ad_unit.html (rev 0) +++ sphinx/__templates_www/left_ad_unit.html 2009-02-12 22:00:53 UTC (rev 1675) @@ -0,0 +1,11 @@ +<script type="text/javascript"><!-- +google_ad_client = "pub-0886572017808006"; +/* 200x200, created 2/12/09 */ +google_ad_slot = "3526901157"; +google_ad_width = 200; +google_ad_height = 200; +//--> +</script> +<script type="text/javascript" +src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> +</script> Modified: sphinx/conf.py =================================================================== --- sphinx/conf.py 2009-02-12 09:15:05 UTC (rev 1674) +++ sphinx/conf.py 2009-02-12 22:00:53 UTC (rev 1675) @@ -16,6 +16,9 @@ import sys, os, shutil, atexit +#Questions +#1. how to read/add/modify command line arguments? + # If your extensions are in another directory, add it here. If the directory # is relative to the documentation root, use os.path.abspath to make it # absolute, like shown here. @@ -79,7 +82,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx'] # Add any paths that contain templates here, relative to this directory. -templates_path = ['__templates'] +templates_path = ['__templates_www'] # The suffix of source filenames. source_suffix = '.rest' This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |