Permalink
Browse files

removed jp and uk unfinished docs to make en render on rtd

  • Loading branch information...
1 parent 187d659 commit 58b399448695c228b30ea2862234c1213226620e @blaflamme blaflamme committed Dec 20, 2011
Showing with 0 additions and 24,061 deletions.
  1. +0 −68 pylons/docs/ja/Makefile
  2. BIN pylons/docs/ja/_static/Pylons_Stack-Chainsaw-OSX.png
  3. +0 −2 pylons/docs/ja/_static/akhet.css
  4. BIN pylons/docs/ja/_static/akhet.png
  5. BIN pylons/docs/ja/_static/akhet_rev.png
  6. BIN pylons/docs/ja/_static/akhetcats.jpg
  7. BIN pylons/docs/ja/_static/akhettransaqua.png
  8. BIN pylons/docs/ja/_static/at.png
  9. BIN pylons/docs/ja/_static/babel_logo.png
  10. BIN pylons/docs/ja/_static/background.png
  11. +0 −833 pylons/docs/ja/_static/default.css
  12. BIN pylons/docs/ja/_static/doctraceback.gif
  13. BIN pylons/docs/ja/_static/doctraceback.png
  14. BIN pylons/docs/ja/_static/hellotemplate.png
  15. BIN pylons/docs/ja/_static/helloworld.png
  16. +0 −59 pylons/docs/ja/_static/pygments.css
  17. BIN pylons/docs/ja/_static/pylon1.jpg
  18. BIN pylons/docs/ja/_static/pylon2.jpg
  19. BIN pylons/docs/ja/_static/pylon3.jpg
  20. BIN pylons/docs/ja/_static/pylon4.jpg
  21. +0 −1,786 pylons/docs/ja/_static/pylons_as_onion.ai
  22. BIN pylons/docs/ja/_static/pylons_as_onion.png
  23. +0 −2,528 pylons/docs/ja/_static/pylons_as_onion.svg
  24. +0 −57 pylons/docs/ja/_templates/genindex.html
  25. +0 −191 pylons/docs/ja/_templates/layout.html
  26. +0 −62 pylons/docs/ja/_templates/modindex.html
  27. +0 −12 pylons/docs/ja/_templates/page.html
  28. +0 −195 pylons/docs/ja/advanced_pylons/creating_paste_templates.rst
  29. +0 −147 pylons/docs/ja/advanced_pylons/entry_points_and_plugins.rst
  30. +0 −14 pylons/docs/ja/advanced_pylons/index.rst
  31. +0 −157 pylons/docs/ja/advanced_pylons/paster.rst
  32. +0 −168 pylons/docs/ja/advanced_pylons/paster_commands.rst
  33. +0 −754 pylons/docs/ja/caching.rst
  34. +0 −476 pylons/docs/ja/concepts.rst
  35. +0 −146 pylons/docs/ja/conf.py
  36. +0 −971 pylons/docs/ja/configuration.rst
  37. +0 −957 pylons/docs/ja/controllers.rst
  38. +0 −194 pylons/docs/ja/debugging.rst
  39. +0 −513 pylons/docs/ja/deployment.rst
  40. +0 −855 pylons/docs/ja/forms.rst
  41. +0 −453 pylons/docs/ja/gettingstarted.rst
  42. +0 −531 pylons/docs/ja/glossary.rst
  43. +0 −630 pylons/docs/ja/helpers.rst
  44. +0 −1,301 pylons/docs/ja/i18n.rst
  45. +0 −122 pylons/docs/ja/index.rst
  46. +0 −85 pylons/docs/ja/jython.rst
  47. +0 −898 pylons/docs/ja/logging.rst
  48. +0 −1,855 pylons/docs/ja/models.rst
  49. +0 −11 pylons/docs/ja/modules/commands.rst
  50. +0 −10 pylons/docs/ja/modules/configuration.rst
  51. +0 −8 pylons/docs/ja/modules/controllers.rst
  52. +0 −10 pylons/docs/ja/modules/controllers_core.rst
  53. +0 −21 pylons/docs/ja/modules/controllers_util.rst
  54. +0 −10 pylons/docs/ja/modules/controllers_xmlrpc.rst
  55. +0 −10 pylons/docs/ja/modules/decorators.rst
  56. +0 −9 pylons/docs/ja/modules/decorators_cache.rst
  57. +0 −10 pylons/docs/ja/modules/decorators_rest.rst
  58. +0 −10 pylons/docs/ja/modules/decorators_secure.rst
  59. +0 −4 pylons/docs/ja/modules/error.rst
  60. +0 −19 pylons/docs/ja/modules/i18n_translation.rst
  61. +0 −28 pylons/docs/ja/modules/index.rst
  62. +0 −10 pylons/docs/ja/modules/log.rst
  63. +0 −50 pylons/docs/ja/modules/middleware.rst
  64. +0 −29 pylons/docs/ja/modules/templating.rst
  65. +0 −9 pylons/docs/ja/modules/test.rst
  66. +0 −11 pylons/docs/ja/modules/util.rst
  67. +0 −12 pylons/docs/ja/modules/wsgiapp.rst
  68. 0 pylons/docs/ja/objects.inv
  69. +0 −121 pylons/docs/ja/python23_install.rst
  70. +0 −50 pylons/docs/ja/security_policy_for_bugs.rst
  71. +0 −837 pylons/docs/ja/sessions.rst
  72. +0 −493 pylons/docs/ja/testing.rst
  73. +0 −113 pylons/docs/ja/thirdparty/beaker.rst
  74. +0 −139 pylons/docs/ja/thirdparty/formencode_api.rst
  75. +0 −17 pylons/docs/ja/thirdparty/index.rst
  76. +0 −25 pylons/docs/ja/thirdparty/routes.rst
  77. +0 −82 pylons/docs/ja/thirdparty/weberror.rst
  78. +0 −9 pylons/docs/ja/thirdparty/webhelpers/commands/commands.rst
  79. +0 −16 pylons/docs/ja/thirdparty/webhelpers/constants.rst
  80. +0 −30 pylons/docs/ja/thirdparty/webhelpers/containers.rst
  81. +0 −11 pylons/docs/ja/thirdparty/webhelpers/date.rst
  82. +0 −67 pylons/docs/ja/thirdparty/webhelpers/feedgenerator.rst
  83. +0 −8 pylons/docs/ja/thirdparty/webhelpers/hinclude.rst
  84. +0 −215 pylons/docs/ja/thirdparty/webhelpers/html/html.rst
  85. +0 −12 pylons/docs/ja/thirdparty/webhelpers/htmlgen.rst
  86. +0 −43 pylons/docs/ja/thirdparty/webhelpers/index.rst
  87. +0 −69 pylons/docs/ja/thirdparty/webhelpers/markdown.rst
  88. +0 −11 pylons/docs/ja/thirdparty/webhelpers/mimehelper.rst
  89. +0 −16 pylons/docs/ja/thirdparty/webhelpers/misc.rst
  90. +0 −18 pylons/docs/ja/thirdparty/webhelpers/number.rst
  91. +0 −109 pylons/docs/ja/thirdparty/webhelpers/paginate.rst
  92. +0 −17 pylons/docs/ja/thirdparty/webhelpers/pagination/pagination.rst
  93. +0 −11 pylons/docs/ja/thirdparty/webhelpers/pylonslib.rst
  94. +0 −172 pylons/docs/ja/thirdparty/webhelpers/rails/rails.rst
  95. +0 −17 pylons/docs/ja/thirdparty/webhelpers/text.rst
  96. +0 −9 pylons/docs/ja/thirdparty/webhelpers/textile.rst
  97. +0 −18 pylons/docs/ja/thirdparty/webhelpers/util.rst
  98. +0 −190 pylons/docs/ja/thirdparty/webob.rst
  99. +0 −14 pylons/docs/ja/thirdparty/webtest.rst
  100. +0 −12 pylons/docs/ja/tutorials/index.rst
  101. +0 −886 pylons/docs/ja/tutorials/quickwiki_tutorial.rst
  102. +0 −606 pylons/docs/ja/tutorials/understanding_unicode.rst
  103. +0 −227 pylons/docs/ja/upgrading.rst
  104. +0 −802 pylons/docs/ja/views.rst
  105. +0 −134 pylons/docs/ja/windowsnotes.rst
  106. +0 −172 pylons/docs/ja/wsgi_support.rst
  107. +0 −68 pylons/docs/uk/Makefile
  108. BIN pylons/docs/uk/_static/Pylons_Stack-Chainsaw-OSX.png
  109. +0 −2 pylons/docs/uk/_static/akhet.css
  110. BIN pylons/docs/uk/_static/akhet.png
  111. BIN pylons/docs/uk/_static/akhet_rev.png
  112. BIN pylons/docs/uk/_static/akhetcats.jpg
  113. BIN pylons/docs/uk/_static/akhettransaqua.png
  114. BIN pylons/docs/uk/_static/at.png
  115. BIN pylons/docs/uk/_static/babel_logo.png
  116. BIN pylons/docs/uk/_static/background.png
  117. +0 −833 pylons/docs/uk/_static/default.css
  118. BIN pylons/docs/uk/_static/doctraceback.gif
  119. BIN pylons/docs/uk/_static/doctraceback.png
  120. BIN pylons/docs/uk/_static/hellotemplate.png
  121. BIN pylons/docs/uk/_static/helloworld.png
  122. +0 −59 pylons/docs/uk/_static/pygments.css
  123. BIN pylons/docs/uk/_static/pylon1.jpg
  124. BIN pylons/docs/uk/_static/pylon2.jpg
  125. BIN pylons/docs/uk/_static/pylon3.jpg
  126. BIN pylons/docs/uk/_static/pylon4.jpg
Sorry, we could not display the entire diff because it was too big.
View
68 pylons/docs/ja/Makefile
@@ -1,68 +0,0 @@
-# Makefile for Sphinx documentation
-#
-
-# You can set these variables from the command line.
-SPHINXOPTS =
-SPHINXBUILD = sphinx-build
-PAPER =
-
-# Internal variables.
-PAPEROPT_a4 = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
-ALLSPHINXOPTS = -d _build/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
-
-.PHONY: help clean html web htmlhelp latex changes linkcheck
-
-help:
- @echo "Please use \`make <target>' where <target> is one of"
- @echo " html to make standalone HTML files"
- @echo " web to make files usable by Sphinx.web"
- @echo " htmlhelp to make HTML files and a HTML help project"
- @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
- @echo " changes to make an overview over all changed/added/deprecated items"
- @echo " linkcheck to check all external links for integrity"
-
-clean:
- -rm -rf _build/*
-
-html:
- mkdir -p _build/html _build/doctrees
- $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) _build/html
- @echo
- @echo "Build finished. The HTML pages are in _build/html."
-
-web:
- mkdir -p _build/web _build/doctrees
- $(SPHINXBUILD) -b web $(ALLSPHINXOPTS) _build/web
- @echo
- @echo "Build finished; now you can run"
- @echo " python -m sphinx.web _build/web"
- @echo "to start the server."
-
-htmlhelp:
- mkdir -p _build/htmlhelp _build/doctrees
- $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) _build/htmlhelp
- @echo
- @echo "Build finished; now you can run HTML Help Workshop with the" \
- ".hhp project file in _build/htmlhelp."
-
-latex:
- mkdir -p _build/latex _build/doctrees
- $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) _build/latex
- @echo
- @echo "Build finished; the LaTeX files are in _build/latex."
- @echo "Run \`make all-pdf' or \`make all-ps' in that directory to" \
- "run these through (pdf)latex."
-
-changes:
- mkdir -p _build/changes _build/doctrees
- $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) _build/changes
- @echo
- @echo "The overview file is in _build/changes."
-
-linkcheck:
- mkdir -p _build/linkcheck _build/doctrees
- $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) _build/linkcheck
- @echo
- @echo "Link check complete; look for any errors in the above output " \
- "or in _build/linkcheck/output.txt."
View
BIN pylons/docs/ja/_static/Pylons_Stack-Chainsaw-OSX.png
Deleted file not rendered
View
2 pylons/docs/ja/_static/akhet.css
@@ -1,2 +0,0 @@
-div.body h2 { font-size: 160%; background: url(akhettransaqua.png) 10px 3px no-repeat; padding-left: 2.66em;}
-pre { background: #efc url(background.png) 0 0 repeat; }
View
BIN pylons/docs/ja/_static/akhet.png
Deleted file not rendered
View
BIN pylons/docs/ja/_static/akhet_rev.png
Deleted file not rendered
View
BIN pylons/docs/ja/_static/akhetcats.jpg
Deleted file not rendered
View
BIN pylons/docs/ja/_static/akhettransaqua.png
Deleted file not rendered
View
BIN pylons/docs/ja/_static/at.png
Deleted file not rendered
View
BIN pylons/docs/ja/_static/babel_logo.png
Deleted file not rendered
View
BIN pylons/docs/ja/_static/background.png
Deleted file not rendered
View
833 pylons/docs/ja/_static/default.css
@@ -1,833 +0,0 @@
-/**
- * Sphinx Doc Design
- */
-
-body {
- font-family: sans-serif;
- font-size: 100%;
- background-color: #11303d;
- color: #000;
- margin: 0;
- padding: 0;
-}
-
-/* :::: LAYOUT :::: */
-
-div.document {
- background-color: #1c4e63;
-}
-
-div.documentwrapper {
- float: left;
- width: 100%;
-}
-
-div.bodywrapper {
- margin: 0 0 0 230px;
-}
-
-div.body {
- background-color: white;
- padding: 0 20px 30px 20px;
-}
-
-div.sphinxsidebarwrapper {
- padding: 10px 5px 0 10px;
-}
-
-div.sphinxsidebar {
- float: left;
- width: 230px;
- margin-left: -100%;
- font-size: 90%;
-}
-
-div.clearer {
- clear: both;
-}
-
-div.footer {
- color: #fff;
- width: 100%;
- padding: 9px 0 9px 0;
- text-align: center;
- font-size: 75%;
-}
-
-div.footer a {
- color: #fff;
- text-decoration: underline;
-}
-
-div.related {
- background-color: #133f52;
- color: #fff;
- width: 100%;
- height: 30px;
- line-height: 30px;
- font-size: 90%;
-}
-
-div.related h3 {
- display: none;
-}
-
-div.related ul {
- margin: 0;
- padding: 0 0 0 10px;
- list-style: none;
-}
-
-div.related li {
- display: inline;
-}
-
-div.related li.right {
- float: right;
- margin-right: 5px;
-}
-
-div.related a {
- color: white;
-}
-
-/* ::: TOC :::: */
-div.sphinxsidebar h3 {
- font-family: 'Trebuchet MS', sans-serif;
- color: white;
- font-size: 1.4em;
- font-weight: normal;
- margin: 0;
- padding: 0;
-}
-
-div.sphinxsidebar h4 {
- font-family: 'Trebuchet MS', sans-serif;
- color: white;
- font-size: 1.3em;
- font-weight: normal;
- margin: 5px 0 0 0;
- padding: 0;
-}
-
-div.sphinxsidebar p {
- color: white;
-}
-
-div.sphinxsidebar p.topless {
- margin: 5px 10px 10px 10px;
-}
-
-div.sphinxsidebar ul {
- margin: 10px;
- padding: 0;
- list-style: none;
- color: white;
-}
-
-div.sphinxsidebar ul ul,
-div.sphinxsidebar ul.want-points {
- margin-left: 20px;
- list-style: square;
-}
-
-div.sphinxsidebar ul ul {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-div.sphinxsidebar a {
- color: #98dbcc;
-}
-
-div.sphinxsidebar form {
- margin-top: 10px;
-}
-
-div.sphinxsidebar input {
- border: 1px solid #98dbcc;
- font-family: sans-serif;
- font-size: 1em;
-}
-
-/* :::: MODULE CLOUD :::: */
-div.modulecloud {
- margin: -5px 10px 5px 10px;
- padding: 10px;
- line-height: 160%;
- border: 1px solid #cbe7e5;
- background-color: #f2fbfd;
-}
-
-div.modulecloud a {
- padding: 0 5px 0 5px;
-}
-
-/* :::: SEARCH :::: */
-ul.search {
- margin: 10px 0 0 20px;
- padding: 0;
-}
-
-ul.search li {
- padding: 5px 0 5px 20px;
- background-image: url(file.png);
- background-repeat: no-repeat;
- background-position: 0 7px;
-}
-
-ul.search li a {
- font-weight: bold;
-}
-
-ul.search li div.context {
- color: #888;
- margin: 2px 0 0 30px;
- text-align: left;
-}
-
-ul.keywordmatches li.goodmatch a {
- font-weight: bold;
-}
-
-/* :::: COMMON FORM STYLES :::: */
-
-div.actions {
- padding: 5px 10px 5px 10px;
- border-top: 1px solid #cbe7e5;
- border-bottom: 1px solid #cbe7e5;
- background-color: #e0f6f4;
-}
-
-form dl {
- color: #333;
-}
-
-form dt {
- clear: both;
- float: left;
- min-width: 110px;
- margin-right: 10px;
- padding-top: 2px;
-}
-
-input#homepage {
- display: none;
-}
-
-div.error {
- margin: 5px 20px 0 0;
- padding: 5px;
- border: 1px solid #d00;
- font-weight: bold;
-}
-
-/* :::: INLINE COMMENTS :::: */
-
-div.inlinecomments {
- position: absolute;
- right: 20px;
-}
-
-div.inlinecomments a.bubble {
- display: block;
- float: right;
- background-image: url(style/comment.png);
- background-repeat: no-repeat;
- width: 25px;
- height: 25px;
- text-align: center;
- padding-top: 3px;
- font-size: 0.9em;
- line-height: 14px;
- font-weight: bold;
- color: black;
-}
-
-div.inlinecomments a.bubble span {
- display: none;
-}
-
-div.inlinecomments a.emptybubble {
- background-image: url(style/nocomment.png);
-}
-
-div.inlinecomments a.bubble:hover {
- background-image: url(style/hovercomment.png);
- text-decoration: none;
- color: #3ca0a4;
-}
-
-div.inlinecomments div.comments {
- float: right;
- margin: 25px 5px 0 0;
- max-width: 50em;
- min-width: 30em;
- border: 1px solid #2eabb0;
- background-color: #f2fbfd;
- z-index: 150;
-}
-
-div#comments {
- border: 1px solid #2eabb0;
- margin-top: 20px;
-}
-
-div#comments div.nocomments {
- padding: 10px;
- font-weight: bold;
-}
-
-div.inlinecomments div.comments h3,
-div#comments h3 {
- margin: 0;
- padding: 0;
- background-color: #2eabb0;
- color: white;
- border: none;
- padding: 3px;
-}
-
-div.inlinecomments div.comments div.actions {
- padding: 4px;
- margin: 0;
- border-top: none;
-}
-
-div#comments div.comment {
- margin: 10px;
- border: 1px solid #2eabb0;
-}
-
-div.inlinecomments div.comment h4,
-div.commentwindow div.comment h4,
-div#comments div.comment h4 {
- margin: 10px 0 0 0;
- background-color: #2eabb0;
- color: white;
- border: none;
- padding: 1px 4px 1px 4px;
-}
-
-div#comments div.comment h4 {
- margin: 0;
-}
-
-div#comments div.comment h4 a {
- color: #d5f4f4;
-}
-
-div.inlinecomments div.comment div.text,
-div.commentwindow div.comment div.text,
-div#comments div.comment div.text {
- margin: -5px 0 -5px 0;
- padding: 0 10px 0 10px;
-}
-
-div.inlinecomments div.comment div.meta,
-div.commentwindow div.comment div.meta,
-div#comments div.comment div.meta {
- text-align: right;
- padding: 2px 10px 2px 0;
- font-size: 95%;
- color: #538893;
- border-top: 1px solid #cbe7e5;
- background-color: #e0f6f4;
-}
-
-div.commentwindow {
- position: absolute;
- width: 500px;
- border: 1px solid #cbe7e5;
- background-color: #f2fbfd;
- display: none;
- z-index: 130;
-}
-
-div.commentwindow h3 {
- margin: 0;
- background-color: #2eabb0;
- color: white;
- border: none;
- padding: 5px;
- font-size: 1.5em;
- cursor: pointer;
-}
-
-div.commentwindow div.actions {
- margin: 10px -10px 0 -10px;
- padding: 4px 10px 4px 10px;
- color: #538893;
-}
-
-div.commentwindow div.actions input {
- border: 1px solid #2eabb0;
- background-color: white;
- color: #135355;
- cursor: pointer;
-}
-
-div.commentwindow div.form {
- padding: 0 10px 0 10px;
-}
-
-div.commentwindow div.form input,
-div.commentwindow div.form textarea {
- border: 1px solid #3c9ea2;
- background-color: white;
- color: black;
-}
-
-div.commentwindow div.error {
- margin: 10px 5px 10px 5px;
- background-color: #fbe5dc;
- display: none;
-}
-
-div.commentwindow div.form textarea {
- width: 99%;
-}
-
-div.commentwindow div.preview {
- margin: 10px 0 10px 0;
- background-color: #70d0d4;
- padding: 0 1px 1px 25px;
-}
-
-div.commentwindow div.preview h4 {
- margin: 0 0 -5px -20px;
- padding: 4px 0 0 4px;
- color: white;
- font-size: 1.3em;
-}
-
-div.commentwindow div.preview div.comment {
- background-color: #f2fbfd;
-}
-
-div.commentwindow div.preview div.comment h4 {
- margin: 10px 0 0 0!important;
- padding: 1px 4px 1px 4px!important;
- font-size: 1.2em;
-}
-
-/* :::: SUGGEST CHANGES :::: */
-div#suggest-changes-box input, div#suggest-changes-box textarea {
- border: 1px solid #ccc;
- background-color: white;
- color: black;
-}
-
-div#suggest-changes-box textarea {
- width: 99%;
- height: 400px;
-}
-
-
-/* :::: PREVIEW :::: */
-div.preview {
- background-image: url(style/preview.png);
- padding: 0 20px 20px 20px;
- margin-bottom: 30px;
-}
-
-
-/* :::: INDEX PAGE :::: */
-
-table.contentstable {
- width: 90%;
-}
-
-table.contentstable p.biglink {
- line-height: 150%;
-}
-
-a.biglink {
- font-size: 1.3em;
-}
-
-span.linkdescr {
- font-style: italic;
- padding-top: 5px;
- font-size: 90%;
-}
-
-/* :::: INDEX STYLES :::: */
-
-table.indextable td {
- text-align: left;
- vertical-align: top;
-}
-
-table.indextable dl, table.indextable dd {
- margin-top: 0;
- margin-bottom: 0;
-}
-
-table.indextable tr.pcap {
- height: 10px;
-}
-
-table.indextable tr.cap {
- margin-top: 10px;
- background-color: #f2f2f2;
-}
-
-img.toggler {
- margin-right: 3px;
- margin-top: 3px;
- cursor: pointer;
-}
-
-form.pfform {
- margin: 10px 0 20px 0;
-}
-
-/* :::: GLOBAL STYLES :::: */
-
-.docwarning {
- background-color: #ffe4e4;
- padding: 10px;
- margin: 0 -20px 0 -20px;
- border-bottom: 1px solid #f66;
-}
-
-p.subhead {
- font-weight: bold;
- margin-top: 20px;
-}
-
-a {
- color: #355f7c;
- text-decoration: none;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-div.body h1,
-div.body h2,
-div.body h3,
-div.body h4,
-div.body h5,
-div.body h6 {
- font-family: 'Trebuchet MS', sans-serif;
- background-color: #f2f2f2;
- font-weight: normal;
- color: #20435c;
- border-bottom: 1px solid #ccc;
- margin: 20px -20px 10px -20px;
- padding: 3px 0 3px 10px;
-}
-
-div.body h1 { margin-top: 0; font-size: 200%; }
-div.body h2 { font-size: 160%; }
-div.body h3 { font-size: 140%; }
-div.body h4 { font-size: 120%; }
-div.body h5 { font-size: 110%; }
-div.body h6 { font-size: 100%; }
-
-a.headerlink {
- color: #c60f0f;
- font-size: 0.8em;
- padding: 0 4px 0 4px;
- text-decoration: none;
- visibility: hidden;
-}
-
-h1:hover > a.headerlink,
-h2:hover > a.headerlink,
-h3:hover > a.headerlink,
-h4:hover > a.headerlink,
-h5:hover > a.headerlink,
-h6:hover > a.headerlink,
-dt:hover > a.headerlink {
- visibility: visible;
-}
-
-a.headerlink:hover {
- background-color: #c60f0f;
- color: white;
-}
-
-div.body p, div.body dd, div.body li {
- text-align: justify;
- line-height: 130%;
-}
-
-div.body p.caption {
- text-align: inherit;
-}
-
-div.body td {
- text-align: left;
-}
-
-ul.fakelist {
- list-style: none;
- margin: 10px 0 10px 20px;
- padding: 0;
-}
-
-.field-list ul {
- padding-left: 1em;
-}
-
-.first {
- margin-top: 0 !important;
-}
-
-/* "Footnotes" heading */
-p.rubric {
- margin-top: 30px;
- font-weight: bold;
-}
-
-/* "Topics" */
-
-div.topic {
- background-color: #eee;
- border: 1px solid #ccc;
- padding: 0 7px 0 7px;
- margin: 10px 0 10px 0;
-}
-
-p.topic-title {
- font-size: 1.1em;
- font-weight: bold;
- margin-top: 10px;
-}
-
-/* Admonitions */
-
-div.admonition {
- margin-top: 10px;
- margin-bottom: 10px;
- padding: 7px;
-}
-
-div.admonition dt {
- font-weight: bold;
-}
-
-div.admonition dl {
- margin-bottom: 0;
-}
-
-div.admonition p {
- display: inline;
-}
-
-div.seealso {
- background-color: #ffc;
- border: 1px solid #ff6;
-}
-
-div.warning {
- background-color: #ffe4e4;
- border: 1px solid #f66;
-}
-
-div.note {
- background-color: #eee;
- border: 1px solid #ccc;
-}
-
-p.admonition-title {
- margin: 0px 10px 5px 0px;
- font-weight: bold;
- display: inline;
-}
-
-p.admonition-title:after {
- content: ":";
-}
-
-div.body p.centered {
- text-align: center;
- margin-top: 25px;
-}
-
-table.docutils {
- border: 0;
-}
-
-table.docutils td, table.docutils th {
- padding: 1px 8px 1px 0;
- border-top: 0;
- border-left: 0;
- border-right: 0;
- border-bottom: 1px solid #aaa;
-}
-
-table.field-list td, table.field-list th {
- border: 0 !important;
-}
-
-table.footnote td, table.footnote th {
- border: 0 !important;
-}
-
-.field-list ul {
- margin: 0;
- padding-left: 1em;
-}
-
-.field-list p {
- margin: 0;
-}
-
-dl {
- margin-bottom: 15px;
- clear: both;
-}
-
-dd p {
- margin-top: 0px;
-}
-
-dd ul, dd table {
- margin-bottom: 10px;
-}
-
-dd {
- margin-top: 3px;
- margin-bottom: 10px;
- margin-left: 30px;
-}
-
-.refcount {
- color: #060;
-}
-
-dt:target,
-.highlight {
- background-color: #fbe54e;
-}
-
-dl.glossary dt {
- font-weight: bold;
- font-size: 1.1em;
-}
-
-th {
- text-align: left;
- padding-right: 5px;
-}
-
-pre {
- padding: 5px;
- background-color: #efc;
- color: #333;
- border: 1px solid #ac9;
- border-left: none;
- border-right: none;
- overflow: auto;
-}
-
-td.linenos pre {
- padding: 5px 0px;
- border: 0;
- background-color: transparent;
- color: #aaa;
-}
-
-table.highlighttable {
- margin-left: 0.5em;
-}
-
-table.highlighttable td {
- padding: 0 0.5em 0 0.5em;
-}
-
-tt {
- background-color: #ecf0f3;
- padding: 0 1px 0 1px;
- font-size: 0.95em;
-}
-
-tt.descname {
- background-color: transparent;
- font-weight: bold;
- font-size: 1.2em;
-}
-
-tt.descclassname {
- background-color: transparent;
-}
-
-tt.xref, a tt {
- background-color: transparent;
- font-weight: bold;
-}
-
-.footnote:target { background-color: #ffa }
-
-h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
- background-color: transparent;
-}
-
-.optional {
- font-size: 1.3em;
-}
-
-.versionmodified {
- font-style: italic;
-}
-
-form.comment {
- margin: 0;
- padding: 10px 30px 10px 30px;
- background-color: #eee;
-}
-
-form.comment h3 {
- background-color: #326591;
- color: white;
- margin: -10px -30px 10px -30px;
- padding: 5px;
- font-size: 1.4em;
-}
-
-form.comment input,
-form.comment textarea {
- border: 1px solid #ccc;
- padding: 2px;
- font-family: sans-serif;
- font-size: 100%;
-}
-
-form.comment input[type="text"] {
- width: 240px;
-}
-
-form.comment textarea {
- width: 100%;
- height: 200px;
- margin-bottom: 10px;
-}
-
-.system-message {
- background-color: #fda;
- padding: 5px;
- border: 3px solid red;
-}
-
-/* :::: PRINT :::: */
-@media print {
- div.document,
- div.documentwrapper,
- div.bodywrapper {
- margin: 0;
- width : 100%;
- }
-
- div.sphinxsidebar,
- div.related,
- div.footer,
- div#comments div.new-comment-box,
- #top-link {
- display: none;
- }
-}
View
BIN pylons/docs/ja/_static/doctraceback.gif
Deleted file not rendered
View
BIN pylons/docs/ja/_static/doctraceback.png
Deleted file not rendered
View
BIN pylons/docs/ja/_static/hellotemplate.png
Deleted file not rendered
View
BIN pylons/docs/ja/_static/helloworld.png
Deleted file not rendered
View
59 pylons/docs/ja/_static/pygments.css
@@ -1,59 +0,0 @@
-.c { color: #60a0b0; font-style: italic } /* Comment */
-.err { border: 1px solid #FF0000 } /* Error */
-.k { color: #007020; font-weight: bold } /* Keyword */
-.o { color: #666666 } /* Operator */
-.cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */
-.cp { color: #007020 } /* Comment.Preproc */
-.c1 { color: #60a0b0; font-style: italic } /* Comment.Single */
-.cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */
-.gd { color: #A00000 } /* Generic.Deleted */
-.ge { font-style: italic } /* Generic.Emph */
-.gr { color: #FF0000 } /* Generic.Error */
-.gh { color: #000080; font-weight: bold } /* Generic.Heading */
-.gi { color: #00A000 } /* Generic.Inserted */
-.go { color: #808080 } /* Generic.Output */
-.gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */
-.gs { font-weight: bold } /* Generic.Strong */
-.gu { color: #800080; font-weight: bold } /* Generic.Subheading */
-.gt { color: #0040D0 } /* Generic.Traceback */
-.kc { color: #007020; font-weight: bold } /* Keyword.Constant */
-.kd { color: #007020; font-weight: bold } /* Keyword.Declaration */
-.kp { color: #007020 } /* Keyword.Pseudo */
-.kr { color: #007020; font-weight: bold } /* Keyword.Reserved */
-.kt { color: #902000 } /* Keyword.Type */
-.m { color: #40a070 } /* Literal.Number */
-.s { color: #4070a0 } /* Literal.String */
-.na { color: #4070a0 } /* Name.Attribute */
-.nb { color: #007020 } /* Name.Builtin */
-.nc { color: #0e84b5; font-weight: bold } /* Name.Class */
-.no { color: #60add5 } /* Name.Constant */
-.nd { color: #555555; font-weight: bold } /* Name.Decorator */
-.ni { color: #d55537; font-weight: bold } /* Name.Entity */
-.ne { color: #007020 } /* Name.Exception */
-.nf { color: #06287e } /* Name.Function */
-.nl { color: #002070; font-weight: bold } /* Name.Label */
-.nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */
-.nt { color: #062873; font-weight: bold } /* Name.Tag */
-.nv { color: #bb60d5 } /* Name.Variable */
-.ow { color: #007020; font-weight: bold } /* Operator.Word */
-.w { color: #bbbbbb } /* Text.Whitespace */
-.mf { color: #40a070 } /* Literal.Number.Float */
-.mh { color: #40a070 } /* Literal.Number.Hex */
-.mi { color: #40a070 } /* Literal.Number.Integer */
-.mo { color: #40a070 } /* Literal.Number.Oct */
-.sb { color: #4070a0 } /* Literal.String.Backtick */
-.sc { color: #4070a0 } /* Literal.String.Char */
-.sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */
-.s2 { color: #4070a0 } /* Literal.String.Double */
-.se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */
-.sh { color: #4070a0 } /* Literal.String.Heredoc */
-.si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */
-.sx { color: #c65d09 } /* Literal.String.Other */
-.sr { color: #235388 } /* Literal.String.Regex */
-.s1 { color: #4070a0 } /* Literal.String.Single */
-.ss { color: #517918 } /* Literal.String.Symbol */
-.bp { color: #007020 } /* Name.Builtin.Pseudo */
-.vc { color: #bb60d5 } /* Name.Variable.Class */
-.vg { color: #bb60d5 } /* Name.Variable.Global */
-.vi { color: #bb60d5 } /* Name.Variable.Instance */
-.il { color: #40a070 } /* Literal.Number.Integer.Long */
View
BIN pylons/docs/ja/_static/pylon1.jpg
Deleted file not rendered
View
BIN pylons/docs/ja/_static/pylon2.jpg
Deleted file not rendered
View
BIN pylons/docs/ja/_static/pylon3.jpg
Deleted file not rendered
View
BIN pylons/docs/ja/_static/pylon4.jpg
Deleted file not rendered
View
1,786 pylons/docs/ja/_static/pylons_as_onion.ai
0 additions, 1,786 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
BIN pylons/docs/ja/_static/pylons_as_onion.png
Deleted file not rendered
View
2,528 pylons/docs/ja/_static/pylons_as_onion.svg
0 additions, 2,528 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
57 pylons/docs/ja/_templates/genindex.html
@@ -1,57 +0,0 @@
-{% extends "layout.html" %}
-{% set title = _('Index') %}
-{% block body %}
-
- <h1 id="index">{{ _('Index') }}</h1>
-
- {% for key, dummy in genindexentries -%}
- <a href="#{{ key }}"><strong>{{ key }}</strong></a> {% if not loop.last %}| {% endif %}
- {%- endfor %}
-
- <hr />
-
- {% for key, entries in genindexentries %}
-<h2 id="{{ key }}">{{ key }}</h2>
-<table width="100%" class="indextable"><tr><td width="33%" valign="top">
-<dl>
-{%- set breakat = genindexcounts[loop.index0] // 2 %}
-{%- set numcols = 1 %}
-{%- set numitems = 0 %}
-{% for entryname, (links, subitems) in entries %}
-<dt>{%- if links -%}<a href="{{ links[0] }}">{{ entryname|e }}</a>
- {%- for link in links[1:] %}, <a href="{{ link }}">[{{ loop.index }}]</a>{% endfor -%}
- {%- else -%}
-{{ entryname|e }}
- {%- endif -%}</dt>
- {%- if subitems %}
- <dd><dl>
- {%- for subentryname, subentrylinks in subitems %}
- <dt><a href="{{ subentrylinks[0] }}">{{ subentryname|e }}</a>
- {%- for link in subentrylinks[1:] %}, <a href="{{ link }}">[{{ loop.index }}]</a>{% endfor -%}
- </dt>
- {%- endfor %}
- </dl></dd>
- {%- endif -%}
-{%- set numitems = numitems + 1 + (subitems|length) -%}
-{%- if numcols < 2 and numitems > breakat -%}
-{%- set numcols = numcols+1 -%}
-</dl></td><td width="33%" valign="top"><dl>
-{%- endif -%}
-{%- endfor %}
-</dl></td></tr></table>
-{% endfor %}
-
-{% endblock %}
-
-{% block sidebarrel %}
-{% if split_index %}
- <h4>{{ _('Index') }}</h4>
- <p>{% for key, dummy in genindexentries -%}
- <a href="{{ pathto('genindex-' + key) }}"><strong>{{ key }}</strong></a>
- {% if not loop.last %}| {% endif %}
- {%- endfor %}</p>
-
- <p><a href="{{ pathto('genindex-all') }}"><strong>{{ _('Full index on one page') }}</strong></a></p>
-{% endif %}
- {{ super() }}
-{% endblock %}
View
191 pylons/docs/ja/_templates/layout.html
@@ -1,191 +0,0 @@
-{%- block doctype -%}
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-{%- endblock %}
-{%- set reldelim1 = reldelim1 is not defined and ' &raquo;' or reldelim1 %}
-{%- set reldelim2 = reldelim2 is not defined and ' |' or reldelim2 %}
-{%- macro relbar() %}
- <div class="related">
- <h3>{{ _('Navigation') }}</h3>
- <ul>
- {%- for rellink in rellinks %}
- <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
- <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags }}"
- accesskey="{{ rellink[2] }}">{{ rellink[3] }}</a>
- {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
- {%- endfor %}
- {%- block rootrellink %}
- <li><a href="{{ pathto('index') }}">{{ shorttitle }}</a>{{ reldelim1 }}</li>
- {%- endblock %}
- {%- for parent in parents %}
- <li><a href="{{ parent.link|e }}" accesskey="U">{{ parent.title }}</a>{{ reldelim1 }}</li>
- {%- endfor %}
- {%- block relbaritems %}{% endblock %}
- </ul>
- </div>
-{%- endmacro %}
-{%- macro sidebar() %}
- {%- if builder != 'htmlhelp' %}
- <div class="sphinxsidebar">
- <div class="sphinxsidebarwrapper">
- {%- block sidebarlogo %}
- {%- if logo %}
- <p class="logo"><a href="{{ pathto(master_doc) }}">
- <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
- </a></p>
- {%- endif %}
- {%- endblock %}
- {%- block sidebartoc %}
- {%- if display_toc %}
- <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
- {{ toc }}
- {%- endif %}
- {%- endblock %}
- {%- block sidebarrel %}
- {%- if prev %}
- <h4>{{ _('Previous topic') }}</h4>
- <p class="topless"><a href="{{ prev.link|e }}" title="{{ _('previous chapter') }}">{{ prev.title }}</a></p>
- {%- endif %}
- {%- if next %}
- <h4>{{ _('Next topic') }}</h4>
- <p class="topless"><a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></p>
- {%- endif %}
- {%- endblock %}
- {%- if sourcename %}
- <h3>{{ _('This Page') }}</h3>
- <ul class="this-page-menu">
- {%- if builder == 'web' %}
- <li><a href="#comments">Comments ({{ comments|length }} so far)</a></li>
- <li><a href="{{ pathto('@edit/' + sourcename)|e }}">{{ _('Suggest Change') }}</a></li>
- <li><a href="{{ pathto('@source/' + sourcename)|e }}">{{ _('Show Source') }}</a></li>
- {%- elif builder == 'html' %}
- <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}">{{ _('Show Source') }}</a></li>
- {%- endif %}
- </ul>
- {%- endif %}
- {%- if customsidebar %}
- {{ rendertemplate(customsidebar) }}
- {%- endif %}
- {%- block sidebarsearch %}
- {%- if pagename != "search" %}
- <h3>{% if builder == 'web' %}{{ _('Keyword search')}}{% else %}{{ _('Quick search') }}{% endif %}</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>
- {%- if builder == 'web' %}
- <p style="font-size: 90%">{{ _('Enter a module, class or function name.') }}</p>
- {%- endif %}
- {%- endif %}
- {%- endblock %}
- </div>
- </div>
- {%- endif %}
-{%- endmacro -%}
-
-<html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- {%- if builder != 'htmlhelp' %}
- {%- set titlesuffix = " &mdash; " + docstitle %}
- {%- endif %}
- <title>{{ title|striptags }}{{ titlesuffix }}</title>
- {%- if builder == 'web' %}
- <link rel="stylesheet" href="{{ pathto('index') }}?do=stylesheet{%
- if in_admin_panel %}&admin=yes{% endif %}" type="text/css" />
- {%- for link, type, title in page_links %}
- <link rel="alternate" type="{{ type|e(true) }}" title="{{ title|e(true) }}" href="{{ link|e(true) }}" />
- {%- endfor %}
- {%- else %}
- <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
- <link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
- {%- endif %}
- {%- if builder != 'htmlhelp' %}
- <script type="text/javascript">
- var DOCUMENTATION_OPTIONS = {
- URL_ROOT: '{{ pathto("", 1) }}',
- VERSION: '{{ release }}',
- COLLAPSE_MODINDEX: false,
- FILE_SUFFIX: '{{ file_suffix }}'
- };
- </script>
- {%- for scriptfile in script_files %}
- <script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script>
- {%- endfor %}
- {%- if use_opensearch %}
- <link rel="search" type="application/opensearchdescription+xml"
- title="{% trans docstitle=docstitle%}Search within {{ docstitle }}{% endtrans %}"
- href="{{ pathto('_static/opensearch.xml', 1) }}"/>
- {%- endif %}
- {%- if favicon %}
- <link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"/>
- {%- endif %}
- {%- endif %}
-{%- block rellinks %}
- {%- if hasdoc('about') %}
- <link rel="author" title="{{ _('About these documents') }}" href="{{ pathto('about') }}" />
- {%- endif %}
- <link rel="contents" title="{{ _('Global table of contents') }}" href="{{ pathto('contents') }}" />
- <link rel="index" title="{{ _('Global index') }}" href="{{ pathto('genindex') }}" />
- <link rel="search" title="{{ _('Search') }}" href="{{ pathto('search') }}" />
- {%- if hasdoc('copyright') %}
- <link rel="copyright" title="{{ _('Copyright') }}" href="{{ pathto('copyright') }}" />
- {%- endif %}
- <link rel="top" title="{{ docstitle }}" href="{{ pathto('index') }}" />
- {%- if parents %}
- <link rel="up" title="{{ parents[-1].title|striptags }}" href="{{ parents[-1].link|e }}" />
- {%- endif %}
- {%- if next %}
- <link rel="next" title="{{ next.title|striptags }}" href="{{ next.link|e }}" />
- {%- endif %}
- {%- if prev %}
- <link rel="prev" title="{{ prev.title|striptags }}" href="{{ prev.link|e }}" />
- {%- endif %}
-{%- endblock %}
-{%- block extrahead %}{% endblock %}
- </head>
- <body>
-
-{%- block relbar1 %}{{ relbar() }}{% endblock %}
-
-{%- block sidebar1 %}{# possible location for sidebar #}{% endblock %}
-
-{%- block document %}
- <div class="document">
- <div class="documentwrapper">
- {%- if builder != 'htmlhelp' %}
- <div class="bodywrapper">
- {%- endif %}
- <div class="body">
- {% block body %}{% endblock %}
- </div>
- {%- if builder != 'htmlhelp' %}
- </div>
- {%- endif %}
- </div>
-{%- endblock %}
-
-{%- block sidebar2 %}{{ sidebar() }}{% endblock %}
- <div class="clearer"></div>
- </div>
-
-{%- block relbar2 %}{{ relbar() }}{% endblock %}
-
-{%- block footer %}
- <div class="footer">
- {%- if hasdoc('copyright') %}
- {% trans path=pathto('copyright'), copyright=copyright %}&copy; <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
- {%- else %}
- {% trans copyright=copyright %}&copy; Copyright {{ copyright }}.{% endtrans %}
- {%- endif %}
- {%- if last_updated %}
- {% trans last_updated %}Last updated on {{ last_updated }}.{% endtrans %}
- {%- endif %}
- {%- if show_sphinx %}
- {% trans sphinx_version=sphinx_version %}Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
- {%- endif %}
- </div>
-{%- endblock %}
- </body>
-</html>
View
62 pylons/docs/ja/_templates/modindex.html
@@ -1,62 +0,0 @@
-{% extends "layout.html" %}
-{% set title = _('Global Module Index') %}
-{% block extrahead %}
-{{ super() }}
-{% if builder != 'htmlhelp' and collapse_modindex %}
- <script type="text/javascript">
- DOCUMENTATION_OPTIONS.COLLAPSE_MODINDEX = true;
- </script>
-{% endif %}
-{% endblock %}
-{% block body %}
-
- <h1 id="global-module-index">{{ _('Global Module Index') }}</h1>
-{% if builder == 'web' and freqentries %}
- <p>{{ _('Most popular modules:') }}</p>
- <div class="modulecloud">
- {%- for module in freqentries %}
- <a href="../q/{{ module.name|e }}/" style="font-size: {{ module.size }}%">{{ module.name|e }}</a>
- {%- endfor %}
- </div>
-{% endif %}
-{% if builder == 'web' %}
- <form class="pfform" action="" method="get">
- {{ _('Show modules only available on these platforms') }}:<br>
- {% for pl in platforms -%}
- <input type="checkbox" name="pf" value="{{ pl }}" id="pl-{{ pl }}"
- {%- if pl in showpf %} checked="checked"{% endif %}>
- <label for="pl-{{ pl }}">{{ pl }}</label>
- {% endfor %}
- <input type="hidden" name="newpf" value="true">
- <input type="submit" value="Apply">
- </form>
-{% endif %}
-
- {%- for letter in letters %}
- <a href="#cap-{{ letter }}"><strong>{{ letter }}</strong></a> {% if not loop.last %}| {% endif %}
- {%- endfor %}
- <hr/>
-
- <table width="100%" class="indextable" cellspacing="0" cellpadding="2">
- {%- for modname, collapse, cgroup, indent, fname, synops, pform, dep, stripped in modindexentries %}
- {%- if not modname -%}
- <tr class="pcap"><td></td><td>&nbsp;</td><td></td></tr>
- <tr class="cap"><td></td><td><a name="cap-{{ fname }}"><strong>{{ fname }}</strong></a></td><td></td></tr>
- {%- else -%}
- <tr{% if indent %} class="cg-{{ cgroup }}"{% endif %}>
- <td>{% if collapse -%}
- <img src="{{ pathto('_static/minus.png', 1) }}" id="toggle-{{ cgroup }}"
- class="toggler" style="display: none" />
- {%- endif %}</td>
- <td>{% if indent %}&nbsp;&nbsp;&nbsp;{% endif %}
- {% if fname %}<a href="{{ fname }}">{% endif -%}
- <tt class="xref">{{ stripped|e }}{{ modname|e }}</tt>
- {%- if fname %}</a>{% endif %}
- {%- if pform[0] %} <em>({{ pform|join(', ') }})</em>{% endif -%}
- </td><td>{% if dep %}<strong>{{ _('Deprecated')}}:</strong>{% endif %}
- <em>{{ synops|e }}</em></td></tr>
- {%- endif -%}
- {% endfor %}
- </table>
-
-{% endblock %}
View
12 pylons/docs/ja/_templates/page.html
@@ -1,12 +0,0 @@
-{% extends "layout.html" %}
-{% set page_links = [
- (pathto('@rss/' + sourcename), 'application/rss+xml', 'Page Comments'),
-] %}
-{% block body %}
- {% if oldurl %}
- <div class="docwarning">
- {% trans %}<strong>Note:</strong> You requested an out-of-date URL from this server. We've tried to redirect you to the new location of this page, but it may not be the right one.{% endtrans %}
- </div>
- {% endif %}
- {{ body }}
-{% endblock %}
View
195 pylons/docs/ja/advanced_pylons/creating_paste_templates.rst
@@ -1,195 +0,0 @@
-.. _creating_paste_templates:
-
-========================
-Creating Paste templates
-========================
-
-Introduction
-============
-
-`Python Paste <http://pythonpaste.org/>`_ is an extremely powerful package that isn't just about WSGI middleware. The related document :ref:`entry_points_and_plugins` demonstrates how to use entry_points to create simple plugins. This document describes how to write just such a plugin for use Paste's project template creation facility and how to add a command to Paste's ``paster`` script.
-
-The example task is to create a template for an imaginary content management system. The template is going to produce a project directory structure for a Python package, so we need to be able to specify a package name.
-
-Creating The Directory Structure and Templates
-==============================================
-
-The directory structure for the new project needs to look like this:
-
-.. code-block:: text
-
- - default_project
- - +package+
- - __init__.py
- - static
- - layout
- - region
- - renderer
- - service
- - layout
- - __init__.py
- - region
- - __init__.py
- - renderer
- - __init__.py
- - setup.py_tmpl
- - setup.cfg_tmpl
- - development.ini_tmpl
- - README.txt_tmpl
- - ez_setup.py
-
-Of course, the actual project's directory structure might look very different. In fact the ``paster create`` command can even be used to generate directory structures which *aren't* project templates --- although this wasn't what it was designed for.
-
-When the ``paster create`` command is run, any directories with ``+package+`` in their name will have that portion of the name replaced by a simplified package name and likewise any directories with ``+egg+`` in their name will have that portion replaced by the name of the egg directory, although we don't make use of that feature in this example.
-
-All of the files with ``_tmpl`` at the end of their filenames are treated as templates and will have the variables they contain replaced automatically. All other files will remain unchanged.
-
-.. note:: The small templating language used with ``paster create`` in files ending in ``_tmpl`` is described in detail in the `Paste util module documentation <http://pythonpaste.org/module-paste.util.template.html>`_
-
-When specifying a package name it can include capitalisation and ``_`` characters but it should be borne in mind that the actual name of the package will be the *lowercase* package name with the ``_`` characters removed. If the package name contains an ``_``, the egg name will contain a ``_`` character so occasionally the ``+egg+`` name is different to the ``+package+`` name.
-
-To avoid difficulty always recommend to users that they stick with package names that contain no ``_`` characters so that the names remain unique when made lowercase.
-
-Implementing the Code
-=====================
-
-Now that the directory structure has been defined, the next step is to implement the commands that will convert this to a ready-to-run project. The template creation commands are implemented by a class derived from ``paste.script.templates.Template``. This is how our example appears:
-
-.. code-block:: python
-
- from paste.script.templates import Template, var
-
- vars = [
- var('version', 'Version (like 0.1)'),
- var('description', 'One-line description of the package'),
- var('long_description', 'Multi-line description (in reST)'),
- var('keywords', 'Space-separated keywords/tags'),
- var('author', 'Author name'),
- var('author_email', 'Author email'),
- var('url', 'URL of homepage'),
- var('license_name', 'License name'),
- var('zip_safe', 'True/False: if the package can be distributed as a .zip file',
- default=False),
- ]
-
- class ArtProjectTemplate(Template):
- _template_dir = 'templates/default_project'
- summary = 'Art project template'
- vars = vars
-
-The ``vars`` arguments can all be set at run time and will be available to be used as (in this instance) Cheetah template variables in the files which end ``_tmpl``. For example the ``setup.py_tmpl`` file for the ``default_project`` might look like this:
-
-.. code-block:: html+mako
-
- from setuptools import setup, find_packages
-
- version = ${repr(version)|"0.0"}
-
- setup(name=${repr(project)},
- version=version,
- description="${description|nothing}",
- long_description="""\
- ${long_description|nothing}""",
- classifiers=[],
- keywords=${repr(keywords)|empty},
- author=${repr(author)|empty},
- author_email=${repr(author_email)|empty},
- url=${repr(url)|empty},
- license=${repr(license_name)|empty},
- packages=find_packages(exclude=['ez_setup']),
- include_package_data=True,
- zip_safe=${repr(bool(zip_safe))|False},
- install_requires=[
- # Extra requirements go here #
- ],
- entry_points="""
- [paste.app_factory]
- main=${package}:make_app
- """,
- )
-
-
-.. note: The list of available classifier strings can be obtained from: ``http://www.python.org/pypi?%3Aaction=list_classifiers``
-
-Note how the variables specified in ``vars`` earlier are used to generate the actual ``setup.py`` file.
-
-In order to use the new templates they must be hooked up to the ``paster create`` command by means of an entry point. In the ``setup.py`` file of the project (in which created the project template is going to be stored) we need to add the following:
-
-.. code-block:: python
-
- entry_points="""
- [paste.paster_create_template]
- art_project=art.entry.template:ArtProjectTemplate
- """,
-
-We also need to add ``PasteScript>=1.3`` to the ``install_requires`` line.
-
-.. code-block:: python
-
- install_requires=["PasteScript>=1.3"],
-
-We just need to install the entry points now by running:
-
-.. code-block:: bash
-
- python setup.py develop
-
-We should now be able to see a list of available templates with this command:
-
-.. code-block:: bash
-
- $ paster create --list-templates
-
-
-.. note:: Windows users will need to add their Python scripts directory to their path or enter the full version of the command, similar to this:
-
- .. code-block:: bash
-
- C:\Python24\Scripts\paster.exe create --list-templates
-
-You should see the following:
-
-.. code-block:: text
-
- Available templates:
- art_project: Art project template
- basic_package: A basic setuptools-enabled package
-
-
-There may be other projects too.
-
-
-Troubleshooting
-===============
-
-If the Art entries don't show up, check whether it is possible to import the ``template.py`` file because any errors are simply ignored by the paster create command rather than output as a warning.
-
-If the code is correct, the issue might be that the entry points data hasn't been updated. Examine the Python ``site-packages`` directory and delete the ``Art.egg-link`` files, any ``Art*.egg`` files or directories and remove any entries for art from ``easy_install.pth`` (replacing ``Art`` with the name chosen for the project of course). Then re-run ``python setup.py develop`` to install the correct information.
-
-If problems are still evident, then running the following code will print out a list of all entry points. It might help track the problem down:
-
-.. code-block:: python
-
- import pkg_resources
- for x in pkg_resources.iter_group_name(None, None):
- print x
-
-Using the Template
-===================
-
-Now that the entry point is working, a new project can be created:
-
-.. code-block:: bash
-
- $ paster create --template=art TestProject
-
-Paster will ask lots of questions based on the variables set up in ``vars`` earlier. Pressing ``return`` will cause the default to be used. The final result is a nice project template ready for people to start coding with.
-
-Implementing Pylons Templates
-=============================
-
-If the development context is subject to a frequent need to create lots of Pylons projects, each with a slightly different setup from the standard Pylons defaults then it is probably desirable to create a customised Pylons template to use when generating projects. This can be done in exactly the way described in this document.
-
-First, set up a new Python package, perhaps called something like ``CustomPylons`` (obviously, don't use the Pylons name because Pylons itself is already using it). Then check out the Pylons source code and copy the `pylons/templates/default_project <http://pylonshq.com/project/pylonshq/browser/Pylons/trunk/pylons/templates/default_project>`_ directory into the new project as a starting point. The next stage is to add the custom ``vars`` and ``Template`` class and set up the entry points in the ``CustomPylons`` ``setup.py`` file.
-
-After those tasks have been completed, it is then possible to create customised templates (ultimately based on the Pylons one) by using the ``CustomPylons`` package.
View
147 pylons/docs/ja/advanced_pylons/entry_points_and_plugins.rst
@@ -1,147 +0,0 @@
-.. _entry_points_and_plugins:
-
-===================================
-Using Entry Points to Write Plugins
-===================================
-
-Introduction
-============
-
-An entry point is a Python object in a project's code that is identified by a string in the project's ``setup.py`` file. The entry point is referenced by a group and a name so that the object may be discoverabe. This means that another application can search for all the installed software that has an entry point with a particular group name, and then access the Python object associated with that name.
-
-This is extremely useful because it means it is possible to write plugins for an appropriately-designed application that can be loaded at run time. This document describes just such an application.
-
-It is important to understand that entry points are a feature of the new Python eggs package format and are *not* a standard feature of Python. To learn about eggs, their benefits, how to install them and how to set them up, see:
-
-* `Python Eggs <http://peak.telecommunity.com/DevCenter/PythonEggs>`_
-* `Easy Install <http://peak.telecommunity.com/DevCenter/EasyInstall>`_
-* `Setuptools <http://peak.telecommunity.com/DevCenter/setuptools>`_
-
-If reading the above documentation is inconvenient, suffice it to say that eggs are created via a similar ``setup.py`` file to the one used by Python's own `distutils <http://docs.python.org/lib/module-distutils.html>`_ module --- except that eggs have some powerful extra features such as entry points and the ability to specify module dependencies and have them automatically installed by ``easy_install`` when the application itself is installed.
-
-For those developers unfamiliar with ``distutils``: it is the standard mechanism by which Python packages should be distributed. To use it, add a ``setup.py`` file to the desired project, insert the required metadata and specify the important files. The ``setup.py`` file can be used to issue various commands which create distributions of the pacakge in various formats for users to install.
-
-Creating Plugins
-================
-
-This document describes how to use entry points to create a plugin mechansim which allows new types of content to be added to a content management system but we are going to start by looking at the plugin.
-
-Say the standard way the CMS creates a plugin is with the ``make_plugin()`` function. In order for a plugin to be a plugin it must therefore have the function which takes the same arguments as the :func:`make_plugin` function and returns a plugin. We are going to add some image plugins to the CMS so we setup a project with the following directory structure:
-
-.. code-block:: text
-
- + image_plugins
- + __init__.py
- + setup.py
-
-The ``image_plugins/__init__.py`` file looks like this:
-
-.. code-block:: python
-
- def make_jpeg_image_plugin():
- return "This would return the JPEG image plugin"
-
- def make_png_image_plugin():
- return "This would return the PNG image plugin"
-
-We have now defined our plugins so we need to define our entry points. First lets write a basic ``setup.py`` for the project:
-
-.. code-block:: python
-
- from setuptools import setup, find_packages
-
- setup(
- name='ImagePlugins',
- version="1.0",
- description="Image plugins for the imaginary CMS 1.0 project",
- author="James Gardner",
- packages=find_packages(),
- include_package_data=True,
- )
-
-When using ``setuptools`` we can specify the ``find_packages()`` function and ``include_package_data=True`` rather than having to manually list all the modules and package data like we had to do in the old ``distutils`` ``setup.py``.
-
-Because the plugin is designed to work with the (imaginary) CMS 1.0 package, we need to specify that the plugin requires the CMS to be installed too and so we add this line to the ``setup()`` function:
-
-.. code-block:: python
-
- install_requires=["CMS>=1.0"],
-
-Now when the plugins are installed, CMS 1.0 or above will be installed automatically if it is not already present.
-
-There are lots of other arguments such as ``author_email`` or ``url`` which you can add to the ``setup.py`` function too.
-
-We are interested in adding the entry points. We need to decide on a group name for the entry points. It is traditional to use the name of the package using the entry point, separated by a ``.`` character and then use a name that describes what the entry point does. For our example ``cms.plugin`` might be an appropriate name for the entry point. Since the ``image_plugin`` module contains two plugins we will need two entries. Add the following to the ``setup.py`` function:
-
-
-.. code-block:: python
-
- entry_points="""
- [cms.plugin]
- jpg_image=image_plugin:make_jpeg_image_plugin
- png_image=image_plugin:make_jpeg_image_plugin
- """,
-
-Group names are specified in square brackets, plugin names are specified in the format ``name=module.import.path:object_within_the_module``. The object doesn't have to be a function and can have any valid Python name. The module import path doesn't have to be a top level component as it is in this example and the name of the entry point doesn't have to be the same as the name of the object it is pointing to.
-
-The developer can add as many entries as desired in each group as long as the names are different and the same holds for adding groups. It is also possible to specify the entry points as a Python dictionary rather than a string if that approach is preferred.
-
-There are two more things we need to do to complete the plugin. The first is to include an ``ez_setup`` module so that if the user installing the plugin doesn't have ``setuptools`` installed, it will be installed for them. We do this by adding the follwoing to the very top of the ``setup.py`` file before the import:
-
-
-.. code-block:: python
-
- from ez_setup import use_setuptools
- use_setuptools()
-
-
-We also need to download the ``ez_setup.py`` file into our project directory at the same level as ``setup.py``.
-
-.. note::
-
- If you keep your project in SVN there is a `trick you can use with the `SVN:externals <http://peak.telecommunity.com/DevCenter/setuptools#managing-multiple-projects>`_ to keep the ``ez_setup.py`` file up to date.
-
-Finally in order for the CMS to find the plugins we need to install them. We can do this with:
-
-.. code-block:: bash
-
- $ python setup.py install
-
-as usual or, since we might go on to develop the plugins further we can install them using a special development mode which sets up the paths to run the plugins from the source rather than installing them to Python's ``site-packages`` directory:
-
-.. code-block:: bash
-
- $ python setup.py develop
-
-Both commands will download and install ``setuptools`` if you don't already have it installed.
-
-
-Using Plugins
-=============
-
-Now that the plugin is written we need to write the code in the CMS package to load it. Luckily this is even easier.
-
-There are actually lots of ways of discovering plugins. For example: by distribution name and version requirement (such as ``ImagePlugins>=1.0``) or by the entry point group and name (eg ``jpg_image``). For this example we are choosing the latter, here is a simple script for loading the plugins:
-
-.. code-block:: python
-
- from pkg_resources import iter_entry_points
- for object in iter_entry_points(group='cms.plugin', name=None):
- print object()
-
- from pkg_resources import iter_entry_points
- available_methods = []
- for method_handler in iter_entry_points(group='authkit.method', name=None):
- available_methods.append(method_handler.load())
-
-Executing this short script, will result in the following output:
-
-.. code-block:: text
-
- This would return the JPEG image plugin
- This would return the PNG image plugin
-
-The ``iter_entry_points()`` function has looped though all the objects in the ``cms.plugin`` group and returned the function they were associated with. The application then called the function that the enrty point was pointing to.
-
-We hope that we have demonstrated the power of entry points for building extensible code and developers are encouraged to read the `pkg_resources <http://peak.telecommunity.com/DevCenter/PkgResources>`_ module documentation to learn about some more features of the eggs format.
-
View
14 pylons/docs/ja/advanced_pylons/index.rst
@@ -1,14 +0,0 @@
-.. _advanced_pylons:
-
-===============
-Advanced Pylons
-===============
-
-.. toctree::
- :maxdepth: 1
-
- paster
- paster_commands
- creating_paste_templates
- entry_points_and_plugins
-
View
157 pylons/docs/ja/advanced_pylons/paster.rst
@@ -1,157 +0,0 @@
-.. _paster:
-
-WSGI, CLI scripts
-=================
-
-Working with :class:`wsgiwrappers.WSGIRequest`
-----------------------------------------------
-
-Pylons uses a specialised *WSGIRequest* class that is accessible via the
-``paste.wsgiwrappers`` module.
-
-The ``wsgiwrappers.WSGIRequest`` object represents a WSGI request that has
-a more programmer-friendly interface. This interface does not expose every
-detail of the WSGI environment *(why?)* and does not attempt to express
-anything beyond what is available in the environment dictionary.
-
-The only state maintained in this object is the desired ``charset``, an
-associated errors handler and a ``decode_param_names`` option.
-
-.. _note:
-
- *Unicode notes*
-
- When ``charset`` is set, the incoming parameter values will be
- automatically coerced to unicode objects of the charset encoding.
-
- When unicode is expected, ``charset`` will be overridden by the the value
- of the charset parameter set in the Content-Type header, if one was
- specified by the client.
-
- The incoming parameter names are not decoded to unicode unless the
- decode_param_names option is enabled.
-
-The class variable ``defaults`` specifies default values for charset, errors,
-and language. These default values can be overridden for the current request
-via the registry *(what's a registry?)*.
-
-The language default value is considered the fallback during i18n
-translations to ensure in odd cases that mixed languages don't occur should
-the language file contain the string but not another language in the accepted
-languages list. The language value only applies when getting a list of
-accepted languages from the HTTP Accept header.
-
-This behavior is duplicated from Aquarium, and may seem strange but is very
-useful. Normally, everything in the code is in "en-us". However, the "en-us"
-translation catalog is usually empty. If the user requests ["en-us", "zh-cn"]
-and a translation isn't found for a string in "en-us", you don't want gettext
-to fallback to "zh-cn". You want it to just use the string itself. Hence, if
-a string isn't found in the language catalog, the string in the source code
-will be used.
-
-All other state is kept in the environment dictionary; this is essential for
-interoperability.
-
-You are free to subclass this object.
-
-Attributes
-----------
-
-GET
-^^^
-
-A dictionary-like object representing the QUERY_STRING parameters. Always present, possibly empty.
-
-If the same key is present in the query string multiple times, a list of its
-values can be retrieved from the :class:`MultiDict` via the :meth:``getall``
-method.
-
-Returns a :class:`MultiDict` container or, when charset is set, a :class:`UnicodeMultiDict`.
-
-POST
-^^^^
-
-A dictionary-like object representing the ``POST`` body.
-
-Most values are encoded strings, or unicode strings when charset is set.
-There may also be FieldStorage objects representing file uploads. If this is
-not a POST request, or the body is not encoded fields (e.g., an XMLRPC
-request) then this will be empty.
-
-This will consume wsgi.input when first accessed if applicable, but the raw
-version will be put in environ['paste.parsed_formvars'].
-
-Returns a MultiDict container or a UnicodeMultiDict when charset is set.
-
-cookies
-^^^^^^^
-
-A dictionary of cookies, keyed by cookie name.
-
-Just a plain dictionary, may be empty but not None.
-
-defaults
-^^^^^^^^
-
-.. code-block:: python
-
- {'errors': 'replace',
- 'decode_param_names': False,
- 'charset': None,
- 'language': 'en-us'}
-
-host
-^^^^
-
-The host name, as provided in ``HTTP_HOST`` with a fall-back to :envvar:`SERVER_NAME`
-
-is_xhr
-^^^^^^
-
-Returns a boolean if ``X-Requested-With`` is present and is a ``XMLHttpRequest``
-
-languages
-^^^^^^^^^
-
-Returns a (possibly empty) list of preferred languages, most preferred first.
-
-
-params
-^^^^^^
-
-A dictionary-like object of keys from ``POST``, ``GET``, ``URL`` dicts
-
-Return a key value from the parameters, they are checked in the following order: POST, GET, URL
-
-
-Additional methods supported:
------------------------------
-
-getlist(key)
-^^^^^^^^^^^^
-
-Returns a list of all the values by that key, collected from POST, GET, URL dicts
-
-Returns a :class:`MultiDict` container or a :class:`UnicodeMultiDict` when :data:`charset` is set.
-
-urlvars
-^^^^^^^
-
-Return any variables matched in the URL (e.g. wsgiorg.routing_args).
-
-Methods
--------
-
-__init__(self, environ)
-^^^^^^^^^^^^^^^^^^^^^^^
-
-determine_browser_charset(self)
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Determine the encoding as specified by the browser via the Content-Type's ``charset parameter``, if one is set
-
-match_accept(self, mimetypes)
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
-Return a list of specified mime-types that the browser's HTTP Accept header allows in the order provided.
-
View
168 pylons/docs/ja/advanced_pylons/paster_commands.rst
@@ -1,168 +0,0 @@
-.. _paster_commands: - Adding commands to paster
-
-=========================
-Adding commands to Paster
-=========================
-
-Paster command
-==============
-
-The command line will be ``paster my-command arg1 arg2`` if the current directory is the application egg, or ``paster --plugin=MyPylonsApp my-command arg1 arg2`` otherwise. In the latter case, ``MyPylonsApp`` must have been installed via ``easy_install`` or ``python setup.py develop``.
-
-Make a package directory for your commands:
-
-.. code-block:: bash
-
- $ mkdir myapp/commands
- $ touch myapp/commands/__init__.py
-
-Create a module ``myapp/commands/my_command.py`` like this:
-
-.. code-block:: python
-
- from paste.script.command import Command
-
- class MyCommand(Command):
- # Parser configuration
- summary = "--NO SUMMARY--"
- usage = "--NO USAGE--"
- group_name = "myapp"
- parser = Command.standard_parser(verbose=False)
-
- def command(self):
- import pprint
- print "Hello, app script world!"
- print
- print "My options are:"
- print " ", pprint.pformat(vars(self.options))
- print "My args are:"
- print " ", pprint.pformat(self.args)
- print
- print "My parser help is:"
- print
- print self.parser.format_help()
-
-.. note:: The class _must_ define ``.command``, ``.parser``, and ``.summary``
-
-Modify the ``entry_points`` argument in :file:`setup.py` to contain:
-
-.. code-block:: python
-
- [paste.paster_command]
- my-command = myapp.commands.my_command:MyCommand
-
-
-Run ``python setup.py develop`` or ``easy_install .`` to update the entry points in the egg in sys.path.
-
-Now you should be able to run:
-
-.. code-block:: bash
-
- $ paster --plugin=MyApp my-command arg1 arg2
- Hello, MyApp script world!
-
- My options are:
- {'interactive': False, 'overwrite': False, 'quiet': 0, 'verbose': 0}
- My args are:
- ['arg1', 'arg2']
-
- My parser help is:
-
- Usage: /usr/local/bin/paster my-command [options] --NO USAGE--
- --NO SUMMARY--
-
- Options:
- -h, --help show this help message and exit
-
- $ paster --plugin=MyApp --help
- Usage: paster [paster_options] COMMAND [command_options]
-
- ...
- myapp:
- my-command --NO SUMMARY--
-
- pylons:
- controller Create a Controller and accompanying functional test
- restcontroller Create a REST Controller and accompanying functional test
- shell Open an interactive shell with the Pylons app loaded
-
-Required class attributes
-==========================
-
-In addition to the ``.command`` method, the class should define ``.parser`` and ``.summary``.
-
-Command-line options
-====================
-
-:func:`Command.standard_parser` returns a Python :obj:`OptionParser`. Calling ``parser.add_option`` enables the developer to add as many options as desired. Inside the ``.command`` method, the user's options are available under ``self.options``, and any additional arguments are in ``self.args``.
-
-There are several other class attributes that affect the parser; see them defined in ``paste.script.command:Command``. The most useful attributes are ``.usage``, ``.description``, ``.min_args``, and ``.max_args``. ``.usage`` is the part of the usage string _after_ the command name. The ``.standard_parser()`` method has several optional arguments to add standardized options; some of these got added to my parser although I don't see how.
-
-See the ``paster shell`` command, ``pylons.commands:ShellCommand``, for an example of using command-line options and loading the ``.ini file`` and model.
-
-Also see "paster setup-app" where it is defined in ``paste.script.appinstall.SetupCommand``. This is evident from the entry point in PasteScript (:file:`PasteScript-VERSION.egg/EGG_INFO/entry_points.txt`). It is a complex example of reading a config file and delegating to another entry point.
-
-The code for calling ``myapp.websetup:setup_config`` is in ``paste.script.appinstall``.
-
-The ``Command`` class also has several convenience methods to handle console prompts, enable logging, verify directories exist and that files have expected content, insert text into a file, run a shell command, add files to Subversion, parse "var=value" arguments, add variables to an .ini file.
-
-Using paster to access a Pylons app
-===================================
-
-Paster provides ``request`` and ``post`` commands for running requests on an application. These commands will be run in the full configuration context of a normal application. Useful for cron jobs, the error handler will also be in place and you can get email reports of failed requests.
-
-Because arguments all just go in ``QUERY_STRING``, ``request.GET`` and ``request.PARAMS`` won't look like you expect. But you can parse them with
-something like:
-
-.. code-block:: python
-
- parser = optparse.OptionParser()
- parser.add_option(etc)
-
- args = [item[0] for item in
- cgi.parse_qsl(request.environ['QUERY_STRING'])]
-
- options, args = parser.parse_args(args)
-
-paster request / post
----------------------
-
-Usage: paster request / post [options] CONFIG_FILE URL [OPTIONS/ARGUMENTS]
-
-Run a request for the described application
-
-This command makes an artifical request to a web application that uses a
-``paste.deploy`` configuration file for the server and application. Use 'paster
-request config.ini /url' to request ``/url``.
-
-Use 'paster post config.ini /url < data' to do a POST with the given request body.
-
-If the URL is relative (i.e. doesn't begin with /) it is interpreted as relative to /.command/.
-
-The variable ``environ['paste.command_request']`` will be set to True in the request, so your application can distinguish these calls from normal requests.
-
-Note that you can pass options besides the options listed here; any unknown options will be passed to the application in ``environ['QUERY_STRING']``.
-
-.. code-block:: none
-
- Options:
- -h, --help show this help message and exit
- -v, --verbose
- -q, --quiet
- -n NAME, --app-name=NAME
- Load the named application (default main)
- --config-var=NAME:VALUE
- Variable to make available in the config for %()s
- substitution (you can use this option multiple times)
- --header=NAME:VALUE Header to add to request (you can use this option
- multiple times)
- --display-headers Display headers before the response body
-
-Future development
-------------------
-
-A Pylons controller that handled some of this would probably be quite
-useful. Probably even nicer with additions to the current template, so
-that ``/.command/`` all gets routed to a single controller that uses actions
-for the various sub-commands, and can provide a useful response to
-``/.command/?-h``, etc.
View
754 pylons/docs/ja/caching.rst
@@ -1,754 +0,0 @@
-.. _caching:
-
-===========
-キャッシュ
-===========
-
-.. Inevitably, there will be occasions during applications development or
-.. deployment when some task is revealed to be taking a significant
-.. amount of time to complete. When this occurs, the best way to speed
-.. things up is with :term:`caching`.
-
-必然的に (Inevitably)、アプリケーション開発やデプロイの際に何らかのタス
-クが完了するのに非常に時間がかかることがあります。このような場合、処理
-を速くする最も良い方法が :term:`caching` です。
-
-
-.. Pylons comes with caching middleware enabled that is part of the same
-.. package that provides the session handling, `Beaker
-.. <http://beaker.groovie.org>`_. Beaker supports a variety of caching
-.. backends: memory-based, filesystem-based and the specialised
-.. `memcached` library.
-
-Pylons にはキャッシュミドルウェアが有効な状態で付属しています。それはセッ
-ションの取り扱いを提供するのと同じパッケージである `Beaker
-<http://beaker.groovie.org>`_. の一部です。 Beaker はいくつかの異なる種
-類のキャッシュバックエンドをサポートします: メモリベース, ファイルシス
-テム, そして特別な `memcached` です。
-
-
-.. There are several ways to cache data under Pylons, depending on where
-.. the slowdown is occurring:
-
-Pylons では、速度低下が起こる場所に応じて、データをキャッシュするいくつ
-かの方法があります:
-
-
-.. * Browser-side Caching - HTTP/1.1 supports the :term:`ETag` caching
-.. system that allows the browser to use its own cache instead of
-.. requiring regeneration of the entire page. ETag-based caching avoids
-.. repeated generation of content but if the browser has never seen the
-.. page before, the page will still be generated. Therefore using ETag
-.. caching in conjunction with one of the other types of caching listed
-.. here will achieve optimal throughput and avoid unnecessary calls on
-.. resource-intensive operations.
-
-* ブラウザサイドのキャッシング - HTTP/1.1 は丸ごと 1 ページの再生成を必
- 要とする代わりにブラウザが自身のキャッシュを使用できるようにする
- :term:`ETag` キャッシングシステムをサポートしています。 ETag ベースの
- キャッシュは、コンテンツを繰り返し生成することを避けますが、それでも
- ブラウザがそれまでに一度もページを参照したことがないと、ページが生成