/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/developers/conf.py

  • Committer: Vincent Ladeuil
  • Date: 2009-04-11 16:06:53 UTC
  • mto: (4286.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4287.
  • Revision ID: v.ladeuil+lp@free.fr-20090411160653-eq1gfn41q3lzhmss
Cleanup test imports and use features to better track skipped tests.

* bzrlib/tests/workingtree_implementations/__init__.py: 
Fix imports. Delete obsolete comment.

* bzrlib/tests/tree_implementations/test_walkdirs.py:
(TestWalkdirs.get_all_subdirs_expected): Reduce duplication.

* bzrlib/tests/tree_implementations/test_test_trees.py: 
Fix import.

* bzrlib/tests/tree_implementations/test_path_content_summary.py: 
Fix imports.

(TestPathContentSummary.test_unicode_symlink_content_summary,
TestPathContentSummary.test_unicode_symlink_target_summary):Use
UnicodeFilenameFeature instead of try/except UnicodeError.

* bzrlib/tests/tree_implementations/test_inv.py: 
Fix imports.
(TestInventoryWithSymlinks): Factor out test that requires
symlinks and use _test_needs_features.
(TestInventory.test_canonical_path,
TestInventory.test_canonical_path_dir,
TestInventory.test_canonical_path_root,
TestInventory.test_canonical_path_invalid_all,
TestInventory.test_canonical_invalid_child): Use assert(expected,
actual)

* bzrlib/tests/tree_implementations/test_get_symlink_target.py: 
Fix imports.
(TestGetSymlinkTarget.test_get_unicode_symlink_target): Use
UnicodeFilenameFeature instead of try/except UnicodeError.

* bzrlib/tests/tree_implementations/__init__.py: 
Fix imports.

(TestCaseWithTree.get_tree_with_subdirs_and_all_supported_content_types,
TestCaseWithTree._create_tree_with_utf8): Use
UnicodeFilenameFeature instead of try/except UnicodeError.

* bzrlib/tests/test_workingtree_4.py:
Fix too long lines.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# -*- coding: utf-8 -*-
2
 
#
3
 
# Bazaar documentation build configuration file, created by
4
 
# sphinx-quickstart on Tue Jul 21 17:04:52 2009.
5
 
#
6
 
# This file is execfile()d with the current directory set to its containing dir.
7
 
 
8
 
import sys, os
9
 
 
10
 
# If extensions (or modules to document with autodoc) are in another directory,
11
 
# add these directories to sys.path here. If the directory is relative to the
12
 
# documentation root, use os.path.abspath to make it absolute, like shown here.
13
 
sys.path = [os.path.abspath('../..')] + sys.path
14
 
 
15
 
# Most of the configuration for Bazaar docs is defined here ...
16
 
from bzrlib.doc_generate.sphinx_conf import *
17
 
 
18
 
 
19
 
## Configuration specific to this site ##
20
 
 
21
 
# The locale code for this documentation set
22
 
bzr_locale = 'en'
23
 
 
24
 
# A shorter title for the navigation bar.  Default is the same as html_title.
25
 
html_short_title = u"Developer Document Catalog (%s)" % (release,)
26
 
 
27
 
# Additional templates that should be rendered to pages, maps page names to
28
 
# template names.
29
 
#html_additional_pages = {'index': 'index.html'}
30
 
 
31
 
# Output file base name for HTML help builder.
32
 
htmlhelp_basename = 'bzr-developers'
33
 
 
34
 
# Grouping the document tree into LaTeX files. List of tuples
35
 
# (source start file, target name, title, author, documentclass [howto/manual]).
36
 
latex_documents = [
37
 
  ('HACKING', 'bzr-en-developer-guide.tex', u'Bazaar Developer Guide',
38
 
   u'Bazaar Developers', 'manual'),
39
 
  ('testing', 'bzr-en-testing-guide.tex', u'Bazaar Testing Guide',
40
 
   u'Bazaar Developers', 'manual'),
41
 
  ('overview', 'bzr-en-architecture-overview.tex', u'Bazaar Architecture Overview',
42
 
   u'Bazaar Developers', 'howto'),
43
 
  ('integration', 'bzr-en-integration-guide.tex', u'Bazaar Integration Guide',
44
 
   u'Bazaar Developers', 'howto'),
45
 
]
46
 
 
47
 
# List of documents that shouldn't be included in the build.
48
 
# Note: Maybe some of them *ought* to be linked in somewhere?
49
 
unused_docs = [
50
 
  'add',
51
 
  'annotate',
52
 
  'bundle-creation',
53
 
  'bundle-format4',
54
 
  'check',
55
 
  'commit',
56
 
  'diff',
57
 
  'directory-fingerprints',
58
 
  'gc',
59
 
  'index-plain',
60
 
  'incremental-push-pull',
61
 
  'initial-push-pull',
62
 
  'merge-scaling',
63
 
  'missing',
64
 
  'performance-roadmap-rationale',
65
 
  'performance-use-case-analysis',
66
 
  'planned-change-integration',
67
 
  'planned-performance-changes',
68
 
  'revert',
69
 
  'status',
70
 
  'uncommit',
71
 
]