diff --git a/scripts/pdf/render.py b/scripts/pdf/render.py index 220b679e9e..00e22761dd 100644 --- a/scripts/pdf/render.py +++ b/scripts/pdf/render.py @@ -1,8 +1,10 @@ #!/usr/bin/env python3 -# A Python script to generate a single PDF document with all the `tldr` pages. It works by generating -# intermediate HTML files from existing md files using Python-markdown, applying desired formatting -# through CSS, and finally rendering them as PDF. There is no LaTeX dependency for generating the PDF. +""" +A Python script to generate a single PDF document with all the `tldr` pages. It works by generating +intermediate HTML files from existing md files using Python-markdown, applying desired formatting +through CSS, and finally rendering them as PDF. There is no LaTeX dependency for generating the PDF. +""" import os import sys @@ -47,8 +49,6 @@ def main(loc, colorscheme): for operating_sys in oslist: - i = 1 - # Required string to create directory title pages dir_title = "