6 Commits a8bc3a210f ... d61a5e706f

Autor SHA1 Mensagem Data
  Justin Mayer d61a5e706f Add FUNDING links 3 anos atrás
  botpub 816ce9d23c Release PDF Generator 1.0.0 3 anos atrás
  Justin Mayer 71252a7cc6 Prepare release 3 anos atrás
  Justin Mayer be081e4ba4 Remove upper bounds on dependency package versions 3 anos atrás
  Justin Mayer ce830bc192 Tweak README 3 anos atrás
  Justin Mayer 8f7f9d58de Update development dependencies 3 anos atrás
5 arquivos alterados com 27 adições e 15 exclusões
  1. 2 0
      .github/FUNDING.yml
  2. 5 3
      .pre-commit-config.yaml
  3. 8 0
      CHANGELOG.md
  4. 5 5
      README.md
  5. 7 7
      pyproject.toml

+ 2 - 0
.github/FUNDING.yml

@@ -0,0 +1,2 @@
+custom: https://donate.getpelican.com
+liberapay: pelican

+ 5 - 3
.pre-commit-config.yaml

@@ -1,3 +1,4 @@
+---
 # See https://pre-commit.com/hooks.html for info on hooks
 repos:
   - repo: https://github.com/pre-commit/pre-commit-hooks
@@ -6,11 +7,13 @@ repos:
       - id: check-added-large-files
       - id: check-ast
       - id: check-case-conflict
+      - id: check-merge-conflict
       - id: check-toml
       - id: check-yaml
       - id: debug-statements
       - id: detect-private-key
       - id: end-of-file-fixer
+      - id: forbid-new-submodules
       - id: trailing-whitespace
 
   - repo: https://github.com/psf/black
@@ -19,13 +22,12 @@ repos:
       - id: black
 
   - repo: https://gitlab.com/pycqa/flake8
-    rev: 3.8.4
+    rev: 3.9.0
     hooks:
       - id: flake8
         args: [--max-line-length=88]
-        language_version: python3.6
 
   - repo: https://github.com/PyCQA/isort
-    rev: 5.7.0
+    rev: 5.8.0
     hooks:
       - id: isort

+ 8 - 0
CHANGELOG.md

@@ -0,0 +1,8 @@
+CHANGELOG
+=========
+
+1.0.0 - 2021-04-04
+------------------
+
+Initial release as namespace plugin
+

+ 5 - 5
README.md

@@ -20,8 +20,8 @@ Usage
 
 To customize the PDF output, you can use the following settings in your Pelican configuration file:
 
-	PDF_STYLE = ''
-	PDF_STYLE_PATH = ''
+	PDF_STYLE = ""
+	PDF_STYLE_PATH = ""
 
 `PDF_STYLE_PATH` defines a new path where *rst2pdf* will look for style sheets, while `PDF_STYLE` specifies the style you want to use.
 For a description of the available styles, please read the [rst2pdf documentation](http://rst2pdf.ralsina.me/handbook.html#styles).
@@ -29,12 +29,12 @@ For a description of the available styles, please read the [rst2pdf documentatio
 Known Issues
 ------------
 
-Relative links in the form of `|filename|images/test.png` are not yet handled by the PDF generator.
+Intra-site link syntax in the form of `{filename}images/test.png` is not yet handled by the PDF generator.
 
 Contributors
 ------------
 
-Contributors include: Kyle Mahan, Renato Cunha, dpetzel, Justin Mayer, and Lucas Cimon
+Contributors include: Dominik Wombacher, Justin Mayer, Kyle Mahan, Renato Cunha, dpetzel, and Lucas Cimon
 
 Contributing
 ------------
@@ -49,4 +49,4 @@ To start contributing to this plugin, review the [Contributing to Pelican][] doc
 License
 -------
 
-This project is licensed under the AGPL-3.0 license.
+This project is licensed under the AGPL 3.0 license.

+ 7 - 7
pyproject.toml

@@ -1,7 +1,7 @@
 [tool.poetry]
 name = "pelican-pdf"
-version = "0.0.0"
-description = "The PDF Generator plugin automatically exports articles and pages as PDF files as part of the site generation process"
+version = "1.0.0"
+description = "PDF Generator is a Pelican plugin that exports articles and pages as PDF files during site generation"
 authors = ["Pelican Dev Team <authors@getpelican.com>"]
 license = "AGPL-3.0"
 readme = "README.md"
@@ -29,14 +29,14 @@ classifiers = [
 
 [tool.poetry.dependencies]
 python = "^3.6"
-pelican = "^4.5"
-markdown = {version = "^3.2.2", optional = true}
-rst2pdf = "^0.98"
-xhtml2pdf = "^0.2.5"
+pelican = ">=4.5"
+markdown = {version = ">=3.2.2", optional = true}
+rst2pdf = ">=0.98"
+xhtml2pdf = ">=0.2.5"
 
 [tool.poetry.dev-dependencies]
 black = {version = "^19.10b0", allow-prereleases = true}
-flake8 = "^3.8"
+flake8 = "^3.9"
 flake8-black = "^0.2.0"
 invoke = "^1.3"
 isort = "^5.4"