~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/conf.py

  • Committer: Patch Queue Manager
  • Date: 2015-09-30 16:43:21 UTC
  • mfrom: (6603.2.2 fix-keep-dirty)
  • Revision ID: pqm@pqm.ubuntu.com-20150930164321-ct2v2qnmvimqt8qf
(vila) Avoid associating dirty patch headers with the previous file in the
 patch. (Colin Watson)

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
sys.path = [os.path.abspath('../..')] + sys.path
14
14
 
15
15
# Most of the configuration for Bazaar docs is defined here ...
16
 
from bzrlib.doc_generate.sphinx_conf import *
17
 
 
 
16
from bzrlib.doc_generate.conf import *
18
17
 
19
18
## Configuration specific to this site ##
20
19
 
48
47
# Output file base name for HTML help builder.
49
48
htmlhelp_basename = 'bzr-%s' % (bzr_locale,)
50
49
 
51
 
# Grouping the document tree into LaTeX files. List of tuples
 
50
# Grouping the document tree into files. List of tuples
52
51
# (source start file, target name, title, author, documentclass [howto/manual]).
53
 
latex_documents = [
 
52
bzr_documents = [
54
53
  # Manuals
55
 
  ('user-guide/index', 'bzr-%s-user-guide.tex' % (bzr_locale,),
 
54
  ('user-guide/index', 'bzr-%s-user-guide' % (bzr_locale,),
56
55
    bzr_title(u'Bazaar User Guide'), bzr_team, 'manual'),
57
 
  ('user-reference/bzr_man', 'bzr-%s-user-reference.tex' % (bzr_locale,),
 
56
  ('user-reference/index', 'bzr-%s-user-reference' % (bzr_locale,),
58
57
    bzr_title(u'Bazaar User Reference'), bzr_team, 'manual'),
59
 
  ('release-notes/NEWS', 'bzr-%s-release-notes.tex' % (bzr_locale,),
 
58
  ('release-notes/index', 'bzr-%s-release-notes' % (bzr_locale,),
60
59
    bzr_title(u'Bazaar Release Notes'), bzr_team, 'manual'),
61
 
  ('upgrade-guide/index', 'bzr-%s-upgrade-guide.tex' % (bzr_locale,),
 
60
  ('upgrade-guide/index', 'bzr-%s-upgrade-guide' % (bzr_locale,),
62
61
    bzr_title(u'Bazaar Upgrade Guide'), bzr_team, 'manual'),
63
 
  ('admin-guide/index', 'bzr-%s-admin-guide.tex' % (bzr_locale,),
 
62
  ('admin-guide/index', 'bzr-%s-admin-guide' % (bzr_locale,),
64
63
    bzr_title(u"Bazaar System Administrator's Guide"), bzr_team, 'manual'),
65
64
  # Tutorials
66
 
  ('mini-tutorial/index', 'bzr-%s-tutorial-mini.tex' % (bzr_locale,),
 
65
  ('mini-tutorial/index', 'bzr-%s-tutorial-mini' % (bzr_locale,),
67
66
    bzr_title(u'Bazaar in five minutes'), bzr_team, 'howto'),
68
 
  ('tutorials/tutorial', 'bzr-%s-tutorial.tex' % (bzr_locale,),
 
67
  ('tutorials/tutorial', 'bzr-%s-tutorial' % (bzr_locale,),
69
68
    bzr_title(u'Bazaar Tutorial'), bzr_team, 'howto'),
70
69
  ('tutorials/using_bazaar_with_launchpad',
71
 
    'bzr-%s-tutorial-with-launchpad.tex' % (bzr_locale,),
 
70
    'bzr-%s-tutorial-with-launchpad' % (bzr_locale,),
72
71
    bzr_title(u'Using Bazaar With Launchpad'), bzr_team, 'howto'),
73
72
  ('tutorials/centralized_workflow',
74
 
    'bzr-%s-tutorial-centralized.tex' % (bzr_locale,),
 
73
    'bzr-%s-tutorial-centralized' % (bzr_locale,),
75
74
    bzr_title(u'Centralized Workflow Tutorial'), bzr_team, 'howto'),
76
 
  ('whats-new/whats-new-in-2.1', 'bzr-%s-whats-new.tex' % (bzr_locale,),
 
75
  ('whats-new/whats-new-in-2.1', 'bzr-%s-whats-new' % (bzr_locale,),
77
76
    bzr_title(u"What's New in Bazaar 2.1?"), bzr_team, 'howto'),
78
77
]
79
78
 
 
79
latex_documents = [
 
80
    (start, target+'.tex', title, author, doc_class)
 
81
    for start, target, title, author, doc_class in bzr_documents
 
82
    ]
 
83
 
 
84
texinfo_documents = [
 
85
    (start, target, title, author, doc_class)
 
86
    for start, target, title, author, doc_class in bzr_documents
 
87
    ]
 
88
 
80
89
# List of documents that shouldn't be included in the build.
81
90
unused_docs = [
82
91
    # Subtopics that get included
88
97
    'user-reference/bzr_man',
89
98
    'user-guide/index-plain',
90
99
    'admin-guide/index-plain',
 
100
    # Templates
 
101
    'release-notes/release-template',
 
102
    'release-notes/series-template',
91
103
    # Miscellaneous
92
104
    'user-reference/readme',
93
105
]