aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGertjan van den Burg <gertjanvandenburg@gmail.com>2020-02-04 11:10:07 +0000
committerGertjan van den Burg <gertjanvandenburg@gmail.com>2020-02-04 11:10:07 +0000
commit219b0d756faefb737cd6c65c27af32fe7661535e (patch)
tree9a389e0dce46ff20ad199108e159dbc4adafa500
parentRemove unnecessary print statement (diff)
downloadpaper2remarkable-219b0d756faefb737cd6c65c27af32fe7661535e.tar.gz
paper2remarkable-219b0d756faefb737cd6c65c27af32fe7661535e.zip
Bump version and update changelogv0.5.1
-rw-r--r--CHANGELOG.md5
-rw-r--r--README.md9
-rw-r--r--paper2remarkable/__version__.py2
3 files changed, 10 insertions, 6 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a888340..898f7da 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog
+## Version 0.5.1
+
+* Automatically detect when a HTML source is provided
+ ([#24](https://github.com/GjjvdBurg/paper2remarkable/pull/24))
+
## Version 0.5.0
* Add support for articles from the web using the ``--html`` flag
diff --git a/README.md b/README.md
index 027cf78..e639864 100644
--- a/README.md
+++ b/README.md
@@ -13,7 +13,7 @@ $ p2r https://arxiv.org/abs/1811.11242
There is also support for transferring an article from a website:
```
-$ p2r --html https://hbr.org/2019/11/getting-your-team-to-do-more-than-meet-deadlines
+$ p2r https://hbr.org/2019/11/getting-your-team-to-do-more-than-meet-deadlines
```
The script can be run through the ``p2r`` command line program or via Docker
@@ -32,11 +32,11 @@ reMarkable from any of the following sources:
* [SpringerLink](https://link.springer.com/)
* A generic URL to a PDF file
* A local PDF file
-* Any article on a website (using ``--html``)
+* Any article on a website
The program aims to be flexible to the exact source URL, so for many of the
academic sources you can either provide a URL to the abstract page or to the
-PDF file. If you have an source that you would like to see added to the list,
+PDF file. If you have an source that you would like to see added to the list,
let me know!
``paper2remarkable`` takes the source URL and:
@@ -66,14 +66,13 @@ usage: p2r [-h] [-t] [-b] [-c] [-d] [-n] [-p REMARKABLE_DIR] [-v] [-V]
[--rmapi RMAPI]
input
-Paper2reMarkable version 0.5.0
+Paper2reMarkable version 0.5.1
positional arguments:
input URL to a paper or the path of a local PDF file
optional arguments:
-h, --help show this help message and exit
- -t, --html URL is to a HTML article instead of a PDF
-b, --blank Add a blank page after every page of the PDF
-c, --center Center the PDF on the page, instead of left align
-d, --debug debug mode, doesn't upload to reMarkable
diff --git a/paper2remarkable/__version__.py b/paper2remarkable/__version__.py
index 7f3b8c6..6e42bfc 100644
--- a/paper2remarkable/__version__.py
+++ b/paper2remarkable/__version__.py
@@ -1,5 +1,5 @@
# -*- coding: utf-8 -*-
-VERSION = (0, 5, 0)
+VERSION = (0, 5, 1)
__version__ = ".".join(map(str, VERSION))