Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
valhunda committed Apr 9, 2020
0 parents commit 2ad9010
Show file tree
Hide file tree
Showing 49 changed files with 8,432 additions and 0 deletions.
43 changes: 43 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
alabaster==0.7.12
argh==0.26.2
atomicwrites==1.3.0
attrs==19.3.0
Babel==2.8.0
certifi==2019.11.28
chardet==3.0.4
colorama==0.4.3
docutils==0.16
idna==2.9
imagesize==1.2.0
importlib-metadata==1.5.0
Jinja2==2.11.1
livereload==2.6.1
MarkupSafe==1.1.1
more-itertools==8.2.0
packaging==20.3
pathtools==0.1.2
pluggy==0.13.1
port-for==0.3.1
py==1.8.1
Pygments==2.6.1
pygments-pytest==2.0.0
pyparsing==2.4.6
pytest==5.4.1
pytz==2019.3
PyYAML==5.3
requests==2.23.0
six==1.14.0
snowballstemmer==2.0.0
Sphinx==2.1.0
sphinx-autobuild==0.7.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==1.0.3
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.4
tornado==6.0.4
urllib3==1.25.8
watchdog==0.10.2
wcwidth==0.1.8
zipp==3.1.0
23 changes: 23 additions & 0 deletions docs/source/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# 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)

livehtml:
sphinx-autobuild -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
16 changes: 16 additions & 0 deletions docs/source/_templates/globaltoc.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<h1><a href="{{ pathto(master_doc) }}">{{ _('pytest') }}</a></h1>

<ul>
<li><a href="{{ pathto('index') }}">Что такое pytest</a></li>
<li><a href="{{ pathto('getting-started') }}">Установка</a></li>
<li><a href="{{ pathto('contents') }}">Содержание</a></li>
<li><a href="{{ pathto('example/index') }}">Примеры</a></li>
<li><a href="{{ pathto('customize') }}">Конфигурирование</a></li>
<li><a href="{{ pathto('license') }}">Лицензия</a></li>
</ul>

{%- if display_toc %}
<hr>
{{ toc }}
{%- endif %}

8 changes: 8 additions & 0 deletions docs/source/_templates/links.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<h3>Полезные ссылки</h3>
<ul>
<li><a href="https://pypi.org/project/pytest/">pytest @ PyPI</a></li>
<li><a href="https://github.com/pytest-dev/pytest/">pytest @ GitHub</a></li>
<li><a href="http://plugincompat.herokuapp.com/">3rd party plugins</a></li>
<li><a href="https://github.com/pytest-dev/pytest/issues">Issue Tracker</a></li>
<li><a href="https://media.readthedocs.org/pdf/pytest/latest/pytest.pdf">PDF Documentation</a>
</ul>
19 changes: 19 additions & 0 deletions docs/source/_templates/relations.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
<h3>Навигация:</h3>
<ul>
<li><a href="{{ pathto(master_doc) }}">Оглавление</a><ul>
{%- for parent in parents %}
<li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul>
{%- endfor %}
{%- if prev %}
<li>Предыдущий раздел: <a href="{{ prev.link|e }}" title="{{ _('previous chapter')
}}">{{ prev.title }}</a></li>
{%- endif %}
{%- if next %}
<li>Следующий раздел: <a href="{{ next.link|e }}" title="{{ _('next chapter')
}}">{{ next.title }}</a></li>
{%- endif %}
{%- for parent in parents %}
</ul></li>
{%- endfor %}
</ul></li>
</ul>
15 changes: 15 additions & 0 deletions docs/source/_templates/slim_searchbox.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{#
basic/searchbox.html with heading removed.
#}
{%- if pagename != "search" and builder != "singlehtml" %}
<div id="searchbox" style="display: none" role="search">
<div class="searchformwrapper">
<form class="search" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" aria-labelledby="searchlabel"
placeholder="Поиск"/>
<input type="submit" value="{{ _('Go') }}" />
</form>
</div>
</div>
<script type="text/javascript">$('#searchbox').show(0);</script>
{%- endif %}

0 comments on commit 2ad9010

Please sign in to comment.