~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/developers/conf.py

  • Committer: Vincent Ladeuil
  • Date: 2016-02-07 18:23:13 UTC
  • mto: (6615.3.1 2.7)
  • mto: This revision was merged to the branch mainline in revision 6620.
  • Revision ID: v.ladeuil+lp@free.fr-20160207182313-jwz7z3vj4mpyjn7y
Ensure http://pad.lv/1323805 won't come back.

Since the 2.6.0 release pypi policy changed and release tarballs can't be
hosted on launchpad anymore, they have to be uploaded to
http://pypi.python.org/pypi


This fixes setup.py sdist to generate the right tarball with nearly the same
content as the one produced for 2.7.0.

Such a tarball have been uploaded to pypi properly signed and tested for
installation in venv.

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 *
 
16
from bzrlib.doc_generate.conf import *
17
17
 
18
18
 
19
19
## Configuration specific to this site ##
33
33
 
34
34
# Grouping the document tree into LaTeX files. List of tuples
35
35
# (source start file, target name, title, author, documentclass [howto/manual]).
 
36
bzr_documents = [
 
37
  ('HACKING', 'bzr-en-developer-guide', u'Bazaar Developer Guide',
 
38
   u'Bazaar Developers', 'manual'),
 
39
  ('testing', 'bzr-en-testing-guide', u'Bazaar Testing Guide',
 
40
   u'Bazaar Developers', 'manual'),
 
41
  ('overview', 'bzr-en-architecture-overview', u'Bazaar Architecture Overview',
 
42
   u'Bazaar Developers', 'howto'),
 
43
  ('integration', 'bzr-en-integration-guide', u'Bazaar Integration Guide',
 
44
   u'Bazaar Developers', 'howto'),
 
45
]
 
46
 
36
47
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
 
]
 
48
    (start, target+'.tex', title, author, doc_class)
 
49
    for start, target, title, author, doc_class in bzr_documents
 
50
    ]
 
51
 
 
52
texinfo_documents = [
 
53
    (start, target, title, author, doc_class)
 
54
    for start, target, title, author, doc_class in bzr_documents
 
55
    ]
46
56
 
47
57
# List of documents that shouldn't be included in the build.
48
58
# Note: Maybe some of them *ought* to be linked in somewhere?