From 3e4b951bf1cf5706414c217ba8d68d6dbf2269f0 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Wed, 17 May 2017 15:02:52 +0100 Subject: [PATCH] Change file names --- md_pdf/build/__init__.py | 4 ++-- md_pdf/build/{template.py => content.py} | 0 md_pdf/build/pdf.py | 2 +- md_pdf/build/{cover.py => templates.py} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename md_pdf/build/{template.py => content.py} (100%) rename md_pdf/build/{cover.py => templates.py} (100%) diff --git a/md_pdf/build/__init__.py b/md_pdf/build/__init__.py index 5b9f885..daf9f3e 100644 --- a/md_pdf/build/__init__.py +++ b/md_pdf/build/__init__.py @@ -1,9 +1,9 @@ from md_pdf.build.md import read_files from md_pdf.build.pandoc import build_document, output_html -from md_pdf.build.cover import render_cover +from md_pdf.build.templates import render_cover from md_pdf.build.css import render_css from md_pdf.build.pdf import export_pdf -from md_pdf.build.template import parse_template +from md_pdf.build.content import parse_template import os import logging import time diff --git a/md_pdf/build/template.py b/md_pdf/build/content.py similarity index 100% rename from md_pdf/build/template.py rename to md_pdf/build/content.py diff --git a/md_pdf/build/pdf.py b/md_pdf/build/pdf.py index 07ecb19..896c990 100644 --- a/md_pdf/build/pdf.py +++ b/md_pdf/build/pdf.py @@ -1,6 +1,6 @@ import pdfkit from md_pdf.consts import TEMPLATES_DIR, STATIC_DIR -from md_pdf.build.cover import OUTPUT_COVER_FILE +from md_pdf.build.templates import OUTPUT_COVER_FILE import os import logging diff --git a/md_pdf/build/cover.py b/md_pdf/build/templates.py similarity index 100% rename from md_pdf/build/cover.py rename to md_pdf/build/templates.py