| @@ -78,13 +78,13 @@ CREATE TABLE projects_users ( | |||||
| CREATE TABLE tasks ( | CREATE TABLE tasks ( | ||||
| taskid INT UNSIGNED AUTO_INCREMENT, | taskid INT UNSIGNED AUTO_INCREMENT, | ||||
| projectid UNSIGNED INT NOT NULL, | |||||
| teamid INT UNSIGNED, | |||||
| projectid INT UNSIGNED NOT NULL, | |||||
| teamid INT UNSIGNED NULL, | |||||
| title VARCHAR(200) NOT NULL, | title VARCHAR(200) NOT NULL, | ||||
| task_description VARCHAR(500), | task_description VARCHAR(500), | ||||
| budget INT, | |||||
| task_status VARCHAR(64), -- This should be Waiting for delivery, Delivered and waiting for acceptance, Delivery has been accepted, awaiting payment, Payment for delivery is done or Declined delivery, please revise | |||||
| feedback VARCHAR(500), | |||||
| budget INT NOT NULL, | |||||
| task_status VARCHAR(64) NOT NULL, -- This should be Waiting for delivery, Delivered and waiting for acceptance, Delivery has been accepted, awaiting payment, Payment for delivery is done or Declined delivery, please revise | |||||
| feedback VARCHAR(500) NULL, | |||||
| PRIMARY KEY (taskid), | PRIMARY KEY (taskid), | ||||
| FOREIGN KEY (teamid) REFERENCES teams(teamid) | FOREIGN KEY (teamid) REFERENCES teams(teamid) | ||||
| ); | ); | ||||
| @@ -0,0 +1,20 @@ | |||||
| # Minimal makefile for Sphinx documentation | |||||
| # | |||||
| # You can set these variables from the command line, and also | |||||
| # from the environment for the first two. | |||||
| SPHINXOPTS ?= | |||||
| SPHINXBUILD ?= sphinx-build | |||||
| SOURCEDIR = source | |||||
| BUILDDIR = build | |||||
| # Put it first so that "make" without argument is like "make help". | |||||
| help: | |||||
| @$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | |||||
| .PHONY: help Makefile | |||||
| # Catch-all target: route all unknown targets to Sphinx using the new | |||||
| # "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | |||||
| %: Makefile | |||||
| @$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | |||||
| @@ -0,0 +1,4 @@ | |||||
| # Sphinx build info version 1 | |||||
| # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | |||||
| config: 0abe8cfcbbfa851eea57f9cfd92b8c83 | |||||
| tags: 645f666f9bcd5a90fca523b33c5a78b7 | |||||
| @@ -0,0 +1,24 @@ | |||||
| .. beelance2 documentation master file, created by | |||||
| sphinx-quickstart on Mon Nov 11 14:30:43 2019. | |||||
| You can adapt this file completely to your liking, but it should at least | |||||
| contain the root `toctree` directive. | |||||
| Welcome to beelance2's documentation! | |||||
| ===================================== | |||||
| .. toctree:: | |||||
| :maxdepth: 2 | |||||
| :caption: Contents: | |||||
| .. autoclass:: views.index.Index | |||||
| :members: | |||||
| .. automodule:: views.forms | |||||
| :members: | |||||
| Indices and tables | |||||
| ================== | |||||
| * :ref:`genindex` | |||||
| * :ref:`modindex` | |||||
| * :ref:`search` | |||||
| @@ -0,0 +1,701 @@ | |||||
| @import url("basic.css"); | |||||
| /* -- page layout ----------------------------------------------------------- */ | |||||
| body { | |||||
| font-family: Georgia, serif; | |||||
| font-size: 17px; | |||||
| background-color: #fff; | |||||
| color: #000; | |||||
| margin: 0; | |||||
| padding: 0; | |||||
| } | |||||
| div.document { | |||||
| width: 940px; | |||||
| margin: 30px auto 0 auto; | |||||
| } | |||||
| div.documentwrapper { | |||||
| float: left; | |||||
| width: 100%; | |||||
| } | |||||
| div.bodywrapper { | |||||
| margin: 0 0 0 220px; | |||||
| } | |||||
| div.sphinxsidebar { | |||||
| width: 220px; | |||||
| font-size: 14px; | |||||
| line-height: 1.5; | |||||
| } | |||||
| hr { | |||||
| border: 1px solid #B1B4B6; | |||||
| } | |||||
| div.body { | |||||
| background-color: #fff; | |||||
| color: #3E4349; | |||||
| padding: 0 30px 0 30px; | |||||
| } | |||||
| div.body > .section { | |||||
| text-align: left; | |||||
| } | |||||
| div.footer { | |||||
| width: 940px; | |||||
| margin: 20px auto 30px auto; | |||||
| font-size: 14px; | |||||
| color: #888; | |||||
| text-align: right; | |||||
| } | |||||
| div.footer a { | |||||
| color: #888; | |||||
| } | |||||
| p.caption { | |||||
| font-family: inherit; | |||||
| font-size: inherit; | |||||
| } | |||||
| div.relations { | |||||
| display: none; | |||||
| } | |||||
| div.sphinxsidebar a { | |||||
| color: #444; | |||||
| text-decoration: none; | |||||
| border-bottom: 1px dotted #999; | |||||
| } | |||||
| div.sphinxsidebar a:hover { | |||||
| border-bottom: 1px solid #999; | |||||
| } | |||||
| div.sphinxsidebarwrapper { | |||||
| padding: 18px 10px; | |||||
| } | |||||
| div.sphinxsidebarwrapper p.logo { | |||||
| padding: 0; | |||||
| margin: -10px 0 0 0px; | |||||
| text-align: center; | |||||
| } | |||||
| div.sphinxsidebarwrapper h1.logo { | |||||
| margin-top: -10px; | |||||
| text-align: center; | |||||
| margin-bottom: 5px; | |||||
| text-align: left; | |||||
| } | |||||
| div.sphinxsidebarwrapper h1.logo-name { | |||||
| margin-top: 0px; | |||||
| } | |||||
| div.sphinxsidebarwrapper p.blurb { | |||||
| margin-top: 0; | |||||
| font-style: normal; | |||||
| } | |||||
| div.sphinxsidebar h3, | |||||
| div.sphinxsidebar h4 { | |||||
| font-family: Georgia, serif; | |||||
| color: #444; | |||||
| font-size: 24px; | |||||
| font-weight: normal; | |||||
| margin: 0 0 5px 0; | |||||
| padding: 0; | |||||
| } | |||||
| div.sphinxsidebar h4 { | |||||
| font-size: 20px; | |||||
| } | |||||
| div.sphinxsidebar h3 a { | |||||
| color: #444; | |||||
| } | |||||
| div.sphinxsidebar p.logo a, | |||||
| div.sphinxsidebar h3 a, | |||||
| div.sphinxsidebar p.logo a:hover, | |||||
| div.sphinxsidebar h3 a:hover { | |||||
| border: none; | |||||
| } | |||||
| div.sphinxsidebar p { | |||||
| color: #555; | |||||
| margin: 10px 0; | |||||
| } | |||||
| div.sphinxsidebar ul { | |||||
| margin: 10px 0; | |||||
| padding: 0; | |||||
| color: #000; | |||||
| } | |||||
| div.sphinxsidebar ul li.toctree-l1 > a { | |||||
| font-size: 120%; | |||||
| } | |||||
| div.sphinxsidebar ul li.toctree-l2 > a { | |||||
| font-size: 110%; | |||||
| } | |||||
| div.sphinxsidebar input { | |||||
| border: 1px solid #CCC; | |||||
| font-family: Georgia, serif; | |||||
| font-size: 1em; | |||||
| } | |||||
| div.sphinxsidebar hr { | |||||
| border: none; | |||||
| height: 1px; | |||||
| color: #AAA; | |||||
| background: #AAA; | |||||
| text-align: left; | |||||
| margin-left: 0; | |||||
| width: 50%; | |||||
| } | |||||
| div.sphinxsidebar .badge { | |||||
| border-bottom: none; | |||||
| } | |||||
| div.sphinxsidebar .badge:hover { | |||||
| border-bottom: none; | |||||
| } | |||||
| /* To address an issue with donation coming after search */ | |||||
| div.sphinxsidebar h3.donation { | |||||
| margin-top: 10px; | |||||
| } | |||||
| /* -- body styles ----------------------------------------------------------- */ | |||||
| a { | |||||
| color: #004B6B; | |||||
| text-decoration: underline; | |||||
| } | |||||
| a:hover { | |||||
| color: #6D4100; | |||||
| text-decoration: underline; | |||||
| } | |||||
| div.body h1, | |||||
| div.body h2, | |||||
| div.body h3, | |||||
| div.body h4, | |||||
| div.body h5, | |||||
| div.body h6 { | |||||
| font-family: Georgia, serif; | |||||
| font-weight: normal; | |||||
| margin: 30px 0px 10px 0px; | |||||
| padding: 0; | |||||
| } | |||||
| div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; } | |||||
| div.body h2 { font-size: 180%; } | |||||
| div.body h3 { font-size: 150%; } | |||||
| div.body h4 { font-size: 130%; } | |||||
| div.body h5 { font-size: 100%; } | |||||
| div.body h6 { font-size: 100%; } | |||||
| a.headerlink { | |||||
| color: #DDD; | |||||
| padding: 0 4px; | |||||
| text-decoration: none; | |||||
| } | |||||
| a.headerlink:hover { | |||||
| color: #444; | |||||
| background: #EAEAEA; | |||||
| } | |||||
| div.body p, div.body dd, div.body li { | |||||
| line-height: 1.4em; | |||||
| } | |||||
| div.admonition { | |||||
| margin: 20px 0px; | |||||
| padding: 10px 30px; | |||||
| background-color: #EEE; | |||||
| border: 1px solid #CCC; | |||||
| } | |||||
| div.admonition tt.xref, div.admonition code.xref, div.admonition a tt { | |||||
| background-color: #FBFBFB; | |||||
| border-bottom: 1px solid #fafafa; | |||||
| } | |||||
| div.admonition p.admonition-title { | |||||
| font-family: Georgia, serif; | |||||
| font-weight: normal; | |||||
| font-size: 24px; | |||||
| margin: 0 0 10px 0; | |||||
| padding: 0; | |||||
| line-height: 1; | |||||
| } | |||||
| div.admonition p.last { | |||||
| margin-bottom: 0; | |||||
| } | |||||
| div.highlight { | |||||
| background-color: #fff; | |||||
| } | |||||
| dt:target, .highlight { | |||||
| background: #FAF3E8; | |||||
| } | |||||
| div.warning { | |||||
| background-color: #FCC; | |||||
| border: 1px solid #FAA; | |||||
| } | |||||
| div.danger { | |||||
| background-color: #FCC; | |||||
| border: 1px solid #FAA; | |||||
| -moz-box-shadow: 2px 2px 4px #D52C2C; | |||||
| -webkit-box-shadow: 2px 2px 4px #D52C2C; | |||||
| box-shadow: 2px 2px 4px #D52C2C; | |||||
| } | |||||
| div.error { | |||||
| background-color: #FCC; | |||||
| border: 1px solid #FAA; | |||||
| -moz-box-shadow: 2px 2px 4px #D52C2C; | |||||
| -webkit-box-shadow: 2px 2px 4px #D52C2C; | |||||
| box-shadow: 2px 2px 4px #D52C2C; | |||||
| } | |||||
| div.caution { | |||||
| background-color: #FCC; | |||||
| border: 1px solid #FAA; | |||||
| } | |||||
| div.attention { | |||||
| background-color: #FCC; | |||||
| border: 1px solid #FAA; | |||||
| } | |||||
| div.important { | |||||
| background-color: #EEE; | |||||
| border: 1px solid #CCC; | |||||
| } | |||||
| div.note { | |||||
| background-color: #EEE; | |||||
| border: 1px solid #CCC; | |||||
| } | |||||
| div.tip { | |||||
| background-color: #EEE; | |||||
| border: 1px solid #CCC; | |||||
| } | |||||
| div.hint { | |||||
| background-color: #EEE; | |||||
| border: 1px solid #CCC; | |||||
| } | |||||
| div.seealso { | |||||
| background-color: #EEE; | |||||
| border: 1px solid #CCC; | |||||
| } | |||||
| div.topic { | |||||
| background-color: #EEE; | |||||
| } | |||||
| p.admonition-title { | |||||
| display: inline; | |||||
| } | |||||
| p.admonition-title:after { | |||||
| content: ":"; | |||||
| } | |||||
| pre, tt, code { | |||||
| font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace; | |||||
| font-size: 0.9em; | |||||
| } | |||||
| .hll { | |||||
| background-color: #FFC; | |||||
| margin: 0 -12px; | |||||
| padding: 0 12px; | |||||
| display: block; | |||||
| } | |||||
| img.screenshot { | |||||
| } | |||||
| tt.descname, tt.descclassname, code.descname, code.descclassname { | |||||
| font-size: 0.95em; | |||||
| } | |||||
| tt.descname, code.descname { | |||||
| padding-right: 0.08em; | |||||
| } | |||||
| img.screenshot { | |||||
| -moz-box-shadow: 2px 2px 4px #EEE; | |||||
| -webkit-box-shadow: 2px 2px 4px #EEE; | |||||
| box-shadow: 2px 2px 4px #EEE; | |||||
| } | |||||
| table.docutils { | |||||
| border: 1px solid #888; | |||||
| -moz-box-shadow: 2px 2px 4px #EEE; | |||||
| -webkit-box-shadow: 2px 2px 4px #EEE; | |||||
| box-shadow: 2px 2px 4px #EEE; | |||||
| } | |||||
| table.docutils td, table.docutils th { | |||||
| border: 1px solid #888; | |||||
| padding: 0.25em 0.7em; | |||||
| } | |||||
| table.field-list, table.footnote { | |||||
| border: none; | |||||
| -moz-box-shadow: none; | |||||
| -webkit-box-shadow: none; | |||||
| box-shadow: none; | |||||
| } | |||||
| table.footnote { | |||||
| margin: 15px 0; | |||||
| width: 100%; | |||||
| border: 1px solid #EEE; | |||||
| background: #FDFDFD; | |||||
| font-size: 0.9em; | |||||
| } | |||||
| table.footnote + table.footnote { | |||||
| margin-top: -15px; | |||||
| border-top: none; | |||||
| } | |||||
| table.field-list th { | |||||
| padding: 0 0.8em 0 0; | |||||
| } | |||||
| table.field-list td { | |||||
| padding: 0; | |||||
| } | |||||
| table.field-list p { | |||||
| margin-bottom: 0.8em; | |||||
| } | |||||
| /* Cloned from | |||||
| * https://github.com/sphinx-doc/sphinx/commit/ef60dbfce09286b20b7385333d63a60321784e68 | |||||
| */ | |||||
| .field-name { | |||||
| -moz-hyphens: manual; | |||||
| -ms-hyphens: manual; | |||||
| -webkit-hyphens: manual; | |||||
| hyphens: manual; | |||||
| } | |||||
| table.footnote td.label { | |||||
| width: .1px; | |||||
| padding: 0.3em 0 0.3em 0.5em; | |||||
| } | |||||
| table.footnote td { | |||||
| padding: 0.3em 0.5em; | |||||
| } | |||||
| dl { | |||||
| margin: 0; | |||||
| padding: 0; | |||||
| } | |||||
| dl dd { | |||||
| margin-left: 30px; | |||||
| } | |||||
| blockquote { | |||||
| margin: 0 0 0 30px; | |||||
| padding: 0; | |||||
| } | |||||
| ul, ol { | |||||
| /* Matches the 30px from the narrow-screen "li > ul" selector below */ | |||||
| margin: 10px 0 10px 30px; | |||||
| padding: 0; | |||||
| } | |||||
| pre { | |||||
| background: #EEE; | |||||
| padding: 7px 30px; | |||||
| margin: 15px 0px; | |||||
| line-height: 1.3em; | |||||
| } | |||||
| div.viewcode-block:target { | |||||
| background: #ffd; | |||||
| } | |||||
| dl pre, blockquote pre, li pre { | |||||
| margin-left: 0; | |||||
| padding-left: 30px; | |||||
| } | |||||
| tt, code { | |||||
| background-color: #ecf0f3; | |||||
| color: #222; | |||||
| /* padding: 1px 2px; */ | |||||
| } | |||||
| tt.xref, code.xref, a tt { | |||||
| background-color: #FBFBFB; | |||||
| border-bottom: 1px solid #fff; | |||||
| } | |||||
| a.reference { | |||||
| text-decoration: none; | |||||
| border-bottom: 1px dotted #004B6B; | |||||
| } | |||||
| /* Don't put an underline on images */ | |||||
| a.image-reference, a.image-reference:hover { | |||||
| border-bottom: none; | |||||
| } | |||||
| a.reference:hover { | |||||
| border-bottom: 1px solid #6D4100; | |||||
| } | |||||
| a.footnote-reference { | |||||
| text-decoration: none; | |||||
| font-size: 0.7em; | |||||
| vertical-align: top; | |||||
| border-bottom: 1px dotted #004B6B; | |||||
| } | |||||
| a.footnote-reference:hover { | |||||
| border-bottom: 1px solid #6D4100; | |||||
| } | |||||
| a:hover tt, a:hover code { | |||||
| background: #EEE; | |||||
| } | |||||
| @media screen and (max-width: 870px) { | |||||
| div.sphinxsidebar { | |||||
| display: none; | |||||
| } | |||||
| div.document { | |||||
| width: 100%; | |||||
| } | |||||
| div.documentwrapper { | |||||
| margin-left: 0; | |||||
| margin-top: 0; | |||||
| margin-right: 0; | |||||
| margin-bottom: 0; | |||||
| } | |||||
| div.bodywrapper { | |||||
| margin-top: 0; | |||||
| margin-right: 0; | |||||
| margin-bottom: 0; | |||||
| margin-left: 0; | |||||
| } | |||||
| ul { | |||||
| margin-left: 0; | |||||
| } | |||||
| li > ul { | |||||
| /* Matches the 30px from the "ul, ol" selector above */ | |||||
| margin-left: 30px; | |||||
| } | |||||
| .document { | |||||
| width: auto; | |||||
| } | |||||
| .footer { | |||||
| width: auto; | |||||
| } | |||||
| .bodywrapper { | |||||
| margin: 0; | |||||
| } | |||||
| .footer { | |||||
| width: auto; | |||||
| } | |||||
| .github { | |||||
| display: none; | |||||
| } | |||||
| } | |||||
| @media screen and (max-width: 875px) { | |||||
| body { | |||||
| margin: 0; | |||||
| padding: 20px 30px; | |||||
| } | |||||
| div.documentwrapper { | |||||
| float: none; | |||||
| background: #fff; | |||||
| } | |||||
| div.sphinxsidebar { | |||||
| display: block; | |||||
| float: none; | |||||
| width: 102.5%; | |||||
| margin: 50px -30px -20px -30px; | |||||
| padding: 10px 20px; | |||||
| background: #333; | |||||
| color: #FFF; | |||||
| } | |||||
| div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p, | |||||
| div.sphinxsidebar h3 a { | |||||
| color: #fff; | |||||
| } | |||||
| div.sphinxsidebar a { | |||||
| color: #AAA; | |||||
| } | |||||
| div.sphinxsidebar p.logo { | |||||
| display: none; | |||||
| } | |||||
| div.document { | |||||
| width: 100%; | |||||
| margin: 0; | |||||
| } | |||||
| div.footer { | |||||
| display: none; | |||||
| } | |||||
| div.bodywrapper { | |||||
| margin: 0; | |||||
| } | |||||
| div.body { | |||||
| min-height: 0; | |||||
| padding: 0; | |||||
| } | |||||
| .rtd_doc_footer { | |||||
| display: none; | |||||
| } | |||||
| .document { | |||||
| width: auto; | |||||
| } | |||||
| .footer { | |||||
| width: auto; | |||||
| } | |||||
| .footer { | |||||
| width: auto; | |||||
| } | |||||
| .github { | |||||
| display: none; | |||||
| } | |||||
| } | |||||
| /* misc. */ | |||||
| .revsys-inline { | |||||
| display: none!important; | |||||
| } | |||||
| /* Make nested-list/multi-paragraph items look better in Releases changelog | |||||
| * pages. Without this, docutils' magical list fuckery causes inconsistent | |||||
| * formatting between different release sub-lists. | |||||
| */ | |||||
| div#changelog > div.section > ul > li > p:only-child { | |||||
| margin-bottom: 0; | |||||
| } | |||||
| /* Hide fugly table cell borders in ..bibliography:: directive output */ | |||||
| table.docutils.citation, table.docutils.citation td, table.docutils.citation th { | |||||
| border: none; | |||||
| /* Below needed in some edge cases; if not applied, bottom shadows appear */ | |||||
| -moz-box-shadow: none; | |||||
| -webkit-box-shadow: none; | |||||
| box-shadow: none; | |||||
| } | |||||
| /* relbar */ | |||||
| .related { | |||||
| line-height: 30px; | |||||
| width: 100%; | |||||
| font-size: 0.9rem; | |||||
| } | |||||
| .related.top { | |||||
| border-bottom: 1px solid #EEE; | |||||
| margin-bottom: 20px; | |||||
| } | |||||
| .related.bottom { | |||||
| border-top: 1px solid #EEE; | |||||
| } | |||||
| .related ul { | |||||
| padding: 0; | |||||
| margin: 0; | |||||
| list-style: none; | |||||
| } | |||||
| .related li { | |||||
| display: inline; | |||||
| } | |||||
| nav#rellinks { | |||||
| float: right; | |||||
| } | |||||
| nav#rellinks li+li:before { | |||||
| content: "|"; | |||||
| } | |||||
| nav#breadcrumbs li+li:before { | |||||
| content: "\00BB"; | |||||
| } | |||||
| /* Hide certain items when printing */ | |||||
| @media print { | |||||
| div.related { | |||||
| display: none; | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1,764 @@ | |||||
| /* | |||||
| * basic.css | |||||
| * ~~~~~~~~~ | |||||
| * | |||||
| * Sphinx stylesheet -- basic theme. | |||||
| * | |||||
| * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. | |||||
| * :license: BSD, see LICENSE for details. | |||||
| * | |||||
| */ | |||||
| /* -- main layout ----------------------------------------------------------- */ | |||||
| div.clearer { | |||||
| clear: both; | |||||
| } | |||||
| /* -- relbar ---------------------------------------------------------------- */ | |||||
| div.related { | |||||
| width: 100%; | |||||
| 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; | |||||
| } | |||||
| /* -- sidebar --------------------------------------------------------------- */ | |||||
| div.sphinxsidebarwrapper { | |||||
| padding: 10px 5px 0 10px; | |||||
| } | |||||
| div.sphinxsidebar { | |||||
| float: left; | |||||
| width: 230px; | |||||
| margin-left: -100%; | |||||
| font-size: 90%; | |||||
| word-wrap: break-word; | |||||
| overflow-wrap : break-word; | |||||
| } | |||||
| div.sphinxsidebar ul { | |||||
| list-style: none; | |||||
| } | |||||
| 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 form { | |||||
| margin-top: 10px; | |||||
| } | |||||
| div.sphinxsidebar input { | |||||
| border: 1px solid #98dbcc; | |||||
| font-family: sans-serif; | |||||
| font-size: 1em; | |||||
| } | |||||
| div.sphinxsidebar #searchbox form.search { | |||||
| overflow: hidden; | |||||
| } | |||||
| div.sphinxsidebar #searchbox input[type="text"] { | |||||
| float: left; | |||||
| width: 80%; | |||||
| padding: 0.25em; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| div.sphinxsidebar #searchbox input[type="submit"] { | |||||
| float: left; | |||||
| width: 20%; | |||||
| border-left: none; | |||||
| padding: 0.25em; | |||||
| box-sizing: border-box; | |||||
| } | |||||
| img { | |||||
| border: 0; | |||||
| max-width: 100%; | |||||
| } | |||||
| /* -- search page ----------------------------------------------------------- */ | |||||
| 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; | |||||
| } | |||||
| /* -- index page ------------------------------------------------------------ */ | |||||
| table.contentstable { | |||||
| width: 90%; | |||||
| margin-left: auto; | |||||
| margin-right: auto; | |||||
| } | |||||
| table.contentstable p.biglink { | |||||
| line-height: 150%; | |||||
| } | |||||
| a.biglink { | |||||
| font-size: 1.3em; | |||||
| } | |||||
| span.linkdescr { | |||||
| font-style: italic; | |||||
| padding-top: 5px; | |||||
| font-size: 90%; | |||||
| } | |||||
| /* -- general index --------------------------------------------------------- */ | |||||
| table.indextable { | |||||
| width: 100%; | |||||
| } | |||||
| table.indextable td { | |||||
| text-align: left; | |||||
| vertical-align: top; | |||||
| } | |||||
| table.indextable ul { | |||||
| margin-top: 0; | |||||
| margin-bottom: 0; | |||||
| list-style-type: none; | |||||
| } | |||||
| table.indextable > tbody > tr > td > ul { | |||||
| padding-left: 0em; | |||||
| } | |||||
| 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; | |||||
| } | |||||
| div.modindex-jumpbox { | |||||
| border-top: 1px solid #ddd; | |||||
| border-bottom: 1px solid #ddd; | |||||
| margin: 1em 0 1em 0; | |||||
| padding: 0.4em; | |||||
| } | |||||
| div.genindex-jumpbox { | |||||
| border-top: 1px solid #ddd; | |||||
| border-bottom: 1px solid #ddd; | |||||
| margin: 1em 0 1em 0; | |||||
| padding: 0.4em; | |||||
| } | |||||
| /* -- domain module index --------------------------------------------------- */ | |||||
| table.modindextable td { | |||||
| padding: 2px; | |||||
| border-collapse: collapse; | |||||
| } | |||||
| /* -- general body styles --------------------------------------------------- */ | |||||
| div.body { | |||||
| min-width: 450px; | |||||
| max-width: 800px; | |||||
| } | |||||
| div.body p, div.body dd, div.body li, div.body blockquote { | |||||
| -moz-hyphens: auto; | |||||
| -ms-hyphens: auto; | |||||
| -webkit-hyphens: auto; | |||||
| hyphens: auto; | |||||
| } | |||||
| a.headerlink { | |||||
| visibility: hidden; | |||||
| } | |||||
| a.brackets:before, | |||||
| span.brackets > a:before{ | |||||
| content: "["; | |||||
| } | |||||
| a.brackets:after, | |||||
| span.brackets > a:after { | |||||
| content: "]"; | |||||
| } | |||||
| 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, | |||||
| caption:hover > a.headerlink, | |||||
| p.caption:hover > a.headerlink, | |||||
| div.code-block-caption:hover > a.headerlink { | |||||
| visibility: visible; | |||||
| } | |||||
| div.body p.caption { | |||||
| text-align: inherit; | |||||
| } | |||||
| div.body td { | |||||
| text-align: left; | |||||
| } | |||||
| .first { | |||||
| margin-top: 0 !important; | |||||
| } | |||||
| p.rubric { | |||||
| margin-top: 30px; | |||||
| font-weight: bold; | |||||
| } | |||||
| img.align-left, .figure.align-left, object.align-left { | |||||
| clear: left; | |||||
| float: left; | |||||
| margin-right: 1em; | |||||
| } | |||||
| img.align-right, .figure.align-right, object.align-right { | |||||
| clear: right; | |||||
| float: right; | |||||
| margin-left: 1em; | |||||
| } | |||||
| img.align-center, .figure.align-center, object.align-center { | |||||
| display: block; | |||||
| margin-left: auto; | |||||
| margin-right: auto; | |||||
| } | |||||
| img.align-default, .figure.align-default { | |||||
| display: block; | |||||
| margin-left: auto; | |||||
| margin-right: auto; | |||||
| } | |||||
| .align-left { | |||||
| text-align: left; | |||||
| } | |||||
| .align-center { | |||||
| text-align: center; | |||||
| } | |||||
| .align-default { | |||||
| text-align: center; | |||||
| } | |||||
| .align-right { | |||||
| text-align: right; | |||||
| } | |||||
| /* -- sidebars -------------------------------------------------------------- */ | |||||
| div.sidebar { | |||||
| margin: 0 0 0.5em 1em; | |||||
| border: 1px solid #ddb; | |||||
| padding: 7px 7px 0 7px; | |||||
| background-color: #ffe; | |||||
| width: 40%; | |||||
| float: right; | |||||
| } | |||||
| p.sidebar-title { | |||||
| font-weight: bold; | |||||
| } | |||||
| /* -- topics ---------------------------------------------------------------- */ | |||||
| div.topic { | |||||
| border: 1px solid #ccc; | |||||
| padding: 7px 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; | |||||
| } | |||||
| p.admonition-title { | |||||
| margin: 0px 10px 5px 0px; | |||||
| font-weight: bold; | |||||
| } | |||||
| div.body p.centered { | |||||
| text-align: center; | |||||
| margin-top: 25px; | |||||
| } | |||||
| /* -- tables ---------------------------------------------------------------- */ | |||||
| table.docutils { | |||||
| border: 0; | |||||
| border-collapse: collapse; | |||||
| } | |||||
| table.align-center { | |||||
| margin-left: auto; | |||||
| margin-right: auto; | |||||
| } | |||||
| table.align-default { | |||||
| margin-left: auto; | |||||
| margin-right: auto; | |||||
| } | |||||
| table caption span.caption-number { | |||||
| font-style: italic; | |||||
| } | |||||
| table caption span.caption-text { | |||||
| } | |||||
| table.docutils td, table.docutils th { | |||||
| padding: 1px 8px 1px 5px; | |||||
| border-top: 0; | |||||
| border-left: 0; | |||||
| border-right: 0; | |||||
| border-bottom: 1px solid #aaa; | |||||
| } | |||||
| table.footnote td, table.footnote th { | |||||
| border: 0 !important; | |||||
| } | |||||
| th { | |||||
| text-align: left; | |||||
| padding-right: 5px; | |||||
| } | |||||
| table.citation { | |||||
| border-left: solid 1px gray; | |||||
| margin-left: 1px; | |||||
| } | |||||
| table.citation td { | |||||
| border-bottom: none; | |||||
| } | |||||
| th > p:first-child, | |||||
| td > p:first-child { | |||||
| margin-top: 0px; | |||||
| } | |||||
| th > p:last-child, | |||||
| td > p:last-child { | |||||
| margin-bottom: 0px; | |||||
| } | |||||
| /* -- figures --------------------------------------------------------------- */ | |||||
| div.figure { | |||||
| margin: 0.5em; | |||||
| padding: 0.5em; | |||||
| } | |||||
| div.figure p.caption { | |||||
| padding: 0.3em; | |||||
| } | |||||
| div.figure p.caption span.caption-number { | |||||
| font-style: italic; | |||||
| } | |||||
| div.figure p.caption span.caption-text { | |||||
| } | |||||
| /* -- field list styles ----------------------------------------------------- */ | |||||
| table.field-list td, table.field-list th { | |||||
| border: 0 !important; | |||||
| } | |||||
| .field-list ul { | |||||
| margin: 0; | |||||
| padding-left: 1em; | |||||
| } | |||||
| .field-list p { | |||||
| margin: 0; | |||||
| } | |||||
| .field-name { | |||||
| -moz-hyphens: manual; | |||||
| -ms-hyphens: manual; | |||||
| -webkit-hyphens: manual; | |||||
| hyphens: manual; | |||||
| } | |||||
| /* -- hlist styles ---------------------------------------------------------- */ | |||||
| table.hlist td { | |||||
| vertical-align: top; | |||||
| } | |||||
| /* -- other body styles ----------------------------------------------------- */ | |||||
| ol.arabic { | |||||
| list-style: decimal; | |||||
| } | |||||
| ol.loweralpha { | |||||
| list-style: lower-alpha; | |||||
| } | |||||
| ol.upperalpha { | |||||
| list-style: upper-alpha; | |||||
| } | |||||
| ol.lowerroman { | |||||
| list-style: lower-roman; | |||||
| } | |||||
| ol.upperroman { | |||||
| list-style: upper-roman; | |||||
| } | |||||
| li > p:first-child { | |||||
| margin-top: 0px; | |||||
| } | |||||
| li > p:last-child { | |||||
| margin-bottom: 0px; | |||||
| } | |||||
| dl.footnote > dt, | |||||
| dl.citation > dt { | |||||
| float: left; | |||||
| } | |||||
| dl.footnote > dd, | |||||
| dl.citation > dd { | |||||
| margin-bottom: 0em; | |||||
| } | |||||
| dl.footnote > dd:after, | |||||
| dl.citation > dd:after { | |||||
| content: ""; | |||||
| clear: both; | |||||
| } | |||||
| dl.field-list { | |||||
| display: grid; | |||||
| grid-template-columns: fit-content(30%) auto; | |||||
| } | |||||
| dl.field-list > dt { | |||||
| font-weight: bold; | |||||
| word-break: break-word; | |||||
| padding-left: 0.5em; | |||||
| padding-right: 5px; | |||||
| } | |||||
| dl.field-list > dt:after { | |||||
| content: ":"; | |||||
| } | |||||
| dl.field-list > dd { | |||||
| padding-left: 0.5em; | |||||
| margin-top: 0em; | |||||
| margin-left: 0em; | |||||
| margin-bottom: 0em; | |||||
| } | |||||
| dl { | |||||
| margin-bottom: 15px; | |||||
| } | |||||
| dd > p:first-child { | |||||
| margin-top: 0px; | |||||
| } | |||||
| dd ul, dd table { | |||||
| margin-bottom: 10px; | |||||
| } | |||||
| dd { | |||||
| margin-top: 3px; | |||||
| margin-bottom: 10px; | |||||
| margin-left: 30px; | |||||
| } | |||||
| dt:target, span.highlighted { | |||||
| background-color: #fbe54e; | |||||
| } | |||||
| rect.highlighted { | |||||
| fill: #fbe54e; | |||||
| } | |||||
| dl.glossary dt { | |||||
| font-weight: bold; | |||||
| font-size: 1.1em; | |||||
| } | |||||
| .optional { | |||||
| font-size: 1.3em; | |||||
| } | |||||
| .sig-paren { | |||||
| font-size: larger; | |||||
| } | |||||
| .versionmodified { | |||||
| font-style: italic; | |||||
| } | |||||
| .system-message { | |||||
| background-color: #fda; | |||||
| padding: 5px; | |||||
| border: 3px solid red; | |||||
| } | |||||
| .footnote:target { | |||||
| background-color: #ffa; | |||||
| } | |||||
| .line-block { | |||||
| display: block; | |||||
| margin-top: 1em; | |||||
| margin-bottom: 1em; | |||||
| } | |||||
| .line-block .line-block { | |||||
| margin-top: 0; | |||||
| margin-bottom: 0; | |||||
| margin-left: 1.5em; | |||||
| } | |||||
| .guilabel, .menuselection { | |||||
| font-family: sans-serif; | |||||
| } | |||||
| .accelerator { | |||||
| text-decoration: underline; | |||||
| } | |||||
| .classifier { | |||||
| font-style: oblique; | |||||
| } | |||||
| .classifier:before { | |||||
| font-style: normal; | |||||
| margin: 0.5em; | |||||
| content: ":"; | |||||
| } | |||||
| abbr, acronym { | |||||
| border-bottom: dotted 1px; | |||||
| cursor: help; | |||||
| } | |||||
| /* -- code displays --------------------------------------------------------- */ | |||||
| pre { | |||||
| overflow: auto; | |||||
| overflow-y: hidden; /* fixes display issues on Chrome browsers */ | |||||
| } | |||||
| span.pre { | |||||
| -moz-hyphens: none; | |||||
| -ms-hyphens: none; | |||||
| -webkit-hyphens: none; | |||||
| hyphens: none; | |||||
| } | |||||
| 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; | |||||
| } | |||||
| div.code-block-caption { | |||||
| padding: 2px 5px; | |||||
| font-size: small; | |||||
| } | |||||
| div.code-block-caption code { | |||||
| background-color: transparent; | |||||
| } | |||||
| div.code-block-caption + div > div.highlight > pre { | |||||
| margin-top: 0; | |||||
| } | |||||
| div.code-block-caption span.caption-number { | |||||
| padding: 0.1em 0.3em; | |||||
| font-style: italic; | |||||
| } | |||||
| div.code-block-caption span.caption-text { | |||||
| } | |||||
| div.literal-block-wrapper { | |||||
| padding: 1em 1em 0; | |||||
| } | |||||
| div.literal-block-wrapper div.highlight { | |||||
| margin: 0; | |||||
| } | |||||
| code.descname { | |||||
| background-color: transparent; | |||||
| font-weight: bold; | |||||
| font-size: 1.2em; | |||||
| } | |||||
| code.descclassname { | |||||
| background-color: transparent; | |||||
| } | |||||
| code.xref, a code { | |||||
| background-color: transparent; | |||||
| font-weight: bold; | |||||
| } | |||||
| h1 code, h2 code, h3 code, h4 code, h5 code, h6 code { | |||||
| background-color: transparent; | |||||
| } | |||||
| .viewcode-link { | |||||
| float: right; | |||||
| } | |||||
| .viewcode-back { | |||||
| float: right; | |||||
| font-family: sans-serif; | |||||
| } | |||||
| div.viewcode-block:target { | |||||
| margin: -1px -10px; | |||||
| padding: 0 10px; | |||||
| } | |||||
| /* -- math display ---------------------------------------------------------- */ | |||||
| img.math { | |||||
| vertical-align: middle; | |||||
| } | |||||
| div.body div.math p { | |||||
| text-align: center; | |||||
| } | |||||
| span.eqno { | |||||
| float: right; | |||||
| } | |||||
| span.eqno a.headerlink { | |||||
| position: relative; | |||||
| left: 0px; | |||||
| z-index: 1; | |||||
| } | |||||
| div.math:hover a.headerlink { | |||||
| visibility: visible; | |||||
| } | |||||
| /* -- printout stylesheet --------------------------------------------------- */ | |||||
| @media print { | |||||
| div.document, | |||||
| div.documentwrapper, | |||||
| div.bodywrapper { | |||||
| margin: 0 !important; | |||||
| width: 100%; | |||||
| } | |||||
| div.sphinxsidebar, | |||||
| div.related, | |||||
| div.footer, | |||||
| #top-link { | |||||
| display: none; | |||||
| } | |||||
| } | |||||
| @@ -0,0 +1 @@ | |||||
| /* This file intentionally left blank. */ | |||||
| @@ -0,0 +1,314 @@ | |||||
| /* | |||||
| * doctools.js | |||||
| * ~~~~~~~~~~~ | |||||
| * | |||||
| * Sphinx JavaScript utilities for all documentation. | |||||
| * | |||||
| * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. | |||||
| * :license: BSD, see LICENSE for details. | |||||
| * | |||||
| */ | |||||
| /** | |||||
| * select a different prefix for underscore | |||||
| */ | |||||
| $u = _.noConflict(); | |||||
| /** | |||||
| * make the code below compatible with browsers without | |||||
| * an installed firebug like debugger | |||||
| if (!window.console || !console.firebug) { | |||||
| var names = ["log", "debug", "info", "warn", "error", "assert", "dir", | |||||
| "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", | |||||
| "profile", "profileEnd"]; | |||||
| window.console = {}; | |||||
| for (var i = 0; i < names.length; ++i) | |||||
| window.console[names[i]] = function() {}; | |||||
| } | |||||
| */ | |||||
| /** | |||||
| * small helper function to urldecode strings | |||||
| */ | |||||
| jQuery.urldecode = function(x) { | |||||
| return decodeURIComponent(x).replace(/\+/g, ' '); | |||||
| }; | |||||
| /** | |||||
| * small helper function to urlencode strings | |||||
| */ | |||||
| jQuery.urlencode = encodeURIComponent; | |||||
| /** | |||||
| * This function returns the parsed url parameters of the | |||||
| * current request. Multiple values per key are supported, | |||||
| * it will always return arrays of strings for the value parts. | |||||
| */ | |||||
| jQuery.getQueryParameters = function(s) { | |||||
| if (typeof s === 'undefined') | |||||
| s = document.location.search; | |||||
| var parts = s.substr(s.indexOf('?') + 1).split('&'); | |||||
| var result = {}; | |||||
| for (var i = 0; i < parts.length; i++) { | |||||
| var tmp = parts[i].split('=', 2); | |||||
| var key = jQuery.urldecode(tmp[0]); | |||||
| var value = jQuery.urldecode(tmp[1]); | |||||
| if (key in result) | |||||
| result[key].push(value); | |||||
| else | |||||
| result[key] = [value]; | |||||
| } | |||||
| return result; | |||||
| }; | |||||
| /** | |||||
| * highlight a given string on a jquery object by wrapping it in | |||||
| * span elements with the given class name. | |||||
| */ | |||||
| jQuery.fn.highlightText = function(text, className) { | |||||
| function highlight(node, addItems) { | |||||
| if (node.nodeType === 3) { | |||||
| var val = node.nodeValue; | |||||
| var pos = val.toLowerCase().indexOf(text); | |||||
| if (pos >= 0 && | |||||
| !jQuery(node.parentNode).hasClass(className) && | |||||
| !jQuery(node.parentNode).hasClass("nohighlight")) { | |||||
| var span; | |||||
| var isInSVG = jQuery(node).closest("body, svg, foreignObject").is("svg"); | |||||
| if (isInSVG) { | |||||
| span = document.createElementNS("http://www.w3.org/2000/svg", "tspan"); | |||||
| } else { | |||||
| span = document.createElement("span"); | |||||
| span.className = className; | |||||
| } | |||||
| span.appendChild(document.createTextNode(val.substr(pos, text.length))); | |||||
| node.parentNode.insertBefore(span, node.parentNode.insertBefore( | |||||
| document.createTextNode(val.substr(pos + text.length)), | |||||
| node.nextSibling)); | |||||
| node.nodeValue = val.substr(0, pos); | |||||
| if (isInSVG) { | |||||
| var rect = document.createElementNS("http://www.w3.org/2000/svg", "rect"); | |||||
| var bbox = node.parentElement.getBBox(); | |||||
| rect.x.baseVal.value = bbox.x; | |||||
| rect.y.baseVal.value = bbox.y; | |||||
| rect.width.baseVal.value = bbox.width; | |||||
| rect.height.baseVal.value = bbox.height; | |||||
| rect.setAttribute('class', className); | |||||
| addItems.push({ | |||||
| "parent": node.parentNode, | |||||
| "target": rect}); | |||||
| } | |||||
| } | |||||
| } | |||||
| else if (!jQuery(node).is("button, select, textarea")) { | |||||
| jQuery.each(node.childNodes, function() { | |||||
| highlight(this, addItems); | |||||
| }); | |||||
| } | |||||
| } | |||||
| var addItems = []; | |||||
| var result = this.each(function() { | |||||
| highlight(this, addItems); | |||||
| }); | |||||
| for (var i = 0; i < addItems.length; ++i) { | |||||
| jQuery(addItems[i].parent).before(addItems[i].target); | |||||
| } | |||||
| return result; | |||||
| }; | |||||
| /* | |||||
| * backward compatibility for jQuery.browser | |||||
| * This will be supported until firefox bug is fixed. | |||||
| */ | |||||
| if (!jQuery.browser) { | |||||
| jQuery.uaMatch = function(ua) { | |||||
| ua = ua.toLowerCase(); | |||||
| var match = /(chrome)[ \/]([\w.]+)/.exec(ua) || | |||||
| /(webkit)[ \/]([\w.]+)/.exec(ua) || | |||||
| /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) || | |||||
| /(msie) ([\w.]+)/.exec(ua) || | |||||
| ua.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) || | |||||
| []; | |||||
| return { | |||||
| browser: match[ 1 ] || "", | |||||
| version: match[ 2 ] || "0" | |||||
| }; | |||||
| }; | |||||
| jQuery.browser = {}; | |||||
| jQuery.browser[jQuery.uaMatch(navigator.userAgent).browser] = true; | |||||
| } | |||||
| /** | |||||
| * Small JavaScript module for the documentation. | |||||
| */ | |||||
| var Documentation = { | |||||
| init : function() { | |||||
| this.fixFirefoxAnchorBug(); | |||||
| this.highlightSearchWords(); | |||||
| this.initIndexTable(); | |||||
| if (DOCUMENTATION_OPTIONS.NAVIGATION_WITH_KEYS) { | |||||
| this.initOnKeyListeners(); | |||||
| } | |||||
| }, | |||||
| /** | |||||
| * i18n support | |||||
| */ | |||||
| TRANSLATIONS : {}, | |||||
| PLURAL_EXPR : function(n) { return n === 1 ? 0 : 1; }, | |||||
| LOCALE : 'unknown', | |||||
| // gettext and ngettext don't access this so that the functions | |||||
| // can safely bound to a different name (_ = Documentation.gettext) | |||||
| gettext : function(string) { | |||||
| var translated = Documentation.TRANSLATIONS[string]; | |||||
| if (typeof translated === 'undefined') | |||||
| return string; | |||||
| return (typeof translated === 'string') ? translated : translated[0]; | |||||
| }, | |||||
| ngettext : function(singular, plural, n) { | |||||
| var translated = Documentation.TRANSLATIONS[singular]; | |||||
| if (typeof translated === 'undefined') | |||||
| return (n == 1) ? singular : plural; | |||||
| return translated[Documentation.PLURALEXPR(n)]; | |||||
| }, | |||||
| addTranslations : function(catalog) { | |||||
| for (var key in catalog.messages) | |||||
| this.TRANSLATIONS[key] = catalog.messages[key]; | |||||
| this.PLURAL_EXPR = new Function('n', 'return +(' + catalog.plural_expr + ')'); | |||||
| this.LOCALE = catalog.locale; | |||||
| }, | |||||
| /** | |||||
| * add context elements like header anchor links | |||||
| */ | |||||
| addContextElements : function() { | |||||
| $('div[id] > :header:first').each(function() { | |||||
| $('<a class="headerlink">\u00B6</a>'). | |||||
| attr('href', '#' + this.id). | |||||
| attr('title', _('Permalink to this headline')). | |||||
| appendTo(this); | |||||
| }); | |||||
| $('dt[id]').each(function() { | |||||
| $('<a class="headerlink">\u00B6</a>'). | |||||
| attr('href', '#' + this.id). | |||||
| attr('title', _('Permalink to this definition')). | |||||
| appendTo(this); | |||||
| }); | |||||
| }, | |||||
| /** | |||||
| * workaround a firefox stupidity | |||||
| * see: https://bugzilla.mozilla.org/show_bug.cgi?id=645075 | |||||
| */ | |||||
| fixFirefoxAnchorBug : function() { | |||||
| if (document.location.hash && $.browser.mozilla) | |||||
| window.setTimeout(function() { | |||||
| document.location.href += ''; | |||||
| }, 10); | |||||
| }, | |||||
| /** | |||||
| * highlight the search words provided in the url in the text | |||||
| */ | |||||
| highlightSearchWords : function() { | |||||
| var params = $.getQueryParameters(); | |||||
| var terms = (params.highlight) ? params.highlight[0].split(/\s+/) : []; | |||||
| if (terms.length) { | |||||
| var body = $('div.body'); | |||||
| if (!body.length) { | |||||
| body = $('body'); | |||||
| } | |||||
| window.setTimeout(function() { | |||||
| $.each(terms, function() { | |||||
| body.highlightText(this.toLowerCase(), 'highlighted'); | |||||
| }); | |||||
| }, 10); | |||||
| $('<p class="highlight-link"><a href="javascript:Documentation.' + | |||||
| 'hideSearchWords()">' + _('Hide Search Matches') + '</a></p>') | |||||
| .appendTo($('#searchbox')); | |||||
| } | |||||
| }, | |||||
| /** | |||||
| * init the domain index toggle buttons | |||||
| */ | |||||
| initIndexTable : function() { | |||||
| var togglers = $('img.toggler').click(function() { | |||||
| var src = $(this).attr('src'); | |||||
| var idnum = $(this).attr('id').substr(7); | |||||
| $('tr.cg-' + idnum).toggle(); | |||||
| if (src.substr(-9) === 'minus.png') | |||||
| $(this).attr('src', src.substr(0, src.length-9) + 'plus.png'); | |||||
| else | |||||
| $(this).attr('src', src.substr(0, src.length-8) + 'minus.png'); | |||||
| }).css('display', ''); | |||||
| if (DOCUMENTATION_OPTIONS.COLLAPSE_INDEX) { | |||||
| togglers.click(); | |||||
| } | |||||
| }, | |||||
| /** | |||||
| * helper function to hide the search marks again | |||||
| */ | |||||
| hideSearchWords : function() { | |||||
| $('#searchbox .highlight-link').fadeOut(300); | |||||
| $('span.highlighted').removeClass('highlighted'); | |||||
| }, | |||||
| /** | |||||
| * make the url absolute | |||||
| */ | |||||
| makeURL : function(relativeURL) { | |||||
| return DOCUMENTATION_OPTIONS.URL_ROOT + '/' + relativeURL; | |||||
| }, | |||||
| /** | |||||
| * get the current relative url | |||||
| */ | |||||
| getCurrentURL : function() { | |||||
| var path = document.location.pathname; | |||||
| var parts = path.split(/\//); | |||||
| $.each(DOCUMENTATION_OPTIONS.URL_ROOT.split(/\//), function() { | |||||
| if (this === '..') | |||||
| parts.pop(); | |||||
| }); | |||||
| var url = parts.join('/'); | |||||
| return path.substring(url.lastIndexOf('/') + 1, path.length - 1); | |||||
| }, | |||||
| initOnKeyListeners: function() { | |||||
| $(document).keyup(function(event) { | |||||
| var activeElementType = document.activeElement.tagName; | |||||
| // don't navigate when in search box or textarea | |||||
| if (activeElementType !== 'TEXTAREA' && activeElementType !== 'INPUT' && activeElementType !== 'SELECT') { | |||||
| switch (event.keyCode) { | |||||
| case 37: // left | |||||
| var prevHref = $('link[rel="prev"]').prop('href'); | |||||
| if (prevHref) { | |||||
| window.location.href = prevHref; | |||||
| return false; | |||||
| } | |||||
| case 39: // right | |||||
| var nextHref = $('link[rel="next"]').prop('href'); | |||||
| if (nextHref) { | |||||
| window.location.href = nextHref; | |||||
| return false; | |||||
| } | |||||
| } | |||||
| } | |||||
| }); | |||||
| } | |||||
| }; | |||||
| // quick alias for translations | |||||
| _ = Documentation.gettext; | |||||
| $(document).ready(function() { | |||||
| Documentation.init(); | |||||
| }); | |||||
| @@ -0,0 +1,10 @@ | |||||
| var DOCUMENTATION_OPTIONS = { | |||||
| URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), | |||||
| VERSION: '', | |||||
| LANGUAGE: 'None', | |||||
| COLLAPSE_INDEX: false, | |||||
| FILE_SUFFIX: '.html', | |||||
| HAS_SOURCE: true, | |||||
| SOURCELINK_SUFFIX: '.txt', | |||||
| NAVIGATION_WITH_KEYS: false | |||||
| }; | |||||
| @@ -0,0 +1,297 @@ | |||||
| /* | |||||
| * language_data.js | |||||
| * ~~~~~~~~~~~~~~~~ | |||||
| * | |||||
| * This script contains the language-specific data used by searchtools.js, | |||||
| * namely the list of stopwords, stemmer, scorer and splitter. | |||||
| * | |||||
| * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. | |||||
| * :license: BSD, see LICENSE for details. | |||||
| * | |||||
| */ | |||||
| var stopwords = ["a","and","are","as","at","be","but","by","for","if","in","into","is","it","near","no","not","of","on","or","such","that","the","their","then","there","these","they","this","to","was","will","with"]; | |||||
| /* Non-minified version JS is _stemmer.js if file is provided */ | |||||
| /** | |||||
| * Porter Stemmer | |||||
| */ | |||||
| var Stemmer = function() { | |||||
| var step2list = { | |||||
| ational: 'ate', | |||||
| tional: 'tion', | |||||
| enci: 'ence', | |||||
| anci: 'ance', | |||||
| izer: 'ize', | |||||
| bli: 'ble', | |||||
| alli: 'al', | |||||
| entli: 'ent', | |||||
| eli: 'e', | |||||
| ousli: 'ous', | |||||
| ization: 'ize', | |||||
| ation: 'ate', | |||||
| ator: 'ate', | |||||
| alism: 'al', | |||||
| iveness: 'ive', | |||||
| fulness: 'ful', | |||||
| ousness: 'ous', | |||||
| aliti: 'al', | |||||
| iviti: 'ive', | |||||
| biliti: 'ble', | |||||
| logi: 'log' | |||||
| }; | |||||
| var step3list = { | |||||
| icate: 'ic', | |||||
| ative: '', | |||||
| alize: 'al', | |||||
| iciti: 'ic', | |||||
| ical: 'ic', | |||||
| ful: '', | |||||
| ness: '' | |||||
| }; | |||||
| var c = "[^aeiou]"; // consonant | |||||
| var v = "[aeiouy]"; // vowel | |||||
| var C = c + "[^aeiouy]*"; // consonant sequence | |||||
| var V = v + "[aeiou]*"; // vowel sequence | |||||
| var mgr0 = "^(" + C + ")?" + V + C; // [C]VC... is m>0 | |||||
| var meq1 = "^(" + C + ")?" + V + C + "(" + V + ")?$"; // [C]VC[V] is m=1 | |||||
| var mgr1 = "^(" + C + ")?" + V + C + V + C; // [C]VCVC... is m>1 | |||||
| var s_v = "^(" + C + ")?" + v; // vowel in stem | |||||
| this.stemWord = function (w) { | |||||
| var stem; | |||||
| var suffix; | |||||
| var firstch; | |||||
| var origword = w; | |||||
| if (w.length < 3) | |||||
| return w; | |||||
| var re; | |||||
| var re2; | |||||
| var re3; | |||||
| var re4; | |||||
| firstch = w.substr(0,1); | |||||
| if (firstch == "y") | |||||
| w = firstch.toUpperCase() + w.substr(1); | |||||
| // Step 1a | |||||
| re = /^(.+?)(ss|i)es$/; | |||||
| re2 = /^(.+?)([^s])s$/; | |||||
| if (re.test(w)) | |||||
| w = w.replace(re,"$1$2"); | |||||
| else if (re2.test(w)) | |||||
| w = w.replace(re2,"$1$2"); | |||||
| // Step 1b | |||||
| re = /^(.+?)eed$/; | |||||
| re2 = /^(.+?)(ed|ing)$/; | |||||
| if (re.test(w)) { | |||||
| var fp = re.exec(w); | |||||
| re = new RegExp(mgr0); | |||||
| if (re.test(fp[1])) { | |||||
| re = /.$/; | |||||
| w = w.replace(re,""); | |||||
| } | |||||
| } | |||||
| else if (re2.test(w)) { | |||||
| var fp = re2.exec(w); | |||||
| stem = fp[1]; | |||||
| re2 = new RegExp(s_v); | |||||
| if (re2.test(stem)) { | |||||
| w = stem; | |||||
| re2 = /(at|bl|iz)$/; | |||||
| re3 = new RegExp("([^aeiouylsz])\\1$"); | |||||
| re4 = new RegExp("^" + C + v + "[^aeiouwxy]$"); | |||||
| if (re2.test(w)) | |||||
| w = w + "e"; | |||||
| else if (re3.test(w)) { | |||||
| re = /.$/; | |||||
| w = w.replace(re,""); | |||||
| } | |||||
| else if (re4.test(w)) | |||||
| w = w + "e"; | |||||
| } | |||||
| } | |||||
| // Step 1c | |||||
| re = /^(.+?)y$/; | |||||
| if (re.test(w)) { | |||||
| var fp = re.exec(w); | |||||
| stem = fp[1]; | |||||
| re = new RegExp(s_v); | |||||
| if (re.test(stem)) | |||||
| w = stem + "i"; | |||||
| } | |||||
| // Step 2 | |||||
| re = /^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/; | |||||
| if (re.test(w)) { | |||||
| var fp = re.exec(w); | |||||
| stem = fp[1]; | |||||
| suffix = fp[2]; | |||||
| re = new RegExp(mgr0); | |||||
| if (re.test(stem)) | |||||
| w = stem + step2list[suffix]; | |||||
| } | |||||
| // Step 3 | |||||
| re = /^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/; | |||||
| if (re.test(w)) { | |||||
| var fp = re.exec(w); | |||||
| stem = fp[1]; | |||||
| suffix = fp[2]; | |||||
| re = new RegExp(mgr0); | |||||
| if (re.test(stem)) | |||||
| w = stem + step3list[suffix]; | |||||
| } | |||||
| // Step 4 | |||||
| re = /^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/; | |||||
| re2 = /^(.+?)(s|t)(ion)$/; | |||||
| if (re.test(w)) { | |||||
| var fp = re.exec(w); | |||||
| stem = fp[1]; | |||||
| re = new RegExp(mgr1); | |||||
| if (re.test(stem)) | |||||
| w = stem; | |||||
| } | |||||
| else if (re2.test(w)) { | |||||
| var fp = re2.exec(w); | |||||
| stem = fp[1] + fp[2]; | |||||
| re2 = new RegExp(mgr1); | |||||
| if (re2.test(stem)) | |||||
| w = stem; | |||||
| } | |||||
| // Step 5 | |||||
| re = /^(.+?)e$/; | |||||
| if (re.test(w)) { | |||||
| var fp = re.exec(w); | |||||
| stem = fp[1]; | |||||
| re = new RegExp(mgr1); | |||||
| re2 = new RegExp(meq1); | |||||
| re3 = new RegExp("^" + C + v + "[^aeiouwxy]$"); | |||||
| if (re.test(stem) || (re2.test(stem) && !(re3.test(stem)))) | |||||
| w = stem; | |||||
| } | |||||
| re = /ll$/; | |||||
| re2 = new RegExp(mgr1); | |||||
| if (re.test(w) && re2.test(w)) { | |||||
| re = /.$/; | |||||
| w = w.replace(re,""); | |||||
| } | |||||
| // and turn initial Y back to y | |||||
| if (firstch == "y") | |||||
| w = firstch.toLowerCase() + w.substr(1); | |||||
| return w; | |||||
| } | |||||
| } | |||||
| var splitChars = (function() { | |||||
| var result = {}; | |||||
| var singles = [96, 180, 187, 191, 215, 247, 749, 885, 903, 907, 909, 930, 1014, 1648, | |||||
| 1748, 1809, 2416, 2473, 2481, 2526, 2601, 2609, 2612, 2615, 2653, 2702, | |||||
| 2706, 2729, 2737, 2740, 2857, 2865, 2868, 2910, 2928, 2948, 2961, 2971, | |||||
| 2973, 3085, 3089, 3113, 3124, 3213, 3217, 3241, 3252, 3295, 3341, 3345, | |||||
| 3369, 3506, 3516, 3633, 3715, 3721, 3736, 3744, 3748, 3750, 3756, 3761, | |||||
| 3781, 3912, 4239, 4347, 4681, 4695, 4697, 4745, 4785, 4799, 4801, 4823, | |||||
| 4881, 5760, 5901, 5997, 6313, 7405, 8024, 8026, 8028, 8030, 8117, 8125, | |||||
| 8133, 8181, 8468, 8485, 8487, 8489, 8494, 8527, 11311, 11359, 11687, 11695, | |||||
| 11703, 11711, 11719, 11727, 11735, 12448, 12539, 43010, 43014, 43019, 43587, | |||||
| 43696, 43713, 64286, 64297, 64311, 64317, 64319, 64322, 64325, 65141]; | |||||
| var i, j, start, end; | |||||
| for (i = 0; i < singles.length; i++) { | |||||
| result[singles[i]] = true; | |||||
| } | |||||
| var ranges = [[0, 47], [58, 64], [91, 94], [123, 169], [171, 177], [182, 184], [706, 709], | |||||
| [722, 735], [741, 747], [751, 879], [888, 889], [894, 901], [1154, 1161], | |||||
| [1318, 1328], [1367, 1368], [1370, 1376], [1416, 1487], [1515, 1519], [1523, 1568], | |||||
| [1611, 1631], [1642, 1645], [1750, 1764], [1767, 1773], [1789, 1790], [1792, 1807], | |||||
| [1840, 1868], [1958, 1968], [1970, 1983], [2027, 2035], [2038, 2041], [2043, 2047], | |||||
| [2070, 2073], [2075, 2083], [2085, 2087], [2089, 2307], [2362, 2364], [2366, 2383], | |||||
| [2385, 2391], [2402, 2405], [2419, 2424], [2432, 2436], [2445, 2446], [2449, 2450], | |||||
| [2483, 2485], [2490, 2492], [2494, 2509], [2511, 2523], [2530, 2533], [2546, 2547], | |||||
| [2554, 2564], [2571, 2574], [2577, 2578], [2618, 2648], [2655, 2661], [2672, 2673], | |||||
| [2677, 2692], [2746, 2748], [2750, 2767], [2769, 2783], [2786, 2789], [2800, 2820], | |||||
| [2829, 2830], [2833, 2834], [2874, 2876], [2878, 2907], [2914, 2917], [2930, 2946], | |||||
| [2955, 2957], [2966, 2968], [2976, 2978], [2981, 2983], [2987, 2989], [3002, 3023], | |||||
| [3025, 3045], [3059, 3076], [3130, 3132], [3134, 3159], [3162, 3167], [3170, 3173], | |||||
| [3184, 3191], [3199, 3204], [3258, 3260], [3262, 3293], [3298, 3301], [3312, 3332], | |||||
| [3386, 3388], [3390, 3423], [3426, 3429], [3446, 3449], [3456, 3460], [3479, 3481], | |||||
| [3518, 3519], [3527, 3584], [3636, 3647], [3655, 3663], [3674, 3712], [3717, 3718], | |||||
| [3723, 3724], [3726, 3731], [3752, 3753], [3764, 3772], [3774, 3775], [3783, 3791], | |||||
| [3802, 3803], [3806, 3839], [3841, 3871], [3892, 3903], [3949, 3975], [3980, 4095], | |||||
| [4139, 4158], [4170, 4175], [4182, 4185], [4190, 4192], [4194, 4196], [4199, 4205], | |||||
| [4209, 4212], [4226, 4237], [4250, 4255], [4294, 4303], [4349, 4351], [4686, 4687], | |||||
| [4702, 4703], [4750, 4751], [4790, 4791], [4806, 4807], [4886, 4887], [4955, 4968], | |||||
| [4989, 4991], [5008, 5023], [5109, 5120], [5741, 5742], [5787, 5791], [5867, 5869], | |||||
| [5873, 5887], [5906, 5919], [5938, 5951], [5970, 5983], [6001, 6015], [6068, 6102], | |||||
| [6104, 6107], [6109, 6111], [6122, 6127], [6138, 6159], [6170, 6175], [6264, 6271], | |||||
| [6315, 6319], [6390, 6399], [6429, 6469], [6510, 6511], [6517, 6527], [6572, 6592], | |||||
| [6600, 6607], [6619, 6655], [6679, 6687], [6741, 6783], [6794, 6799], [6810, 6822], | |||||
| [6824, 6916], [6964, 6980], [6988, 6991], [7002, 7042], [7073, 7085], [7098, 7167], | |||||
| [7204, 7231], [7242, 7244], [7294, 7400], [7410, 7423], [7616, 7679], [7958, 7959], | |||||
| [7966, 7967], [8006, 8007], [8014, 8015], [8062, 8063], [8127, 8129], [8141, 8143], | |||||
| [8148, 8149], [8156, 8159], [8173, 8177], [8189, 8303], [8306, 8307], [8314, 8318], | |||||
| [8330, 8335], [8341, 8449], [8451, 8454], [8456, 8457], [8470, 8472], [8478, 8483], | |||||
| [8506, 8507], [8512, 8516], [8522, 8525], [8586, 9311], [9372, 9449], [9472, 10101], | |||||
| [10132, 11263], [11493, 11498], [11503, 11516], [11518, 11519], [11558, 11567], | |||||
| [11622, 11630], [11632, 11647], [11671, 11679], [11743, 11822], [11824, 12292], | |||||
| [12296, 12320], [12330, 12336], [12342, 12343], [12349, 12352], [12439, 12444], | |||||
| [12544, 12548], [12590, 12592], [12687, 12689], [12694, 12703], [12728, 12783], | |||||
| [12800, 12831], [12842, 12880], [12896, 12927], [12938, 12976], [12992, 13311], | |||||
| [19894, 19967], [40908, 40959], [42125, 42191], [42238, 42239], [42509, 42511], | |||||
| [42540, 42559], [42592, 42593], [42607, 42622], [42648, 42655], [42736, 42774], | |||||
| [42784, 42785], [42889, 42890], [42893, 43002], [43043, 43055], [43062, 43071], | |||||
| [43124, 43137], [43188, 43215], [43226, 43249], [43256, 43258], [43260, 43263], | |||||
| [43302, 43311], [43335, 43359], [43389, 43395], [43443, 43470], [43482, 43519], | |||||
| [43561, 43583], [43596, 43599], [43610, 43615], [43639, 43641], [43643, 43647], | |||||
| [43698, 43700], [43703, 43704], [43710, 43711], [43715, 43738], [43742, 43967], | |||||
| [44003, 44015], [44026, 44031], [55204, 55215], [55239, 55242], [55292, 55295], | |||||
| [57344, 63743], [64046, 64047], [64110, 64111], [64218, 64255], [64263, 64274], | |||||
| [64280, 64284], [64434, 64466], [64830, 64847], [64912, 64913], [64968, 65007], | |||||
| [65020, 65135], [65277, 65295], [65306, 65312], [65339, 65344], [65371, 65381], | |||||
| [65471, 65473], [65480, 65481], [65488, 65489], [65496, 65497]]; | |||||
| for (i = 0; i < ranges.length; i++) { | |||||
| start = ranges[i][0]; | |||||
| end = ranges[i][1]; | |||||
| for (j = start; j <= end; j++) { | |||||
| result[j] = true; | |||||
| } | |||||
| } | |||||
| return result; | |||||
| })(); | |||||
| function splitQuery(query) { | |||||
| var result = []; | |||||
| var start = -1; | |||||
| for (var i = 0; i < query.length; i++) { | |||||
| if (splitChars[query.charCodeAt(i)]) { | |||||
| if (start !== -1) { | |||||
| result.push(query.slice(start, i)); | |||||
| start = -1; | |||||
| } | |||||
| } else if (start === -1) { | |||||
| start = i; | |||||
| } | |||||
| } | |||||
| if (start !== -1) { | |||||
| result.push(query.slice(start)); | |||||
| } | |||||
| return result; | |||||
| } | |||||
| @@ -0,0 +1,77 @@ | |||||
| .highlight .hll { background-color: #ffffcc } | |||||
| .highlight { background: #f8f8f8; } | |||||
| .highlight .c { color: #8f5902; font-style: italic } /* Comment */ | |||||
| .highlight .err { color: #a40000; border: 1px solid #ef2929 } /* Error */ | |||||
| .highlight .g { color: #000000 } /* Generic */ | |||||
| .highlight .k { color: #004461; font-weight: bold } /* Keyword */ | |||||
| .highlight .l { color: #000000 } /* Literal */ | |||||
| .highlight .n { color: #000000 } /* Name */ | |||||
| .highlight .o { color: #582800 } /* Operator */ | |||||
| .highlight .x { color: #000000 } /* Other */ | |||||
| .highlight .p { color: #000000; font-weight: bold } /* Punctuation */ | |||||
| .highlight .ch { color: #8f5902; font-style: italic } /* Comment.Hashbang */ | |||||
| .highlight .cm { color: #8f5902; font-style: italic } /* Comment.Multiline */ | |||||
| .highlight .cp { color: #8f5902 } /* Comment.Preproc */ | |||||
| .highlight .cpf { color: #8f5902; font-style: italic } /* Comment.PreprocFile */ | |||||
| .highlight .c1 { color: #8f5902; font-style: italic } /* Comment.Single */ | |||||
| .highlight .cs { color: #8f5902; font-style: italic } /* Comment.Special */ | |||||
| .highlight .gd { color: #a40000 } /* Generic.Deleted */ | |||||
| .highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */ | |||||
| .highlight .gr { color: #ef2929 } /* Generic.Error */ | |||||
| .highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */ | |||||
| .highlight .gi { color: #00A000 } /* Generic.Inserted */ | |||||
| .highlight .go { color: #888888 } /* Generic.Output */ | |||||
| .highlight .gp { color: #745334 } /* Generic.Prompt */ | |||||
| .highlight .gs { color: #000000; font-weight: bold } /* Generic.Strong */ | |||||
| .highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ | |||||
| .highlight .gt { color: #a40000; font-weight: bold } /* Generic.Traceback */ | |||||
| .highlight .kc { color: #004461; font-weight: bold } /* Keyword.Constant */ | |||||
| .highlight .kd { color: #004461; font-weight: bold } /* Keyword.Declaration */ | |||||
| .highlight .kn { color: #004461; font-weight: bold } /* Keyword.Namespace */ | |||||
| .highlight .kp { color: #004461; font-weight: bold } /* Keyword.Pseudo */ | |||||
| .highlight .kr { color: #004461; font-weight: bold } /* Keyword.Reserved */ | |||||
| .highlight .kt { color: #004461; font-weight: bold } /* Keyword.Type */ | |||||
| .highlight .ld { color: #000000 } /* Literal.Date */ | |||||
| .highlight .m { color: #990000 } /* Literal.Number */ | |||||
| .highlight .s { color: #4e9a06 } /* Literal.String */ | |||||
| .highlight .na { color: #c4a000 } /* Name.Attribute */ | |||||
| .highlight .nb { color: #004461 } /* Name.Builtin */ | |||||
| .highlight .nc { color: #000000 } /* Name.Class */ | |||||
| .highlight .no { color: #000000 } /* Name.Constant */ | |||||
| .highlight .nd { color: #888888 } /* Name.Decorator */ | |||||
| .highlight .ni { color: #ce5c00 } /* Name.Entity */ | |||||
| .highlight .ne { color: #cc0000; font-weight: bold } /* Name.Exception */ | |||||
| .highlight .nf { color: #000000 } /* Name.Function */ | |||||
| .highlight .nl { color: #f57900 } /* Name.Label */ | |||||
| .highlight .nn { color: #000000 } /* Name.Namespace */ | |||||
| .highlight .nx { color: #000000 } /* Name.Other */ | |||||
| .highlight .py { color: #000000 } /* Name.Property */ | |||||
| .highlight .nt { color: #004461; font-weight: bold } /* Name.Tag */ | |||||
| .highlight .nv { color: #000000 } /* Name.Variable */ | |||||
| .highlight .ow { color: #004461; font-weight: bold } /* Operator.Word */ | |||||
| .highlight .w { color: #f8f8f8; text-decoration: underline } /* Text.Whitespace */ | |||||
| .highlight .mb { color: #990000 } /* Literal.Number.Bin */ | |||||
| .highlight .mf { color: #990000 } /* Literal.Number.Float */ | |||||
| .highlight .mh { color: #990000 } /* Literal.Number.Hex */ | |||||
| .highlight .mi { color: #990000 } /* Literal.Number.Integer */ | |||||
| .highlight .mo { color: #990000 } /* Literal.Number.Oct */ | |||||
| .highlight .sa { color: #4e9a06 } /* Literal.String.Affix */ | |||||
| .highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */ | |||||
| .highlight .sc { color: #4e9a06 } /* Literal.String.Char */ | |||||
| .highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */ | |||||
| .highlight .sd { color: #8f5902; font-style: italic } /* Literal.String.Doc */ | |||||
| .highlight .s2 { color: #4e9a06 } /* Literal.String.Double */ | |||||
| .highlight .se { color: #4e9a06 } /* Literal.String.Escape */ | |||||
| .highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */ | |||||
| .highlight .si { color: #4e9a06 } /* Literal.String.Interpol */ | |||||
| .highlight .sx { color: #4e9a06 } /* Literal.String.Other */ | |||||
| .highlight .sr { color: #4e9a06 } /* Literal.String.Regex */ | |||||
| .highlight .s1 { color: #4e9a06 } /* Literal.String.Single */ | |||||
| .highlight .ss { color: #4e9a06 } /* Literal.String.Symbol */ | |||||
| .highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */ | |||||
| .highlight .fm { color: #000000 } /* Name.Function.Magic */ | |||||
| .highlight .vc { color: #000000 } /* Name.Variable.Class */ | |||||
| .highlight .vg { color: #000000 } /* Name.Variable.Global */ | |||||
| .highlight .vi { color: #000000 } /* Name.Variable.Instance */ | |||||
| .highlight .vm { color: #000000 } /* Name.Variable.Magic */ | |||||
| .highlight .il { color: #990000 } /* Literal.Number.Integer.Long */ | |||||
| @@ -0,0 +1,506 @@ | |||||
| /* | |||||
| * searchtools.js | |||||
| * ~~~~~~~~~~~~~~~~ | |||||
| * | |||||
| * Sphinx JavaScript utilities for the full-text search. | |||||
| * | |||||
| * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS. | |||||
| * :license: BSD, see LICENSE for details. | |||||
| * | |||||
| */ | |||||
| if (!Scorer) { | |||||
| /** | |||||
| * Simple result scoring code. | |||||
| */ | |||||
| var Scorer = { | |||||
| // Implement the following function to further tweak the score for each result | |||||
| // The function takes a result array [filename, title, anchor, descr, score] | |||||
| // and returns the new score. | |||||
| /* | |||||
| score: function(result) { | |||||
| return result[4]; | |||||
| }, | |||||
| */ | |||||
| // query matches the full name of an object | |||||
| objNameMatch: 11, | |||||
| // or matches in the last dotted part of the object name | |||||
| objPartialMatch: 6, | |||||
| // Additive scores depending on the priority of the object | |||||
| objPrio: {0: 15, // used to be importantResults | |||||
| 1: 5, // used to be objectResults | |||||
| 2: -5}, // used to be unimportantResults | |||||
| // Used when the priority is not in the mapping. | |||||
| objPrioDefault: 0, | |||||
| // query found in title | |||||
| title: 15, | |||||
| partialTitle: 7, | |||||
| // query found in terms | |||||
| term: 5, | |||||
| partialTerm: 2 | |||||
| }; | |||||
| } | |||||
| if (!splitQuery) { | |||||
| function splitQuery(query) { | |||||
| return query.split(/\s+/); | |||||
| } | |||||
| } | |||||
| /** | |||||
| * Search Module | |||||
| */ | |||||
| var Search = { | |||||
| _index : null, | |||||
| _queued_query : null, | |||||
| _pulse_status : -1, | |||||
| htmlToText : function(htmlString) { | |||||
| var htmlElement = document.createElement('span'); | |||||
| htmlElement.innerHTML = htmlString; | |||||
| $(htmlElement).find('.headerlink').remove(); | |||||
| docContent = $(htmlElement).find('[role=main]')[0]; | |||||
| return docContent.textContent || docContent.innerText; | |||||
| }, | |||||
| init : function() { | |||||
| var params = $.getQueryParameters(); | |||||
| if (params.q) { | |||||
| var query = params.q[0]; | |||||
| $('input[name="q"]')[0].value = query; | |||||
| this.performSearch(query); | |||||
| } | |||||
| }, | |||||
| loadIndex : function(url) { | |||||
| $.ajax({type: "GET", url: url, data: null, | |||||
| dataType: "script", cache: true, | |||||
| complete: function(jqxhr, textstatus) { | |||||
| if (textstatus != "success") { | |||||
| document.getElementById("searchindexloader").src = url; | |||||
| } | |||||
| }}); | |||||
| }, | |||||
| setIndex : function(index) { | |||||
| var q; | |||||
| this._index = index; | |||||
| if ((q = this._queued_query) !== null) { | |||||
| this._queued_query = null; | |||||
| Search.query(q); | |||||
| } | |||||
| }, | |||||
| hasIndex : function() { | |||||
| return this._index !== null; | |||||
| }, | |||||
| deferQuery : function(query) { | |||||
| this._queued_query = query; | |||||
| }, | |||||
| stopPulse : function() { | |||||
| this._pulse_status = 0; | |||||
| }, | |||||
| startPulse : function() { | |||||
| if (this._pulse_status >= 0) | |||||
| return; | |||||
| function pulse() { | |||||
| var i; | |||||
| Search._pulse_status = (Search._pulse_status + 1) % 4; | |||||
| var dotString = ''; | |||||
| for (i = 0; i < Search._pulse_status; i++) | |||||
| dotString += '.'; | |||||
| Search.dots.text(dotString); | |||||
| if (Search._pulse_status > -1) | |||||
| window.setTimeout(pulse, 500); | |||||
| } | |||||
| pulse(); | |||||
| }, | |||||
| /** | |||||
| * perform a search for something (or wait until index is loaded) | |||||
| */ | |||||
| performSearch : function(query) { | |||||
| // create the required interface elements | |||||
| this.out = $('#search-results'); | |||||
| this.title = $('<h2>' + _('Searching') + '</h2>').appendTo(this.out); | |||||
| this.dots = $('<span></span>').appendTo(this.title); | |||||
| this.status = $('<p class="search-summary"> </p>').appendTo(this.out); | |||||
| this.output = $('<ul class="search"/>').appendTo(this.out); | |||||
| $('#search-progress').text(_('Preparing search...')); | |||||
| this.startPulse(); | |||||
| // index already loaded, the browser was quick! | |||||
| if (this.hasIndex()) | |||||
| this.query(query); | |||||
| else | |||||
| this.deferQuery(query); | |||||
| }, | |||||
| /** | |||||
| * execute search (requires search index to be loaded) | |||||
| */ | |||||
| query : function(query) { | |||||
| var i; | |||||
| // stem the searchterms and add them to the correct list | |||||
| var stemmer = new Stemmer(); | |||||
| var searchterms = []; | |||||
| var excluded = []; | |||||
| var hlterms = []; | |||||
| var tmp = splitQuery(query); | |||||
| var objectterms = []; | |||||
| for (i = 0; i < tmp.length; i++) { | |||||
| if (tmp[i] !== "") { | |||||
| objectterms.push(tmp[i].toLowerCase()); | |||||
| } | |||||
| if ($u.indexOf(stopwords, tmp[i].toLowerCase()) != -1 || tmp[i].match(/^\d+$/) || | |||||
| tmp[i] === "") { | |||||
| // skip this "word" | |||||
| continue; | |||||
| } | |||||
| // stem the word | |||||
| var word = stemmer.stemWord(tmp[i].toLowerCase()); | |||||
| // prevent stemmer from cutting word smaller than two chars | |||||
| if(word.length < 3 && tmp[i].length >= 3) { | |||||
| word = tmp[i]; | |||||
| } | |||||
| var toAppend; | |||||
| // select the correct list | |||||
| if (word[0] == '-') { | |||||
| toAppend = excluded; | |||||
| word = word.substr(1); | |||||
| } | |||||
| else { | |||||
| toAppend = searchterms; | |||||
| hlterms.push(tmp[i].toLowerCase()); | |||||
| } | |||||
| // only add if not already in the list | |||||
| if (!$u.contains(toAppend, word)) | |||||
| toAppend.push(word); | |||||
| } | |||||
| var highlightstring = '?highlight=' + $.urlencode(hlterms.join(" ")); | |||||
| // console.debug('SEARCH: searching for:'); | |||||
| // console.info('required: ', searchterms); | |||||
| // console.info('excluded: ', excluded); | |||||
| // prepare search | |||||
| var terms = this._index.terms; | |||||
| var titleterms = this._index.titleterms; | |||||
| // array of [filename, title, anchor, descr, score] | |||||
| var results = []; | |||||
| $('#search-progress').empty(); | |||||
| // lookup as object | |||||
| for (i = 0; i < objectterms.length; i++) { | |||||
| var others = [].concat(objectterms.slice(0, i), | |||||
| objectterms.slice(i+1, objectterms.length)); | |||||
| results = results.concat(this.performObjectSearch(objectterms[i], others)); | |||||
| } | |||||
| // lookup as search terms in fulltext | |||||
| results = results.concat(this.performTermsSearch(searchterms, excluded, terms, titleterms)); | |||||
| // let the scorer override scores with a custom scoring function | |||||
| if (Scorer.score) { | |||||
| for (i = 0; i < results.length; i++) | |||||
| results[i][4] = Scorer.score(results[i]); | |||||
| } | |||||
| // now sort the results by score (in opposite order of appearance, since the | |||||
| // display function below uses pop() to retrieve items) and then | |||||
| // alphabetically | |||||
| results.sort(function(a, b) { | |||||
| var left = a[4]; | |||||
| var right = b[4]; | |||||
| if (left > right) { | |||||
| return 1; | |||||
| } else if (left < right) { | |||||
| return -1; | |||||
| } else { | |||||
| // same score: sort alphabetically | |||||
| left = a[1].toLowerCase(); | |||||
| right = b[1].toLowerCase(); | |||||
| return (left > right) ? -1 : ((left < right) ? 1 : 0); | |||||
| } | |||||
| }); | |||||
| // for debugging | |||||
| //Search.lastresults = results.slice(); // a copy | |||||
| //console.info('search results:', Search.lastresults); | |||||
| // print the results | |||||
| var resultCount = results.length; | |||||
| function displayNextItem() { | |||||
| // results left, load the summary and display it | |||||
| if (results.length) { | |||||
| var item = results.pop(); | |||||
| var listItem = $('<li style="display:none"></li>'); | |||||
| if (DOCUMENTATION_OPTIONS.FILE_SUFFIX === '') { | |||||
| // dirhtml builder | |||||
| var dirname = item[0] + '/'; | |||||
| if (dirname.match(/\/index\/$/)) { | |||||
| dirname = dirname.substring(0, dirname.length-6); | |||||
| } else if (dirname == 'index/') { | |||||
| dirname = ''; | |||||
| } | |||||
| listItem.append($('<a/>').attr('href', | |||||
| DOCUMENTATION_OPTIONS.URL_ROOT + dirname + | |||||
| highlightstring + item[2]).html(item[1])); | |||||
| } else { | |||||
| // normal html builders | |||||
| listItem.append($('<a/>').attr('href', | |||||
| item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX + | |||||
| highlightstring + item[2]).html(item[1])); | |||||
| } | |||||
| if (item[3]) { | |||||
| listItem.append($('<span> (' + item[3] + ')</span>')); | |||||
| Search.output.append(listItem); | |||||
| listItem.slideDown(5, function() { | |||||
| displayNextItem(); | |||||
| }); | |||||
| } else if (DOCUMENTATION_OPTIONS.HAS_SOURCE) { | |||||
| $.ajax({url: DOCUMENTATION_OPTIONS.URL_ROOT + item[0] + DOCUMENTATION_OPTIONS.FILE_SUFFIX, | |||||
| dataType: "text", | |||||
| complete: function(jqxhr, textstatus) { | |||||
| var data = jqxhr.responseText; | |||||
| if (data !== '' && data !== undefined) { | |||||
| listItem.append(Search.makeSearchSummary(data, searchterms, hlterms)); | |||||
| } | |||||
| Search.output.append(listItem); | |||||
| listItem.slideDown(5, function() { | |||||
| displayNextItem(); | |||||
| }); | |||||
| }}); | |||||
| } else { | |||||
| // no source available, just display title | |||||
| Search.output.append(listItem); | |||||
| listItem.slideDown(5, function() { | |||||
| displayNextItem(); | |||||
| }); | |||||
| } | |||||
| } | |||||
| // search finished, update title and status message | |||||
| else { | |||||
| Search.stopPulse(); | |||||
| Search.title.text(_('Search Results')); | |||||
| if (!resultCount) | |||||
| Search.status.text(_('Your search did not match any documents. Please make sure that all words are spelled correctly and that you\'ve selected enough categories.')); | |||||
| else | |||||
| Search.status.text(_('Search finished, found %s page(s) matching the search query.').replace('%s', resultCount)); | |||||
| Search.status.fadeIn(500); | |||||
| } | |||||
| } | |||||
| displayNextItem(); | |||||
| }, | |||||
| /** | |||||
| * search for object names | |||||
| */ | |||||
| performObjectSearch : function(object, otherterms) { | |||||
| var filenames = this._index.filenames; | |||||
| var docnames = this._index.docnames; | |||||
| var objects = this._index.objects; | |||||
| var objnames = this._index.objnames; | |||||
| var titles = this._index.titles; | |||||
| var i; | |||||
| var results = []; | |||||
| for (var prefix in objects) { | |||||
| for (var name in objects[prefix]) { | |||||
| var fullname = (prefix ? prefix + '.' : '') + name; | |||||
| var fullnameLower = fullname.toLowerCase() | |||||
| if (fullnameLower.indexOf(object) > -1) { | |||||
| var score = 0; | |||||
| var parts = fullnameLower.split('.'); | |||||
| // check for different match types: exact matches of full name or | |||||
| // "last name" (i.e. last dotted part) | |||||
| if (fullnameLower == object || parts[parts.length - 1] == object) { | |||||
| score += Scorer.objNameMatch; | |||||
| // matches in last name | |||||
| } else if (parts[parts.length - 1].indexOf(object) > -1) { | |||||
| score += Scorer.objPartialMatch; | |||||
| } | |||||
| var match = objects[prefix][name]; | |||||
| var objname = objnames[match[1]][2]; | |||||
| var title = titles[match[0]]; | |||||
| // If more than one term searched for, we require other words to be | |||||
| // found in the name/title/description | |||||
| if (otherterms.length > 0) { | |||||
| var haystack = (prefix + ' ' + name + ' ' + | |||||
| objname + ' ' + title).toLowerCase(); | |||||
| var allfound = true; | |||||
| for (i = 0; i < otherterms.length; i++) { | |||||
| if (haystack.indexOf(otherterms[i]) == -1) { | |||||
| allfound = false; | |||||
| break; | |||||
| } | |||||
| } | |||||
| if (!allfound) { | |||||
| continue; | |||||
| } | |||||
| } | |||||
| var descr = objname + _(', in ') + title; | |||||
| var anchor = match[3]; | |||||
| if (anchor === '') | |||||
| anchor = fullname; | |||||
| else if (anchor == '-') | |||||
| anchor = objnames[match[1]][1] + '-' + fullname; | |||||
| // add custom score for some objects according to scorer | |||||
| if (Scorer.objPrio.hasOwnProperty(match[2])) { | |||||
| score += Scorer.objPrio[match[2]]; | |||||
| } else { | |||||
| score += Scorer.objPrioDefault; | |||||
| } | |||||
| results.push([docnames[match[0]], fullname, '#'+anchor, descr, score, filenames[match[0]]]); | |||||
| } | |||||
| } | |||||
| } | |||||
| return results; | |||||
| }, | |||||
| /** | |||||
| * search for full-text terms in the index | |||||
| */ | |||||
| performTermsSearch : function(searchterms, excluded, terms, titleterms) { | |||||
| var docnames = this._index.docnames; | |||||
| var filenames = this._index.filenames; | |||||
| var titles = this._index.titles; | |||||
| var i, j, file; | |||||
| var fileMap = {}; | |||||
| var scoreMap = {}; | |||||
| var results = []; | |||||
| // perform the search on the required terms | |||||
| for (i = 0; i < searchterms.length; i++) { | |||||
| var word = searchterms[i]; | |||||
| var files = []; | |||||
| var _o = [ | |||||
| {files: terms[word], score: Scorer.term}, | |||||
| {files: titleterms[word], score: Scorer.title} | |||||
| ]; | |||||
| // add support for partial matches | |||||
| if (word.length > 2) { | |||||
| for (var w in terms) { | |||||
| if (w.match(word) && !terms[word]) { | |||||
| _o.push({files: terms[w], score: Scorer.partialTerm}) | |||||
| } | |||||
| } | |||||
| for (var w in titleterms) { | |||||
| if (w.match(word) && !titleterms[word]) { | |||||
| _o.push({files: titleterms[w], score: Scorer.partialTitle}) | |||||
| } | |||||
| } | |||||
| } | |||||
| // no match but word was a required one | |||||
| if ($u.every(_o, function(o){return o.files === undefined;})) { | |||||
| break; | |||||
| } | |||||
| // found search word in contents | |||||
| $u.each(_o, function(o) { | |||||
| var _files = o.files; | |||||
| if (_files === undefined) | |||||
| return | |||||
| if (_files.length === undefined) | |||||
| _files = [_files]; | |||||
| files = files.concat(_files); | |||||
| // set score for the word in each file to Scorer.term | |||||
| for (j = 0; j < _files.length; j++) { | |||||
| file = _files[j]; | |||||
| if (!(file in scoreMap)) | |||||
| scoreMap[file] = {} | |||||
| scoreMap[file][word] = o.score; | |||||
| } | |||||
| }); | |||||
| // create the mapping | |||||
| for (j = 0; j < files.length; j++) { | |||||
| file = files[j]; | |||||
| if (file in fileMap) | |||||
| fileMap[file].push(word); | |||||
| else | |||||
| fileMap[file] = [word]; | |||||
| } | |||||
| } | |||||
| // now check if the files don't contain excluded terms | |||||
| for (file in fileMap) { | |||||
| var valid = true; | |||||
| // check if all requirements are matched | |||||
| var filteredTermCount = // as search terms with length < 3 are discarded: ignore | |||||
| searchterms.filter(function(term){return term.length > 2}).length | |||||
| if ( | |||||
| fileMap[file].length != searchterms.length && | |||||
| fileMap[file].length != filteredTermCount | |||||
| ) continue; | |||||
| // ensure that none of the excluded terms is in the search result | |||||
| for (i = 0; i < excluded.length; i++) { | |||||
| if (terms[excluded[i]] == file || | |||||
| titleterms[excluded[i]] == file || | |||||
| $u.contains(terms[excluded[i]] || [], file) || | |||||
| $u.contains(titleterms[excluded[i]] || [], file)) { | |||||
| valid = false; | |||||
| break; | |||||
| } | |||||
| } | |||||
| // if we have still a valid result we can add it to the result list | |||||
| if (valid) { | |||||
| // select one (max) score for the file. | |||||
| // for better ranking, we should calculate ranking by using words statistics like basic tf-idf... | |||||
| var score = $u.max($u.map(fileMap[file], function(w){return scoreMap[file][w]})); | |||||
| results.push([docnames[file], titles[file], '', null, score, filenames[file]]); | |||||
| } | |||||
| } | |||||
| return results; | |||||
| }, | |||||
| /** | |||||
| * helper function to return a node containing the | |||||
| * search summary for a given text. keywords is a list | |||||
| * of stemmed words, hlwords is the list of normal, unstemmed | |||||
| * words. the first one is used to find the occurrence, the | |||||
| * latter for highlighting it. | |||||
| */ | |||||
| makeSearchSummary : function(htmlText, keywords, hlwords) { | |||||
| var text = Search.htmlToText(htmlText); | |||||
| var textLower = text.toLowerCase(); | |||||
| var start = 0; | |||||
| $.each(keywords, function() { | |||||
| var i = textLower.indexOf(this.toLowerCase()); | |||||
| if (i > -1) | |||||
| start = i; | |||||
| }); | |||||
| start = Math.max(start - 120, 0); | |||||
| var excerpt = ((start > 0) ? '...' : '') + | |||||
| $.trim(text.substr(start, 240)) + | |||||
| ((start + 240 - text.length) ? '...' : ''); | |||||
| var rv = $('<div class="context"></div>').text(excerpt); | |||||
| $.each(hlwords, function() { | |||||
| rv = rv.highlightText(this, 'highlighted'); | |||||
| }); | |||||
| return rv; | |||||
| } | |||||
| }; | |||||
| $(document).ready(function() { | |||||
| Search.init(); | |||||
| }); | |||||
| @@ -0,0 +1,31 @@ | |||||
| // Underscore.js 1.3.1 | |||||
| // (c) 2009-2012 Jeremy Ashkenas, DocumentCloud Inc. | |||||
| // Underscore is freely distributable under the MIT license. | |||||
| // Portions of Underscore are inspired or borrowed from Prototype, | |||||
| // Oliver Steele's Functional, and John Resig's Micro-Templating. | |||||
| // For all details and documentation: | |||||
| // http://documentcloud.github.com/underscore | |||||
| (function(){function q(a,c,d){if(a===c)return a!==0||1/a==1/c;if(a==null||c==null)return a===c;if(a._chain)a=a._wrapped;if(c._chain)c=c._wrapped;if(a.isEqual&&b.isFunction(a.isEqual))return a.isEqual(c);if(c.isEqual&&b.isFunction(c.isEqual))return c.isEqual(a);var e=l.call(a);if(e!=l.call(c))return false;switch(e){case "[object String]":return a==String(c);case "[object Number]":return a!=+a?c!=+c:a==0?1/a==1/c:a==+c;case "[object Date]":case "[object Boolean]":return+a==+c;case "[object RegExp]":return a.source== | |||||
| c.source&&a.global==c.global&&a.multiline==c.multiline&&a.ignoreCase==c.ignoreCase}if(typeof a!="object"||typeof c!="object")return false;for(var f=d.length;f--;)if(d[f]==a)return true;d.push(a);var f=0,g=true;if(e=="[object Array]"){if(f=a.length,g=f==c.length)for(;f--;)if(!(g=f in a==f in c&&q(a[f],c[f],d)))break}else{if("constructor"in a!="constructor"in c||a.constructor!=c.constructor)return false;for(var h in a)if(b.has(a,h)&&(f++,!(g=b.has(c,h)&&q(a[h],c[h],d))))break;if(g){for(h in c)if(b.has(c, | |||||
| h)&&!f--)break;g=!f}}d.pop();return g}var r=this,G=r._,n={},k=Array.prototype,o=Object.prototype,i=k.slice,H=k.unshift,l=o.toString,I=o.hasOwnProperty,w=k.forEach,x=k.map,y=k.reduce,z=k.reduceRight,A=k.filter,B=k.every,C=k.some,p=k.indexOf,D=k.lastIndexOf,o=Array.isArray,J=Object.keys,s=Function.prototype.bind,b=function(a){return new m(a)};if(typeof exports!=="undefined"){if(typeof module!=="undefined"&&module.exports)exports=module.exports=b;exports._=b}else r._=b;b.VERSION="1.3.1";var j=b.each= | |||||
| b.forEach=function(a,c,d){if(a!=null)if(w&&a.forEach===w)a.forEach(c,d);else if(a.length===+a.length)for(var e=0,f=a.length;e<f;e++){if(e in a&&c.call(d,a[e],e,a)===n)break}else for(e in a)if(b.has(a,e)&&c.call(d,a[e],e,a)===n)break};b.map=b.collect=function(a,c,b){var e=[];if(a==null)return e;if(x&&a.map===x)return a.map(c,b);j(a,function(a,g,h){e[e.length]=c.call(b,a,g,h)});if(a.length===+a.length)e.length=a.length;return e};b.reduce=b.foldl=b.inject=function(a,c,d,e){var f=arguments.length>2;a== | |||||
| null&&(a=[]);if(y&&a.reduce===y)return e&&(c=b.bind(c,e)),f?a.reduce(c,d):a.reduce(c);j(a,function(a,b,i){f?d=c.call(e,d,a,b,i):(d=a,f=true)});if(!f)throw new TypeError("Reduce of empty array with no initial value");return d};b.reduceRight=b.foldr=function(a,c,d,e){var f=arguments.length>2;a==null&&(a=[]);if(z&&a.reduceRight===z)return e&&(c=b.bind(c,e)),f?a.reduceRight(c,d):a.reduceRight(c);var g=b.toArray(a).reverse();e&&!f&&(c=b.bind(c,e));return f?b.reduce(g,c,d,e):b.reduce(g,c)};b.find=b.detect= | |||||
| function(a,c,b){var e;E(a,function(a,g,h){if(c.call(b,a,g,h))return e=a,true});return e};b.filter=b.select=function(a,c,b){var e=[];if(a==null)return e;if(A&&a.filter===A)return a.filter(c,b);j(a,function(a,g,h){c.call(b,a,g,h)&&(e[e.length]=a)});return e};b.reject=function(a,c,b){var e=[];if(a==null)return e;j(a,function(a,g,h){c.call(b,a,g,h)||(e[e.length]=a)});return e};b.every=b.all=function(a,c,b){var e=true;if(a==null)return e;if(B&&a.every===B)return a.every(c,b);j(a,function(a,g,h){if(!(e= | |||||
| e&&c.call(b,a,g,h)))return n});return e};var E=b.some=b.any=function(a,c,d){c||(c=b.identity);var e=false;if(a==null)return e;if(C&&a.some===C)return a.some(c,d);j(a,function(a,b,h){if(e||(e=c.call(d,a,b,h)))return n});return!!e};b.include=b.contains=function(a,c){var b=false;if(a==null)return b;return p&&a.indexOf===p?a.indexOf(c)!=-1:b=E(a,function(a){return a===c})};b.invoke=function(a,c){var d=i.call(arguments,2);return b.map(a,function(a){return(b.isFunction(c)?c||a:a[c]).apply(a,d)})};b.pluck= | |||||
| function(a,c){return b.map(a,function(a){return a[c]})};b.max=function(a,c,d){if(!c&&b.isArray(a))return Math.max.apply(Math,a);if(!c&&b.isEmpty(a))return-Infinity;var e={computed:-Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b>=e.computed&&(e={value:a,computed:b})});return e.value};b.min=function(a,c,d){if(!c&&b.isArray(a))return Math.min.apply(Math,a);if(!c&&b.isEmpty(a))return Infinity;var e={computed:Infinity};j(a,function(a,b,h){b=c?c.call(d,a,b,h):a;b<e.computed&&(e={value:a,computed:b})}); | |||||
| return e.value};b.shuffle=function(a){var b=[],d;j(a,function(a,f){f==0?b[0]=a:(d=Math.floor(Math.random()*(f+1)),b[f]=b[d],b[d]=a)});return b};b.sortBy=function(a,c,d){return b.pluck(b.map(a,function(a,b,g){return{value:a,criteria:c.call(d,a,b,g)}}).sort(function(a,b){var c=a.criteria,d=b.criteria;return c<d?-1:c>d?1:0}),"value")};b.groupBy=function(a,c){var d={},e=b.isFunction(c)?c:function(a){return a[c]};j(a,function(a,b){var c=e(a,b);(d[c]||(d[c]=[])).push(a)});return d};b.sortedIndex=function(a, | |||||
| c,d){d||(d=b.identity);for(var e=0,f=a.length;e<f;){var g=e+f>>1;d(a[g])<d(c)?e=g+1:f=g}return e};b.toArray=function(a){return!a?[]:a.toArray?a.toArray():b.isArray(a)?i.call(a):b.isArguments(a)?i.call(a):b.values(a)};b.size=function(a){return b.toArray(a).length};b.first=b.head=function(a,b,d){return b!=null&&!d?i.call(a,0,b):a[0]};b.initial=function(a,b,d){return i.call(a,0,a.length-(b==null||d?1:b))};b.last=function(a,b,d){return b!=null&&!d?i.call(a,Math.max(a.length-b,0)):a[a.length-1]};b.rest= | |||||
| b.tail=function(a,b,d){return i.call(a,b==null||d?1:b)};b.compact=function(a){return b.filter(a,function(a){return!!a})};b.flatten=function(a,c){return b.reduce(a,function(a,e){if(b.isArray(e))return a.concat(c?e:b.flatten(e));a[a.length]=e;return a},[])};b.without=function(a){return b.difference(a,i.call(arguments,1))};b.uniq=b.unique=function(a,c,d){var d=d?b.map(a,d):a,e=[];b.reduce(d,function(d,g,h){if(0==h||(c===true?b.last(d)!=g:!b.include(d,g)))d[d.length]=g,e[e.length]=a[h];return d},[]); | |||||
| return e};b.union=function(){return b.uniq(b.flatten(arguments,true))};b.intersection=b.intersect=function(a){var c=i.call(arguments,1);return b.filter(b.uniq(a),function(a){return b.every(c,function(c){return b.indexOf(c,a)>=0})})};b.difference=function(a){var c=b.flatten(i.call(arguments,1));return b.filter(a,function(a){return!b.include(c,a)})};b.zip=function(){for(var a=i.call(arguments),c=b.max(b.pluck(a,"length")),d=Array(c),e=0;e<c;e++)d[e]=b.pluck(a,""+e);return d};b.indexOf=function(a,c, | |||||
| d){if(a==null)return-1;var e;if(d)return d=b.sortedIndex(a,c),a[d]===c?d:-1;if(p&&a.indexOf===p)return a.indexOf(c);for(d=0,e=a.length;d<e;d++)if(d in a&&a[d]===c)return d;return-1};b.lastIndexOf=function(a,b){if(a==null)return-1;if(D&&a.lastIndexOf===D)return a.lastIndexOf(b);for(var d=a.length;d--;)if(d in a&&a[d]===b)return d;return-1};b.range=function(a,b,d){arguments.length<=1&&(b=a||0,a=0);for(var d=arguments[2]||1,e=Math.max(Math.ceil((b-a)/d),0),f=0,g=Array(e);f<e;)g[f++]=a,a+=d;return g}; | |||||
| var F=function(){};b.bind=function(a,c){var d,e;if(a.bind===s&&s)return s.apply(a,i.call(arguments,1));if(!b.isFunction(a))throw new TypeError;e=i.call(arguments,2);return d=function(){if(!(this instanceof d))return a.apply(c,e.concat(i.call(arguments)));F.prototype=a.prototype;var b=new F,g=a.apply(b,e.concat(i.call(arguments)));return Object(g)===g?g:b}};b.bindAll=function(a){var c=i.call(arguments,1);c.length==0&&(c=b.functions(a));j(c,function(c){a[c]=b.bind(a[c],a)});return a};b.memoize=function(a, | |||||
| c){var d={};c||(c=b.identity);return function(){var e=c.apply(this,arguments);return b.has(d,e)?d[e]:d[e]=a.apply(this,arguments)}};b.delay=function(a,b){var d=i.call(arguments,2);return setTimeout(function(){return a.apply(a,d)},b)};b.defer=function(a){return b.delay.apply(b,[a,1].concat(i.call(arguments,1)))};b.throttle=function(a,c){var d,e,f,g,h,i=b.debounce(function(){h=g=false},c);return function(){d=this;e=arguments;var b;f||(f=setTimeout(function(){f=null;h&&a.apply(d,e);i()},c));g?h=true: | |||||
| a.apply(d,e);i();g=true}};b.debounce=function(a,b){var d;return function(){var e=this,f=arguments;clearTimeout(d);d=setTimeout(function(){d=null;a.apply(e,f)},b)}};b.once=function(a){var b=false,d;return function(){if(b)return d;b=true;return d=a.apply(this,arguments)}};b.wrap=function(a,b){return function(){var d=[a].concat(i.call(arguments,0));return b.apply(this,d)}};b.compose=function(){var a=arguments;return function(){for(var b=arguments,d=a.length-1;d>=0;d--)b=[a[d].apply(this,b)];return b[0]}}; | |||||
| b.after=function(a,b){return a<=0?b():function(){if(--a<1)return b.apply(this,arguments)}};b.keys=J||function(a){if(a!==Object(a))throw new TypeError("Invalid object");var c=[],d;for(d in a)b.has(a,d)&&(c[c.length]=d);return c};b.values=function(a){return b.map(a,b.identity)};b.functions=b.methods=function(a){var c=[],d;for(d in a)b.isFunction(a[d])&&c.push(d);return c.sort()};b.extend=function(a){j(i.call(arguments,1),function(b){for(var d in b)a[d]=b[d]});return a};b.defaults=function(a){j(i.call(arguments, | |||||
| 1),function(b){for(var d in b)a[d]==null&&(a[d]=b[d])});return a};b.clone=function(a){return!b.isObject(a)?a:b.isArray(a)?a.slice():b.extend({},a)};b.tap=function(a,b){b(a);return a};b.isEqual=function(a,b){return q(a,b,[])};b.isEmpty=function(a){if(b.isArray(a)||b.isString(a))return a.length===0;for(var c in a)if(b.has(a,c))return false;return true};b.isElement=function(a){return!!(a&&a.nodeType==1)};b.isArray=o||function(a){return l.call(a)=="[object Array]"};b.isObject=function(a){return a===Object(a)}; | |||||
| b.isArguments=function(a){return l.call(a)=="[object Arguments]"};if(!b.isArguments(arguments))b.isArguments=function(a){return!(!a||!b.has(a,"callee"))};b.isFunction=function(a){return l.call(a)=="[object Function]"};b.isString=function(a){return l.call(a)=="[object String]"};b.isNumber=function(a){return l.call(a)=="[object Number]"};b.isNaN=function(a){return a!==a};b.isBoolean=function(a){return a===true||a===false||l.call(a)=="[object Boolean]"};b.isDate=function(a){return l.call(a)=="[object Date]"}; | |||||
| b.isRegExp=function(a){return l.call(a)=="[object RegExp]"};b.isNull=function(a){return a===null};b.isUndefined=function(a){return a===void 0};b.has=function(a,b){return I.call(a,b)};b.noConflict=function(){r._=G;return this};b.identity=function(a){return a};b.times=function(a,b,d){for(var e=0;e<a;e++)b.call(d,e)};b.escape=function(a){return(""+a).replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/")};b.mixin=function(a){j(b.functions(a), | |||||
| function(c){K(c,b[c]=a[c])})};var L=0;b.uniqueId=function(a){var b=L++;return a?a+b:b};b.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var t=/.^/,u=function(a){return a.replace(/\\\\/g,"\\").replace(/\\'/g,"'")};b.template=function(a,c){var d=b.templateSettings,d="var __p=[],print=function(){__p.push.apply(__p,arguments);};with(obj||{}){__p.push('"+a.replace(/\\/g,"\\\\").replace(/'/g,"\\'").replace(d.escape||t,function(a,b){return"',_.escape("+ | |||||
| u(b)+"),'"}).replace(d.interpolate||t,function(a,b){return"',"+u(b)+",'"}).replace(d.evaluate||t,function(a,b){return"');"+u(b).replace(/[\r\n\t]/g," ")+";__p.push('"}).replace(/\r/g,"\\r").replace(/\n/g,"\\n").replace(/\t/g,"\\t")+"');}return __p.join('');",e=new Function("obj","_",d);return c?e(c,b):function(a){return e.call(this,a,b)}};b.chain=function(a){return b(a).chain()};var m=function(a){this._wrapped=a};b.prototype=m.prototype;var v=function(a,c){return c?b(a).chain():a},K=function(a,c){m.prototype[a]= | |||||
| function(){var a=i.call(arguments);H.call(a,this._wrapped);return v(c.apply(b,a),this._chain)}};b.mixin(b);j("pop,push,reverse,shift,sort,splice,unshift".split(","),function(a){var b=k[a];m.prototype[a]=function(){var d=this._wrapped;b.apply(d,arguments);var e=d.length;(a=="shift"||a=="splice")&&e===0&&delete d[0];return v(d,this._chain)}});j(["concat","join","slice"],function(a){var b=k[a];m.prototype[a]=function(){return v(b.apply(this._wrapped,arguments),this._chain)}});m.prototype.chain=function(){this._chain= | |||||
| true;return this};m.prototype.value=function(){return this._wrapped}}).call(this); | |||||
| @@ -0,0 +1,132 @@ | |||||
| <!DOCTYPE html> | |||||
| <html xmlns="http://www.w3.org/1999/xhtml"> | |||||
| <head> | |||||
| <meta charset="utf-8" /> | |||||
| <title>Index — beelance2 documentation</title> | |||||
| <link rel="stylesheet" href="_static/alabaster.css" type="text/css" /> | |||||
| <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | |||||
| <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script> | |||||
| <script type="text/javascript" src="_static/jquery.js"></script> | |||||
| <script type="text/javascript" src="_static/underscore.js"></script> | |||||
| <script type="text/javascript" src="_static/doctools.js"></script> | |||||
| <script type="text/javascript" src="_static/language_data.js"></script> | |||||
| <link rel="index" title="Index" href="#" /> | |||||
| <link rel="search" title="Search" href="search.html" /> | |||||
| <link rel="stylesheet" href="_static/custom.css" type="text/css" /> | |||||
| <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | |||||
| </head><body> | |||||
| <div class="document"> | |||||
| <div class="documentwrapper"> | |||||
| <div class="bodywrapper"> | |||||
| <div class="body" role="main"> | |||||
| <h1 id="index">Index</h1> | |||||
| <div class="genindex-jumpbox"> | |||||
| <a href="#G"><strong>G</strong></a> | |||||
| | <a href="#I"><strong>I</strong></a> | |||||
| | <a href="#V"><strong>V</strong></a> | |||||
| </div> | |||||
| <h2 id="G">G</h2> | |||||
| <table style="width: 100%" class="indextable genindextable"><tr> | |||||
| <td style="width: 33%; vertical-align: top;"><ul> | |||||
| <li><a href="index.html#views.index.Index.GET">GET() (views.index.Index method)</a> | |||||
| </li> | |||||
| </ul></td> | |||||
| <td style="width: 33%; vertical-align: top;"><ul> | |||||
| <li><a href="index.html#views.forms.get_task_form_elements">get_task_form_elements() (in module views.forms)</a> | |||||
| </li> | |||||
| </ul></td> | |||||
| </tr></table> | |||||
| <h2 id="I">I</h2> | |||||
| <table style="width: 100%" class="indextable genindextable"><tr> | |||||
| <td style="width: 33%; vertical-align: top;"><ul> | |||||
| <li><a href="index.html#views.index.Index">Index (class in views.index)</a> | |||||
| </li> | |||||
| </ul></td> | |||||
| </tr></table> | |||||
| <h2 id="V">V</h2> | |||||
| <table style="width: 100%" class="indextable genindextable"><tr> | |||||
| <td style="width: 33%; vertical-align: top;"><ul> | |||||
| <li><a href="index.html#module-views.forms">views.forms (module)</a> | |||||
| </li> | |||||
| </ul></td> | |||||
| </tr></table> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | |||||
| <div class="sphinxsidebarwrapper"> | |||||
| <h1 class="logo"><a href="index.html">beelance2</a></h1> | |||||
| <h3>Navigation</h3> | |||||
| <div class="relations"> | |||||
| <h3>Related Topics</h3> | |||||
| <ul> | |||||
| <li><a href="index.html">Documentation overview</a><ul> | |||||
| </ul></li> | |||||
| </ul> | |||||
| </div> | |||||
| <div id="searchbox" style="display: none" role="search"> | |||||
| <h3 id="searchlabel">Quick search</h3> | |||||
| <div class="searchformwrapper"> | |||||
| <form class="search" action="search.html" method="get"> | |||||
| <input type="text" name="q" aria-labelledby="searchlabel" /> | |||||
| <input type="submit" value="Go" /> | |||||
| </form> | |||||
| </div> | |||||
| </div> | |||||
| <script type="text/javascript">$('#searchbox').show(0);</script> | |||||
| </div> | |||||
| </div> | |||||
| <div class="clearer"></div> | |||||
| </div> | |||||
| <div class="footer"> | |||||
| ©2019, jakob notland. | |||||
| | | |||||
| Powered by <a href="http://sphinx-doc.org/">Sphinx 2.2.1</a> | |||||
| & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a> | |||||
| </div> | |||||
| </body> | |||||
| </html> | |||||
| @@ -0,0 +1,166 @@ | |||||
| <!DOCTYPE html> | |||||
| <html xmlns="http://www.w3.org/1999/xhtml"> | |||||
| <head> | |||||
| <meta charset="utf-8" /> | |||||
| <title>Welcome to beelance2’s documentation! — beelance2 documentation</title> | |||||
| <link rel="stylesheet" href="_static/alabaster.css" type="text/css" /> | |||||
| <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | |||||
| <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script> | |||||
| <script type="text/javascript" src="_static/jquery.js"></script> | |||||
| <script type="text/javascript" src="_static/underscore.js"></script> | |||||
| <script type="text/javascript" src="_static/doctools.js"></script> | |||||
| <script type="text/javascript" src="_static/language_data.js"></script> | |||||
| <link rel="index" title="Index" href="genindex.html" /> | |||||
| <link rel="search" title="Search" href="search.html" /> | |||||
| <link rel="stylesheet" href="_static/custom.css" type="text/css" /> | |||||
| <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | |||||
| </head><body> | |||||
| <div class="document"> | |||||
| <div class="documentwrapper"> | |||||
| <div class="bodywrapper"> | |||||
| <div class="body" role="main"> | |||||
| <div class="section" id="welcome-to-beelance2-s-documentation"> | |||||
| <h1>Welcome to beelance2’s documentation!<a class="headerlink" href="#welcome-to-beelance2-s-documentation" title="Permalink to this headline">¶</a></h1> | |||||
| <div class="toctree-wrapper compound"> | |||||
| </div> | |||||
| <dl class="class"> | |||||
| <dt id="views.index.Index"> | |||||
| <em class="property">class </em><code class="sig-prename descclassname">views.index.</code><code class="sig-name descname">Index</code><a class="headerlink" href="#views.index.Index" title="Permalink to this definition">¶</a></dt> | |||||
| <dd><dl class="method"> | |||||
| <dt id="views.index.Index.GET"> | |||||
| <code class="sig-name descname">GET</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#views.index.Index.GET" title="Permalink to this definition">¶</a></dt> | |||||
| <dd><p>Get main page using the projects URL input variable to | |||||
| determine which projects to show.</p> | |||||
| <blockquote> | |||||
| <div><dl class="field-list simple"> | |||||
| <dt class="field-odd">return</dt> | |||||
| <dd class="field-odd"><p>index page</p> | |||||
| </dd> | |||||
| </dl> | |||||
| </div></blockquote> | |||||
| </dd></dl> | |||||
| </dd></dl> | |||||
| <span class="target" id="module-views.forms"></span><dl class="function"> | |||||
| <dt id="views.forms.get_task_form_elements"> | |||||
| <code class="sig-prename descclassname">views.forms.</code><code class="sig-name descname">get_task_form_elements</code><span class="sig-paren">(</span><em class="sig-param">identifier=0</em>, <em class="sig-param">task_title=''</em>, <em class="sig-param">task_description=''</em>, <em class="sig-param">budget=''</em><span class="sig-paren">)</span><a class="headerlink" href="#views.forms.get_task_form_elements" title="Permalink to this definition">¶</a></dt> | |||||
| <dd><dl class="simple"> | |||||
| <dt>Define the task form elements</dt><dd><dl class="field-list simple"> | |||||
| <dt class="field-odd">param identifier</dt> | |||||
| <dd class="field-odd"><p>The id of the task</p> | |||||
| </dd> | |||||
| <dt class="field-even">param task_title</dt> | |||||
| <dd class="field-even"><p>Task title</p> | |||||
| </dd> | |||||
| <dt class="field-odd">param task_description</dt> | |||||
| <dd class="field-odd"><p>Task description</p> | |||||
| </dd> | |||||
| <dt class="field-even">param budget</dt> | |||||
| <dd class="field-even"><p>Task budget</p> | |||||
| </dd> | |||||
| <dt class="field-odd">type identifier</dt> | |||||
| <dd class="field-odd"><p>int, str</p> | |||||
| </dd> | |||||
| <dt class="field-even">type task_title</dt> | |||||
| <dd class="field-even"><p>str</p> | |||||
| </dd> | |||||
| <dt class="field-odd">type task_description</dt> | |||||
| <dd class="field-odd"><p>str</p> | |||||
| </dd> | |||||
| <dt class="field-even">type budget</dt> | |||||
| <dd class="field-even"><p>int, str</p> | |||||
| </dd> | |||||
| <dt class="field-odd">return</dt> | |||||
| <dd class="field-odd"><p>A set of task form elements</p> | |||||
| </dd> | |||||
| </dl> | |||||
| </dd> | |||||
| </dl> | |||||
| </dd></dl> | |||||
| </div> | |||||
| <div class="section" id="indices-and-tables"> | |||||
| <h1>Indices and tables<a class="headerlink" href="#indices-and-tables" title="Permalink to this headline">¶</a></h1> | |||||
| <ul class="simple"> | |||||
| <li><p><a class="reference internal" href="genindex.html"><span class="std std-ref">Index</span></a></p></li> | |||||
| <li><p><a class="reference internal" href="py-modindex.html"><span class="std std-ref">Module Index</span></a></p></li> | |||||
| <li><p><a class="reference internal" href="search.html"><span class="std std-ref">Search Page</span></a></p></li> | |||||
| </ul> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | |||||
| <div class="sphinxsidebarwrapper"> | |||||
| <h1 class="logo"><a href="#">beelance2</a></h1> | |||||
| <h3>Navigation</h3> | |||||
| <div class="relations"> | |||||
| <h3>Related Topics</h3> | |||||
| <ul> | |||||
| <li><a href="#">Documentation overview</a><ul> | |||||
| </ul></li> | |||||
| </ul> | |||||
| </div> | |||||
| <div id="searchbox" style="display: none" role="search"> | |||||
| <h3 id="searchlabel">Quick search</h3> | |||||
| <div class="searchformwrapper"> | |||||
| <form class="search" action="search.html" method="get"> | |||||
| <input type="text" name="q" aria-labelledby="searchlabel" /> | |||||
| <input type="submit" value="Go" /> | |||||
| </form> | |||||
| </div> | |||||
| </div> | |||||
| <script type="text/javascript">$('#searchbox').show(0);</script> | |||||
| </div> | |||||
| </div> | |||||
| <div class="clearer"></div> | |||||
| </div> | |||||
| <div class="footer"> | |||||
| ©2019, jakob notland. | |||||
| | | |||||
| Powered by <a href="http://sphinx-doc.org/">Sphinx 2.2.1</a> | |||||
| & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a> | |||||
| | | |||||
| <a href="_sources/index.rst.txt" | |||||
| rel="nofollow">Page source</a> | |||||
| </div> | |||||
| </body> | |||||
| </html> | |||||
| @@ -0,0 +1,120 @@ | |||||
| <!DOCTYPE html> | |||||
| <html xmlns="http://www.w3.org/1999/xhtml"> | |||||
| <head> | |||||
| <meta charset="utf-8" /> | |||||
| <title>Python Module Index — beelance2 documentation</title> | |||||
| <link rel="stylesheet" href="_static/alabaster.css" type="text/css" /> | |||||
| <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | |||||
| <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script> | |||||
| <script type="text/javascript" src="_static/jquery.js"></script> | |||||
| <script type="text/javascript" src="_static/underscore.js"></script> | |||||
| <script type="text/javascript" src="_static/doctools.js"></script> | |||||
| <script type="text/javascript" src="_static/language_data.js"></script> | |||||
| <link rel="index" title="Index" href="genindex.html" /> | |||||
| <link rel="search" title="Search" href="search.html" /> | |||||
| <link rel="stylesheet" href="_static/custom.css" type="text/css" /> | |||||
| <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | |||||
| </head><body> | |||||
| <div class="document"> | |||||
| <div class="documentwrapper"> | |||||
| <div class="bodywrapper"> | |||||
| <div class="body" role="main"> | |||||
| <h1>Python Module Index</h1> | |||||
| <div class="modindex-jumpbox"> | |||||
| <a href="#cap-v"><strong>v</strong></a> | |||||
| </div> | |||||
| <table class="indextable modindextable"> | |||||
| <tr class="pcap"><td></td><td> </td><td></td></tr> | |||||
| <tr class="cap" id="cap-v"><td></td><td> | |||||
| <strong>v</strong></td><td></td></tr> | |||||
| <tr> | |||||
| <td><img src="_static/minus.png" class="toggler" | |||||
| id="toggle-1" style="display: none" alt="-" /></td> | |||||
| <td> | |||||
| <code class="xref">views</code></td><td> | |||||
| <em></em></td></tr> | |||||
| <tr class="cg-1"> | |||||
| <td></td> | |||||
| <td>    | |||||
| <a href="index.html#module-views.forms"><code class="xref">views.forms</code></a></td><td> | |||||
| <em></em></td></tr> | |||||
| </table> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | |||||
| <div class="sphinxsidebarwrapper"> | |||||
| <h1 class="logo"><a href="index.html">beelance2</a></h1> | |||||
| <h3>Navigation</h3> | |||||
| <div class="relations"> | |||||
| <h3>Related Topics</h3> | |||||
| <ul> | |||||
| <li><a href="index.html">Documentation overview</a><ul> | |||||
| </ul></li> | |||||
| </ul> | |||||
| </div> | |||||
| <div id="searchbox" style="display: none" role="search"> | |||||
| <h3 id="searchlabel">Quick search</h3> | |||||
| <div class="searchformwrapper"> | |||||
| <form class="search" action="search.html" method="get"> | |||||
| <input type="text" name="q" aria-labelledby="searchlabel" /> | |||||
| <input type="submit" value="Go" /> | |||||
| </form> | |||||
| </div> | |||||
| </div> | |||||
| <script type="text/javascript">$('#searchbox').show(0);</script> | |||||
| </div> | |||||
| </div> | |||||
| <div class="clearer"></div> | |||||
| </div> | |||||
| <div class="footer"> | |||||
| ©2019, jakob notland. | |||||
| | | |||||
| Powered by <a href="http://sphinx-doc.org/">Sphinx 2.2.1</a> | |||||
| & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a> | |||||
| </div> | |||||
| </body> | |||||
| </html> | |||||
| @@ -0,0 +1,111 @@ | |||||
| <!DOCTYPE html> | |||||
| <html xmlns="http://www.w3.org/1999/xhtml"> | |||||
| <head> | |||||
| <meta charset="utf-8" /> | |||||
| <title>Search — beelance2 documentation</title> | |||||
| <link rel="stylesheet" href="_static/alabaster.css" type="text/css" /> | |||||
| <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> | |||||
| <script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script> | |||||
| <script type="text/javascript" src="_static/jquery.js"></script> | |||||
| <script type="text/javascript" src="_static/underscore.js"></script> | |||||
| <script type="text/javascript" src="_static/doctools.js"></script> | |||||
| <script type="text/javascript" src="_static/language_data.js"></script> | |||||
| <script type="text/javascript" src="_static/searchtools.js"></script> | |||||
| <link rel="index" title="Index" href="genindex.html" /> | |||||
| <link rel="search" title="Search" href="#" /> | |||||
| <script type="text/javascript" src="searchindex.js" defer></script> | |||||
| <link rel="stylesheet" href="_static/custom.css" type="text/css" /> | |||||
| <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> | |||||
| </head><body> | |||||
| <div class="document"> | |||||
| <div class="documentwrapper"> | |||||
| <div class="bodywrapper"> | |||||
| <div class="body" role="main"> | |||||
| <h1 id="search-documentation">Search</h1> | |||||
| <div id="fallback" class="admonition warning"> | |||||
| <script type="text/javascript">$('#fallback').hide();</script> | |||||
| <p> | |||||
| Please activate JavaScript to enable the search | |||||
| functionality. | |||||
| </p> | |||||
| </div> | |||||
| <p> | |||||
| From here you can search these documents. Enter your search | |||||
| words into the box below and click "search". Note that the search | |||||
| function will automatically search for all of the words. Pages | |||||
| containing fewer words won't appear in the result list. | |||||
| </p> | |||||
| <form action="" method="get"> | |||||
| <input type="text" name="q" aria-labelledby="search-documentation" value="" /> | |||||
| <input type="submit" value="search" /> | |||||
| <span id="search-progress" style="padding-left: 10px"></span> | |||||
| </form> | |||||
| <div id="search-results"> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> | |||||
| <div class="sphinxsidebarwrapper"> | |||||
| <h1 class="logo"><a href="index.html">beelance2</a></h1> | |||||
| <h3>Navigation</h3> | |||||
| <div class="relations"> | |||||
| <h3>Related Topics</h3> | |||||
| <ul> | |||||
| <li><a href="index.html">Documentation overview</a><ul> | |||||
| </ul></li> | |||||
| </ul> | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| <div class="clearer"></div> | |||||
| </div> | |||||
| <div class="footer"> | |||||
| ©2019, jakob notland. | |||||
| | | |||||
| Powered by <a href="http://sphinx-doc.org/">Sphinx 2.2.1</a> | |||||
| & <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a> | |||||
| </div> | |||||
| </body> | |||||
| </html> | |||||
| @@ -0,0 +1 @@ | |||||
| Search.setIndex({docnames:["index"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["index.rst"],objects:{"views.forms":{get_task_form_elements:[0,1,1,""]},"views.index":{Index:[0,2,1,""]},"views.index.Index":{GET:[0,3,1,""]},views:{forms:[0,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","function","Python function"],"2":["py","class","Python class"],"3":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:function","2":"py:class","3":"py:method"},terms:{"class":0,"int":0,"return":0,The:0,budget:0,defin:0,descript:0,determin:0,element:0,form:0,get:0,get_task_form_el:0,identifi:0,index:0,input:0,main:0,modul:0,page:0,param:0,project:0,search:0,self:[],set:0,show:0,str:0,task:0,task_descript:0,task_titl:0,titl:0,type:0,url:0,using:0,variabl:0,view:0,which:0},titles:["Welcome to beelance2\u2019s documentation!"],titleterms:{beelance2:0,document:0,indic:0,tabl:0,welcom:0}}) | |||||
| @@ -0,0 +1,101 @@ | |||||
| ;; -*- coding: utf-8; mode: Lisp; -*- | |||||
| ;; style file for xindy | |||||
| ;; filename: LICRcyr2utf8.xdy | |||||
| ;; description: style file for xindy which maps back LaTeX Internal | |||||
| ;; Character Representation of Cyrillic to utf-8 | |||||
| ;; usage: for use with pdflatex produced .idx files. | |||||
| ;; Contributed by the Sphinx team, July 2018. | |||||
| (merge-rule "\IeC {\'\CYRG }" "Ѓ" :string) | |||||
| (merge-rule "\IeC {\'\CYRK }" "Ќ" :string) | |||||
| (merge-rule "\IeC {\'\cyrg }" "ѓ" :string) | |||||
| (merge-rule "\IeC {\'\cyrk }" "ќ" :string) | |||||
| (merge-rule "\IeC {\CYRA }" "А" :string) | |||||
| (merge-rule "\IeC {\CYRB }" "Б" :string) | |||||
| (merge-rule "\IeC {\CYRC }" "Ц" :string) | |||||
| (merge-rule "\IeC {\CYRCH }" "Ч" :string) | |||||
| (merge-rule "\IeC {\CYRD }" "Д" :string) | |||||
| (merge-rule "\IeC {\CYRDJE }" "Ђ" :string) | |||||
| (merge-rule "\IeC {\CYRDZE }" "Ѕ" :string) | |||||
| (merge-rule "\IeC {\CYRDZHE }" "Џ" :string) | |||||
| (merge-rule "\IeC {\CYRE }" "Е" :string) | |||||
| (merge-rule "\IeC {\CYREREV }" "Э" :string) | |||||
| (merge-rule "\IeC {\CYRERY }" "Ы" :string) | |||||
| (merge-rule "\IeC {\CYRF }" "Ф" :string) | |||||
| (merge-rule "\IeC {\CYRG }" "Г" :string) | |||||
| (merge-rule "\IeC {\CYRGUP }" "Ґ" :string) | |||||
| (merge-rule "\IeC {\CYRH }" "Х" :string) | |||||
| (merge-rule "\IeC {\CYRHRDSN }" "Ъ" :string) | |||||
| (merge-rule "\IeC {\CYRI }" "И" :string) | |||||
| (merge-rule "\IeC {\CYRIE }" "Є" :string) | |||||
| (merge-rule "\IeC {\CYRII }" "І" :string) | |||||
| (merge-rule "\IeC {\CYRISHRT }" "Й" :string) | |||||
| (merge-rule "\IeC {\CYRJE }" "Ј" :string) | |||||
| (merge-rule "\IeC {\CYRK }" "К" :string) | |||||
| (merge-rule "\IeC {\CYRL }" "Л" :string) | |||||
| (merge-rule "\IeC {\CYRLJE }" "Љ" :string) | |||||
| (merge-rule "\IeC {\CYRM }" "М" :string) | |||||
| (merge-rule "\IeC {\CYRN }" "Н" :string) | |||||
| (merge-rule "\IeC {\CYRNJE }" "Њ" :string) | |||||
| (merge-rule "\IeC {\CYRO }" "О" :string) | |||||
| (merge-rule "\IeC {\CYRP }" "П" :string) | |||||
| (merge-rule "\IeC {\CYRR }" "Р" :string) | |||||
| (merge-rule "\IeC {\CYRS }" "С" :string) | |||||
| (merge-rule "\IeC {\CYRSFTSN }" "Ь" :string) | |||||
| (merge-rule "\IeC {\CYRSH }" "Ш" :string) | |||||
| (merge-rule "\IeC {\CYRSHCH }" "Щ" :string) | |||||
| (merge-rule "\IeC {\CYRT }" "Т" :string) | |||||
| (merge-rule "\IeC {\CYRTSHE }" "Ћ" :string) | |||||
| (merge-rule "\IeC {\CYRU }" "У" :string) | |||||
| (merge-rule "\IeC {\CYRUSHRT }" "Ў" :string) | |||||
| (merge-rule "\IeC {\CYRV }" "В" :string) | |||||
| (merge-rule "\IeC {\CYRYA }" "Я" :string) | |||||
| (merge-rule "\IeC {\CYRYI }" "Ї" :string) | |||||
| (merge-rule "\IeC {\CYRYO }" "Ё" :string) | |||||
| (merge-rule "\IeC {\CYRYU }" "Ю" :string) | |||||
| (merge-rule "\IeC {\CYRZ }" "З" :string) | |||||
| (merge-rule "\IeC {\CYRZH }" "Ж" :string) | |||||
| (merge-rule "\IeC {\cyra }" "а" :string) | |||||
| (merge-rule "\IeC {\cyrb }" "б" :string) | |||||
| (merge-rule "\IeC {\cyrc }" "ц" :string) | |||||
| (merge-rule "\IeC {\cyrch }" "ч" :string) | |||||
| (merge-rule "\IeC {\cyrd }" "д" :string) | |||||
| (merge-rule "\IeC {\cyrdje }" "ђ" :string) | |||||
| (merge-rule "\IeC {\cyrdze }" "ѕ" :string) | |||||
| (merge-rule "\IeC {\cyrdzhe }" "џ" :string) | |||||
| (merge-rule "\IeC {\cyre }" "е" :string) | |||||
| (merge-rule "\IeC {\cyrerev }" "э" :string) | |||||
| (merge-rule "\IeC {\cyrery }" "ы" :string) | |||||
| (merge-rule "\IeC {\cyrf }" "ф" :string) | |||||
| (merge-rule "\IeC {\cyrg }" "г" :string) | |||||
| (merge-rule "\IeC {\cyrgup }" "ґ" :string) | |||||
| (merge-rule "\IeC {\cyrh }" "х" :string) | |||||
| (merge-rule "\IeC {\cyrhrdsn }" "ъ" :string) | |||||
| (merge-rule "\IeC {\cyri }" "и" :string) | |||||
| (merge-rule "\IeC {\cyrie }" "є" :string) | |||||
| (merge-rule "\IeC {\cyrii }" "і" :string) | |||||
| (merge-rule "\IeC {\cyrishrt }" "й" :string) | |||||
| (merge-rule "\IeC {\cyrje }" "ј" :string) | |||||
| (merge-rule "\IeC {\cyrk }" "к" :string) | |||||
| (merge-rule "\IeC {\cyrl }" "л" :string) | |||||
| (merge-rule "\IeC {\cyrlje }" "љ" :string) | |||||
| (merge-rule "\IeC {\cyrm }" "м" :string) | |||||
| (merge-rule "\IeC {\cyrn }" "н" :string) | |||||
| (merge-rule "\IeC {\cyrnje }" "њ" :string) | |||||
| (merge-rule "\IeC {\cyro }" "о" :string) | |||||
| (merge-rule "\IeC {\cyrp }" "п" :string) | |||||
| (merge-rule "\IeC {\cyrr }" "р" :string) | |||||
| (merge-rule "\IeC {\cyrs }" "с" :string) | |||||
| (merge-rule "\IeC {\cyrsftsn }" "ь" :string) | |||||
| (merge-rule "\IeC {\cyrsh }" "ш" :string) | |||||
| (merge-rule "\IeC {\cyrshch }" "щ" :string) | |||||
| (merge-rule "\IeC {\cyrt }" "т" :string) | |||||
| (merge-rule "\IeC {\cyrtshe }" "ћ" :string) | |||||
| (merge-rule "\IeC {\cyru }" "у" :string) | |||||
| (merge-rule "\IeC {\cyrushrt }" "ў" :string) | |||||
| (merge-rule "\IeC {\cyrv }" "в" :string) | |||||
| (merge-rule "\IeC {\cyrya }" "я" :string) | |||||
| (merge-rule "\IeC {\cyryi }" "ї" :string) | |||||
| (merge-rule "\IeC {\cyryo }" "ё" :string) | |||||
| (merge-rule "\IeC {\cyryu }" "ю" :string) | |||||
| (merge-rule "\IeC {\cyrz }" "з" :string) | |||||
| (merge-rule "\IeC {\cyrzh }" "ж" :string) | |||||
| @@ -0,0 +1,239 @@ | |||||
| ;; style file for xindy | |||||
| ;; filename: LICRlatin2utf8.xdy | |||||
| ;; description: style file for xindy which maps back LaTeX Internal | |||||
| ;; Character Representation of letters (as arising in .idx index | |||||
| ;; file) to UTF-8 encoding for correct sorting by xindy. | |||||
| ;; usage: for use with the pdflatex engine, | |||||
| ;; *not* for use with xelatex or lualatex. | |||||
| ;; | |||||
| ;; This is based upon xindy's distributed file tex/inputenc/utf8.xdy. | |||||
| ;; The modifications include: | |||||
| ;; | |||||
| ;; - Updates for compatibility with current LaTeX macro encoding. | |||||
| ;; | |||||
| ;; - Systematic usage of the \IeC {...} mark-up, because mark-up in | |||||
| ;; tex/inputenc/utf8.xdy was using it on seemingly random basis, and | |||||
| ;; Sphinx coercing of xindy usability for both Latin and Cyrillic scripts | |||||
| ;; with pdflatex requires its systematic presence here. | |||||
| ;; | |||||
| ;; - Support for some extra letters: Ÿ, Ŋ, ŋ, Œ, œ, IJ, ij, ȷ and ẞ. | |||||
| ;; | |||||
| ;; Indeed Sphinx needs to support for pdflatex engine all Unicode letters | |||||
| ;; available in TeX T1 font encoding. The above letters are found in | |||||
| ;; that encoding but not in the Latin1, 2, 3 charsets which are those | |||||
| ;; covered by original tex/inputenc/utf8.xdy. | |||||
| ;; | |||||
| ;; - There is a problem that ȷ is not supported out-of-the box by LaTeX | |||||
| ;; with inputenc, one must add explicitely | |||||
| ;; \DeclareUnicodeCharacter{0237}{\j} | |||||
| ;; to preamble of LaTeX document. However this character is not supported | |||||
| ;; by the TeX "times" font used by default by Sphinx for pdflatex engine. | |||||
| ;; | |||||
| ;; **Update**: since LaTeX 2018/12/01, the \j as well as \SS, \k{} and | |||||
| ;; \.{} need no extra user declaration anymore. | |||||
| ;; | |||||
| ;; - ẞ needs \DeclareUnicodeCharacter{1E9E}{\SS} (but ß needs no extra set-up). | |||||
| ;; | |||||
| ;; - U+02DB (˛) and U+02D9 (˙) are also not supported by inputenc | |||||
| ;; out of the box and require | |||||
| ;; \DeclareUnicodeCharacter{02DB}{\k{}} | |||||
| ;; \DeclareUnicodeCharacter{02D9}{\.{}} | |||||
| ;; to be added to preamble. | |||||
| ;; | |||||
| ;; - U+0127 ħ and U+0126 Ħ are absent from TeX T1+TS1 font encodings. | |||||
| ;; | |||||
| ;; - Characters Ŋ and ŋ are not supported by TeX font "times" used by | |||||
| ;; default by Sphinx for pdflatex engine but they are supported by | |||||
| ;; some TeX fonts, in particular by the default LaTeX font for T1 | |||||
| ;; encoding. | |||||
| ;; | |||||
| ;; - " and ~ must be escaped as ~" and resp. ~~ in xindy merge rules. | |||||
| ;; | |||||
| ;; Contributed by the Sphinx team, July 2018. | |||||
| ;; | |||||
| ;; See sphinx.xdy for superior figures, as they are escaped by LaTeX writer. | |||||
| (merge-rule "\IeC {\textonesuperior }" "¹" :string) | |||||
| (merge-rule "\IeC {\texttwosuperior }" "²" :string) | |||||
| (merge-rule "\IeC {\textthreesuperior }" "³" :string) | |||||
| (merge-rule "\IeC {\'a}" "á" :string) | |||||
| (merge-rule "\IeC {\'A}" "Á" :string) | |||||
| (merge-rule "\IeC {\`a}" "à" :string) | |||||
| (merge-rule "\IeC {\`A}" "À" :string) | |||||
| (merge-rule "\IeC {\^a}" "â" :string) | |||||
| (merge-rule "\IeC {\^A}" "Â" :string) | |||||
| (merge-rule "\IeC {\~"a}" "ä" :string) | |||||
| (merge-rule "\IeC {\~"A}" "Ä" :string) | |||||
| (merge-rule "\IeC {\~~a}" "ã" :string) | |||||
| (merge-rule "\IeC {\~~A}" "Ã" :string) | |||||
| (merge-rule "\IeC {\c c}" "ç" :string) | |||||
| (merge-rule "\IeC {\c C}" "Ç" :string) | |||||
| (merge-rule "\IeC {\'c}" "ć" :string) | |||||
| (merge-rule "\IeC {\'C}" "Ć" :string) | |||||
| (merge-rule "\IeC {\^c}" "ĉ" :string) | |||||
| (merge-rule "\IeC {\^C}" "Ĉ" :string) | |||||
| (merge-rule "\IeC {\.c}" "ċ" :string) | |||||
| (merge-rule "\IeC {\.C}" "Ċ" :string) | |||||
| (merge-rule "\IeC {\c s}" "ş" :string) | |||||
| (merge-rule "\IeC {\c S}" "Ş" :string) | |||||
| (merge-rule "\IeC {\c t}" "ţ" :string) | |||||
| (merge-rule "\IeC {\c T}" "Ţ" :string) | |||||
| (merge-rule "\IeC {\-}" "" :string); soft hyphen | |||||
| (merge-rule "\IeC {\textdiv }" "÷" :string) | |||||
| (merge-rule "\IeC {\'e}" "é" :string) | |||||
| (merge-rule "\IeC {\'E}" "É" :string) | |||||
| (merge-rule "\IeC {\`e}" "è" :string) | |||||
| (merge-rule "\IeC {\`E}" "È" :string) | |||||
| (merge-rule "\IeC {\^e}" "ê" :string) | |||||
| (merge-rule "\IeC {\^E}" "Ê" :string) | |||||
| (merge-rule "\IeC {\~"e}" "ë" :string) | |||||
| (merge-rule "\IeC {\~"E}" "Ë" :string) | |||||
| (merge-rule "\IeC {\^g}" "ĝ" :string) | |||||
| (merge-rule "\IeC {\^G}" "Ĝ" :string) | |||||
| (merge-rule "\IeC {\.g}" "ġ" :string) | |||||
| (merge-rule "\IeC {\.G}" "Ġ" :string) | |||||
| (merge-rule "\IeC {\^h}" "ĥ" :string) | |||||
| (merge-rule "\IeC {\^H}" "Ĥ" :string) | |||||
| (merge-rule "\IeC {\H o}" "ő" :string) | |||||
| (merge-rule "\IeC {\H O}" "Ő" :string) | |||||
| (merge-rule "\IeC {\textacutedbl }" "˝" :string) | |||||
| (merge-rule "\IeC {\H u}" "ű" :string) | |||||
| (merge-rule "\IeC {\H U}" "Ű" :string) | |||||
| (merge-rule "\IeC {\ae }" "æ" :string) | |||||
| (merge-rule "\IeC {\AE }" "Æ" :string) | |||||
| (merge-rule "\IeC {\textcopyright }" "©" :string) | |||||
| (merge-rule "\IeC {\c \ }" "¸" :string) | |||||
| (merge-rule "\IeC {\dh }" "ð" :string) | |||||
| (merge-rule "\IeC {\DH }" "Ð" :string) | |||||
| (merge-rule "\IeC {\dj }" "đ" :string) | |||||
| (merge-rule "\IeC {\DJ }" "Đ" :string) | |||||
| (merge-rule "\IeC {\guillemotleft }" "«" :string) | |||||
| (merge-rule "\IeC {\guillemotright }" "»" :string) | |||||
| (merge-rule "\IeC {\'\i }" "í" :string) | |||||
| (merge-rule "\IeC {\`\i }" "ì" :string) | |||||
| (merge-rule "\IeC {\^\i }" "î" :string) | |||||
| (merge-rule "\IeC {\~"\i }" "ï" :string) | |||||
| (merge-rule "\IeC {\i }" "ı" :string) | |||||
| (merge-rule "\IeC {\^\j }" "ĵ" :string) | |||||
| (merge-rule "\IeC {\k {}}" "˛" :string) | |||||
| (merge-rule "\IeC {\l }" "ł" :string) | |||||
| (merge-rule "\IeC {\L }" "Ł" :string) | |||||
| (merge-rule "\IeC {\nobreakspace }" " " :string) | |||||
| (merge-rule "\IeC {\o }" "ø" :string) | |||||
| (merge-rule "\IeC {\O }" "Ø" :string) | |||||
| (merge-rule "\IeC {\textsterling }" "£" :string) | |||||
| (merge-rule "\IeC {\textparagraph }" "¶" :string) | |||||
| (merge-rule "\IeC {\ss }" "ß" :string) | |||||
| (merge-rule "\IeC {\textsection }" "§" :string) | |||||
| (merge-rule "\IeC {\textbrokenbar }" "¦" :string) | |||||
| (merge-rule "\IeC {\textcent }" "¢" :string) | |||||
| (merge-rule "\IeC {\textcurrency }" "¤" :string) | |||||
| (merge-rule "\IeC {\textdegree }" "°" :string) | |||||
| (merge-rule "\IeC {\textexclamdown }" "¡" :string) | |||||
| (merge-rule "\IeC {\texthbar }" "ħ" :string) | |||||
| (merge-rule "\IeC {\textHbar }" "Ħ" :string) | |||||
| (merge-rule "\IeC {\textonehalf }" "½" :string) | |||||
| (merge-rule "\IeC {\textonequarter }" "¼" :string) | |||||
| (merge-rule "\IeC {\textordfeminine }" "ª" :string) | |||||
| (merge-rule "\IeC {\textordmasculine }" "º" :string) | |||||
| (merge-rule "\IeC {\textperiodcentered }" "·" :string) | |||||
| (merge-rule "\IeC {\textquestiondown }" "¿" :string) | |||||
| (merge-rule "\IeC {\textregistered }" "®" :string) | |||||
| (merge-rule "\IeC {\textthreequarters }" "¾" :string) | |||||
| (merge-rule "\IeC {\textyen }" "¥" :string) | |||||
| (merge-rule "\IeC {\th }" "þ" :string) | |||||
| (merge-rule "\IeC {\TH }" "Þ" :string) | |||||
| (merge-rule "\IeC {\'I}" "Í" :string) | |||||
| (merge-rule "\IeC {\`I}" "Ì" :string) | |||||
| (merge-rule "\IeC {\^I}" "Î" :string) | |||||
| (merge-rule "\IeC {\~"I}" "Ï" :string) | |||||
| (merge-rule "\IeC {\.I}" "İ" :string) | |||||
| (merge-rule "\IeC {\^J}" "Ĵ" :string) | |||||
| (merge-rule "\IeC {\k a}" "ą" :string) | |||||
| (merge-rule "\IeC {\k A}" "Ą" :string) | |||||
| (merge-rule "\IeC {\k e}" "ę" :string) | |||||
| (merge-rule "\IeC {\k E}" "Ę" :string) | |||||
| (merge-rule "\IeC {\'l}" "ĺ" :string) | |||||
| (merge-rule "\IeC {\'L}" "Ĺ" :string) | |||||
| (merge-rule "\IeC {\textlnot }" "¬" :string) | |||||
| (merge-rule "\IeC {\textmu }" "µ" :string) | |||||
| (merge-rule "\IeC {\'n}" "ń" :string) | |||||
| (merge-rule "\IeC {\'N}" "Ń" :string) | |||||
| (merge-rule "\IeC {\~~n}" "ñ" :string) | |||||
| (merge-rule "\IeC {\~~N}" "Ñ" :string) | |||||
| (merge-rule "\IeC {\'o}" "ó" :string) | |||||
| (merge-rule "\IeC {\'O}" "Ó" :string) | |||||
| (merge-rule "\IeC {\`o}" "ò" :string) | |||||
| (merge-rule "\IeC {\`O}" "Ò" :string) | |||||
| (merge-rule "\IeC {\^o}" "ô" :string) | |||||
| (merge-rule "\IeC {\^O}" "Ô" :string) | |||||
| (merge-rule "\IeC {\~"o}" "ö" :string) | |||||
| (merge-rule "\IeC {\~"O}" "Ö" :string) | |||||
| (merge-rule "\IeC {\~~o}" "õ" :string) | |||||
| (merge-rule "\IeC {\~~O}" "Õ" :string) | |||||
| (merge-rule "\IeC {\textpm }" "±" :string) | |||||
| (merge-rule "\IeC {\r a}" "å" :string) | |||||
| (merge-rule "\IeC {\r A}" "Å" :string) | |||||
| (merge-rule "\IeC {\'r}" "ŕ" :string) | |||||
| (merge-rule "\IeC {\'R}" "Ŕ" :string) | |||||
| (merge-rule "\IeC {\r u}" "ů" :string) | |||||
| (merge-rule "\IeC {\r U}" "Ů" :string) | |||||
| (merge-rule "\IeC {\'s}" "ś" :string) | |||||
| (merge-rule "\IeC {\'S}" "Ś" :string) | |||||
| (merge-rule "\IeC {\^s}" "ŝ" :string) | |||||
| (merge-rule "\IeC {\^S}" "Ŝ" :string) | |||||
| (merge-rule "\IeC {\textasciidieresis }" "¨" :string) | |||||
| (merge-rule "\IeC {\textasciimacron }" "¯" :string) | |||||
| (merge-rule "\IeC {\.{}}" "˙" :string) | |||||
| (merge-rule "\IeC {\textasciiacute }" "´" :string) | |||||
| (merge-rule "\IeC {\texttimes }" "×" :string) | |||||
| (merge-rule "\IeC {\u a}" "ă" :string) | |||||
| (merge-rule "\IeC {\u A}" "Ă" :string) | |||||
| (merge-rule "\IeC {\u g}" "ğ" :string) | |||||
| (merge-rule "\IeC {\u G}" "Ğ" :string) | |||||
| (merge-rule "\IeC {\textasciibreve }" "˘" :string) | |||||
| (merge-rule "\IeC {\'u}" "ú" :string) | |||||
| (merge-rule "\IeC {\'U}" "Ú" :string) | |||||
| (merge-rule "\IeC {\`u}" "ù" :string) | |||||
| (merge-rule "\IeC {\`U}" "Ù" :string) | |||||
| (merge-rule "\IeC {\^u}" "û" :string) | |||||
| (merge-rule "\IeC {\^U}" "Û" :string) | |||||
| (merge-rule "\IeC {\~"u}" "ü" :string) | |||||
| (merge-rule "\IeC {\~"U}" "Ü" :string) | |||||
| (merge-rule "\IeC {\u u}" "ŭ" :string) | |||||
| (merge-rule "\IeC {\u U}" "Ŭ" :string) | |||||
| (merge-rule "\IeC {\v c}" "č" :string) | |||||
| (merge-rule "\IeC {\v C}" "Č" :string) | |||||
| (merge-rule "\IeC {\v d}" "ď" :string) | |||||
| (merge-rule "\IeC {\v D}" "Ď" :string) | |||||
| (merge-rule "\IeC {\v e}" "ě" :string) | |||||
| (merge-rule "\IeC {\v E}" "Ě" :string) | |||||
| (merge-rule "\IeC {\v l}" "ľ" :string) | |||||
| (merge-rule "\IeC {\v L}" "Ľ" :string) | |||||
| (merge-rule "\IeC {\v n}" "ň" :string) | |||||
| (merge-rule "\IeC {\v N}" "Ň" :string) | |||||
| (merge-rule "\IeC {\v r}" "ř" :string) | |||||
| (merge-rule "\IeC {\v R}" "Ř" :string) | |||||
| (merge-rule "\IeC {\v s}" "š" :string) | |||||
| (merge-rule "\IeC {\v S}" "Š" :string) | |||||
| (merge-rule "\IeC {\textasciicaron }" "ˇ" :string) | |||||
| (merge-rule "\IeC {\v t}" "ť" :string) | |||||
| (merge-rule "\IeC {\v T}" "Ť" :string) | |||||
| (merge-rule "\IeC {\v z}" "ž" :string) | |||||
| (merge-rule "\IeC {\v Z}" "Ž" :string) | |||||
| (merge-rule "\IeC {\'y}" "ý" :string) | |||||
| (merge-rule "\IeC {\'Y}" "Ý" :string) | |||||
| (merge-rule "\IeC {\~"y}" "ÿ" :string) | |||||
| (merge-rule "\IeC {\'z}" "ź" :string) | |||||
| (merge-rule "\IeC {\'Z}" "Ź" :string) | |||||
| (merge-rule "\IeC {\.z}" "ż" :string) | |||||
| (merge-rule "\IeC {\.Z}" "Ż" :string) | |||||
| ;; letters not in Latin1, 2, 3 but available in TeX T1 font encoding | |||||
| (merge-rule "\IeC {\~"Y}" "Ÿ" :string) | |||||
| (merge-rule "\IeC {\NG }" "Ŋ" :string) | |||||
| (merge-rule "\IeC {\ng }" "ŋ" :string) | |||||
| (merge-rule "\IeC {\OE }" "Œ" :string) | |||||
| (merge-rule "\IeC {\oe }" "œ" :string) | |||||
| (merge-rule "\IeC {\IJ }" "IJ" :string) | |||||
| (merge-rule "\IeC {\ij }" "ij" :string) | |||||
| (merge-rule "\IeC {\j }" "ȷ" :string) | |||||
| (merge-rule "\IeC {\SS }" "ẞ" :string) | |||||
| @@ -0,0 +1,607 @@ | |||||
| ;; style file for xindy | |||||
| ;; filename: LatinRules.xdy | |||||
| ;; | |||||
| ;; It is based upon xindy's files lang/general/utf8.xdy and | |||||
| ;; lang/general/utf8-lang.xdy which implement | |||||
| ;; "a general sorting order for Western European languages" | |||||
| ;; | |||||
| ;; The aim for Sphinx is to be able to index in a Cyrillic document | |||||
| ;; also terms using the Latin alphabets, inclusive of letters | |||||
| ;; with diacritics. To this effect the xindy rules from lang/general | |||||
| ;; got manually re-coded to avoid collisions with the encoding | |||||
| ;; done by xindy for sorting words in Cyrillic languages, which was | |||||
| ;; observed not to use bytes with octal encoding 0o266 or higher. | |||||
| ;; | |||||
| ;; So here we use only 0o266 or higher bytes. | |||||
| ;; (Ŋ, ŋ, IJ, and ij are absent from | |||||
| ;; lang/general/utf8.xdy and not included here) | |||||
| ;; Contributed by the Sphinx team, 2018. | |||||
| (define-letter-group "A" :prefixes ("¶")) | |||||
| (define-letter-group "B" :after "A" :prefixes ("·")) | |||||
| (define-letter-group "C" :after "B" :prefixes ("¸")) | |||||
| (define-letter-group "D" :after "C" :prefixes ("¹")) | |||||
| (define-letter-group "E" :after "D" :prefixes ("º")) | |||||
| (define-letter-group "F" :after "E" :prefixes ("»")) | |||||
| (define-letter-group "G" :after "F" :prefixes ("¼")) | |||||
| (define-letter-group "H" :after "G" :prefixes ("½")) | |||||
| (define-letter-group "I" :after "H" :prefixes ("¾")) | |||||
| (define-letter-group "J" :after "I" :prefixes ("¿")) | |||||
| (define-letter-group "K" :after "J" :prefixes ("À")) | |||||
| (define-letter-group "L" :after "K" :prefixes ("Á")) | |||||
| (define-letter-group "M" :after "L" :prefixes ("Â")) | |||||
| (define-letter-group "N" :after "M" :prefixes ("Ã")) | |||||
| (define-letter-group "O" :after "N" :prefixes ("Ä")) | |||||
| (define-letter-group "P" :after "O" :prefixes ("È")) | |||||
| (define-letter-group "Q" :after "P" :prefixes ("Ê")) | |||||
| (define-letter-group "R" :after "Q" :prefixes ("Ë")) | |||||
| (define-letter-group "S" :after "R" :prefixes ("Ð")) | |||||
| (define-letter-group "T" :after "S" :prefixes ("Ú")) | |||||
| (define-letter-group "U" :after "T" :prefixes ("à")) | |||||
| (define-letter-group "V" :after "U" :prefixes ("å")) | |||||
| (define-letter-group "W" :after "V" :prefixes ("æ")) | |||||
| (define-letter-group "X" :after "W" :prefixes ("ë")) | |||||
| (define-letter-group "Y" :after "X" :prefixes ("í")) | |||||
| (define-letter-group "Z" :after "Y" :prefixes ("ð")) | |||||
| (define-rule-set "sphinx-xy-alphabetize" | |||||
| :rules (("À" "¶" :string) | |||||
| ("Ä‚" "¶" :string) | |||||
| ("â" "¶" :string) | |||||
| ("Ä" "¶" :string) | |||||
| ("Ã " "¶" :string) | |||||
| ("Ã…" "¶" :string) | |||||
| ("Ã" "¶" :string) | |||||
| ("Ã�" "¶" :string) | |||||
| ("á" "¶" :string) | |||||
| ("ã" "¶" :string) | |||||
| ("Â" "¶" :string) | |||||
| ("ă" "¶" :string) | |||||
| ("Ã¥" "¶" :string) | |||||
| ("Ä…" "¶" :string) | |||||
| ("ä" "¶" :string) | |||||
| ("Ä„" "¶" :string) | |||||
| ("æ" "¶º" :string) | |||||
| ("Æ" "¶º" :string) | |||||
| ("ć" "¸" :string) | |||||
| ("ĉ" "¸" :string) | |||||
| ("ç" "¸" :string) | |||||
| ("ÄŒ" "¸" :string) | |||||
| ("Ä�" "¸" :string) | |||||
| ("Ĉ" "¸" :string) | |||||
| ("Ç" "¸" :string) | |||||
| ("Ć" "¸" :string) | |||||
| ("Ä�" "¹" :string) | |||||
| ("Ä�" "¹" :string) | |||||
| ("ÄŽ" "¹" :string) | |||||
| ("Ä‘" "¹" :string) | |||||
| ("ê" "º" :string) | |||||
| ("Ę" "º" :string) | |||||
| ("Äš" "º" :string) | |||||
| ("ë" "º" :string) | |||||
| ("Ä›" "º" :string) | |||||
| ("é" "º" :string) | |||||
| ("È" "º" :string) | |||||
| ("Ë" "º" :string) | |||||
| ("É" "º" :string) | |||||
| ("è" "º" :string) | |||||
| ("Ê" "º" :string) | |||||
| ("Ä™" "º" :string) | |||||
| ("Ä�" "¼" :string) | |||||
| ("ÄŸ" "¼" :string) | |||||
| ("Äž" "¼" :string) | |||||
| ("Äœ" "¼" :string) | |||||
| ("Ä¥" "½" :string) | |||||
| ("Ĥ" "½" :string) | |||||
| ("Ã�" "¾" :string) | |||||
| ("Ã�" "¾" :string) | |||||
| ("ï" "¾" :string) | |||||
| ("ÃŽ" "¾" :string) | |||||
| ("î" "¾" :string) | |||||
| ("ı" "¾" :string) | |||||
| ("İ" "¾" :string) | |||||
| ("Ã" "¾" :string) | |||||
| ("ÃŒ" "¾" :string) | |||||
| ("ì" "¾" :string) | |||||
| ("Ä´" "¿" :string) | |||||
| ("ĵ" "¿" :string) | |||||
| ("Å‚" "Á" :string) | |||||
| ("Å�" "Á" :string) | |||||
| ("ľ" "Á" :string) | |||||
| ("Ľ" "Á" :string) | |||||
| ("Å„" "Ã" :string) | |||||
| ("Ń" "Ã" :string) | |||||
| ("ñ" "Ã" :string) | |||||
| ("ň" "Ã" :string) | |||||
| ("Ñ" "Ã" :string) | |||||
| ("Ň" "Ã" :string) | |||||
| ("Õ" "Ä" :string) | |||||
| ("Å�" "Ä" :string) | |||||
| ("ó" "Ä" :string) | |||||
| ("ö" "Ä" :string) | |||||
| ("ô" "Ä" :string) | |||||
| ("Å‘" "Ä" :string) | |||||
| ("Ø" "Ä" :string) | |||||
| ("Ö" "Ä" :string) | |||||
| ("õ" "Ä" :string) | |||||
| ("Ô" "Ä" :string) | |||||
| ("ø" "Ä" :string) | |||||
| ("Ó" "Ä" :string) | |||||
| ("Ã’" "Ä" :string) | |||||
| ("ò" "Ä" :string) | |||||
| ("œ" "ĺ" :string) | |||||
| ("Œ" "ĺ" :string) | |||||
| ("Ř" "Ë" :string) | |||||
| ("Å™" "Ë" :string) | |||||
| ("Å”" "Ë" :string) | |||||
| ("Å•" "Ë" :string) | |||||
| ("Å�" "Ð" :string) | |||||
| ("Åš" "Ð" :string) | |||||
| ("È™" "Ð" :string) | |||||
| ("ÅŸ" "Ð" :string) | |||||
| ("Åœ" "Ð" :string) | |||||
| ("Å›" "Ð" :string) | |||||
| ("Ș" "Ð" :string) | |||||
| ("Å¡" "Ð" :string) | |||||
| ("Åž" "Ð" :string) | |||||
| ("Å " "Ð" :string) | |||||
| ("ß" "ÐÐ" :string) | |||||
| ("Èš" "Ú" :string) | |||||
| ("Ť" "Ú" :string) | |||||
| ("È›" "Ú" :string) | |||||
| ("Å¥" "Ú" :string) | |||||
| ("û" "à" :string) | |||||
| ("Å" "à" :string) | |||||
| ("ů" "à" :string) | |||||
| ("ű" "à" :string) | |||||
| ("ù" "à" :string) | |||||
| ("Ŭ" "à" :string) | |||||
| ("Ù" "à" :string) | |||||
| ("Ű" "à" :string) | |||||
| ("Ü" "à" :string) | |||||
| ("Å®" "à" :string) | |||||
| ("ú" "à" :string) | |||||
| ("Ú" "à" :string) | |||||
| ("Û" "à" :string) | |||||
| ("ü" "à" :string) | |||||
| ("ÿ" "í" :string) | |||||
| ("Ã�" "í" :string) | |||||
| ("Ÿ" "í" :string) | |||||
| ("ý" "í" :string) | |||||
| ("Å»" "ð" :string) | |||||
| ("Ž" "ð" :string) | |||||
| ("Ź" "ð" :string) | |||||
| ("ž" "ð" :string) | |||||
| ("ż" "ð" :string) | |||||
| ("ź" "ð" :string) | |||||
| ("a" "¶" :string) | |||||
| ("A" "¶" :string) | |||||
| ("b" "·" :string) | |||||
| ("B" "·" :string) | |||||
| ("c" "¸" :string) | |||||
| ("C" "¸" :string) | |||||
| ("d" "¹" :string) | |||||
| ("D" "¹" :string) | |||||
| ("e" "º" :string) | |||||
| ("E" "º" :string) | |||||
| ("F" "»" :string) | |||||
| ("f" "»" :string) | |||||
| ("G" "¼" :string) | |||||
| ("g" "¼" :string) | |||||
| ("H" "½" :string) | |||||
| ("h" "½" :string) | |||||
| ("i" "¾" :string) | |||||
| ("I" "¾" :string) | |||||
| ("J" "¿" :string) | |||||
| ("j" "¿" :string) | |||||
| ("K" "À" :string) | |||||
| ("k" "À" :string) | |||||
| ("L" "Á" :string) | |||||
| ("l" "Á" :string) | |||||
| ("M" "Â" :string) | |||||
| ("m" "Â" :string) | |||||
| ("n" "Ã" :string) | |||||
| ("N" "Ã" :string) | |||||
| ("O" "Ä" :string) | |||||
| ("o" "Ä" :string) | |||||
| ("p" "È" :string) | |||||
| ("P" "È" :string) | |||||
| ("Q" "Ê" :string) | |||||
| ("q" "Ê" :string) | |||||
| ("r" "Ë" :string) | |||||
| ("R" "Ë" :string) | |||||
| ("S" "Ð" :string) | |||||
| ("s" "Ð" :string) | |||||
| ("t" "Ú" :string) | |||||
| ("T" "Ú" :string) | |||||
| ("u" "à" :string) | |||||
| ("U" "à" :string) | |||||
| ("v" "å" :string) | |||||
| ("V" "å" :string) | |||||
| ("W" "æ" :string) | |||||
| ("w" "æ" :string) | |||||
| ("x" "ë" :string) | |||||
| ("X" "ë" :string) | |||||
| ("Y" "í" :string) | |||||
| ("y" "í" :string) | |||||
| ("z" "ð" :string) | |||||
| ("Z" "ð" :string) | |||||
| )) | |||||
| (define-rule-set "sphinx-xy-resolve-diacritics" | |||||
| :rules (("Ĥ" "£" :string) | |||||
| ("ó" "£" :string) | |||||
| ("ľ" "£" :string) | |||||
| ("Ř" "£" :string) | |||||
| ("Ä�" "£" :string) | |||||
| ("Ä�" "£" :string) | |||||
| ("Äš" "£" :string) | |||||
| ("Ä¥" "£" :string) | |||||
| ("ÄŒ" "£" :string) | |||||
| ("Ä´" "£" :string) | |||||
| ("Ä›" "£" :string) | |||||
| ("ž" "£" :string) | |||||
| ("ÄŽ" "£" :string) | |||||
| ("Å™" "£" :string) | |||||
| ("Ž" "£" :string) | |||||
| ("ı" "£" :string) | |||||
| ("Ť" "£" :string) | |||||
| ("á" "£" :string) | |||||
| ("Ä�" "£" :string) | |||||
| ("Ã�" "£" :string) | |||||
| ("ň" "£" :string) | |||||
| ("Å " "£" :string) | |||||
| ("Ň" "£" :string) | |||||
| ("ĵ" "£" :string) | |||||
| ("Å¥" "£" :string) | |||||
| ("Ó" "£" :string) | |||||
| ("ý" "£" :string) | |||||
| ("Äœ" "£" :string) | |||||
| ("Ú" "£" :string) | |||||
| ("Ľ" "£" :string) | |||||
| ("Å¡" "£" :string) | |||||
| ("Ã�" "£" :string) | |||||
| ("ú" "£" :string) | |||||
| ("Åš" "¤" :string) | |||||
| ("ć" "¤" :string) | |||||
| ("Å�" "¤" :string) | |||||
| ("Å‚" "¤" :string) | |||||
| ("Å„" "¤" :string) | |||||
| ("À" "¤" :string) | |||||
| ("Ź" "¤" :string) | |||||
| ("Ã " "¤" :string) | |||||
| ("Ń" "¤" :string) | |||||
| ("Ä�" "¤" :string) | |||||
| ("ÿ" "¤" :string) | |||||
| ("Å›" "¤" :string) | |||||
| ("Äž" "¤" :string) | |||||
| ("ÄŸ" "¤" :string) | |||||
| ("Ù" "¤" :string) | |||||
| ("İ" "¤" :string) | |||||
| ("Ä‘" "¤" :string) | |||||
| ("ù" "¤" :string) | |||||
| ("Èš" "¤" :string) | |||||
| ("é" "¤" :string) | |||||
| ("Å•" "¤" :string) | |||||
| ("Ć" "¤" :string) | |||||
| ("È›" "¤" :string) | |||||
| ("ò" "¤" :string) | |||||
| ("ź" "¤" :string) | |||||
| ("Ã’" "¤" :string) | |||||
| ("Ÿ" "¤" :string) | |||||
| ("Å”" "¤" :string) | |||||
| ("É" "¤" :string) | |||||
| ("ĉ" "¥" :string) | |||||
| ("ô" "¥" :string) | |||||
| ("Ã�" "¥" :string) | |||||
| ("Å�" "¥" :string) | |||||
| ("Å»" "¥" :string) | |||||
| ("Ä‚" "¥" :string) | |||||
| ("Åœ" "¥" :string) | |||||
| ("ñ" "¥" :string) | |||||
| ("Å" "¥" :string) | |||||
| ("Ã" "¥" :string) | |||||
| ("È" "¥" :string) | |||||
| ("Ô" "¥" :string) | |||||
| ("Ŭ" "¥" :string) | |||||
| ("ż" "¥" :string) | |||||
| ("Ñ" "¥" :string) | |||||
| ("è" "¥" :string) | |||||
| ("Ĉ" "¥" :string) | |||||
| ("ă" "¥" :string) | |||||
| ("â" "¦" :string) | |||||
| ("û" "¦" :string) | |||||
| ("ê" "¦" :string) | |||||
| ("Õ" "¦" :string) | |||||
| ("õ" "¦" :string) | |||||
| ("È™" "¦" :string) | |||||
| ("ç" "¦" :string) | |||||
| ("Â" "¦" :string) | |||||
| ("Ê" "¦" :string) | |||||
| ("Û" "¦" :string) | |||||
| ("Ç" "¦" :string) | |||||
| ("ì" "¦" :string) | |||||
| ("ÃŒ" "¦" :string) | |||||
| ("Ș" "¦" :string) | |||||
| ("ö" "§" :string) | |||||
| ("Ö" "§" :string) | |||||
| ("ÅŸ" "§" :string) | |||||
| ("ů" "§" :string) | |||||
| ("ë" "§" :string) | |||||
| ("ã" "§" :string) | |||||
| ("î" "§" :string) | |||||
| ("ÃŽ" "§" :string) | |||||
| ("Ã" "§" :string) | |||||
| ("Åž" "§" :string) | |||||
| ("Å®" "§" :string) | |||||
| ("Ë" "§" :string) | |||||
| ("ï" "¨" :string) | |||||
| ("Å�" "¨" :string) | |||||
| ("Ã�" "¨" :string) | |||||
| ("Ę" "¨" :string) | |||||
| ("Å‘" "¨" :string) | |||||
| ("Ü" "¨" :string) | |||||
| ("Ã…" "¨" :string) | |||||
| ("ü" "¨" :string) | |||||
| ("Ä™" "¨" :string) | |||||
| ("Ã¥" "¨" :string) | |||||
| ("Ä" "©" :string) | |||||
| ("ű" "©" :string) | |||||
| ("Ø" "©" :string) | |||||
| ("ø" "©" :string) | |||||
| ("Ű" "©" :string) | |||||
| ("ä" "©" :string) | |||||
| ("Ä„" "ª" :string) | |||||
| ("Ä…" "ª" :string) | |||||
| ("Å“" "ÿ" :string) | |||||
| ("ß" "ÿ" :string) | |||||
| ("Æ" "ÿ" :string) | |||||
| ("Å’" "ÿ" :string) | |||||
| ("æ" "ÿ" :string) | |||||
| ("e" "¢" :string) | |||||
| ("t" "¢" :string) | |||||
| ("L" "¢" :string) | |||||
| ("Y" "¢" :string) | |||||
| ("J" "¢" :string) | |||||
| ("a" "¢" :string) | |||||
| ("p" "¢" :string) | |||||
| ("u" "¢" :string) | |||||
| ("j" "¢" :string) | |||||
| ("b" "¢" :string) | |||||
| ("G" "¢" :string) | |||||
| ("U" "¢" :string) | |||||
| ("F" "¢" :string) | |||||
| ("H" "¢" :string) | |||||
| ("i" "¢" :string) | |||||
| ("z" "¢" :string) | |||||
| ("c" "¢" :string) | |||||
| ("l" "¢" :string) | |||||
| ("A" "¢" :string) | |||||
| ("Q" "¢" :string) | |||||
| ("w" "¢" :string) | |||||
| ("D" "¢" :string) | |||||
| ("R" "¢" :string) | |||||
| ("d" "¢" :string) | |||||
| ("s" "¢" :string) | |||||
| ("r" "¢" :string) | |||||
| ("k" "¢" :string) | |||||
| ("v" "¢" :string) | |||||
| ("m" "¢" :string) | |||||
| ("P" "¢" :string) | |||||
| ("y" "¢" :string) | |||||
| ("K" "¢" :string) | |||||
| ("q" "¢" :string) | |||||
| ("S" "¢" :string) | |||||
| ("I" "¢" :string) | |||||
| ("C" "¢" :string) | |||||
| ("M" "¢" :string) | |||||
| ("Z" "¢" :string) | |||||
| ("T" "¢" :string) | |||||
| ("W" "¢" :string) | |||||
| ("B" "¢" :string) | |||||
| ("h" "¢" :string) | |||||
| ("x" "¢" :string) | |||||
| ("X" "¢" :string) | |||||
| ("f" "¢" :string) | |||||
| ("E" "¢" :string) | |||||
| ("V" "¢" :string) | |||||
| ("N" "¢" :string) | |||||
| ("O" "¢" :string) | |||||
| ("o" "¢" :string) | |||||
| ("g" "¢" :string) | |||||
| ("n" "¢" :string) | |||||
| )) | |||||
| (define-rule-set "sphinx-xy-resolve-case" | |||||
| :rules (("Ú" "8" :string) | |||||
| ("Ÿ" "8" :string) | |||||
| ("Ç" "8" :string) | |||||
| ("Ĉ" "8" :string) | |||||
| ("Å”" "8" :string) | |||||
| ("Ľ" "8" :string) | |||||
| ("Å®" "8" :string) | |||||
| ("�" "8" :string) | |||||
| ("É" "8" :string) | |||||
| ("Ë" "8" :string) | |||||
| ("Ș" "8" :string) | |||||
| ("Ì" "8" :string) | |||||
| ("Ê" "8" :string) | |||||
| ("Ň" "8" :string) | |||||
| ("Ä„" "8" :string) | |||||
| ("Å " "8" :string) | |||||
| ("Û" "8" :string) | |||||
| ("Åž" "8" :string) | |||||
| ("Ć" "8" :string) | |||||
| ("Ã’" "8" :string) | |||||
| ("Ĝ" "8" :string) | |||||
| ("Ñ" "8" :string) | |||||
| ("Ó" "8" :string) | |||||
| ("ÃŽ" "8" :string) | |||||
| ("�" "8" :string) | |||||
| ("Ã" "8" :string) | |||||
| ("Èš" "8" :string) | |||||
| ("Ã…" "8" :string) | |||||
| ("Äž" "8" :string) | |||||
| ("Ü" "8" :string) | |||||
| ("È" "8" :string) | |||||
| ("Ô" "8" :string) | |||||
| ("İ" "8" :string) | |||||
| ("Ű" "8" :string) | |||||
| ("Ù" "8" :string) | |||||
| ("Ŭ" "8" :string) | |||||
| ("Â" "8" :string) | |||||
| ("Ť" "8" :string) | |||||
| ("Ń" "8" :string) | |||||
| ("ÄŽ" "8" :string) | |||||
| ("Ź" "8" :string) | |||||
| ("Ž" "8" :string) | |||||
| ("�" "8" :string) | |||||
| ("Ŝ" "8" :string) | |||||
| ("Č" "8" :string) | |||||
| ("Ä´" "8" :string) | |||||
| ("Ö" "8" :string) | |||||
| ("Ø" "8" :string) | |||||
| ("Å»" "8" :string) | |||||
| ("�" "8" :string) | |||||
| ("Ä‚" "8" :string) | |||||
| ("Äš" "8" :string) | |||||
| ("�" "8" :string) | |||||
| ("Õ" "8" :string) | |||||
| ("Ę" "8" :string) | |||||
| ("�" "8" :string) | |||||
| ("À" "8" :string) | |||||
| ("Ĥ" "8" :string) | |||||
| ("Ä" "8" :string) | |||||
| ("Åš" "8" :string) | |||||
| ("Ř" "8" :string) | |||||
| ("�" "8" :string) | |||||
| ("Å’" "89" :string) | |||||
| ("Æ" "89" :string) | |||||
| ("ì" "9" :string) | |||||
| ("è" "9" :string) | |||||
| ("Ä…" "9" :string) | |||||
| ("Å¡" "9" :string) | |||||
| ("ú" "9" :string) | |||||
| ("Ã¥" "9" :string) | |||||
| ("ă" "9" :string) | |||||
| ("Ä™" "9" :string) | |||||
| ("ü" "9" :string) | |||||
| ("ź" "9" :string) | |||||
| ("ò" "9" :string) | |||||
| ("Å¥" "9" :string) | |||||
| ("È›" "9" :string) | |||||
| ("ĵ" "9" :string) | |||||
| ("Å•" "9" :string) | |||||
| ("ż" "9" :string) | |||||
| ("ä" "9" :string) | |||||
| ("ý" "9" :string) | |||||
| ("ù" "9" :string) | |||||
| ("á" "9" :string) | |||||
| ("é" "9" :string) | |||||
| ("�" "9" :string) | |||||
| ("ň" "9" :string) | |||||
| ("Å›" "9" :string) | |||||
| ("ø" "9" :string) | |||||
| ("Ã" "9" :string) | |||||
| ("Ä‘" "9" :string) | |||||
| ("ı" "9" :string) | |||||
| ("ÄŸ" "9" :string) | |||||
| ("î" "9" :string) | |||||
| ("ã" "9" :string) | |||||
| ("Ã " "9" :string) | |||||
| ("Å™" "9" :string) | |||||
| ("Å‘" "9" :string) | |||||
| ("ů" "9" :string) | |||||
| ("È™" "9" :string) | |||||
| ("ÿ" "9" :string) | |||||
| ("ë" "9" :string) | |||||
| ("Å" "9" :string) | |||||
| ("ç" "9" :string) | |||||
| ("ű" "9" :string) | |||||
| ("ñ" "9" :string) | |||||
| ("õ" "9" :string) | |||||
| ("Ä›" "9" :string) | |||||
| ("ÅŸ" "9" :string) | |||||
| ("ž" "9" :string) | |||||
| ("�" "9" :string) | |||||
| ("�" "9" :string) | |||||
| ("Å„" "9" :string) | |||||
| ("û" "9" :string) | |||||
| ("Å‚" "9" :string) | |||||
| ("�" "9" :string) | |||||
| ("Ä¥" "9" :string) | |||||
| ("ê" "9" :string) | |||||
| ("ô" "9" :string) | |||||
| ("ĉ" "9" :string) | |||||
| ("â" "9" :string) | |||||
| ("ć" "9" :string) | |||||
| ("ï" "9" :string) | |||||
| ("ö" "9" :string) | |||||
| ("ľ" "9" :string) | |||||
| ("ó" "9" :string) | |||||
| ("æ" "99" :string) | |||||
| ("ß" "99" :string) | |||||
| ("Å“" "99" :string) | |||||
| ("N" "8" :string) | |||||
| ("V" "8" :string) | |||||
| ("O" "8" :string) | |||||
| ("X" "8" :string) | |||||
| ("E" "8" :string) | |||||
| ("P" "8" :string) | |||||
| ("K" "8" :string) | |||||
| ("T" "8" :string) | |||||
| ("Z" "8" :string) | |||||
| ("M" "8" :string) | |||||
| ("C" "8" :string) | |||||
| ("I" "8" :string) | |||||
| ("S" "8" :string) | |||||
| ("B" "8" :string) | |||||
| ("W" "8" :string) | |||||
| ("D" "8" :string) | |||||
| ("R" "8" :string) | |||||
| ("H" "8" :string) | |||||
| ("F" "8" :string) | |||||
| ("Q" "8" :string) | |||||
| ("A" "8" :string) | |||||
| ("G" "8" :string) | |||||
| ("U" "8" :string) | |||||
| ("J" "8" :string) | |||||
| ("Y" "8" :string) | |||||
| ("L" "8" :string) | |||||
| ("o" "9" :string) | |||||
| ("n" "9" :string) | |||||
| ("g" "9" :string) | |||||
| ("x" "9" :string) | |||||
| ("f" "9" :string) | |||||
| ("y" "9" :string) | |||||
| ("q" "9" :string) | |||||
| ("h" "9" :string) | |||||
| ("w" "9" :string) | |||||
| ("s" "9" :string) | |||||
| ("d" "9" :string) | |||||
| ("v" "9" :string) | |||||
| ("k" "9" :string) | |||||
| ("r" "9" :string) | |||||
| ("m" "9" :string) | |||||
| ("z" "9" :string) | |||||
| ("c" "9" :string) | |||||
| ("i" "9" :string) | |||||
| ("l" "9" :string) | |||||
| ("b" "9" :string) | |||||
| ("j" "9" :string) | |||||
| ("a" "9" :string) | |||||
| ("p" "9" :string) | |||||
| ("u" "9" :string) | |||||
| ("t" "9" :string) | |||||
| ("e" "9" :string) | |||||
| )) | |||||
| (use-rule-set :run 0 | |||||
| :rule-set ("sphinx-xy-alphabetize")) | |||||
| (use-rule-set :run 1 | |||||
| :rule-set ("sphinx-xy-resolve-diacritics")) | |||||
| (use-rule-set :run 2 | |||||
| :rule-set ("sphinx-xy-resolve-case")) | |||||
| @@ -0,0 +1,68 @@ | |||||
| # Makefile for Sphinx LaTeX output | |||||
| ALLDOCS = $(basename $(wildcard *.tex)) | |||||
| ALLPDF = $(addsuffix .pdf,$(ALLDOCS)) | |||||
| ALLDVI = $(addsuffix .dvi,$(ALLDOCS)) | |||||
| ALLXDV = | |||||
| ALLPS = $(addsuffix .ps,$(ALLDOCS)) | |||||
| ALLIMGS = $(wildcard *.png *.gif *.jpg *.jpeg) | |||||
| # Prefix for archive names | |||||
| ARCHIVEPREFIX = | |||||
| # Additional LaTeX options (passed via variables in latexmkrc/latexmkjarc file) | |||||
| export LATEXOPTS = | |||||
| # Additional latexmk options | |||||
| LATEXMKOPTS = | |||||
| # format: pdf or dvi (used only by archive targets) | |||||
| FMT = pdf | |||||
| LATEX = latexmk -dvi | |||||
| PDFLATEX = latexmk -pdf -dvi- -ps- | |||||
| %.png %.gif %.jpg %.jpeg: FORCE_MAKE | |||||
| extractbb '$@' | |||||
| %.dvi: %.tex FORCE_MAKE | |||||
| $(LATEX) $(LATEXMKOPTS) '$<' | |||||
| %.ps: %.dvi | |||||
| dvips '$<' | |||||
| %.pdf: %.tex FORCE_MAKE | |||||
| $(PDFLATEX) $(LATEXMKOPTS) '$<' | |||||
| all: $(ALLPDF) | |||||
| all-dvi: $(ALLDVI) | |||||
| all-ps: $(ALLPS) | |||||
| all-pdf: $(ALLPDF) | |||||
| zip: all-$(FMT) | |||||
| mkdir $(ARCHIVEPREFIX)docs-$(FMT) | |||||
| cp $(ALLPDF) $(ARCHIVEPREFIX)docs-$(FMT) | |||||
| zip -q -r -9 $(ARCHIVEPREFIX)docs-$(FMT).zip $(ARCHIVEPREFIX)docs-$(FMT) | |||||
| rm -r $(ARCHIVEPREFIX)docs-$(FMT) | |||||
| tar: all-$(FMT) | |||||
| mkdir $(ARCHIVEPREFIX)docs-$(FMT) | |||||
| cp $(ALLPDF) $(ARCHIVEPREFIX)docs-$(FMT) | |||||
| tar cf $(ARCHIVEPREFIX)docs-$(FMT).tar $(ARCHIVEPREFIX)docs-$(FMT) | |||||
| rm -r $(ARCHIVEPREFIX)docs-$(FMT) | |||||
| gz: tar | |||||
| gzip -9 < $(ARCHIVEPREFIX)docs-$(FMT).tar > $(ARCHIVEPREFIX)docs-$(FMT).tar.gz | |||||
| bz2: tar | |||||
| bzip2 -9 -k $(ARCHIVEPREFIX)docs-$(FMT).tar | |||||
| xz: tar | |||||
| xz -9 -k $(ARCHIVEPREFIX)docs-$(FMT).tar | |||||
| clean: | |||||
| rm -f *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla *.ps *.tar *.tar.gz *.tar.bz2 *.tar.xz $(ALLPDF) $(ALLDVI) $(ALLXDV) *.fls *.fdb_latexmk | |||||
| .PHONY: all all-pdf all-dvi all-ps clean zip tar gz bz2 xz | |||||
| .PHONY: FORCE_MAKE | |||||
| @@ -0,0 +1 @@ | |||||
| \relax | |||||
| @@ -0,0 +1,33 @@ | |||||
| # Fdb version 3 | |||||
| ["pdflatex"] 1573481605 "beelance2.tex" "beelance2.pdf" "beelance2" 1573481605 | |||||
| "/usr/share/texmf-dist/fonts/map/fontname/texfonts.map" 1557554374 3332 103109f5612ad95229751940c61aada0 "" | |||||
| "/usr/share/texmf-dist/fonts/tfm/jknappen/ec/ecrm1000.tfm" 1557554374 3584 adb004a0c8e7c46ee66cad73671f37b4 "" | |||||
| "/usr/share/texmf-dist/tex/generic/babel-english/english.ldf" 1557554374 7008 9ff5fdcc865b01beca2b0fe4a46231d4 "" | |||||
| "/usr/share/texmf-dist/tex/generic/babel/babel.def" 1557554374 74954 c1d5e73fef972276308f149f1e33bdd6 "" | |||||
| "/usr/share/texmf-dist/tex/generic/babel/babel.sty" 1557554374 16684 ae52bcf6432ee858f790e89b0a752277 "" | |||||
| "/usr/share/texmf-dist/tex/generic/babel/switch.def" 1557554374 13874 e38d974000bbdedc4c7e8a75b42c2112 "" | |||||
| "/usr/share/texmf-dist/tex/generic/babel/txtbabel.def" 1557554374 7435 ef73091c345c1e2e85b0f9a441eb1f7d "" | |||||
| "/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty" 1557554374 5949 3f3fd50a8cc94c3d4cbf4fc66cd3df1c "" | |||||
| "/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty" 1557554374 13829 94730e64147574077f8ecfea9bb69af4 "" | |||||
| "/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty" 1557554374 2211 ca7ce284ab93c8eecdc6029dc5ccbd73 "" | |||||
| "/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty" 1557554374 4161 7f6eb9092061a11f87d08ed13515b48d "" | |||||
| "/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty" 1557554374 85093 77cfa18ddbae4d9b74ade33d843686d3 "" | |||||
| "/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty" 1557554374 4116 32e6abd27229755a83a8b7f18e583890 "" | |||||
| "/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty" 1557554374 2432 8ff93b1137020e8f21930562a874ae66 "" | |||||
| "/usr/share/texmf-dist/tex/latex/base/fontenc.sty" 1557554374 4573 e9e01f5b11821a77b916dad378cb86b8 "" | |||||
| "/usr/share/texmf-dist/tex/latex/base/inputenc.sty" 1557554374 5052 b64c57f4a38aae0d2745f8298fa50814 "" | |||||
| "/usr/share/texmf-dist/tex/latex/base/report.cls" 1557554374 22992 ac205d2578ad3f18cf73b50579632d1c "" | |||||
| "/usr/share/texmf-dist/tex/latex/base/size10.clo" 1557554374 8294 6d6e23d5169c0d89d173f6c7e08a005a "" | |||||
| "/usr/share/texmf-dist/tex/latex/base/t1enc.def" 1557554374 10689 ce0f2353f9a1f42b29f591f3fe8e040a "" | |||||
| "/usr/share/texmf-dist/tex/latex/cmap/cmap.sty" 1557554374 2883 427a7f7cb58418a0394dbd85c80668f6 "" | |||||
| "/usr/share/texmf-dist/tex/latex/cmap/t1.cmap" 1557554374 1938 beaa4a8467aa0074076e0e19f2992e29 "" | |||||
| "/usr/share/texmf-dist/tex/latex/psnfss/times.sty" 1557554374 857 6c716f26c5eadfb81029fcd6ce2d45e6 "" | |||||
| "/usr/share/texmf-dist/web2c/texmf.cnf" 1557554374 33301 a3134070eacafb10b1f371612ce2650d "" | |||||
| "/var/lib/texmf/web2c/pdftex/pdflatex.fmt" 1573480581 7979417 f254fcf61ece0a21973da91c8442babf "" | |||||
| "beelance2.aux" 1573481573 8 a94a2480d3289e625eea47cd1b285758 "" | |||||
| "beelance2.tex" 1573480325 2977 7a31266f0d732bd7b381a62baad32e18 "" | |||||
| "fncychap.sty" 0 -1 0 "" | |||||
| "sphinxmanual.cls" 1572559527 3764 e7c0a8da02dc45450256dd4cfdafb426 "" | |||||
| (generated) | |||||
| "beelance2.log" | |||||
| "beelance2.pdf" | |||||
| @@ -0,0 +1,48 @@ | |||||
| PWD /home/inge/softwaresecurity/vulnapp/src/app/docs/build/latex | |||||
| INPUT /usr/share/texmf-dist/web2c/texmf.cnf | |||||
| INPUT /var/lib/texmf/web2c/pdftex/pdflatex.fmt | |||||
| INPUT beelance2.tex | |||||
| OUTPUT beelance2.log | |||||
| INPUT sphinxmanual.cls | |||||
| INPUT sphinxmanual.cls | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/report.cls | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/report.cls | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/size10.clo | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/size10.clo | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/inputenc.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/inputenc.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/cmap/cmap.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/cmap/cmap.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/fontenc.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/fontenc.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/t1enc.def | |||||
| INPUT /usr/share/texmf-dist/tex/latex/base/t1enc.def | |||||
| INPUT /usr/share/texmf-dist/fonts/map/fontname/texfonts.map | |||||
| INPUT /usr/share/texmf-dist/fonts/tfm/jknappen/ec/ecrm1000.tfm | |||||
| INPUT /usr/share/texmf-dist/tex/latex/cmap/t1.cmap | |||||
| OUTPUT beelance2.pdf | |||||
| INPUT /usr/share/texmf-dist/tex/latex/cmap/t1.cmap | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amstext.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amstext.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty | |||||
| INPUT /usr/share/texmf-dist/tex/generic/babel/babel.sty | |||||
| INPUT /usr/share/texmf-dist/tex/generic/babel/babel.sty | |||||
| INPUT /usr/share/texmf-dist/tex/generic/babel/switch.def | |||||
| INPUT /usr/share/texmf-dist/tex/generic/babel-english/english.ldf | |||||
| INPUT /usr/share/texmf-dist/tex/generic/babel-english/english.ldf | |||||
| INPUT /usr/share/texmf-dist/tex/generic/babel-english/english.ldf | |||||
| INPUT /usr/share/texmf-dist/tex/generic/babel/babel.def | |||||
| INPUT /usr/share/texmf-dist/tex/generic/babel/txtbabel.def | |||||
| INPUT /usr/share/texmf-dist/tex/latex/psnfss/times.sty | |||||
| INPUT /usr/share/texmf-dist/tex/latex/psnfss/times.sty | |||||
| @@ -0,0 +1,176 @@ | |||||
| This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Arch Linux) (preloaded format=pdflatex 2019.11.11) 11 NOV 2019 15:13 | |||||
| entering extended mode | |||||
| restricted \write18 enabled. | |||||
| %&-line parsing enabled. | |||||
| **beelance2.tex | |||||
| (./beelance2.tex | |||||
| LaTeX2e <2018-12-01> | |||||
| (./sphinxmanual.cls | |||||
| Document Class: sphinxmanual 2018/12/23 v2.0 Document class (Sphinx manual) | |||||
| (/usr/share/texmf-dist/tex/latex/base/report.cls | |||||
| Document Class: report 2018/09/03 v1.4i Standard LaTeX document class | |||||
| (/usr/share/texmf-dist/tex/latex/base/size10.clo | |||||
| File: size10.clo 2018/09/03 v1.4i Standard LaTeX file (size option) | |||||
| ) | |||||
| \c@part=\count80 | |||||
| \c@chapter=\count81 | |||||
| \c@section=\count82 | |||||
| \c@subsection=\count83 | |||||
| \c@subsubsection=\count84 | |||||
| \c@paragraph=\count85 | |||||
| \c@subparagraph=\count86 | |||||
| \c@figure=\count87 | |||||
| \c@table=\count88 | |||||
| \abovecaptionskip=\skip41 | |||||
| \belowcaptionskip=\skip42 | |||||
| \bibindent=\dimen102 | |||||
| )) | |||||
| (/usr/share/texmf-dist/tex/latex/base/inputenc.sty | |||||
| Package: inputenc 2018/08/11 v1.3c Input encoding file | |||||
| \inpenc@prehook=\toks14 | |||||
| \inpenc@posthook=\toks15 | |||||
| ) | |||||
| defining Unicode char U+00A0 (decimal 160) | |||||
| defining Unicode char U+2500 (decimal 9472) | |||||
| defining Unicode char U+2502 (decimal 9474) | |||||
| defining Unicode char U+2514 (decimal 9492) | |||||
| defining Unicode char U+251C (decimal 9500) | |||||
| defining Unicode char U+2572 (decimal 9586) | |||||
| (/usr/share/texmf-dist/tex/latex/cmap/cmap.sty | |||||
| Package: cmap 2008/03/06 v1.0h CMap support: searchable PDF | |||||
| ) | |||||
| (/usr/share/texmf-dist/tex/latex/base/fontenc.sty | |||||
| Package: fontenc 2018/08/11 v2.0j Standard LaTeX package | |||||
| (/usr/share/texmf-dist/tex/latex/base/t1enc.def | |||||
| File: t1enc.def 2018/08/11 v2.0j Standard LaTeX file | |||||
| LaTeX Font Info: Redeclaring font encoding T1 on input line 48. | |||||
| )<<t1.cmap>>) | |||||
| (/usr/share/texmf-dist/tex/latex/amsmath/amsmath.sty | |||||
| Package: amsmath 2018/12/01 v2.17b AMS math features | |||||
| \@mathmargin=\skip43 | |||||
| For additional information on amsmath, use the `?' option. | |||||
| (/usr/share/texmf-dist/tex/latex/amsmath/amstext.sty | |||||
| Package: amstext 2000/06/29 v2.01 AMS text | |||||
| (/usr/share/texmf-dist/tex/latex/amsmath/amsgen.sty | |||||
| File: amsgen.sty 1999/11/30 v2.0 generic functions | |||||
| \@emptytoks=\toks16 | |||||
| \ex@=\dimen103 | |||||
| )) | |||||
| (/usr/share/texmf-dist/tex/latex/amsmath/amsbsy.sty | |||||
| Package: amsbsy 1999/11/29 v1.2d Bold Symbols | |||||
| \pmbraise@=\dimen104 | |||||
| ) | |||||
| (/usr/share/texmf-dist/tex/latex/amsmath/amsopn.sty | |||||
| Package: amsopn 2016/03/08 v2.02 operator names | |||||
| ) | |||||
| \inf@bad=\count89 | |||||
| LaTeX Info: Redefining \frac on input line 223. | |||||
| \uproot@=\count90 | |||||
| \leftroot@=\count91 | |||||
| LaTeX Info: Redefining \overline on input line 385. | |||||
| \classnum@=\count92 | |||||
| \DOTSCASE@=\count93 | |||||
| LaTeX Info: Redefining \ldots on input line 482. | |||||
| LaTeX Info: Redefining \dots on input line 485. | |||||
| LaTeX Info: Redefining \cdots on input line 606. | |||||
| \Mathstrutbox@=\box27 | |||||
| \strutbox@=\box28 | |||||
| \big@size=\dimen105 | |||||
| LaTeX Font Info: Redeclaring font encoding OML on input line 729. | |||||
| LaTeX Font Info: Redeclaring font encoding OMS on input line 730. | |||||
| \macc@depth=\count94 | |||||
| \c@MaxMatrixCols=\count95 | |||||
| \dotsspace@=\muskip10 | |||||
| \c@parentequation=\count96 | |||||
| \dspbrk@lvl=\count97 | |||||
| \tag@help=\toks17 | |||||
| \row@=\count98 | |||||
| \column@=\count99 | |||||
| \maxfields@=\count100 | |||||
| \andhelp@=\toks18 | |||||
| \eqnshift@=\dimen106 | |||||
| \alignsep@=\dimen107 | |||||
| \tagshift@=\dimen108 | |||||
| \tagwidth@=\dimen109 | |||||
| \totwidth@=\dimen110 | |||||
| \lineht@=\dimen111 | |||||
| \@envbody=\toks19 | |||||
| \multlinegap=\skip44 | |||||
| \multlinetaggap=\skip45 | |||||
| \mathdisplay@stack=\toks20 | |||||
| LaTeX Info: Redefining \[ on input line 2844. | |||||
| LaTeX Info: Redefining \] on input line 2845. | |||||
| ) | |||||
| (/usr/share/texmf-dist/tex/latex/amsfonts/amssymb.sty | |||||
| Package: amssymb 2013/01/14 v3.01 AMS font symbols | |||||
| (/usr/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty | |||||
| Package: amsfonts 2013/01/14 v3.01 Basic AMSFonts support | |||||
| \symAMSa=\mathgroup4 | |||||
| \symAMSb=\mathgroup5 | |||||
| LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version `bold' | |||||
| (Font) U/euf/m/n --> U/euf/b/n on input line 106. | |||||
| )) | |||||
| (/usr/share/texmf-dist/tex/generic/babel/babel.sty | |||||
| Package: babel 2019/04/03 3.29 The Babel package | |||||
| (/usr/share/texmf-dist/tex/generic/babel/switch.def | |||||
| File: switch.def 2019/04/03 3.29 Babel switching mechanism | |||||
| ) | |||||
| (/usr/share/texmf-dist/tex/generic/babel-english/english.ldf | |||||
| Language: english 2017/06/06 v3.3r English support from the babel system | |||||
| (/usr/share/texmf-dist/tex/generic/babel/babel.def | |||||
| File: babel.def 2019/04/03 3.29 Babel common definitions | |||||
| \babel@savecnt=\count101 | |||||
| \U@D=\dimen112 | |||||
| (/usr/share/texmf-dist/tex/generic/babel/txtbabel.def) | |||||
| \bbl@dirlevel=\count102 | |||||
| ) | |||||
| \l@canadian = a dialect from \language\l@american | |||||
| \l@australian = a dialect from \language\l@british | |||||
| \l@newzealand = a dialect from \language\l@british | |||||
| )) | |||||
| (/usr/share/texmf-dist/tex/latex/psnfss/times.sty | |||||
| Package: times 2005/04/12 PSNFSS-v9.2a (SPQR) | |||||
| ) | |||||
| ! LaTeX Error: File `fncychap.sty' not found. | |||||
| Type X to quit or <RETURN> to proceed, | |||||
| or enter new name. (Default extension: sty) | |||||
| Enter file name: | |||||
| ! Interruption. | |||||
| <to be read again> | |||||
| } | |||||
| l.56 \usepackage | |||||
| {sphinx}^^M | |||||
| ? m | |||||
| Type <return> to proceed, S to scroll future error messages, | |||||
| R to run without stopping, Q to run quietly, | |||||
| I to insert something, E to edit your file, | |||||
| H for help, X to quit. | |||||
| ? | |||||
| ! Emergency stop. | |||||
| <to be read again> | |||||
| } | |||||
| l.56 \usepackage | |||||
| {sphinx}^^M | |||||
| End of file on the terminal! | |||||
| Here is how much of TeX's memory you used: | |||||
| 1905 strings out of 492623 | |||||
| 21664 string characters out of 6135668 | |||||
| 91290 words of memory out of 5000000 | |||||
| 5843 multiletter control sequences out of 15000+600000 | |||||
| 4403 words of font info for 15 fonts, out of 8000000 for 9000 | |||||
| 1141 hyphenation exceptions out of 8191 | |||||
| 29i,0n,27p,223b,42s stack positions out of 5000i,500n,10000p,200000b,80000s | |||||
| ! ==> Fatal error occurred, no output PDF file produced! | |||||
| @@ -0,0 +1,115 @@ | |||||
| %% Generated by Sphinx. | |||||
| \def\sphinxdocclass{report} | |||||
| \documentclass[letterpaper,10pt,english]{sphinxmanual} | |||||
| \ifdefined\pdfpxdimen | |||||
| \let\sphinxpxdimen\pdfpxdimen\else\newdimen\sphinxpxdimen | |||||
| \fi \sphinxpxdimen=.75bp\relax | |||||
| \PassOptionsToPackage{warn}{textcomp} | |||||
| \usepackage[utf8]{inputenc} | |||||
| \ifdefined\DeclareUnicodeCharacter | |||||
| % support both utf8 and utf8x syntaxes | |||||
| \ifdefined\DeclareUnicodeCharacterAsOptional | |||||
| \def\sphinxDUC#1{\DeclareUnicodeCharacter{"#1}} | |||||
| \else | |||||
| \let\sphinxDUC\DeclareUnicodeCharacter | |||||
| \fi | |||||
| \sphinxDUC{00A0}{\nobreakspace} | |||||
| \sphinxDUC{2500}{\sphinxunichar{2500}} | |||||
| \sphinxDUC{2502}{\sphinxunichar{2502}} | |||||
| \sphinxDUC{2514}{\sphinxunichar{2514}} | |||||
| \sphinxDUC{251C}{\sphinxunichar{251C}} | |||||
| \sphinxDUC{2572}{\textbackslash} | |||||
| \fi | |||||
| \usepackage{cmap} | |||||
| \usepackage[T1]{fontenc} | |||||
| \usepackage{amsmath,amssymb,amstext} | |||||
| \usepackage{babel} | |||||
| \usepackage{times} | |||||
| \expandafter\ifx\csname T@LGR\endcsname\relax | |||||
| \else | |||||
| % LGR was declared as font encoding | |||||
| \substitutefont{LGR}{\rmdefault}{cmr} | |||||
| \substitutefont{LGR}{\sfdefault}{cmss} | |||||
| \substitutefont{LGR}{\ttdefault}{cmtt} | |||||
| \fi | |||||
| \expandafter\ifx\csname T@X2\endcsname\relax | |||||
| \expandafter\ifx\csname T@T2A\endcsname\relax | |||||
| \else | |||||
| % T2A was declared as font encoding | |||||
| \substitutefont{T2A}{\rmdefault}{cmr} | |||||
| \substitutefont{T2A}{\sfdefault}{cmss} | |||||
| \substitutefont{T2A}{\ttdefault}{cmtt} | |||||
| \fi | |||||
| \else | |||||
| % X2 was declared as font encoding | |||||
| \substitutefont{X2}{\rmdefault}{cmr} | |||||
| \substitutefont{X2}{\sfdefault}{cmss} | |||||
| \substitutefont{X2}{\ttdefault}{cmtt} | |||||
| \fi | |||||
| \usepackage[Bjarne]{fncychap} | |||||
| \usepackage{sphinx} | |||||
| \fvset{fontsize=\small} | |||||
| \usepackage{geometry} | |||||
| % Include hyperref last. | |||||
| \usepackage{hyperref} | |||||
| % Fix anchor placement for figures with captions. | |||||
| \usepackage{hypcap}% it must be loaded after hyperref. | |||||
| % Set up styles of URL: it should be placed after hyperref. | |||||
| \urlstyle{same} | |||||
| \addto\captionsenglish{\renewcommand{\contentsname}{Contents:}} | |||||
| \usepackage{sphinxmessages} | |||||
| \setcounter{tocdepth}{1} | |||||
| \title{beelance2} | |||||
| \date{Nov 11, 2019} | |||||
| \release{} | |||||
| \author{jakob notland} | |||||
| \newcommand{\sphinxlogo}{\vbox{}} | |||||
| \renewcommand{\releasename}{} | |||||
| \makeindex | |||||
| \begin{document} | |||||
| \pagestyle{empty} | |||||
| \sphinxmaketitle | |||||
| \pagestyle{plain} | |||||
| \sphinxtableofcontents | |||||
| \pagestyle{normal} | |||||
| \phantomsection\label{\detokenize{index::doc}} | |||||
| \phantomsection\label{\detokenize{index:module-views.index}}\index{views.index (module)@\spxentry{views.index}\spxextra{module}} | |||||
| \chapter{Indices and tables} | |||||
| \label{\detokenize{index:indices-and-tables}}\begin{itemize} | |||||
| \item {} | |||||
| \DUrole{xref,std,std-ref}{genindex} | |||||
| \item {} | |||||
| \DUrole{xref,std,std-ref}{modindex} | |||||
| \item {} | |||||
| \DUrole{xref,std,std-ref}{search} | |||||
| \end{itemize} | |||||
| \renewcommand{\indexname}{Python Module Index} | |||||
| \begin{sphinxtheindex} | |||||
| \let\bigletter\sphinxstyleindexlettergroup | |||||
| \bigletter{v} | |||||
| \item\relax\sphinxstyleindexentry{views.index}\sphinxstyleindexpageref{index:\detokenize{module-views.index}} | |||||
| \end{sphinxtheindex} | |||||
| \renewcommand{\indexname}{Index} | |||||
| \printindex | |||||
| \end{document} | |||||
| @@ -0,0 +1,269 @@ | |||||
| \NeedsTeXFormat{LaTeX2e} | |||||
| \ProvidesPackage{footnotehyper-sphinx}% | |||||
| [2017/10/27 v1.7 hyperref aware footnote.sty for sphinx (JFB)] | |||||
| %% | |||||
| %% Package: footnotehyper-sphinx | |||||
| %% Version: based on footnotehyper.sty 2017/03/07 v1.0 | |||||
| %% as available at https://www.ctan.org/pkg/footnotehyper | |||||
| %% License: the one applying to Sphinx | |||||
| %% | |||||
| %% Refer to the PDF documentation at https://www.ctan.org/pkg/footnotehyper for | |||||
| %% the code comments. | |||||
| %% | |||||
| %% Differences: | |||||
| %% 1. a partial tabulary compatibility layer added (enough for Sphinx mark-up), | |||||
| %% 2. use of \spx@opt@BeforeFootnote from sphinx.sty, | |||||
| %% 3. use of \sphinxunactivateextrasandspace from sphinx.sty, | |||||
| %% 4. macro definition \sphinxfootnotemark, | |||||
| %% 5. macro definition \sphinxlongtablepatch | |||||
| %% 6. replaced an \undefined by \@undefined | |||||
| \DeclareOption*{\PackageWarning{footnotehyper-sphinx}{Option `\CurrentOption' is unknown}}% | |||||
| \ProcessOptions\relax | |||||
| \newbox\FNH@notes | |||||
| \newdimen\FNH@width | |||||
| \let\FNH@colwidth\columnwidth | |||||
| \newif\ifFNH@savingnotes | |||||
| \AtBeginDocument {% | |||||
| \let\FNH@latex@footnote \footnote | |||||
| \let\FNH@latex@footnotetext\footnotetext | |||||
| \let\FNH@H@@footnotetext \@footnotetext | |||||
| \newenvironment{savenotes} | |||||
| {\FNH@savenotes\ignorespaces}{\FNH@spewnotes\ignorespacesafterend}% | |||||
| \let\spewnotes \FNH@spewnotes | |||||
| \let\footnote \FNH@footnote | |||||
| \let\footnotetext \FNH@footnotetext | |||||
| \let\endfootnote \FNH@endfntext | |||||
| \let\endfootnotetext\FNH@endfntext | |||||
| \@ifpackageloaded{hyperref} | |||||
| {\ifHy@hyperfootnotes | |||||
| \let\FNH@H@@footnotetext\H@@footnotetext | |||||
| \else | |||||
| \let\FNH@hyper@fntext\FNH@nohyp@fntext | |||||
| \fi}% | |||||
| {\let\FNH@hyper@fntext\FNH@nohyp@fntext}% | |||||
| }% | |||||
| \def\FNH@hyper@fntext{\FNH@fntext\FNH@hyper@fntext@i}% | |||||
| \def\FNH@nohyp@fntext{\FNH@fntext\FNH@nohyp@fntext@i}% | |||||
| \def\FNH@fntext #1{% | |||||
| \ifx\ifmeasuring@\@undefined | |||||
| \expandafter\@secondoftwo\else\expandafter\@firstofone\fi | |||||
| % these two lines modified for Sphinx (tabulary compatibility): | |||||
| {\ifmeasuring@\expandafter\@gobbletwo\else\expandafter\@firstofone\fi}% | |||||
| {\ifx\equation$\expandafter\@gobbletwo\fi #1}%$ | |||||
| }% | |||||
| \long\def\FNH@hyper@fntext@i#1{% | |||||
| \global\setbox\FNH@notes\vbox | |||||
| {\unvbox\FNH@notes | |||||
| \FNH@startnote | |||||
| \@makefntext | |||||
| {\rule\z@\footnotesep\ignorespaces | |||||
| \ifHy@nesting\expandafter\ltx@firstoftwo | |||||
| \else\expandafter\ltx@secondoftwo | |||||
| \fi | |||||
| {\expandafter\hyper@@anchor\expandafter{\Hy@footnote@currentHref}{#1}}% | |||||
| {\Hy@raisedlink | |||||
| {\expandafter\hyper@@anchor\expandafter{\Hy@footnote@currentHref}% | |||||
| {\relax}}% | |||||
| \let\@currentHref\Hy@footnote@currentHref | |||||
| \let\@currentlabelname\@empty | |||||
| #1}% | |||||
| \@finalstrut\strutbox | |||||
| }% | |||||
| \FNH@endnote | |||||
| }% | |||||
| }% | |||||
| \long\def\FNH@nohyp@fntext@i#1{% | |||||
| \global\setbox\FNH@notes\vbox | |||||
| {\unvbox\FNH@notes | |||||
| \FNH@startnote | |||||
| \@makefntext{\rule\z@\footnotesep\ignorespaces#1\@finalstrut\strutbox}% | |||||
| \FNH@endnote | |||||
| }% | |||||
| }% | |||||
| \def\FNH@startnote{% | |||||
| \hsize\FNH@colwidth | |||||
| \interlinepenalty\interfootnotelinepenalty | |||||
| \reset@font\footnotesize | |||||
| \floatingpenalty\@MM | |||||
| \@parboxrestore | |||||
| \protected@edef\@currentlabel{\csname p@\@mpfn\endcsname\@thefnmark}% | |||||
| \color@begingroup | |||||
| }% | |||||
| \def\FNH@endnote{\color@endgroup}% | |||||
| \def\FNH@savenotes{% | |||||
| \begingroup | |||||
| \ifFNH@savingnotes\else | |||||
| \FNH@savingnotestrue | |||||
| \let\@footnotetext \FNH@hyper@fntext | |||||
| \let\@mpfootnotetext \FNH@hyper@fntext | |||||
| \let\H@@mpfootnotetext\FNH@nohyp@fntext | |||||
| \FNH@width\columnwidth | |||||
| \let\FNH@colwidth\FNH@width | |||||
| \global\setbox\FNH@notes\box\voidb@x | |||||
| \let\FNH@thempfn\thempfn | |||||
| \let\FNH@mpfn\@mpfn | |||||
| \ifx\@minipagerestore\relax\let\@minipagerestore\@empty\fi | |||||
| \expandafter\def\expandafter\@minipagerestore\expandafter{% | |||||
| \@minipagerestore | |||||
| \let\thempfn\FNH@thempfn | |||||
| \let\@mpfn\FNH@mpfn | |||||
| }% | |||||
| \fi | |||||
| }% | |||||
| \def\FNH@spewnotes {% | |||||
| \endgroup | |||||
| \ifFNH@savingnotes\else | |||||
| \ifvoid\FNH@notes\else | |||||
| \begingroup | |||||
| \let\@makefntext\@empty | |||||
| \let\@finalstrut\@gobble | |||||
| \let\rule\@gobbletwo | |||||
| \FNH@H@@footnotetext{\unvbox\FNH@notes}% | |||||
| \endgroup | |||||
| \fi | |||||
| \fi | |||||
| }% | |||||
| \def\FNH@footnote@envname {footnote}% | |||||
| \def\FNH@footnotetext@envname{footnotetext}% | |||||
| \def\FNH@footnote{% | |||||
| % this line added for Sphinx: | |||||
| \spx@opt@BeforeFootnote | |||||
| \ifx\@currenvir\FNH@footnote@envname | |||||
| \expandafter\FNH@footnoteenv | |||||
| \else | |||||
| \expandafter\FNH@latex@footnote | |||||
| \fi | |||||
| }% | |||||
| \def\FNH@footnoteenv{% | |||||
| % this line added for Sphinx (footnotes in parsed literal blocks): | |||||
| \catcode13=5 \sphinxunactivateextrasandspace | |||||
| \@ifnextchar[% | |||||
| \FNH@footnoteenv@i %] | |||||
| {\stepcounter\@mpfn | |||||
| \protected@xdef\@thefnmark{\thempfn}% | |||||
| \@footnotemark | |||||
| \def\FNH@endfntext@fntext{\@footnotetext}% | |||||
| \FNH@startfntext}% | |||||
| }% | |||||
| \def\FNH@footnoteenv@i[#1]{% | |||||
| \begingroup | |||||
| \csname c@\@mpfn\endcsname #1\relax | |||||
| \unrestored@protected@xdef\@thefnmark{\thempfn}% | |||||
| \endgroup | |||||
| \@footnotemark | |||||
| \def\FNH@endfntext@fntext{\@footnotetext}% | |||||
| \FNH@startfntext | |||||
| }% | |||||
| \def\FNH@footnotetext{% | |||||
| \ifx\@currenvir\FNH@footnotetext@envname | |||||
| \expandafter\FNH@footnotetextenv | |||||
| \else | |||||
| \expandafter\FNH@latex@footnotetext | |||||
| \fi | |||||
| }% | |||||
| \def\FNH@footnotetextenv{% | |||||
| \@ifnextchar[% | |||||
| \FNH@footnotetextenv@i %] | |||||
| {\protected@xdef\@thefnmark{\thempfn}% | |||||
| \def\FNH@endfntext@fntext{\@footnotetext}% | |||||
| \FNH@startfntext}% | |||||
| }% | |||||
| \def\FNH@footnotetextenv@i[#1]{% | |||||
| \begingroup | |||||
| \csname c@\@mpfn\endcsname #1\relax | |||||
| \unrestored@protected@xdef\@thefnmark{\thempfn}% | |||||
| \endgroup | |||||
| \ifFNH@savingnotes | |||||
| \def\FNH@endfntext@fntext{\FNH@nohyp@fntext}% | |||||
| \else | |||||
| \def\FNH@endfntext@fntext{\FNH@H@@footnotetext}% | |||||
| \fi | |||||
| \FNH@startfntext | |||||
| }% | |||||
| \def\FNH@startfntext{% | |||||
| \setbox\z@\vbox\bgroup | |||||
| \FNH@startnote | |||||
| \FNH@prefntext | |||||
| \rule\z@\footnotesep\ignorespaces | |||||
| }% | |||||
| \def\FNH@endfntext {% | |||||
| \@finalstrut\strutbox | |||||
| \FNH@postfntext | |||||
| \FNH@endnote | |||||
| \egroup | |||||
| \begingroup | |||||
| \let\@makefntext\@empty\let\@finalstrut\@gobble\let\rule\@gobbletwo | |||||
| \FNH@endfntext@fntext {\unvbox\z@}% | |||||
| \endgroup | |||||
| }% | |||||
| \AtBeginDocument{% | |||||
| \let\FNH@@makefntext\@makefntext | |||||
| \ifx\@makefntextFB\@undefined | |||||
| \expandafter\@gobble\else\expandafter\@firstofone\fi | |||||
| {\ifFBFrenchFootnotes \let\FNH@@makefntext\@makefntextFB \else | |||||
| \let\FNH@@makefntext\@makefntextORI\fi}% | |||||
| \expandafter\FNH@check@a\FNH@@makefntext{1.2!3?4,}% | |||||
| \FNH@@@1.2!3?4,\FNH@@@\relax | |||||
| }% | |||||
| \long\def\FNH@check@a #11.2!3?4,#2\FNH@@@#3{% | |||||
| \ifx\relax#3\expandafter\@firstoftwo\else\expandafter\@secondoftwo\fi | |||||
| \FNH@bad@makefntext@alert | |||||
| {\def\FNH@prefntext{#1}\def\FNH@postfntext{#2}\FNH@check@b}% | |||||
| }% | |||||
| \def\FNH@check@b #1\relax{% | |||||
| \expandafter\expandafter\expandafter\FNH@check@c | |||||
| \expandafter\meaning\expandafter\FNH@prefntext | |||||
| \meaning\FNH@postfntext1.2!3?4,\FNH@check@c\relax | |||||
| }% | |||||
| \def\FNH@check@c #11.2!3?4,#2#3\relax{% | |||||
| \ifx\FNH@check@c#2\expandafter\@gobble\fi\FNH@bad@makefntext@alert | |||||
| }% | |||||
| % slight reformulation for Sphinx | |||||
| \def\FNH@bad@makefntext@alert{% | |||||
| \PackageWarningNoLine{footnotehyper-sphinx}% | |||||
| {Footnotes will be sub-optimal, sorry. This is due to the document class or^^J | |||||
| some package modifying macro \string\@makefntext.^^J | |||||
| You can try to report this incompatibility at^^J | |||||
| https://github.com/sphinx-doc/sphinx with this info:}% | |||||
| \typeout{\meaning\@makefntext}% | |||||
| \let\FNH@prefntext\@empty\let\FNH@postfntext\@empty | |||||
| }% | |||||
| % this macro from original footnote.sty is not used anymore by Sphinx | |||||
| % but for simplicity sake let's just keep it as is | |||||
| \def\makesavenoteenv{\@ifnextchar[\FNH@msne@ii\FNH@msne@i}%] | |||||
| \def\FNH@msne@i #1{% | |||||
| \expandafter\let\csname FNH$#1\expandafter\endcsname %$ | |||||
| \csname #1\endcsname | |||||
| \expandafter\let\csname endFNH$#1\expandafter\endcsname %$ | |||||
| \csname end#1\endcsname | |||||
| \FNH@msne@ii[#1]{FNH$#1}%$ | |||||
| }% | |||||
| \def\FNH@msne@ii[#1]#2{% | |||||
| \expandafter\edef\csname#1\endcsname{% | |||||
| \noexpand\savenotes | |||||
| \expandafter\noexpand\csname#2\endcsname | |||||
| }% | |||||
| \expandafter\edef\csname end#1\endcsname{% | |||||
| \expandafter\noexpand\csname end#2\endcsname | |||||
| \noexpand\expandafter | |||||
| \noexpand\spewnotes | |||||
| \noexpand\if@endpe\noexpand\@endpetrue\noexpand\fi | |||||
| }% | |||||
| }% | |||||
| % end of footnotehyper 2017/02/16 v0.99 | |||||
| % some extras for Sphinx : | |||||
| % \sphinxfootnotemark: usable in section titles and silently removed from TOCs. | |||||
| \def\sphinxfootnotemark [#1]% | |||||
| {\ifx\thepage\relax\else\protect\spx@opt@BeforeFootnote | |||||
| \protect\footnotemark[#1]\fi}% | |||||
| \AtBeginDocument{% | |||||
| % let hyperref less complain | |||||
| \pdfstringdefDisableCommands{\def\sphinxfootnotemark [#1]{}}% | |||||
| % to obtain hyperlinked footnotes in longtable environment we must replace | |||||
| % hyperref's patch of longtable's patch of \@footnotetext by our own | |||||
| \let\LT@p@ftntext\FNH@hyper@fntext | |||||
| % this *requires* longtable to be used always wrapped in savenotes environment | |||||
| }% | |||||
| \endinput | |||||
| %% | |||||
| %% End of file `footnotehyper-sphinx.sty'. | |||||
| @@ -0,0 +1,22 @@ | |||||
| $latex = 'platex ' . $ENV{'LATEXOPTS'} . ' -kanji=utf8 %O %S'; | |||||
| $dvipdf = 'dvipdfmx %O -o %D %S'; | |||||
| $makeindex = 'internal mendex %S %B %D'; | |||||
| sub mendex { | |||||
| my ($source, $basename, $destination) = @_; | |||||
| my $dictfile = $basename . ".dic"; | |||||
| unlink($destination); | |||||
| system("mendex", "-U", "-f", "-d", $dictfile, "-s", "python.ist", $source); | |||||
| if ($? > 0) { | |||||
| print("mendex exited with error code $? (ignored)\n"); | |||||
| } | |||||
| if (!-e $destination) { | |||||
| # create an empty .ind file if nothing | |||||
| open(FH, ">" . $destination); | |||||
| close(FH); | |||||
| } | |||||
| return 0; | |||||
| } | |||||
| add_cus_dep( "glo", "gls", 0, "makeglo" ); | |||||
| sub makeglo { | |||||
| return system( "mendex -J -f -s gglo.ist -o '$_[0].gls' '$_[0].glo'" ); | |||||
| } | |||||
| @@ -0,0 +1,9 @@ | |||||
| $latex = 'latex ' . $ENV{'LATEXOPTS'} . ' %O %S'; | |||||
| $pdflatex = 'pdflatex ' . $ENV{'LATEXOPTS'} . ' %O %S'; | |||||
| $lualatex = 'lualatex ' . $ENV{'LATEXOPTS'} . ' %O %S'; | |||||
| $xelatex = 'xelatex --no-pdf ' . $ENV{'LATEXOPTS'} . ' %O %S'; | |||||
| $makeindex = 'makeindex -s python.ist %O -o %D %S'; | |||||
| add_cus_dep( "glo", "gls", 0, "makeglo" ); | |||||
| sub makeglo { | |||||
| return system( "makeindex -s gglo.ist -o '$_[0].gls' '$_[0].glo'" ); | |||||
| } | |||||
| @@ -0,0 +1,31 @@ | |||||
| @ECHO OFF | |||||
| REM Command file for Sphinx documentation | |||||
| pushd %~dp0 | |||||
| set PDFLATEX=latexmk -pdf -dvi- -ps- | |||||
| set "LATEXOPTS= " | |||||
| if "%1" == "" goto all-pdf | |||||
| if "%1" == "all-pdf" ( | |||||
| :all-pdf | |||||
| for %%i in (*.tex) do ( | |||||
| %PDFLATEX% %LATEXMKOPTS% %%i | |||||
| ) | |||||
| goto end | |||||
| ) | |||||
| if "%1" == "all-pdf-ja" ( | |||||
| goto all-pdf | |||||
| ) | |||||
| if "%1" == "clean" ( | |||||
| del /q /s *.dvi *.log *.ind *.aux *.toc *.syn *.idx *.out *.ilg *.pla *.ps *.tar *.tar.gz *.tar.bz2 *.tar.xz *.fls *.fdb_latexmk | |||||
| goto end | |||||
| ) | |||||
| :end | |||||
| popd | |||||
| @@ -0,0 +1,16 @@ | |||||
| line_max 100 | |||||
| headings_flag 1 | |||||
| heading_prefix " \\bigletter " | |||||
| preamble "\\begin{sphinxtheindex} | |||||
| \\let\\bigletter\\sphinxstyleindexlettergroup | |||||
| \\let\\spxpagem \\sphinxstyleindexpagemain | |||||
| \\let\\spxentry \\sphinxstyleindexentry | |||||
| \\let\\spxextra \\sphinxstyleindexextra | |||||
| " | |||||
| postamble "\n\n\\end{sphinxtheindex}\n" | |||||
| symhead_positive "{\\sphinxsymbolsname}" | |||||
| numhead_positive "{\\sphinxnumbersname}" | |||||
| @@ -0,0 +1,228 @@ | |||||
| ;;; -*- mode: lisp; coding: utf-8; -*- | |||||
| ;; Unfortunately xindy is out-of-the-box hyperref-incompatible. This | |||||
| ;; configuration is a workaround, which requires to pass option | |||||
| ;; hyperindex=false to hyperref. | |||||
| ;; textit and emph not currently used, spxpagem replaces former textbf | |||||
| (define-attributes (("textbf" "textit" "emph" "spxpagem" "default"))) | |||||
| (markup-locref :open "\textbf{\hyperpage{" :close "}}" :attr "textbf") | |||||
| (markup-locref :open "\textit{\hyperpage{" :close "}}" :attr "textit") | |||||
| (markup-locref :open "\emph{\hyperpage{" :close "}}" :attr "emph") | |||||
| (markup-locref :open "\spxpagem{\hyperpage{" :close "}}" :attr "spxpagem") | |||||
| (markup-locref :open "\hyperpage{" :close "}" :attr "default") | |||||
| (require "numeric-sort.xdy") | |||||
| ;; xindy base module latex.xdy loads tex.xdy and the latter instructs | |||||
| ;; xindy to ignore **all** TeX macros in .idx entries, except those | |||||
| ;; explicitely described in merge rule. But when after applying all | |||||
| ;; merge rules an empty string results, xindy raises an error: | |||||
| ;; ERROR: CHAR: index 0 should be less than the length of the string | |||||
| ;; For example when using pdflatex with utf-8 characters the index | |||||
| ;; file will contain \IeC macros and they will get ignored except if | |||||
| ;; suitable merge rules are loaded early. The texindy script coming | |||||
| ;; with xindy provides this, but only for Latin scripts. The texindy | |||||
| ;; man page says to use rather xelatex or lualatex in case of Cyrillic | |||||
| ;; scripts. | |||||
| ;; Sphinx contributes LICRcyr2utf8.xdy to provide support for Cyrillic | |||||
| ;; scripts for the pdflatex engine. | |||||
| ;; Another issue caused by xindy ignoring all TeX macros except those | |||||
| ;; explicitely declared reveals itself when attempting to index ">>>", | |||||
| ;; as the ">" is converted to "\textgreater{}" by Sphinx's LaTeX | |||||
| ;; escaping. | |||||
| ;; To fix this, Sphinx does **not** use texindy, and does not even | |||||
| ;; load the xindy latex.xdy base module. | |||||
| ;(require "latex.xdy") | |||||
| ;; Rather it incorporates some suitable extracts from latex.xdy and | |||||
| ;; tex.xdy with additional Sphinx contributed rules. | |||||
| ;; But, this means for pdflatex and Latin scripts that the xindy file | |||||
| ;; tex/inputenc/uf8.xdy is not usable because it refers to the macro | |||||
| ;; \IeC only sporadically, and as tex.xdy is not loaded, a rule such as | |||||
| ;; (merge-rule "\'e" "é" :string) | |||||
| ;; does not work, it must be | |||||
| ;; (merge-rule "\IeC {\'e}" "é" :string) | |||||
| ;; So Sphinx contributes LICRlatin2utf8.xdy to mitigate that problem. | |||||
| ;;;;;;;; extracts from tex.xdy (discarding most original comments): | |||||
| ;;; | |||||
| ;;; TeX conventions | |||||
| ;;; | |||||
| ;; Discard leading and trailing white space. Collapse multiple white | |||||
| ;; space characters to blank. | |||||
| (merge-rule "^ +" "" :eregexp) | |||||
| (merge-rule " +$" "" :eregexp) | |||||
| (merge-rule " +" " " :eregexp) | |||||
| ;; Handle TeX markup | |||||
| (merge-rule "\\([{}$%&#])" "\1" :eregexp) | |||||
| ;;;;;;;; end of extracts from xindy's tex.xdy | |||||
| ;;;;;;;; extracts from latex.xdy: | |||||
| ;; Standard location classes: arabic and roman numbers, and alphabets. | |||||
| (define-location-class "arabic-page-numbers" ("arabic-numbers")) | |||||
| (define-location-class "roman-page-numbers" ("roman-numbers-lowercase")) | |||||
| (define-location-class "Roman-page-numbers" ("roman-numbers-uppercase")) | |||||
| (define-location-class "alpha-page-numbers" ("alpha")) | |||||
| (define-location-class "Alpha-page-numbers" ("ALPHA")) | |||||
| ;; Output Markup | |||||
| (markup-letter-group-list :sep "~n~n \indexspace~n") | |||||
| (markup-indexentry :open "~n \item " :depth 0) | |||||
| (markup-indexentry :open "~n \subitem " :depth 1) | |||||
| (markup-indexentry :open "~n \subsubitem " :depth 2) | |||||
| (markup-locclass-list :open ", " :sep ", ") | |||||
| (markup-locref-list :sep ", ") | |||||
| ;;;;;;;; end of extracts from latex.xdy | |||||
| ;; The LaTeX \index command turns \ into normal character so the TeX macros | |||||
| ;; written to .idx files are not followed by a blank. This is different | |||||
| ;; from non-ascii letters which end up (with pdflatex) as \IeC macros in .idx | |||||
| ;; file, with a blank space after \IeC | |||||
| ;; Details of the syntax are explained at | |||||
| ;; http://xindy.sourceforge.net/doc/manual-3.html | |||||
| ;; In absence of :string, "xindy uses an auto-detection mechanism to decide, | |||||
| ;; if the pattern is a regular expression or not". But it is not obvious to | |||||
| ;; guess, for example "\\_" is not detected as RE but "\\P\{\}" is, so for | |||||
| ;; being sure we apply the :string switch everywhere and do not use \\ etc... | |||||
| ;; Go back from sphinx.util.texescape TeX macros to UTF-8 | |||||
| (merge-rule "\sphinxleftcurlybrace{}" "{" :string) | |||||
| (merge-rule "\sphinxrightcurlybrace{}" "}" :string) | |||||
| (merge-rule "\_" "_" :string) | |||||
| (merge-rule "{[}" "[" :string) | |||||
| (merge-rule "{]}" "]" :string) | |||||
| (merge-rule "{}`" "`" :string) | |||||
| (merge-rule "\textbackslash{}" "\" :string) ; " for Emacs syntax highlighting | |||||
| (merge-rule "\textasciitilde{}" "~~" :string); the ~~ escape is needed here | |||||
| (merge-rule "\textless{}" "<" :string) | |||||
| (merge-rule "\textgreater{}" ">" :string) | |||||
| (merge-rule "\textasciicircum{}" "^" :string) | |||||
| (merge-rule "\P{}" "¶" :string) | |||||
| (merge-rule "\S{}" "§" :string) | |||||
| (merge-rule "\texteuro{}" "€" :string) | |||||
| (merge-rule "\(\infty\)" "∞" :string) | |||||
| (merge-rule "\(\pm\)" "±" :string) | |||||
| (merge-rule "\(\rightarrow\)" "→" :string) | |||||
| (merge-rule "\(\checkmark\)" "✓" :string) | |||||
| (merge-rule "\textendash{}" "–" :string) | |||||
| (merge-rule "\textbar{}" "|" :string) | |||||
| (merge-rule "\(\sp{\text{0}}\)" "⁰" :string) | |||||
| (merge-rule "\(\sp{\text{1}}\)" "¹" :string) | |||||
| (merge-rule "\(\sp{\text{2}}\)" "²" :string) | |||||
| (merge-rule "\(\sp{\text{3}}\)" "³" :string) | |||||
| (merge-rule "\(\sp{\text{4}}\)" "⁴" :string) | |||||
| (merge-rule "\(\sp{\text{5}}\)" "⁵" :string) | |||||
| (merge-rule "\(\sp{\text{6}}\)" "⁶" :string) | |||||
| (merge-rule "\(\sp{\text{7}}\)" "⁷" :string) | |||||
| (merge-rule "\(\sp{\text{8}}\)" "⁸" :string) | |||||
| (merge-rule "\(\sp{\text{9}}\)" "⁹" :string) | |||||
| (merge-rule "\(\sb{\text{0}}\)" "₀" :string) | |||||
| (merge-rule "\(\sb{\text{1}}\)" "₁" :string) | |||||
| (merge-rule "\(\sb{\text{2}}\)" "₂" :string) | |||||
| (merge-rule "\(\sb{\text{3}}\)" "₃" :string) | |||||
| (merge-rule "\(\sb{\text{4}}\)" "₄" :string) | |||||
| (merge-rule "\(\sb{\text{5}}\)" "₅" :string) | |||||
| (merge-rule "\(\sb{\text{6}}\)" "₆" :string) | |||||
| (merge-rule "\(\sb{\text{7}}\)" "₇" :string) | |||||
| (merge-rule "\(\sb{\text{8}}\)" "₈" :string) | |||||
| (merge-rule "\(\sb{\text{9}}\)" "₉" :string) | |||||
| (merge-rule "\IeC {\textalpha }" "α" :string) | |||||
| (merge-rule "\IeC {\textbeta }" "β" :string) | |||||
| (merge-rule "\IeC {\textgamma }" "γ" :string) | |||||
| (merge-rule "\IeC {\textdelta }" "δ" :string) | |||||
| (merge-rule "\IeC {\textepsilon }" "ε" :string) | |||||
| (merge-rule "\IeC {\textzeta }" "ζ" :string) | |||||
| (merge-rule "\IeC {\texteta }" "η" :string) | |||||
| (merge-rule "\IeC {\texttheta }" "θ" :string) | |||||
| (merge-rule "\IeC {\textiota }" "ι" :string) | |||||
| (merge-rule "\IeC {\textkappa }" "κ" :string) | |||||
| (merge-rule "\IeC {\textlambda }" "λ" :string) | |||||
| (merge-rule "\IeC {\textmu }" "μ" :string) | |||||
| (merge-rule "\IeC {\textnu }" "ν" :string) | |||||
| (merge-rule "\IeC {\textxi }" "ξ" :string) | |||||
| (merge-rule "\IeC {\textomicron }" "ο" :string) | |||||
| (merge-rule "\IeC {\textpi }" "π" :string) | |||||
| (merge-rule "\IeC {\textrho }" "ρ" :string) | |||||
| (merge-rule "\IeC {\textsigma }" "σ" :string) | |||||
| (merge-rule "\IeC {\texttau }" "τ" :string) | |||||
| (merge-rule "\IeC {\textupsilon }" "υ" :string) | |||||
| (merge-rule "\IeC {\textphi }" "φ" :string) | |||||
| (merge-rule "\IeC {\textchi }" "χ" :string) | |||||
| (merge-rule "\IeC {\textpsi }" "ψ" :string) | |||||
| (merge-rule "\IeC {\textomega }" "ω" :string) | |||||
| (merge-rule "\IeC {\textAlpha }" "Α" :string) | |||||
| (merge-rule "\IeC {\textBeta }" "Β" :string) | |||||
| (merge-rule "\IeC {\textGamma }" "Γ" :string) | |||||
| (merge-rule "\IeC {\textDelta }" "Δ" :string) | |||||
| (merge-rule "\IeC {\textEpsilon }" "Ε" :string) | |||||
| (merge-rule "\IeC {\textZeta }" "Ζ" :string) | |||||
| (merge-rule "\IeC {\textEta }" "Η" :string) | |||||
| (merge-rule "\IeC {\textTheta }" "Θ" :string) | |||||
| (merge-rule "\IeC {\textIota }" "Ι" :string) | |||||
| (merge-rule "\IeC {\textKappa }" "Κ" :string) | |||||
| (merge-rule "\IeC {\textLambda }" "Λ" :string) | |||||
| (merge-rule "\IeC {\textMu }" "Μ" :string) | |||||
| (merge-rule "\IeC {\textNu }" "Ν" :string) | |||||
| (merge-rule "\IeC {\textTheta }" "Θ" :string) | |||||
| (merge-rule "\IeC {\textIota }" "Ι" :string) | |||||
| (merge-rule "\IeC {\textKappa }" "Κ" :string) | |||||
| (merge-rule "\IeC {\textLambda }" "Λ" :string) | |||||
| (merge-rule "\IeC {\textMu }" "Μ" :string) | |||||
| (merge-rule "\IeC {\textNu }" "Ν" :string) | |||||
| (merge-rule "\IeC {\textXi }" "Ξ" :string) | |||||
| (merge-rule "\IeC {\textOmicron }" "Ο" :string) | |||||
| (merge-rule "\IeC {\textPi }" "Π" :string) | |||||
| (merge-rule "\IeC {\textRho }" "Ρ" :string) | |||||
| (merge-rule "\IeC {\textSigma }" "Σ" :string) | |||||
| (merge-rule "\IeC {\textTau }" "Τ" :string) | |||||
| (merge-rule "\IeC {\textUpsilon }" "Υ" :string) | |||||
| (merge-rule "\IeC {\textPhi }" "Φ" :string) | |||||
| (merge-rule "\IeC {\textChi }" "Χ" :string) | |||||
| (merge-rule "\IeC {\textPsi }" "Ψ" :string) | |||||
| (merge-rule "\IeC {\textOmega }" "Ω" :string) | |||||
| (merge-rule "\IeC {\textohm }" "Ω" :string) | |||||
| ;; This xindy module provides some basic support for "see" | |||||
| (require "makeindex.xdy") | |||||
| ;; This creates one-letter headings and works fine with utf-8 letters. | |||||
| ;; For Cyrillic with pdflatex works thanks to LICRcyr2utf8.xdy | |||||
| (require "latin-lettergroups.xdy") | |||||
| ;; currently we don't (know how to easily) separate "Numbers" from | |||||
| ;; "Symbols" with xindy as is the case with makeindex. | |||||
| (markup-index :open "\begin{sphinxtheindex} | |||||
| \let\lettergroup\sphinxstyleindexlettergroup | |||||
| \let\lettergroupDefault\sphinxstyleindexlettergroupDefault | |||||
| \let\spxpagem\sphinxstyleindexpagemain | |||||
| \let\spxentry\sphinxstyleindexentry | |||||
| \let\spxextra\sphinxstyleindexextra | |||||
| " | |||||
| :close " | |||||
| \end{sphinxtheindex} | |||||
| " | |||||
| :tree) | |||||
| @@ -0,0 +1,53 @@ | |||||
| %% CYRILLIC IN NON-CYRILLIC DOCUMENTS (pdflatex only) | |||||
| % | |||||
| % refs: https://tex.stackexchange.com/q/460271/ | |||||
| \ProvidesPackage{sphinxcyrillic}% | |||||
| [2018/11/21 v2.0 support for Cyrillic in non-Cyrillic documents] | |||||
| \RequirePackage{kvoptions} | |||||
| \SetupKeyvalOptions{prefix=spx@cyropt@} % use \spx@cyropt@ prefix | |||||
| \DeclareBoolOption[false]{Xtwo} | |||||
| \DeclareBoolOption[false]{TtwoA} | |||||
| \DeclareDefaultOption{\@unknownoptionerror} | |||||
| \ProcessLocalKeyvalOptions* % ignore class options | |||||
| \ifspx@cyropt@Xtwo | |||||
| % original code by tex.sx user egreg: | |||||
| % https://tex.stackexchange.com/a/460325/ | |||||
| % 159 Cyrillic glyphs as available in X2 TeX 8bit font encoding | |||||
| % This assumes inputenc loaded with utf8 option, or LaTeX release | |||||
| % as recent as 2018/04/01 which does it automatically. | |||||
| \@tfor\next:=% | |||||
| {Ё}{Ђ}{Є}{Ѕ}{І}{Ј}{Љ}{Њ}{Ћ}{Ў}{Џ}{А}{Б}{В}{Г}{Д}{Е}{Ж}{З}{И}{Й}% | |||||
| {К}{Л}{М}{Н}{О}{П}{Р}{С}{Т}{У}{Ф}{Х}{Ц}{Ч}{Ш}{Щ}{Ъ}{Ы}{Ь}{Э}{Ю}% | |||||
| {Я}{а}{б}{в}{г}{д}{е}{ж}{з}{и}{й}{к}{л}{м}{н}{о}{п}{р}{с}{т}{у}% | |||||
| {ф}{х}{ц}{ч}{ш}{щ}{ъ}{ы}{ь}{э}{ю}{я}{ё}{ђ}{є}{ѕ}{і}{ј}{љ}{њ}{ћ}% | |||||
| {ў}{џ}{Ѣ}{ѣ}{Ѫ}{ѫ}{Ѵ}{ѵ}{Ґ}{ґ}{Ғ}{ғ}{Ҕ}{ҕ}{Җ}{җ}{Ҙ}{ҙ}{Қ}{қ}{Ҝ}{ҝ}% | |||||
| {Ҟ}{ҟ}{Ҡ}{ҡ}{Ң}{ң}{Ҥ}{ҥ}{Ҧ}{ҧ}{Ҩ}{ҩ}{Ҫ}{ҫ}{Ҭ}{ҭ}{Ү}{ү}{Ұ}{ұ}{Ҳ}{ҳ}% | |||||
| {Ҵ}{ҵ}{Ҷ}{ҷ}{Ҹ}{ҹ}{Һ}{һ}{Ҽ}{ҽ}{Ҿ}{ҿ}{Ӏ}{Ӄ}{ӄ}{Ӆ}{ӆ}{Ӈ}{ӈ}{Ӌ}{ӌ}% | |||||
| {Ӎ}{ӎ}{Ӕ}{ӕ}{Ә}{ә}{Ӡ}{ӡ}{Ө}{ө}\do | |||||
| {% | |||||
| \begingroup\def\IeC{\protect\DeclareTextSymbolDefault}% | |||||
| \protected@edef\@temp{\endgroup\next{X2}}\@temp | |||||
| }% | |||||
| \else | |||||
| \ifspx@cyropt@TtwoA | |||||
| % original code by tex.sx user jfbu: | |||||
| % https://tex.stackexchange.com/a/460305/ | |||||
| % 63*2+1=127 Cyrillic glyphs as found in T2A 8bit TeX font-encoding | |||||
| \@tfor\@tempa:=% | |||||
| {ae}{a}{b}{chrdsc}{chvcrs}{ch}{c}{dje}{dze}{dzhe}{d}{erev}{ery}{e}% | |||||
| {f}{ghcrs}{gup}{g}{hdsc}{hrdsn}{h}{ie}{ii}{ishrt}{i}{je}% | |||||
| {kbeak}{kdsc}{kvcrs}{k}{lje}{l}{m}{ndsc}{ng}{nje}{n}{otld}{o}{p}{r}% | |||||
| {schwa}{sdsc}{sftsn}{shch}{shha}{sh}{s}{tshe}{t}{ushrt}{u}{v}% | |||||
| {ya}{yhcrs}{yi}{yo}{yu}{y}{zdsc}{zhdsc}{zh}{z}\do | |||||
| {% | |||||
| \expandafter\DeclareTextSymbolDefault\expandafter | |||||
| {\csname cyr\@tempa\endcsname}{T2A}% | |||||
| \expandafter\uppercase\expandafter{\expandafter | |||||
| \def\expandafter\@tempa\expandafter{\@tempa}}% | |||||
| \expandafter\DeclareTextSymbolDefault\expandafter | |||||
| {\csname CYR\@tempa\endcsname}{T2A}% | |||||
| }% | |||||
| \DeclareTextSymbolDefault{\CYRpalochka}{T2A}% | |||||
| \fi\fi | |||||
| \endinput | |||||
| @@ -0,0 +1,105 @@ | |||||
| \NeedsTeXFormat{LaTeX2e}[1995/12/01] | |||||
| \ProvidesPackage{sphinxhighlight}[2016/05/29 stylesheet for highlighting with pygments] | |||||
| \makeatletter | |||||
| \def\PYG@reset{\let\PYG@it=\relax \let\PYG@bf=\relax% | |||||
| \let\PYG@ul=\relax \let\PYG@tc=\relax% | |||||
| \let\PYG@bc=\relax \let\PYG@ff=\relax} | |||||
| \def\PYG@tok#1{\csname PYG@tok@#1\endcsname} | |||||
| \def\PYG@toks#1+{\ifx\relax#1\empty\else% | |||||
| \PYG@tok{#1}\expandafter\PYG@toks\fi} | |||||
| \def\PYG@do#1{\PYG@bc{\PYG@tc{\PYG@ul{% | |||||
| \PYG@it{\PYG@bf{\PYG@ff{#1}}}}}}} | |||||
| \def\PYG#1#2{\PYG@reset\PYG@toks#1+\relax+\PYG@do{#2}} | |||||
| \expandafter\def\csname PYG@tok@w\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.73,0.73}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@c\endcsname{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.25,0.50,0.56}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@cp\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@cs\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.50,0.56}{##1}}\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\colorbox[rgb]{1.00,0.94,0.94}{\strut ##1}}} | |||||
| \expandafter\def\csname PYG@tok@k\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@kp\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@kt\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.56,0.13,0.00}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@o\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.40,0.40,0.40}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@ow\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@nb\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@nf\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.02,0.16,0.49}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@nc\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.05,0.52,0.71}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@nn\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.05,0.52,0.71}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@ne\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@nv\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.38,0.84}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@no\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.38,0.68,0.84}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@nl\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.13,0.44}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@ni\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.84,0.33,0.22}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@na\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@nt\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.02,0.16,0.45}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@nd\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.33,0.33,0.33}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@s\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@sd\endcsname{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@si\endcsname{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.44,0.63,0.82}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@se\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@sr\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.14,0.33,0.53}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@ss\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.32,0.47,0.09}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@sx\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.78,0.36,0.04}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@m\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.13,0.50,0.31}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@gh\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.00,0.50}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@gu\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.50,0.00,0.50}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@gd\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.63,0.00,0.00}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@gi\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.63,0.00}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@gr\endcsname{\def\PYG@tc##1{\textcolor[rgb]{1.00,0.00,0.00}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@ge\endcsname{\let\PYG@it=\textit} | |||||
| \expandafter\def\csname PYG@tok@gs\endcsname{\let\PYG@bf=\textbf} | |||||
| \expandafter\def\csname PYG@tok@gp\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.78,0.36,0.04}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@go\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.20,0.20,0.20}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@gt\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.27,0.87}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@err\endcsname{\def\PYG@bc##1{\setlength{\fboxsep}{0pt}\fcolorbox[rgb]{1.00,0.00,0.00}{1,1,1}{\strut ##1}}} | |||||
| \expandafter\def\csname PYG@tok@kc\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@kd\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@kn\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@kr\endcsname{\let\PYG@bf=\textbf\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@bp\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.00,0.44,0.13}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@fm\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.02,0.16,0.49}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@vc\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.38,0.84}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@vg\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.38,0.84}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@vi\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.38,0.84}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@vm\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.73,0.38,0.84}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@sa\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@sb\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@sc\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@dl\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@s2\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@sh\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@s1\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.25,0.44,0.63}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@mb\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.13,0.50,0.31}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@mf\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.13,0.50,0.31}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@mh\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.13,0.50,0.31}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@mi\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.13,0.50,0.31}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@il\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.13,0.50,0.31}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@mo\endcsname{\def\PYG@tc##1{\textcolor[rgb]{0.13,0.50,0.31}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@ch\endcsname{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.25,0.50,0.56}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@cm\endcsname{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.25,0.50,0.56}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@cpf\endcsname{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.25,0.50,0.56}{##1}}} | |||||
| \expandafter\def\csname PYG@tok@c1\endcsname{\let\PYG@it=\textit\def\PYG@tc##1{\textcolor[rgb]{0.25,0.50,0.56}{##1}}} | |||||
| \def\PYGZbs{\char`\\} | |||||
| \def\PYGZus{\char`\_} | |||||
| \def\PYGZob{\char`\{} | |||||
| \def\PYGZcb{\char`\}} | |||||
| \def\PYGZca{\char`\^} | |||||
| \def\PYGZam{\char`\&} | |||||
| \def\PYGZlt{\char`\<} | |||||
| \def\PYGZgt{\char`\>} | |||||
| \def\PYGZsh{\char`\#} | |||||
| \def\PYGZpc{\char`\%} | |||||
| \def\PYGZdl{\char`\$} | |||||
| \def\PYGZhy{\char`\-} | |||||
| \def\PYGZsq{\char`\'} | |||||
| \def\PYGZdq{\char`\"} | |||||
| \def\PYGZti{\char`\~} | |||||
| % for compatibility with earlier versions | |||||
| \def\PYGZat{@} | |||||
| \def\PYGZlb{[} | |||||
| \def\PYGZrb{]} | |||||
| \makeatother | |||||
| \renewcommand\PYGZsq{\textquotesingle} | |||||
| @@ -0,0 +1,91 @@ | |||||
| % | |||||
| % sphinxhowto.cls for Sphinx (http://sphinx-doc.org/) | |||||
| % | |||||
| \NeedsTeXFormat{LaTeX2e}[1995/12/01] | |||||
| \ProvidesClass{sphinxhowto}[2018/12/23 v2.0 Document class (Sphinx howto)] | |||||
| % 'oneside' option overriding the 'twoside' default | |||||
| \newif\if@oneside | |||||
| \DeclareOption{oneside}{\@onesidetrue} | |||||
| % Pass remaining document options to the parent class. | |||||
| \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\sphinxdocclass}} | |||||
| \ProcessOptions\relax | |||||
| % Default to two-side document | |||||
| \if@oneside | |||||
| % nothing to do (oneside is the default) | |||||
| \else | |||||
| \PassOptionsToClass{twoside}{\sphinxdocclass} | |||||
| \fi | |||||
| \LoadClass{\sphinxdocclass} | |||||
| % Set some sane defaults for section numbering depth and TOC depth. You can | |||||
| % reset these counters in your preamble. | |||||
| % | |||||
| \setcounter{secnumdepth}{2} | |||||
| \setcounter{tocdepth}{2}% i.e. section and subsection | |||||
| % Change the title page to look a bit better, and fit in with the fncychap | |||||
| % ``Bjarne'' style a bit better. | |||||
| % | |||||
| \newcommand{\sphinxmaketitle}{% | |||||
| \noindent\rule{\textwidth}{1pt}\par | |||||
| \begingroup % for PDF information dictionary | |||||
| \def\endgraf{ }\def\and{\& }% | |||||
| \pdfstringdefDisableCommands{\def\\{, }}% overwrite hyperref setup | |||||
| \hypersetup{pdfauthor={\@author}, pdftitle={\@title}}% | |||||
| \endgroup | |||||
| \begin{flushright} | |||||
| \sphinxlogo | |||||
| \py@HeaderFamily | |||||
| {\Huge \@title }\par | |||||
| {\itshape\large \py@release \releaseinfo}\par | |||||
| \vspace{25pt} | |||||
| {\Large | |||||
| \begin{tabular}[t]{c} | |||||
| \@author | |||||
| \end{tabular}\kern-\tabcolsep}\par | |||||
| \vspace{25pt} | |||||
| \@date \par | |||||
| \py@authoraddress \par | |||||
| \end{flushright} | |||||
| \@thanks | |||||
| \setcounter{footnote}{0} | |||||
| \let\thanks\relax\let\maketitle\relax | |||||
| %\gdef\@thanks{}\gdef\@author{}\gdef\@title{} | |||||
| } | |||||
| \newcommand{\sphinxtableofcontents}{% | |||||
| \begingroup | |||||
| \parskip \z@skip | |||||
| \sphinxtableofcontentshook | |||||
| \tableofcontents | |||||
| \endgroup | |||||
| \noindent\rule{\textwidth}{1pt}\par | |||||
| \vspace{12pt}% | |||||
| } | |||||
| \newcommand\sphinxtableofcontentshook{} | |||||
| \pagenumbering{arabic} | |||||
| % Fix the bibliography environment to add an entry to the Table of | |||||
| % Contents. | |||||
| % For an article document class this environment is a section, | |||||
| % so no page break before it. | |||||
| % | |||||
| \newenvironment{sphinxthebibliography}[1]{% | |||||
| % \phantomsection % not needed here since TeXLive 2010's hyperref | |||||
| \begin{thebibliography}{#1}% | |||||
| \addcontentsline{toc}{section}{\ifdefined\refname\refname\else\ifdefined\bibname\bibname\fi\fi}}{\end{thebibliography}} | |||||
| % Same for the indices. | |||||
| % The memoir class already does this, so we don't duplicate it in that case. | |||||
| % | |||||
| \@ifclassloaded{memoir} | |||||
| {\newenvironment{sphinxtheindex}{\begin{theindex}}{\end{theindex}}} | |||||
| {\newenvironment{sphinxtheindex}{% | |||||
| \phantomsection % needed because no chapter, section, ... is created by theindex | |||||
| \begin{theindex}% | |||||
| \addcontentsline{toc}{section}{\indexname}}{\end{theindex}}} | |||||
| @@ -0,0 +1,117 @@ | |||||
| % | |||||
| % sphinxmanual.cls for Sphinx (http://sphinx-doc.org/) | |||||
| % | |||||
| \NeedsTeXFormat{LaTeX2e}[1995/12/01] | |||||
| \ProvidesClass{sphinxmanual}[2018/12/23 v2.0 Document class (Sphinx manual)] | |||||
| % chapters starting at odd pages (overridden by 'openany' document option) | |||||
| \PassOptionsToClass{openright}{\sphinxdocclass} | |||||
| % 'oneside' option overriding the 'twoside' default | |||||
| \newif\if@oneside | |||||
| \DeclareOption{oneside}{\@onesidetrue} | |||||
| % Pass remaining document options to the parent class. | |||||
| \DeclareOption*{\PassOptionsToClass{\CurrentOption}{\sphinxdocclass}} | |||||
| \ProcessOptions\relax | |||||
| % Defaults two-side document | |||||
| \if@oneside | |||||
| % nothing to do (oneside is the default) | |||||
| \else | |||||
| \PassOptionsToClass{twoside}{\sphinxdocclass} | |||||
| \fi | |||||
| \LoadClass{\sphinxdocclass} | |||||
| % Set some sane defaults for section numbering depth and TOC depth. You can | |||||
| % reset these counters in your preamble. | |||||
| % | |||||
| \setcounter{secnumdepth}{2} | |||||
| \setcounter{tocdepth}{1} | |||||
| % Change the title page to look a bit better, and fit in with the fncychap | |||||
| % ``Bjarne'' style a bit better. | |||||
| % | |||||
| \newcommand{\sphinxmaketitle}{% | |||||
| \let\sphinxrestorepageanchorsetting\relax | |||||
| \ifHy@pageanchor\def\sphinxrestorepageanchorsetting{\Hy@pageanchortrue}\fi | |||||
| \hypersetup{pageanchor=false}% avoid duplicate destination warnings | |||||
| \begin{titlepage}% | |||||
| \let\footnotesize\small | |||||
| \let\footnoterule\relax | |||||
| \noindent\rule{\textwidth}{1pt}\par | |||||
| \begingroup % for PDF information dictionary | |||||
| \def\endgraf{ }\def\and{\& }% | |||||
| \pdfstringdefDisableCommands{\def\\{, }}% overwrite hyperref setup | |||||
| \hypersetup{pdfauthor={\@author}, pdftitle={\@title}}% | |||||
| \endgroup | |||||
| \begin{flushright}% | |||||
| \sphinxlogo | |||||
| \py@HeaderFamily | |||||
| {\Huge \@title \par} | |||||
| {\itshape\LARGE \py@release\releaseinfo \par} | |||||
| \vfill | |||||
| {\LARGE | |||||
| \begin{tabular}[t]{c} | |||||
| \@author | |||||
| \end{tabular}\kern-\tabcolsep | |||||
| \par} | |||||
| \vfill\vfill | |||||
| {\large | |||||
| \@date \par | |||||
| \vfill | |||||
| \py@authoraddress \par | |||||
| }% | |||||
| \end{flushright}%\par | |||||
| \@thanks | |||||
| \end{titlepage}% | |||||
| \setcounter{footnote}{0}% | |||||
| \let\thanks\relax\let\maketitle\relax | |||||
| %\gdef\@thanks{}\gdef\@author{}\gdef\@title{} | |||||
| \clearpage | |||||
| \ifdefined\sphinxbackoftitlepage\sphinxbackoftitlepage\fi | |||||
| \if@openright\cleardoublepage\else\clearpage\fi | |||||
| \sphinxrestorepageanchorsetting | |||||
| } | |||||
| \newcommand{\sphinxtableofcontents}{% | |||||
| \pagenumbering{roman}% | |||||
| \begingroup | |||||
| \parskip \z@skip | |||||
| \sphinxtableofcontentshook | |||||
| \tableofcontents | |||||
| \endgroup | |||||
| % before resetting page counter, let's do the right thing. | |||||
| \if@openright\cleardoublepage\else\clearpage\fi | |||||
| \pagenumbering{arabic}% | |||||
| } | |||||
| % This is needed to get the width of the section # area wide enough in the | |||||
| % library reference. Doing it here keeps it the same for all the manuals. | |||||
| % | |||||
| \newcommand{\sphinxtableofcontentshook}{% | |||||
| \renewcommand*\l@section{\@dottedtocline{1}{1.5em}{2.6em}}% | |||||
| \renewcommand*\l@subsection{\@dottedtocline{2}{4.1em}{3.5em}}% | |||||
| } | |||||
| % Fix the bibliography environment to add an entry to the Table of | |||||
| % Contents. | |||||
| % For a report document class this environment is a chapter. | |||||
| % | |||||
| \newenvironment{sphinxthebibliography}[1]{% | |||||
| \if@openright\cleardoublepage\else\clearpage\fi | |||||
| % \phantomsection % not needed here since TeXLive 2010's hyperref | |||||
| \begin{thebibliography}{#1}% | |||||
| \addcontentsline{toc}{chapter}{\bibname}}{\end{thebibliography}} | |||||
| % Same for the indices. | |||||
| % The memoir class already does this, so we don't duplicate it in that case. | |||||
| % | |||||
| \@ifclassloaded{memoir} | |||||
| {\newenvironment{sphinxtheindex}{\begin{theindex}}{\end{theindex}}} | |||||
| {\newenvironment{sphinxtheindex}{% | |||||
| \if@openright\cleardoublepage\else\clearpage\fi | |||||
| \phantomsection % needed as no chapter, section, ... created | |||||
| \begin{theindex}% | |||||
| \addcontentsline{toc}{chapter}{\indexname}}{\end{theindex}}} | |||||
| @@ -0,0 +1,21 @@ | |||||
| % | |||||
| % sphinxmessages.sty | |||||
| % | |||||
| % message resources for Sphinx | |||||
| % | |||||
| \ProvidesPackage{sphinxmessages}[2019/01/04 v2.0 Localized LaTeX macros (Sphinx team)] | |||||
| \renewcommand{\literalblockcontinuedname}{continued from previous page} | |||||
| \renewcommand{\literalblockcontinuesname}{continues on next page} | |||||
| \renewcommand{\sphinxnonalphabeticalgroupname}{Non-alphabetical} | |||||
| \renewcommand{\sphinxsymbolsname}{Symbols} | |||||
| \renewcommand{\sphinxnumbersname}{Numbers} | |||||
| \def\pageautorefname{page} | |||||
| \addto\captionsenglish{\renewcommand{\figurename}{Fig.\@{} }} | |||||
| \def\fnum@figure{\figurename\thefigure{}} | |||||
| \addto\captionsenglish{\renewcommand{\tablename}{Table }} | |||||
| \def\fnum@table{\tablename\thetable{}} | |||||
| \addto\captionsenglish{\renewcommand{\literalblockname}{Listing}} | |||||
| @@ -0,0 +1,317 @@ | |||||
| \NeedsTeXFormat{LaTeX2e} | |||||
| \ProvidesPackage{sphinxmulticell}% | |||||
| [2017/02/23 v1.6 better span rows and columns of a table (Sphinx team)]% | |||||
| \DeclareOption*{\PackageWarning{sphinxmulticell}{Option `\CurrentOption' is unknown}}% | |||||
| \ProcessOptions\relax | |||||
| % | |||||
| % --- MULTICOLUMN --- | |||||
| % standard LaTeX's \multicolumn | |||||
| % 1. does not allow verbatim contents, | |||||
| % 2. interacts very poorly with tabulary. | |||||
| % | |||||
| % It is needed to write own macros for Sphinx: to allow code-blocks in merged | |||||
| % cells rendered by tabular/longtable, and to allow multi-column cells with | |||||
| % paragraphs to be taken into account sanely by tabulary algorithm for column | |||||
| % widths. | |||||
| % | |||||
| % This requires quite a bit of hacking. First, in Sphinx, the multi-column | |||||
| % contents will *always* be wrapped in a varwidth environment. The issue | |||||
| % becomes to pass it the correct target width. We must trick tabulary into | |||||
| % believing the multicolumn is simply separate columns, else tabulary does not | |||||
| % incorporate the contents in its algorithm. But then we must clear the | |||||
| % vertical rules... | |||||
| % | |||||
| % configuration of tabulary | |||||
| \setlength{\tymin}{3\fontcharwd\font`0 }% minimal width of "squeezed" columns | |||||
| \setlength{\tymax}{10000pt}% allow enough room for paragraphs to "compete" | |||||
| % we need access to tabulary's final computed width. \@tempdima is too volatile | |||||
| % to hope it has kept tabulary's value when \sphinxcolwidth needs it. | |||||
| \newdimen\sphinx@TY@tablewidth | |||||
| \def\tabulary{% | |||||
| \def\TY@final{\sphinx@TY@tablewidth\@tempdima\tabular}% | |||||
| \let\endTY@final\endtabular | |||||
| \TY@tabular}% | |||||
| % next hack is needed only if user has set latex_use_latex_multicolumn to True: | |||||
| % it fixes tabulary's bug with \multicolumn defined "short" in first pass. (if | |||||
| % upstream tabulary adds a \long, our extra one causes no harm) | |||||
| \def\sphinx@tempa #1\def\multicolumn#2#3#4#5#6#7#8#9\sphinx@tempa | |||||
| {\def\TY@tab{#1\long\def\multicolumn####1####2####3{\multispan####1\relax}#9}}% | |||||
| \expandafter\sphinx@tempa\TY@tab\sphinx@tempa | |||||
| % | |||||
| % TN. 1: as \omit is never executed, Sphinx multicolumn does not need to worry | |||||
| % like standard multicolumn about |l| vs l|. On the other hand it assumes | |||||
| % columns are separated by a | ... (if not it will add extraneous | |||||
| % \arrayrulewidth space for each column separation in its estimate of available | |||||
| % width). | |||||
| % | |||||
| % TN. 1b: as Sphinx multicolumn uses neither \omit nor \span, it can not | |||||
| % (easily) get rid of extra macros from >{...} or <{...} between columns. At | |||||
| % least, it has been made compatible with colortbl's \columncolor. | |||||
| % | |||||
| % TN. 2: tabulary's second pass is handled like tabular/longtable's single | |||||
| % pass, with the difference that we hacked \TY@final to set in | |||||
| % \sphinx@TY@tablewidth the final target width as computed by tabulary. This is | |||||
| % needed only to handle columns with a "horizontal" specifier: "p" type columns | |||||
| % (inclusive of tabulary's LJRC) holds the target column width in the | |||||
| % \linewidth dimension. | |||||
| % | |||||
| % TN. 3: use of \begin{sphinxmulticolumn}...\end{sphinxmulticolumn} mark-up | |||||
| % would need some hacking around the fact that groups can not span across table | |||||
| % cells (the code does inserts & tokens, see TN1b). It was decided to keep it | |||||
| % simple with \sphinxstartmulticolumn...\sphinxstopmulticolumn. | |||||
| % | |||||
| % MEMO about nesting: if sphinxmulticolumn is encountered in a nested tabular | |||||
| % inside a tabulary it will think to be at top level in the tabulary. But | |||||
| % Sphinx generates no nested tables, and if some LaTeX macro uses internally a | |||||
| % tabular this will not have a \sphinxstartmulticolumn within it! | |||||
| % | |||||
| \def\sphinxstartmulticolumn{% | |||||
| \ifx\equation$% $ tabulary's first pass | |||||
| \expandafter\sphinx@TYI@start@multicolumn | |||||
| \else % either not tabulary or tabulary's second pass | |||||
| \expandafter\sphinx@start@multicolumn | |||||
| \fi | |||||
| }% | |||||
| \def\sphinxstopmulticolumn{% | |||||
| \ifx\equation$% $ tabulary's first pass | |||||
| \expandafter\sphinx@TYI@stop@multicolumn | |||||
| \else % either not tabulary or tabulary's second pass | |||||
| \ignorespaces | |||||
| \fi | |||||
| }% | |||||
| \def\sphinx@TYI@start@multicolumn#1{% | |||||
| % use \gdef always to avoid stack space build up | |||||
| \gdef\sphinx@tempa{#1}\begingroup\setbox\z@\hbox\bgroup | |||||
| }% | |||||
| \def\sphinx@TYI@stop@multicolumn{\egroup % varwidth was used with \tymax | |||||
| \xdef\sphinx@tempb{\the\dimexpr\wd\z@/\sphinx@tempa}% per column width | |||||
| \endgroup | |||||
| \expandafter\sphinx@TYI@multispan\expandafter{\sphinx@tempa}% | |||||
| }% | |||||
| \def\sphinx@TYI@multispan #1{% | |||||
| \kern\sphinx@tempb\ignorespaces % the per column occupied width | |||||
| \ifnum#1>\@ne % repeat, taking into account subtleties of TeX's & ... | |||||
| \expandafter\sphinx@TYI@multispan@next\expandafter{\the\numexpr#1-\@ne\expandafter}% | |||||
| \fi | |||||
| }% | |||||
| \def\sphinx@TYI@multispan@next{&\relax\sphinx@TYI@multispan}% | |||||
| % | |||||
| % Now the branch handling either the second pass of tabulary or the single pass | |||||
| % of tabular/longtable. This is the delicate part where we gather the | |||||
| % dimensions from the p columns either set-up by tabulary or by user p column | |||||
| % or Sphinx \X, \Y columns. The difficulty is that to get the said width, the | |||||
| % template must be inserted (other hacks would be horribly complicated except | |||||
| % if we rewrote crucial parts of LaTeX's \@array !) and we can not do | |||||
| % \omit\span like standard \multicolumn's easy approach. Thus we must cancel | |||||
| % the \vrule separators. Also, perhaps the column specifier is of the l, c, r | |||||
| % type, then we attempt an ad hoc rescue to give varwidth a reasonable target | |||||
| % width. | |||||
| \def\sphinx@start@multicolumn#1{% | |||||
| \gdef\sphinx@multiwidth{0pt}\gdef\sphinx@tempa{#1}\sphinx@multispan{#1}% | |||||
| }% | |||||
| \def\sphinx@multispan #1{% | |||||
| \ifnum#1=\@ne\expandafter\sphinx@multispan@end | |||||
| \else\expandafter\sphinx@multispan@next | |||||
| \fi {#1}% | |||||
| }% | |||||
| \def\sphinx@multispan@next #1{% | |||||
| % trick to recognize L, C, R, J or p, m, b type columns | |||||
| \ifdim\baselineskip>\z@ | |||||
| \gdef\sphinx@tempb{\linewidth}% | |||||
| \else | |||||
| % if in an l, r, c type column, try and hope for the best | |||||
| \xdef\sphinx@tempb{\the\dimexpr(\ifx\TY@final\@undefined\linewidth\else | |||||
| \sphinx@TY@tablewidth\fi-\arrayrulewidth)/\sphinx@tempa | |||||
| -\tw@\tabcolsep-\arrayrulewidth\relax}% | |||||
| \fi | |||||
| \noindent\kern\sphinx@tempb\relax | |||||
| \xdef\sphinx@multiwidth | |||||
| {\the\dimexpr\sphinx@multiwidth+\sphinx@tempb+\tw@\tabcolsep+\arrayrulewidth}% | |||||
| % hack the \vline and the colortbl macros | |||||
| \sphinx@hack@vline\sphinx@hack@CT&\relax | |||||
| % repeat | |||||
| \expandafter\sphinx@multispan\expandafter{\the\numexpr#1-\@ne}% | |||||
| }% | |||||
| % packages like colortbl add group levels, we need to "climb back up" to be | |||||
| % able to hack the \vline and also the colortbl inserted tokens. This creates | |||||
| % empty space whether or not the columns were | separated: | |||||
| \def\sphinx@hack@vline{\ifnum\currentgrouptype=6\relax | |||||
| \kern\arrayrulewidth\arrayrulewidth\z@\else\aftergroup\sphinx@hack@vline\fi}% | |||||
| \def\sphinx@hack@CT{\ifnum\currentgrouptype=6\relax | |||||
| \let\CT@setup\sphinx@CT@setup\else\aftergroup\sphinx@hack@CT\fi}% | |||||
| % It turns out \CT@row@color is not expanded contrarily to \CT@column@color | |||||
| % during LaTeX+colortbl preamble preparation, hence it would be possible for | |||||
| % \sphinx@CT@setup to discard only the column color and choose to obey or not | |||||
| % row color and cell color. It would even be possible to propagate cell color | |||||
| % to row color for the duration of the Sphinx multicolumn... the (provisional?) | |||||
| % choice has been made to cancel the colortbl colours for the multicolumn | |||||
| % duration. | |||||
| \def\sphinx@CT@setup #1\endgroup{\endgroup}% hack to remove colour commands | |||||
| \def\sphinx@multispan@end#1{% | |||||
| % first, trace back our steps horizontally | |||||
| \noindent\kern-\dimexpr\sphinx@multiwidth\relax | |||||
| % and now we set the final computed width for the varwidth environment | |||||
| \ifdim\baselineskip>\z@ | |||||
| \xdef\sphinx@multiwidth{\the\dimexpr\sphinx@multiwidth+\linewidth}% | |||||
| \else | |||||
| \xdef\sphinx@multiwidth{\the\dimexpr\sphinx@multiwidth+ | |||||
| (\ifx\TY@final\@undefined\linewidth\else | |||||
| \sphinx@TY@tablewidth\fi-\arrayrulewidth)/\sphinx@tempa | |||||
| -\tw@\tabcolsep-\arrayrulewidth\relax}% | |||||
| \fi | |||||
| % we need to remove colour set-up also for last cell of the multi-column | |||||
| \aftergroup\sphinx@hack@CT | |||||
| }% | |||||
| \newcommand*\sphinxcolwidth[2]{% | |||||
| % this dimension will always be used for varwidth, and serves as maximum | |||||
| % width when cells are merged either via multirow or multicolumn or both, | |||||
| % as always their contents is wrapped in varwidth environment. | |||||
| \ifnum#1>\@ne % multi-column (and possibly also multi-row) | |||||
| % we wrote our own multicolumn code especially to handle that (and allow | |||||
| % verbatim contents) | |||||
| \ifx\equation$%$ | |||||
| \tymax % first pass of tabulary (cf MEMO above regarding nesting) | |||||
| \else % the \@gobble thing is for compatibility with standard \multicolumn | |||||
| \sphinx@multiwidth\@gobble{#1/#2}% | |||||
| \fi | |||||
| \else % single column multirow | |||||
| \ifx\TY@final\@undefined % not a tabulary. | |||||
| \ifdim\baselineskip>\z@ | |||||
| % in a p{..} type column, \linewidth is the target box width | |||||
| \linewidth | |||||
| \else | |||||
| % l, c, r columns. Do our best. | |||||
| \dimexpr(\linewidth-\arrayrulewidth)/#2- | |||||
| \tw@\tabcolsep-\arrayrulewidth\relax | |||||
| \fi | |||||
| \else % in tabulary | |||||
| \ifx\equation$%$% first pass | |||||
| \tymax % it is set to a big value so that paragraphs can express themselves | |||||
| \else | |||||
| % second pass. | |||||
| \ifdim\baselineskip>\z@ | |||||
| \linewidth % in a L, R, C, J column or a p, \X, \Y ... | |||||
| \else | |||||
| % we have hacked \TY@final to put in \sphinx@TY@tablewidth the table width | |||||
| \dimexpr(\sphinx@TY@tablewidth-\arrayrulewidth)/#2- | |||||
| \tw@\tabcolsep-\arrayrulewidth\relax | |||||
| \fi | |||||
| \fi | |||||
| \fi | |||||
| \fi | |||||
| }% | |||||
| % fallback default in case user has set latex_use_latex_multicolumn to True: | |||||
| % \sphinxcolwidth will use this only inside LaTeX's standard \multicolumn | |||||
| \def\sphinx@multiwidth #1#2{\dimexpr % #1 to gobble the \@gobble (!) | |||||
| (\ifx\TY@final\@undefined\linewidth\else\sphinx@TY@tablewidth\fi | |||||
| -\arrayrulewidth)*#2-\tw@\tabcolsep-\arrayrulewidth\relax}% | |||||
| % | |||||
| % --- MULTIROW --- | |||||
| % standard \multirow | |||||
| % 1. does not allow verbatim contents, | |||||
| % 2. does not allow blank lines in its argument, | |||||
| % 3. its * specifier means to typeset "horizontally" which is very | |||||
| % bad for paragraph content. 2016 version has = specifier but it | |||||
| % must be used with p type columns only, else results are bad, | |||||
| % 4. it requires manual intervention if the contents is too long to fit | |||||
| % in the asked-for number of rows. | |||||
| % 5. colour panels (either from \rowcolor or \columncolor) will hide | |||||
| % the bottom part of multirow text, hence manual tuning is needed | |||||
| % to put the multirow insertion at the _bottom_. | |||||
| % | |||||
| % The Sphinx solution consists in always having contents wrapped | |||||
| % in a varwidth environment so that it makes sense to estimate how many | |||||
| % lines it will occupy, and then ensure by insertion of suitable struts | |||||
| % that the table rows have the needed height. The needed mark-up is done | |||||
| % by LaTeX writer, which has its own id for the merged cells. | |||||
| % | |||||
| % The colour issue is solved by clearing colour panels in all cells, | |||||
| % whether or not the multirow is single-column or multi-column. | |||||
| % | |||||
| % In passing we obtain baseline alignements across rows (only if | |||||
| % \arraylinestretch is 1, as LaTeX's does not obey \arraylinestretch in "p" | |||||
| % multi-line contents, only first and last line...) | |||||
| % | |||||
| % TODO: examine the situation with \arraylinestretch > 1. The \extrarowheight | |||||
| % is hopeless for multirow anyhow, it makes baseline alignment strictly | |||||
| % impossible. | |||||
| \newcommand\sphinxmultirow[2]{\begingroup | |||||
| % #1 = nb of spanned rows, #2 = Sphinx id of "cell", #3 = contents | |||||
| % but let's fetch #3 in a way allowing verbatim contents ! | |||||
| \def\sphinx@nbofrows{#1}\def\sphinx@cellid{#2}% | |||||
| \afterassignment\sphinx@multirow\let\next= | |||||
| }% | |||||
| \def\sphinx@multirow {% | |||||
| \setbox\z@\hbox\bgroup\aftergroup\sphinx@@multirow\strut | |||||
| }% | |||||
| \def\sphinx@@multirow {% | |||||
| % The contents, which is a varwidth environment, has been captured in | |||||
| % \box0 (a \hbox). | |||||
| % We have with \sphinx@cellid an assigned unique id. The goal is to give | |||||
| % about the same height to all the involved rows. | |||||
| % For this Sphinx will insert a \sphinxtablestrut{cell_id} mark-up | |||||
| % in LaTeX file and the expansion of the latter will do the suitable thing. | |||||
| \dimen@\dp\z@ | |||||
| \dimen\tw@\ht\@arstrutbox | |||||
| \advance\dimen@\dimen\tw@ | |||||
| \advance\dimen\tw@\dp\@arstrutbox | |||||
| \count@=\dimen@ % type conversion dim -> int | |||||
| \count\tw@=\dimen\tw@ | |||||
| \divide\count@\count\tw@ % TeX division truncates | |||||
| \advance\dimen@-\count@\dimen\tw@ | |||||
| % 1300sp is about 0.02pt. For comparison a rule default width is 0.4pt. | |||||
| % (note that if \count@ holds 0, surely \dimen@>1300sp) | |||||
| \ifdim\dimen@>1300sp \advance\count@\@ne \fi | |||||
| % now \count@ holds the count L of needed "lines" | |||||
| % and \sphinx@nbofrows holds the number N of rows | |||||
| % we have L >= 1 and N >= 1 | |||||
| % if L is a multiple of N, ... clear what to do ! | |||||
| % else write L = qN + r, 1 <= r < N and we will | |||||
| % arrange for each row to have enough space for: | |||||
| % q+1 "lines" in each of the first r rows | |||||
| % q "lines" in each of the (N-r) bottom rows | |||||
| % for a total of (q+1) * r + q * (N-r) = q * N + r = L | |||||
| % It is possible that q == 0. | |||||
| \count\tw@\count@ | |||||
| % the TeX division truncates | |||||
| \divide\count\tw@\sphinx@nbofrows\relax | |||||
| \count4\count\tw@ % q | |||||
| \multiply\count\tw@\sphinx@nbofrows\relax | |||||
| \advance\count@-\count\tw@ % r | |||||
| \expandafter\xdef\csname sphinx@tablestrut_\sphinx@cellid\endcsname | |||||
| {\noexpand\sphinx@tablestrut{\the\count4}{\the\count@}{\sphinx@cellid}}% | |||||
| \dp\z@\z@ | |||||
| % this will use the real height if it is >\ht\@arstrutbox | |||||
| \sphinxtablestrut{\sphinx@cellid}\box\z@ | |||||
| \endgroup % group was opened in \sphinxmultirow | |||||
| }% | |||||
| \newcommand*\sphinxtablestrut[1]{% | |||||
| % #1 is a "cell_id", i.e. the id of a merged group of table cells | |||||
| \csname sphinx@tablestrut_#1\endcsname | |||||
| }% | |||||
| % LaTeX typesets the table row by row, hence each execution can do | |||||
| % an update for the next row. | |||||
| \newcommand*\sphinx@tablestrut[3]{\begingroup | |||||
| % #1 = q, #2 = (initially) r, #3 = cell_id, q+1 lines in first r rows | |||||
| % if #2 = 0, create space for max(q,1) table lines | |||||
| % if #2 > 0, create space for q+1 lines and decrement #2 | |||||
| \leavevmode | |||||
| \count@#1\relax | |||||
| \ifnum#2=\z@ | |||||
| \ifnum\count@=\z@\count@\@ne\fi | |||||
| \else | |||||
| % next row will be with a #2 decremented by one | |||||
| \expandafter\xdef\csname sphinx@tablestrut_#3\endcsname | |||||
| {\noexpand\sphinx@tablestrut{#1}{\the\numexpr#2-\@ne}{#3}}% | |||||
| \advance\count@\@ne | |||||
| \fi | |||||
| \vrule\@height\ht\@arstrutbox | |||||
| \@depth\dimexpr\count@\ht\@arstrutbox+\count@\dp\@arstrutbox-\ht\@arstrutbox\relax | |||||
| \@width\z@ | |||||
| \endgroup | |||||
| % we need this to avoid colour panels hiding bottom parts of multirow text | |||||
| \sphinx@hack@CT | |||||
| }% | |||||
| \endinput | |||||
| %% | |||||
| %% End of file `sphinxmulticell.sty'. | |||||
| @@ -0,0 +1,35 @@ | |||||
| @ECHO OFF | |||||
| pushd %~dp0 | |||||
| REM Command file for Sphinx documentation | |||||
| if "%SPHINXBUILD%" == "" ( | |||||
| set SPHINXBUILD=sphinx-build | |||||
| ) | |||||
| set SOURCEDIR=source | |||||
| set BUILDDIR=build | |||||
| if "%1" == "" goto help | |||||
| %SPHINXBUILD% >NUL 2>NUL | |||||
| if errorlevel 9009 ( | |||||
| echo. | |||||
| echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | |||||
| echo.installed, then set the SPHINXBUILD environment variable to point | |||||
| echo.to the full path of the 'sphinx-build' executable. Alternatively you | |||||
| echo.may add the Sphinx directory to PATH. | |||||
| echo. | |||||
| echo.If you don't have Sphinx installed, grab it from | |||||
| echo.http://sphinx-doc.org/ | |||||
| exit /b 1 | |||||
| ) | |||||
| %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | |||||
| goto end | |||||
| :help | |||||
| %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | |||||
| :end | |||||
| popd | |||||
| @@ -0,0 +1,73 @@ | |||||
| # Configuration file for the Sphinx documentation builder. | |||||
| # | |||||
| # This file only contains a selection of the most common options. For a full | |||||
| # list see the documentation: | |||||
| # https://www.sphinx-doc.org/en/master/usage/configuration.html | |||||
| # -- Path setup -------------------------------------------------------------- | |||||
| # If extensions (or modules to document with autodoc) are in another directory, | |||||
| # add these directories to sys.path here. If the directory is relative to the | |||||
| # documentation root, use os.path.abspath to make it absolute, like shown here. | |||||
| # | |||||
| import os | |||||
| import sys | |||||
| sys.path.insert(0, os.path.abspath('../..')) | |||||
| sys.path.insert(0, os.path.abspath('../')) | |||||
| # -- Project information ----------------------------------------------------- | |||||
| project = 'beelance2' | |||||
| copyright = '2019, jakob notland' | |||||
| author = 'jakob notland' | |||||
| latex_elements = { | |||||
| # The paper size ('letterpaper' or 'a4paper'). | |||||
| 'papersize': 'letterpaper', | |||||
| # The font size ('10pt', '11pt' or '12pt'). | |||||
| 'pointsize': '10pt', | |||||
| # Additional stuff for the LaTeX preamble. | |||||
| 'preamble': '', | |||||
| # Latex figure (float) alignment | |||||
| 'figure_align': 'htbp', | |||||
| } | |||||
| # -- General configuration --------------------------------------------------- | |||||
| # Add any Sphinx extension module names here, as strings. They can be | |||||
| # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom | |||||
| # ones. | |||||
| extensions = [ | |||||
| 'rinoh.frontend.sphinx', | |||||
| 'sphinx.ext.autodoc', | |||||
| ] | |||||
| # Add any paths that contain templates here, relative to this directory. | |||||
| templates_path = ['_templates'] | |||||
| # List of patterns, relative to source directory, that match files and | |||||
| # directories to ignore when looking for source files. | |||||
| # This pattern also affects html_static_path and html_extra_path. | |||||
| exclude_patterns = [] | |||||
| # -- Options for HTML output ------------------------------------------------- | |||||
| # The theme to use for HTML and HTML Help pages. See the documentation for | |||||
| # a list of builtin themes. | |||||
| # | |||||
| html_theme = 'alabaster' | |||||
| # Add any paths that contain custom static files (such as style sheets) here, | |||||
| # relative to this directory. They are copied after the builtin static files, | |||||
| # so a file named "default.css" will overwrite the builtin "default.css". | |||||
| html_static_path = ['_static'] | |||||
| @@ -0,0 +1,24 @@ | |||||
| .. beelance2 documentation master file, created by | |||||
| sphinx-quickstart on Mon Nov 11 14:30:43 2019. | |||||
| You can adapt this file completely to your liking, but it should at least | |||||
| contain the root `toctree` directive. | |||||
| Welcome to beelance2's documentation! | |||||
| ===================================== | |||||
| .. toctree:: | |||||
| :maxdepth: 2 | |||||
| :caption: Contents: | |||||
| .. autoclass:: views.index.Index | |||||
| :members: | |||||
| .. automodule:: views.forms | |||||
| :members: | |||||
| Indices and tables | |||||
| ================== | |||||
| * :ref:`genindex` | |||||
| * :ref:`modindex` | |||||
| * :ref:`search` | |||||
| @@ -8,16 +8,16 @@ def get_categories(): | |||||
| cursor.close() | cursor.close() | ||||
| return categories | return categories | ||||
| def set_project(categoryid, userid, title, project_description, project_status): | |||||
| def set_project(categoryid, userid, project_title, project_description, project_status): | |||||
| cursor = db.cursor() | cursor = db.cursor() | ||||
| query = ("INSERT INTO projects VALUES (NULL, \"" + | query = ("INSERT INTO projects VALUES (NULL, \"" + | ||||
| categoryid + "\", \"" + userid + "\", \"" + title + "\", \"" + | |||||
| categoryid + "\", \"" + userid + "\", \"" + project_title + "\", \"" + | |||||
| project_description + "\", \"" + project_status + "\")") | project_description + "\", \"" + project_status + "\")") | ||||
| cursor.execute(query) | cursor.execute(query) | ||||
| db.commit() | db.commit() | ||||
| cursor.close() | cursor.close() | ||||
| categories = get_categories() | |||||
| return categories | |||||
| projectid = get_projects_by_status_and_owner(userid, "open")[-1][0] | |||||
| return projectid | |||||
| def get_project_by_id(projectid): | def get_project_by_id(projectid): | ||||
| cursor = db.cursor() | cursor = db.cursor() | ||||
| @@ -52,10 +52,11 @@ def get_projects_by_participant_and_status(userid, project_status): | |||||
| projects = cursor.fetchall() | projects = cursor.fetchall() | ||||
| return projects | return projects | ||||
| def set_waiting_task(projectid, title, task_description, budget): | |||||
| def set_task(projectid, task_title, task_description, budget): | |||||
| cursor = db.cursor() | cursor = db.cursor() | ||||
| query = ("INSERT INTO tasks (pjojectid, title, task_description, budget) VALUES (\"" + | |||||
| projectid + "\", \"" + title + "\", \"" + title + "\", \"" + | |||||
| task_description + "\", \"" + budget + "\")") | |||||
| query = ("INSERT INTO tasks (projectid, title, task_description, budget, task_status) VALUES (\"" + | |||||
| projectid + "\", \"" + task_title + "\", \"" + | |||||
| task_description + "\", \"" + budget + "\", \"waiting for delivery\")") | |||||
| cursor.execute(query) | cursor.execute(query) | ||||
| db.commit() | |||||
| @@ -23,32 +23,58 @@ register_form = form.Form( | |||||
| form.Button("Register", type="submit", description="Register"), | form.Button("Register", type="submit", description="Register"), | ||||
| ) | ) | ||||
| # Define the project form elements | |||||
| # Get categories | |||||
| categories = get_categories() | categories = get_categories() | ||||
| # Define the task form elements | |||||
| def get_task_form_elements(count=0, task_title="", task_description="", budget=""): | |||||
| def get_task_form_elements(identifier=0, task_title="", task_description="", budget=""): | |||||
| """ | |||||
| Generate a set of task form elements | |||||
| :param identifier: The id of the task | |||||
| :param task_title: Task title | |||||
| :param task_description: Task description | |||||
| :param budget: Task budget | |||||
| :type identifier: int, str | |||||
| :type task_title: str | |||||
| :type task_description: str | |||||
| :type budget: int, str | |||||
| :return: A set of task form elements | |||||
| """ | |||||
| task_form_elements = ( | task_form_elements = ( | ||||
| form.Textbox("task_title_" + str(count), description="Title", value=task_title), | |||||
| form.Textarea("task_description_" + str(count), description="Description", value=task_description), | |||||
| form.Textbox("budget_" + str(count), description="Budget", value=budget) | |||||
| form.Textbox("task_title_" + str(identifier), description="Title", value=task_title), | |||||
| form.Textarea("task_description_" + str(identifier), description="Description", value=task_description), | |||||
| form.Textbox("budget_" + str(identifier), description="Budget", value=str(budget)) | |||||
| ) | ) | ||||
| return task_form_elements | return task_form_elements | ||||
| def get_project_form_elements(project_title="", project_description="", category_name=""): | def get_project_form_elements(project_title="", project_description="", category_name=""): | ||||
| """ | |||||
| Generate a set of project form elements | |||||
| :param project_title: Project title | |||||
| :param project_description: Project description | |||||
| :param category_name: Name of the belonging category | |||||
| :type project_title: str | |||||
| :type project_description: str | |||||
| :type category_name: str | |||||
| :return: A set of project form elements | |||||
| """ | |||||
| project_form_elements = ( | project_form_elements = ( | ||||
| form.Textbox("project_title", description="Title", value=project_title), | form.Textbox("project_title", description="Title", value=project_title), | ||||
| form.Textarea("project_description", description="Description", value=project_description), | form.Textarea("project_description", description="Description", value=project_description), | ||||
| form.Dropdown("category_name", description="Category Name", args=categories) | form.Dropdown("category_name", description="Category Name", args=categories) | ||||
| #form.Button("Submit", type="submit", description="submit") | |||||
| ) | ) | ||||
| return project_form_elements | return project_form_elements | ||||
| def get_new_project_form(elements): | def get_new_project_form(elements): | ||||
| """ | |||||
| Combine a project form element and task elements to make a complete project form | |||||
| :param elemets: All the project and task form elements | |||||
| :return: The ready to use project form | |||||
| """ | |||||
| return form.Form(*elements, | return form.Form(*elements, | ||||
| form.Button("Add Task", type="submit", description="Add Task", value = "add_task"), | |||||
| form.Button("Remove Task", type="submit", description="Remove Task ", value = "remove_task"), | |||||
| form.Button("Create Project", type="submit", description="Create Project", value = "create_project") | |||||
| form.Button("Add Task", type="submit", description="Add Task", value="add_task"), | |||||
| form.Button("Remove Task", type="submit", description="Remove Task ", value="remove_task"), | |||||
| form.Button("Create Project", type="submit", description="Create Project", value="create_project") | |||||
| ) | ) | ||||
| # Define the guestbook form | # Define the guestbook form | ||||
| @@ -9,9 +9,9 @@ class Index: | |||||
| def GET(self): | def GET(self): | ||||
| """ | """ | ||||
| Get main page using the projects input variable to | |||||
| Get main page using the projects URL input variable to | |||||
| determine which projects to show. | determine which projects to show. | ||||
| :return: index page | :return: index page | ||||
| """ | """ | ||||
| session = web.ctx.session | session = web.ctx.session | ||||
| @@ -9,8 +9,12 @@ render = web.template.render('templates/') | |||||
| class Login(): | class Login(): | ||||
| def GET(self): | def GET(self): | ||||
| """ | |||||
| Show the login page | |||||
| :return: The login page showing other users if logged in | |||||
| """ | |||||
| session = web.ctx.session | session = web.ctx.session | ||||
| # Show other registered users if the user is logged in | |||||
| if session.username: | if session.username: | ||||
| friends = models.login.get_users() | friends = models.login.get_users() | ||||
| else: | else: | ||||
| @@ -18,8 +22,11 @@ class Login(): | |||||
| nav = get_nav_bar(session) | nav = get_nav_bar(session) | ||||
| return render.login(nav, login_form, friends) | return render.login(nav, login_form, friends) | ||||
| # Log In | |||||
| def POST(self): | def POST(self): | ||||
| """ | |||||
| Log in to the web application and register the session | |||||
| :return: The login page showing other users if logged in | |||||
| """ | |||||
| session = web.ctx.session | session = web.ctx.session | ||||
| # Validate login credential with database query | # Validate login credential with database query | ||||
| data = web.input() | data = web.input() | ||||
| @@ -7,9 +7,13 @@ render = web.template.render('templates/') | |||||
| class Logout: | class Logout: | ||||
| # Kill session | |||||
| def GET(self): | def GET(self): | ||||
| """ | |||||
| Log out of the application (kill session and reset variables) | |||||
| :return: Redirect to main page | |||||
| """ | |||||
| session = web.ctx.session | session = web.ctx.session | ||||
| session.kill() | session.kill() | ||||
| session.username = None | session.username = None | ||||
| session.id = None | |||||
| raise web.seeother('/') | raise web.seeother('/') | ||||
| @@ -8,8 +8,12 @@ render = web.template.render('templates/') | |||||
| class New_project: | class New_project: | ||||
| # Get the registration form | |||||
| def GET(self): | def GET(self): | ||||
| """ | |||||
| Get the project registration form | |||||
| :return: New project page | |||||
| """ | |||||
| session = web.ctx.session | session = web.ctx.session | ||||
| nav = get_nav_bar(session) | nav = get_nav_bar(session) | ||||
| project_form_elements = get_project_form_elements() | project_form_elements = get_project_form_elements() | ||||
| @@ -17,37 +21,47 @@ class New_project: | |||||
| project_form = get_new_project_form((project_form_elements + task_form_elements)) | project_form = get_new_project_form((project_form_elements + task_form_elements)) | ||||
| return render.new_project(nav, project_form) | return render.new_project(nav, project_form) | ||||
| # Register new project in database | |||||
| def POST(self): | def POST(self): | ||||
| """ | |||||
| Create a new project | |||||
| :return: Redirect to main page | |||||
| """ | |||||
| data = web.input() | data = web.input() | ||||
| session = web.ctx.session | session = web.ctx.session | ||||
| nav = get_nav_bar(session) | nav = get_nav_bar(session) | ||||
| print(data) | |||||
| # Try the three different URL input parameters to determine how to generate the form | |||||
| try: | try: | ||||
| # Add a set of task fields to the form | |||||
| if data["Add Task"]: | if data["Add Task"]: | ||||
| project_form = self.compose_form(data, True) | project_form = self.compose_form(data, True) | ||||
| return render.project(nav, project_form) | |||||
| print("add task") | |||||
| return render.new_project(nav, project_form) | |||||
| except Exception as e: | except Exception as e: | ||||
| try: | try: | ||||
| # Remove a set of task fields from the form | |||||
| if data["Remove Task"]: | if data["Remove Task"]: | ||||
| project_form = self.compose_form(data, False) | project_form = self.compose_form(data, False) | ||||
| return render.project(nav, project_form) | |||||
| else: | |||||
| pass | |||||
| return render.new_project(nav, project_form) | |||||
| except Exception as e: | except Exception as e: | ||||
| try: | try: | ||||
| # Post the form data and save the project in the database | |||||
| if data["Create Project"]: | if data["Create Project"]: | ||||
| print("Create") | |||||
| models.project.set_waiting_task | |||||
| else: | |||||
| pass | |||||
| print("Create project") | |||||
| projectid = models.project.set_project(data.category_name, str(session.userid), | |||||
| data.project_title, data.project_description, "open") | |||||
| print("id:", projectid) | |||||
| task_count = self.get_task_count(data) | |||||
| print(task_count) | |||||
| # Save the tasks in the database | |||||
| for i in range(0, task_count): | |||||
| models.project.set_task(str(projectid), (data["task_title_" + str(i)]), | |||||
| (data["task_description_" + str(i)]), (data["budget_" + str(i)])) | |||||
| raise web.seeother('/') | |||||
| except Exception as e: | except Exception as e: | ||||
| pass | |||||
| categories = models.project.set_project(data.category_name, str(session.userid), | |||||
| data.project_title, data.project_description, "open") | |||||
| raise web.seeother('/') | |||||
| raise e | |||||
| def get_task_count(self, data): | def get_task_count(self, data): | ||||
| task_count = 0 | task_count = 0 | ||||