Skip to content

Commit

Permalink
fix(conf.py): clear rst2pdf
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyame committed Sep 2, 2020
1 parent 0839e9b commit db1e86c
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
# import sys
# sys.path.insert(0, os.path.abspath('.'))
import sphinx_rtd_theme
import rst2pdf
import recommonmark
# import rst2pdf
# import recommonmark
# -- Project information -----------------------------------------------------

project = 'tweetToBot'
Expand All @@ -35,7 +35,7 @@
"sphinx_rtd_theme",
"recommonmark",
"sphinx.ext.autodoc",
"rst2pdf.pdfbuilder"
# "rst2pdf.pdfbuilder"
]

# Add any paths that contain templates here, relative to this directory.
Expand Down Expand Up @@ -87,27 +87,27 @@
# would mean that specific document would be compressed
# regardless of the global pdf_compressed setting.

pdf_documents = [
('index', u'tweetToBotHandbook', u'tweetToBot Handbook', u'Cyame & Chenxuan353'),
]
# pdf_documents = [
# ('index', u'tweetToBotHandbook', u'tweetToBot Handbook', u'Cyame & Chenxuan353'),
# ]

# A comma-separated list of custom stylesheets. Example:
pdf_stylesheets = ['a3','zh_cn','sphinx']
# pdf_stylesheets = ['a3','zh_cn','sphinx']

# Create a compressed PDF
# Use True/False or 1/0
# Example: compressed=True
#pdf_compressed = False

# A colon-separated list of folders to search for fonts. Example:
pdf_font_path = ['_static']
# pdf_font_path = ['_static']

# Language to be used for hyphenation support
pdf_language = "zh_cn"
# pdf_language = "zh_cn"

# Mode for literal blocks wider than the frame. Can be
# overflow, shrink or truncate
pdf_fit_mode = "shrink"
# pdf_fit_mode = "shrink"

# Section level that forces a break page.
# For example: 1 means top-level sections start in a new page
Expand Down Expand Up @@ -155,13 +155,13 @@
# pdf_use_toc = False

# How many levels deep should the table of contents be?
pdf_toc_depth = 1
# pdf_toc_depth = 1

# Add section number to section references
pdf_use_numbered_links = False
# pdf_use_numbered_links = False

# Background images fitting mode
pdf_fit_background_mode = 'scale'
# pdf_fit_background_mode = 'scale'



Expand Down

0 comments on commit db1e86c

Please sign in to comment.