Skip to content
Permalink
Browse files

REF: Reduce head whitespace in pdf template output

  • Loading branch information...
kernc committed Apr 22, 2019
1 parent 4faccce commit 183c37fe4bbe9a32b2c8aa1033855856395ea338
Showing with 13 additions and 13 deletions.
  1. +13 −13 pdoc/templates/pdf.mako
@@ -1,16 +1,3 @@
---
description: |
API documentation for modules: ${', '.join(m.name for m in modules)}.

lang: en

classoption: oneside
geometry: margin=1in
papersize: a4

linkcolor: blue
links-as-notes: true
...
<%!
import re
import pdoc
@@ -59,6 +46,19 @@ ${('#' * level) + ' ' + string + id}
> `class ${c.name}(${', '.join(c.params(annotate=show_type_annotations))})`
</%def>

---
description: |
API documentation for modules: ${', '.join(m.name for m in modules)}.

lang: en

classoption: oneside
geometry: margin=1in
papersize: a4

linkcolor: blue
links-as-notes: true
...
% for module in modules:
<%
submodules = module.submodules()

0 comments on commit 183c37f

Please sign in to comment.
You can’t perform that action at this time.