Merge lp:~free.ekanayaka/txfixtures/sphinx-docs into lp:~canonical-launchpad-branches/txfixtures/trunk

Proposed by Free Ekanayaka
Status: Merged
Merge reported by: Free Ekanayaka
Merged at revision: not available
Proposed branch: lp:~free.ekanayaka/txfixtures/sphinx-docs
Merge into: lp:~canonical-launchpad-branches/txfixtures/trunk
Diff against target: 626 lines (+566/-10)
7 files modified
.bzrignore (+4/-0)
Makefile (+7/-0)
README.rst (+7/-9)
doc/Makefile (+216/-0)
doc/conf.py (+299/-0)
doc/index.rst (+32/-0)
setup.py (+1/-1)
To merge this branch: bzr merge lp:~free.ekanayaka/txfixtures/sphinx-docs
Reviewer Review Type Date Requested Status
Colin Watson (community) Approve
Review via email: mp+311472@code.launchpad.net

Description of the change

Hello,

I'd like to revive a bit this project, that hasn't moved since 5 years now. Essentially, I want to add a few new Twisted-related fixtures (more details in upcoming branches).

Existing functionality (i.e. the TacTestFixture class, the only one existing at the moment) will remain untouched, so this series of coming changes is fully backward-compatible.

As a first step, I'm adding basic sphinx documentation in this branch (which will be expanded in follow-up branches).

You can see the rendered version online:

http://txfixtures.readthedocs.io/en/stable/

or by running "make -C doc html".

The conf.py Sphinx boilerplate was generated with sphinx-quickstart.

To post a comment you must log in.
Revision history for this message
Colin Watson (cjwatson) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file '.bzrignore'
2--- .bzrignore 2011-12-01 21:11:09 +0000
3+++ .bzrignore 2016-11-22 09:04:15 +0000
4@@ -3,3 +3,7 @@
5 ./MANIFEST
6 ./TAGS
7 ./tags
8+./doc/_build
9+./doc/_static
10+*.pyc
11+__pycache__
12
13=== modified file 'Makefile'
14--- Makefile 2011-11-04 01:56:36 +0000
15+++ Makefile 2016-11-22 09:04:15 +0000
16@@ -3,3 +3,10 @@
17 check:
18 PYTHONPATH=$(PWD) $(PYTHON) -m testtools.run txfixtures.tests.test_tachandler
19
20+check-doc:
21+ $(MAKE) -C doc doctest
22+
23+html:
24+ $(MAKE) -C doc html
25+
26+.PHONY: check check-doc html
27
28=== renamed file 'README' => 'README.rst'
29--- README 2011-11-07 06:40:43 +0000
30+++ README.rst 2016-11-22 09:04:15 +0000
31@@ -1,14 +1,12 @@
32-********************************************
33 Twisted integration with Python Testfixtures
34-********************************************
35+============================================
36
37 txfixtures hooks into the testtools 'test fixture' interface, so that you can
38-write tests that rely on having an external Twisted daemon. ::
39-
40- self.useFixture(LibrarianServerFixture)
41-
42-See
43- https://launchpad.net/txfixtures
44- httsp://launchpad.net/testtools
45+write tests that rely on having an external Twisted daemon.
46+
47+See:
48+
49+- https://launchpad.net/txfixtures
50+- https://launchpad.net/testtools
51
52 Licence: GPLv3
53
54=== added directory 'doc'
55=== added file 'doc/Makefile'
56--- doc/Makefile 1970-01-01 00:00:00 +0000
57+++ doc/Makefile 2016-11-22 09:04:15 +0000
58@@ -0,0 +1,216 @@
59+# Makefile for Sphinx documentation
60+#
61+
62+# You can set these variables from the command line.
63+SPHINXOPTS =
64+SPHINXBUILD = sphinx-build
65+PAPER =
66+BUILDDIR = _build
67+
68+# User-friendly check for sphinx-build
69+ifeq ($(shell which $(SPHINXBUILD) >/dev/null 2>&1; echo $$?), 1)
70+$(error The '$(SPHINXBUILD)' command was not found. Make sure you have Sphinx installed, then set the SPHINXBUILD environment variable to point to the full path of the '$(SPHINXBUILD)' executable. Alternatively you can add the directory with the executable to your PATH. If you don't have Sphinx installed, grab it from http://sphinx-doc.org/)
71+endif
72+
73+# Internal variables.
74+PAPEROPT_a4 = -D latex_paper_size=a4
75+PAPEROPT_letter = -D latex_paper_size=letter
76+ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
77+# the i18n builder cannot share the environment and doctrees with the others
78+I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
79+
80+.PHONY: help
81+help:
82+ @echo "Please use \`make <target>' where <target> is one of"
83+ @echo " html to make standalone HTML files"
84+ @echo " dirhtml to make HTML files named index.html in directories"
85+ @echo " singlehtml to make a single large HTML file"
86+ @echo " pickle to make pickle files"
87+ @echo " json to make JSON files"
88+ @echo " htmlhelp to make HTML files and a HTML help project"
89+ @echo " qthelp to make HTML files and a qthelp project"
90+ @echo " applehelp to make an Apple Help Book"
91+ @echo " devhelp to make HTML files and a Devhelp project"
92+ @echo " epub to make an epub"
93+ @echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"
94+ @echo " latexpdf to make LaTeX files and run them through pdflatex"
95+ @echo " latexpdfja to make LaTeX files and run them through platex/dvipdfmx"
96+ @echo " text to make text files"
97+ @echo " man to make manual pages"
98+ @echo " texinfo to make Texinfo files"
99+ @echo " info to make Texinfo files and run them through makeinfo"
100+ @echo " gettext to make PO message catalogs"
101+ @echo " changes to make an overview of all changed/added/deprecated items"
102+ @echo " xml to make Docutils-native XML files"
103+ @echo " pseudoxml to make pseudoxml-XML files for display purposes"
104+ @echo " linkcheck to check all external links for integrity"
105+ @echo " doctest to run all doctests embedded in the documentation (if enabled)"
106+ @echo " coverage to run coverage check of the documentation (if enabled)"
107+
108+.PHONY: clean
109+clean:
110+ rm -rf $(BUILDDIR)/*
111+
112+.PHONY: html
113+html:
114+ $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
115+ @echo
116+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/html."
117+
118+.PHONY: dirhtml
119+dirhtml:
120+ $(SPHINXBUILD) -b dirhtml $(ALLSPHINXOPTS) $(BUILDDIR)/dirhtml
121+ @echo
122+ @echo "Build finished. The HTML pages are in $(BUILDDIR)/dirhtml."
123+
124+.PHONY: singlehtml
125+singlehtml:
126+ $(SPHINXBUILD) -b singlehtml $(ALLSPHINXOPTS) $(BUILDDIR)/singlehtml
127+ @echo
128+ @echo "Build finished. The HTML page is in $(BUILDDIR)/singlehtml."
129+
130+.PHONY: pickle
131+pickle:
132+ $(SPHINXBUILD) -b pickle $(ALLSPHINXOPTS) $(BUILDDIR)/pickle
133+ @echo
134+ @echo "Build finished; now you can process the pickle files."
135+
136+.PHONY: json
137+json:
138+ $(SPHINXBUILD) -b json $(ALLSPHINXOPTS) $(BUILDDIR)/json
139+ @echo
140+ @echo "Build finished; now you can process the JSON files."
141+
142+.PHONY: htmlhelp
143+htmlhelp:
144+ $(SPHINXBUILD) -b htmlhelp $(ALLSPHINXOPTS) $(BUILDDIR)/htmlhelp
145+ @echo
146+ @echo "Build finished; now you can run HTML Help Workshop with the" \
147+ ".hhp project file in $(BUILDDIR)/htmlhelp."
148+
149+.PHONY: qthelp
150+qthelp:
151+ $(SPHINXBUILD) -b qthelp $(ALLSPHINXOPTS) $(BUILDDIR)/qthelp
152+ @echo
153+ @echo "Build finished; now you can run "qcollectiongenerator" with the" \
154+ ".qhcp project file in $(BUILDDIR)/qthelp, like this:"
155+ @echo "# qcollectiongenerator $(BUILDDIR)/qthelp/txreactorfixture.qhcp"
156+ @echo "To view the help file:"
157+ @echo "# assistant -collectionFile $(BUILDDIR)/qthelp/txreactorfixture.qhc"
158+
159+.PHONY: applehelp
160+applehelp:
161+ $(SPHINXBUILD) -b applehelp $(ALLSPHINXOPTS) $(BUILDDIR)/applehelp
162+ @echo
163+ @echo "Build finished. The help book is in $(BUILDDIR)/applehelp."
164+ @echo "N.B. You won't be able to view it unless you put it in" \
165+ "~/Library/Documentation/Help or install it in your application" \
166+ "bundle."
167+
168+.PHONY: devhelp
169+devhelp:
170+ $(SPHINXBUILD) -b devhelp $(ALLSPHINXOPTS) $(BUILDDIR)/devhelp
171+ @echo
172+ @echo "Build finished."
173+ @echo "To view the help file:"
174+ @echo "# mkdir -p $$HOME/.local/share/devhelp/txreactorfixture"
175+ @echo "# ln -s $(BUILDDIR)/devhelp $$HOME/.local/share/devhelp/txreactorfixture"
176+ @echo "# devhelp"
177+
178+.PHONY: epub
179+epub:
180+ $(SPHINXBUILD) -b epub $(ALLSPHINXOPTS) $(BUILDDIR)/epub
181+ @echo
182+ @echo "Build finished. The epub file is in $(BUILDDIR)/epub."
183+
184+.PHONY: latex
185+latex:
186+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
187+ @echo
188+ @echo "Build finished; the LaTeX files are in $(BUILDDIR)/latex."
189+ @echo "Run \`make' in that directory to run these through (pdf)latex" \
190+ "(use \`make latexpdf' here to do that automatically)."
191+
192+.PHONY: latexpdf
193+latexpdf:
194+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
195+ @echo "Running LaTeX files through pdflatex..."
196+ $(MAKE) -C $(BUILDDIR)/latex all-pdf
197+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
198+
199+.PHONY: latexpdfja
200+latexpdfja:
201+ $(SPHINXBUILD) -b latex $(ALLSPHINXOPTS) $(BUILDDIR)/latex
202+ @echo "Running LaTeX files through platex and dvipdfmx..."
203+ $(MAKE) -C $(BUILDDIR)/latex all-pdf-ja
204+ @echo "pdflatex finished; the PDF files are in $(BUILDDIR)/latex."
205+
206+.PHONY: text
207+text:
208+ $(SPHINXBUILD) -b text $(ALLSPHINXOPTS) $(BUILDDIR)/text
209+ @echo
210+ @echo "Build finished. The text files are in $(BUILDDIR)/text."
211+
212+.PHONY: man
213+man:
214+ $(SPHINXBUILD) -b man $(ALLSPHINXOPTS) $(BUILDDIR)/man
215+ @echo
216+ @echo "Build finished. The manual pages are in $(BUILDDIR)/man."
217+
218+.PHONY: texinfo
219+texinfo:
220+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
221+ @echo
222+ @echo "Build finished. The Texinfo files are in $(BUILDDIR)/texinfo."
223+ @echo "Run \`make' in that directory to run these through makeinfo" \
224+ "(use \`make info' here to do that automatically)."
225+
226+.PHONY: info
227+info:
228+ $(SPHINXBUILD) -b texinfo $(ALLSPHINXOPTS) $(BUILDDIR)/texinfo
229+ @echo "Running Texinfo files through makeinfo..."
230+ make -C $(BUILDDIR)/texinfo info
231+ @echo "makeinfo finished; the Info files are in $(BUILDDIR)/texinfo."
232+
233+.PHONY: gettext
234+gettext:
235+ $(SPHINXBUILD) -b gettext $(I18NSPHINXOPTS) $(BUILDDIR)/locale
236+ @echo
237+ @echo "Build finished. The message catalogs are in $(BUILDDIR)/locale."
238+
239+.PHONY: changes
240+changes:
241+ $(SPHINXBUILD) -b changes $(ALLSPHINXOPTS) $(BUILDDIR)/changes
242+ @echo
243+ @echo "The overview file is in $(BUILDDIR)/changes."
244+
245+.PHONY: linkcheck
246+linkcheck:
247+ $(SPHINXBUILD) -b linkcheck $(ALLSPHINXOPTS) $(BUILDDIR)/linkcheck
248+ @echo
249+ @echo "Link check complete; look for any errors in the above output " \
250+ "or in $(BUILDDIR)/linkcheck/output.txt."
251+
252+.PHONY: doctest
253+doctest:
254+ $(SPHINXBUILD) -b doctest $(ALLSPHINXOPTS) $(BUILDDIR)/doctest
255+ @echo "Testing of doctests in the sources finished, look at the " \
256+ "results in $(BUILDDIR)/doctest/output.txt."
257+
258+.PHONY: coverage
259+coverage:
260+ $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage
261+ @echo "Testing of coverage in the sources finished, look at the " \
262+ "results in $(BUILDDIR)/coverage/python.txt."
263+
264+.PHONY: xml
265+xml:
266+ $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml
267+ @echo
268+ @echo "Build finished. The XML files are in $(BUILDDIR)/xml."
269+
270+.PHONY: pseudoxml
271+pseudoxml:
272+ $(SPHINXBUILD) -b pseudoxml $(ALLSPHINXOPTS) $(BUILDDIR)/pseudoxml
273+ @echo
274+ @echo "Build finished. The pseudo-XML files are in $(BUILDDIR)/pseudoxml."
275
276=== added file 'doc/conf.py'
277--- doc/conf.py 1970-01-01 00:00:00 +0000
278+++ doc/conf.py 2016-11-22 09:04:15 +0000
279@@ -0,0 +1,299 @@
280+#!/usr/bin/env python3
281+# -*- coding: utf-8 -*-
282+#
283+# txfixtures documentation build configuration file, created by
284+# sphinx-quickstart on Wed Nov 9 19:33:32 2016.
285+#
286+# This file is execfile()d with the current directory set to its
287+# containing dir.
288+#
289+# Note that not all possible configuration values are present in this
290+# autogenerated file.
291+#
292+# All configuration values have a default; values that are commented out
293+# serve to show the default.
294+
295+import sys
296+import os
297+
298+# If extensions (or modules to document with autodoc) are in another directory,
299+# add these directories to sys.path here. If the directory is relative to the
300+# documentation root, use os.path.abspath to make it absolute, like shown here.
301+sys.path.insert(0, os.path.abspath('..'))
302+
303+# -- General configuration ------------------------------------------------
304+
305+# If your documentation needs a minimal Sphinx version, state it here.
306+#needs_sphinx = '1.0'
307+
308+# Add any Sphinx extension module names here, as strings. They can be
309+# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
310+# ones.
311+extensions = [
312+ 'sphinx.ext.autodoc',
313+ 'sphinx.ext.doctest',
314+ 'sphinx.ext.todo',
315+ 'sphinx.ext.coverage',
316+ 'sphinx.ext.viewcode',
317+ 'sphinx.ext.intersphinx',
318+]
319+
320+# Add any paths that contain templates here, relative to this directory.
321+templates_path = ['_templates']
322+
323+# The suffix(es) of source filenames.
324+# You can specify multiple suffix as a list of string:
325+# source_suffix = ['.rst', '.md']
326+source_suffix = '.rst'
327+
328+# The encoding of source files.
329+#source_encoding = 'utf-8-sig'
330+
331+# The master toctree document.
332+master_doc = 'index'
333+
334+# General information about the project.
335+project = 'txfixtures'
336+copyright = '2016, Free Ekanayaka'
337+author = 'Free Ekanayaka'
338+
339+# The version info for the project you're documenting, acts as replacement for
340+# |version| and |release|, also used in various other places throughout the
341+# built documents.
342+#
343+# The short X.Y version.
344+from txfixtures import __version__
345+
346+version = __version__
347+# The full version, including alpha/beta/rc tags.
348+release = __version__
349+
350+# The language for content autogenerated by Sphinx. Refer to documentation
351+# for a list of supported languages.
352+#
353+# This is also used if you do content translation via gettext catalogs.
354+# Usually you set "language" from the command line for these cases.
355+language = None
356+
357+# There are two options for replacing |today|: either, you set today to some
358+# non-false value, then it is used:
359+#today = ''
360+# Else, today_fmt is used as the format for a strftime call.
361+#today_fmt = '%B %d, %Y'
362+
363+# List of patterns, relative to source directory, that match files and
364+# directories to ignore when looking for source files.
365+exclude_patterns = ['_build']
366+
367+# The reST default role (used for this markup: `text`) to use for all
368+# documents.
369+#default_role = None
370+
371+# If true, '()' will be appended to :func: etc. cross-reference text.
372+#add_function_parentheses = True
373+
374+# If true, the current module name will be prepended to all description
375+# unit titles (such as .. function::).
376+#add_module_names = True
377+
378+# If true, sectionauthor and moduleauthor directives will be shown in the
379+# output. They are ignored by default.
380+#show_authors = False
381+
382+# The name of the Pygments (syntax highlighting) style to use.
383+pygments_style = 'sphinx'
384+
385+# A list of ignored prefixes for module index sorting.
386+#modindex_common_prefix = []
387+
388+# If true, keep warnings as "system message" paragraphs in the built documents.
389+#keep_warnings = False
390+
391+# If true, `todo` and `todoList` produce output, else they produce nothing.
392+todo_include_todos = True
393+
394+
395+# -- Options for HTML output ----------------------------------------------
396+
397+# The theme to use for HTML and HTML Help pages. See the documentation for
398+# a list of builtin themes.
399+html_theme = 'sphinx_rtd_theme'
400+
401+# Theme options are theme-specific and customize the look and feel of a theme
402+# further. For a list of options available for each theme, see the
403+# documentation.
404+#html_theme_options = {}
405+
406+# Add any paths that contain custom themes here, relative to this directory.
407+#html_theme_path = []
408+
409+# The name for this set of Sphinx documents. If None, it defaults to
410+# "<project> v<release> documentation".
411+#html_title = None
412+
413+# A shorter title for the navigation bar. Default is the same as html_title.
414+#html_short_title = None
415+
416+# The name of an image file (relative to this directory) to place at the top
417+# of the sidebar.
418+#html_logo = None
419+
420+# The name of an image file (relative to this directory) to use as a favicon of
421+# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
422+# pixels large.
423+#html_favicon = None
424+
425+# Add any paths that contain custom static files (such as style sheets) here,
426+# relative to this directory. They are copied after the builtin static files,
427+# so a file named "default.css" will overwrite the builtin "default.css".
428+html_static_path = ['_static']
429+
430+# Add any extra paths that contain custom files (such as robots.txt or
431+# .htaccess) here, relative to this directory. These files are copied
432+# directly to the root of the documentation.
433+#html_extra_path = []
434+
435+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
436+# using the given strftime format.
437+#html_last_updated_fmt = '%b %d, %Y'
438+
439+# If true, SmartyPants will be used to convert quotes and dashes to
440+# typographically correct entities.
441+#html_use_smartypants = True
442+
443+# Custom sidebar templates, maps document names to template names.
444+#html_sidebars = {}
445+
446+# Additional templates that should be rendered to pages, maps page names to
447+# template names.
448+#html_additional_pages = {}
449+
450+# If false, no module index is generated.
451+#html_domain_indices = True
452+
453+# If false, no index is generated.
454+#html_use_index = True
455+
456+# If true, the index is split into individual pages for each letter.
457+#html_split_index = False
458+
459+# If true, links to the reST sources are added to the pages.
460+#html_show_sourcelink = True
461+
462+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
463+#html_show_sphinx = True
464+
465+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
466+#html_show_copyright = True
467+
468+# If true, an OpenSearch description file will be output, and all pages will
469+# contain a <link> tag referring to it. The value of this option must be the
470+# base URL from which the finished HTML is served.
471+#html_use_opensearch = ''
472+
473+# This is the file name suffix for HTML files (e.g. ".xhtml").
474+#html_file_suffix = None
475+
476+# Language to be used for generating the HTML full-text search index.
477+# Sphinx supports the following languages:
478+# 'da', 'de', 'en', 'es', 'fi', 'fr', 'h', 'it', 'ja'
479+# 'nl', 'no', 'pt', 'ro', 'r', 'sv', 'tr'
480+#html_search_language = 'en'
481+
482+# A dictionary with options for the search language support, empty by default.
483+# Now only 'ja' uses this config value
484+#html_search_options = {'type': 'default'}
485+
486+# The name of a javascript file (relative to the configuration directory) that
487+# implements a search results scorer. If empty, the default will be used.
488+#html_search_scorer = 'scorer.js'
489+
490+# Output file base name for HTML help builder.
491+htmlhelp_basename = 'txfixturesdoc'
492+
493+# -- Options for LaTeX output ---------------------------------------------
494+
495+latex_elements = {
496+# The paper size ('letterpaper' or 'a4paper').
497+#'papersize': 'letterpaper',
498+
499+# The font size ('10pt', '11pt' or '12pt').
500+#'pointsize': '10pt',
501+
502+# Additional stuff for the LaTeX preamble.
503+#'preamble': '',
504+
505+# Latex figure (float) alignment
506+#'figure_align': 'htbp',
507+}
508+
509+# Grouping the document tree into LaTeX files. List of tuples
510+# (source start file, target name, title,
511+# author, documentclass [howto, manual, or own class]).
512+latex_documents = [
513+ (master_doc, 'txfixtures.tex', 'txfixtures Documentation',
514+ 'Free Ekanayaka', 'manual'),
515+]
516+
517+# The name of an image file (relative to this directory) to place at the top of
518+# the title page.
519+#latex_logo = None
520+
521+# For "manual" documents, if this is true, then toplevel headings are parts,
522+# not chapters.
523+#latex_use_parts = False
524+
525+# If true, show page references after internal links.
526+#latex_show_pagerefs = False
527+
528+# If true, show URL addresses after external links.
529+#latex_show_urls = False
530+
531+# Documents to append as an appendix to all manuals.
532+#latex_appendices = []
533+
534+# If false, no module index is generated.
535+#latex_domain_indices = True
536+
537+
538+# -- Options for manual page output ---------------------------------------
539+
540+# One entry per manual page. List of tuples
541+# (source start file, name, description, authors, manual section).
542+man_pages = [
543+ (master_doc, 'txfixtures', 'txfixtures Documentation',
544+ [author], 1)
545+]
546+
547+# If true, show URL addresses after external links.
548+#man_show_urls = False
549+
550+
551+# -- Options for Texinfo output -------------------------------------------
552+
553+# Grouping the document tree into Texinfo files. List of tuples
554+# (source start file, target name, title, author,
555+# dir menu entry, description, category)
556+texinfo_documents = [
557+ (master_doc, 'txfixtures', 'txfixtures Documentation',
558+ author, 'txfixtures', 'One line description of project.',
559+ 'Miscellaneous'),
560+]
561+
562+# Documents to append as an appendix to all manuals.
563+#texinfo_appendices = []
564+
565+# If false, no module index is generated.
566+#texinfo_domain_indices = True
567+
568+# How to display URL addresses: 'footnote', 'no', or 'inline'.
569+#texinfo_show_urls = 'footnote'
570+
571+# If true, do not generate a @detailmenu in the "Top" node's menu.
572+#texinfo_no_detailmenu = False
573+
574+intersphinx_mapping = {
575+ 'python': ('https://docs.python.org/3.5', None),
576+ 'twisted': ('http://twistedmatrix.com/documents/current/api', None),
577+ 'testtools': ('https://testtools.readthedocs.io/en/latest/', None),
578+}
579
580=== added file 'doc/index.rst'
581--- doc/index.rst 1970-01-01 00:00:00 +0000
582+++ doc/index.rst 2016-11-22 09:04:15 +0000
583@@ -0,0 +1,32 @@
584+.. txreactorfixture documentation master file, created by
585+ sphinx-quickstart on Wed Nov 9 19:33:32 2016.
586+ You can adapt this file completely to your liking, but it should at least
587+ contain the root `toctree` directive.
588+
589+Twisted integration with Python Testfixtures
590+============================================
591+
592+txfixtures hooks into the testtools `test fixture`_ interface, so that you can
593+write tests that rely on having an external Twisted daemon.
594+
595+See:
596+
597+* https://launchpad.net/txfixtures
598+* https://launchpad.net/testtools
599+
600+Contents:
601+
602+.. toctree::
603+ :maxdepth: 2
604+
605+
606+
607+Indices and tables
608+==================
609+
610+* :ref:`genindex`
611+* :ref:`modindex`
612+* :ref:`search`
613+
614+.. _`test fixture`: http://testtools.readthedocs.io/en/latest/for-test-authors.html#fixtures
615+
616
617=== modified file 'setup.py'
618--- setup.py 2011-12-01 21:09:30 +0000
619+++ setup.py 2016-11-22 09:04:15 +0000
620@@ -16,7 +16,7 @@
621
622 def get_long_description():
623 readme_path = os.path.join(
624- os.path.dirname(__file__), 'README')
625+ os.path.dirname(__file__), 'README.rst')
626 return open(readme_path).read()
627
628

Subscribers

People subscribed via source and target branches

to all changes: