Browse Source

Disable PDF building.

Jelmer Vernooij 5 years ago
parent
commit
7cc90f00dc
1 changed files with 0 additions and 15 deletions
  1. 0 15
      docs/conf.py

+ 0 - 15
docs/conf.py

@@ -32,13 +32,6 @@ extensions = [
     'sphinx.ext.intersphinx',
     'sphinx.ext.napoleon',
     ]
-try:
-    import rst2pdf
-    if rst2pdf.version >= '0.16':
-        extensions.append('rst2pdf.pdfbuilder')
-except ImportError:
-    print("[NOTE] In order to build PDF you need rst2pdf with version >=0.16")
-
 
 autoclass_content = "both"
 
@@ -213,11 +206,3 @@ latex_documents = [
 
 # If false, no module index is generated.
 # latex_use_modindex = True
-
-pdf_documents = [
-    ('index', u'dulwich', u'Documentation for dulwich',
-        u'Jelmer Vernooij'),
-]
-pdf_stylesheets = ['sphinx', 'kerning', 'a4']
-pdf_break_level = 2
-pdf_inline_footnotes = True