summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSteve Piercy <web@stevepiercy.com>2018-05-16 14:09:29 -0700
committerSteve Piercy <web@stevepiercy.com>2018-05-16 14:09:29 -0700
commit1c2e9d014177c304df9b49fc964781b0967552e7 (patch)
treeda3dcca127b0405b272b20c29a15c0e0e336a97d /docs
parentd4be9a573c575ae38f38325e3e8332eb399ae87e (diff)
downloadpyramid-1c2e9d014177c304df9b49fc964781b0967552e7.tar.gz
pyramid-1c2e9d014177c304df9b49fc964781b0967552e7.tar.bz2
pyramid-1c2e9d014177c304df9b49fc964781b0967552e7.zip
Remove lazy commenting.
If a printed book format is ever desired again, then there are commits in the history that can be used as a reference and adapted for however it should be done in the future.
Diffstat (limited to 'docs')
-rw-r--r--docs/conf.py41
1 files changed, 0 insertions, 41 deletions
diff --git a/docs/conf.py b/docs/conf.py
index c0cb2bdcb..993711807 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -290,14 +290,6 @@ _PREAMBLE = r"""
\definecolor{VerbatimColor}{rgb}{1,1,1}
\definecolor{VerbatimBorderColor}{rgb}{1,1,1}
-% mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch)
-% \makeatletter
-% \renewcommand{\py@noticestart@warning}{\py@heavybox}
-% \renewcommand{\py@noticeend@warning}{\py@endheavybox}
-% \renewcommand{\py@noticestart@note}{\py@heavybox}
-% \renewcommand{\py@noticeend@note}{\py@endheavybox}
-% \makeatother
-
% icons in note and warning boxes
\usepackage{ifthen}
@@ -334,8 +326,6 @@ _PREAMBLE = r"""
latex_elements = {
'preamble': _PREAMBLE,
-# mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch)
-# 'wrapperclass': 'book',
'date': '',
'releasename': 'Version',
'title': r'The Pyramid Web Framework',
@@ -359,18 +349,6 @@ def frontmatter(name, arguments, options, content, lineno,
content_offset, block_text, state, state_machine):
return [nodes.raw(
'',
- r"""
-% mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch)
-% \frontmatter
-% prevent part/chapter/section numbering
-% \setcounter{secnumdepth}{-2}
-% suppress headers
-% \pagestyle{plain}
-% reset page counter
-% \setcounter{page}{1}
-% suppress first toc pagenum
-% \addtocontents{toc}{\protect\thispagestyle{empty}}
-""",
format='latex')]
@@ -378,20 +356,6 @@ def mainmatter(name, arguments, options, content, lineno,
content_offset, block_text, state, state_machine):
return [nodes.raw(
'',
- r"""
-% mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch)
-% \mainmatter
-% allow part/chapter/section numbering
-% \setcounter{secnumdepth}{2}
-% get headers back
-% \pagestyle{fancy}
-% \fancyhf{}
-% \renewcommand{\headrulewidth}{0.5pt}
-% \renewcommand{\footrulewidth}{0pt}
-% \fancyfoot[C]{\thepage}
-% \fancyhead[RO]{\rightmark}
-% \fancyhead[LE]{\leftmark}
-""",
format='latex')]
@@ -399,11 +363,6 @@ def backmatter(name, arguments, options, content, lineno,
content_offset, block_text, state, state_machine):
return [nodes.raw(
'',
- r"""
-% mcdonc commented as part of lazy pdf fixing (pdf_rendering_fixes branch)
-% \backmatter
-% \setcounter{secnumdepth}{-1}
- """,
format='latex')]