Compare commits

...

23 Commits
0.0.7 ... 1.1.0

Author SHA1 Message Date
Bastian Venthur
713b53d0d9 bumped version 2021-10-06 13:34:03 +02:00
Bastian Venthur
2d1d0ab302 Merge pull request #9 from venthur/0130dependabot/pip/twine-3.4.2
Bump twine from 3.4.1 to 3.4.2
2021-10-06 13:30:29 +02:00
dependabot[bot]
572710fab1 Bump twine from 3.4.1 to 3.4.2
Bumps [twine](https://github.com/pypa/twine) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/3.4.1...3.4.2)

---
updated-dependencies:
- dependency-name: twine
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 11:30:11 +00:00
Bastian Venthur
0b66c5fbf4 Merge pull request #7 from venthur/902edependabot/pip/wheel-0.37.0
Bump wheel from 0.36.2 to 0.37.0
2021-10-06 13:29:28 +02:00
dependabot[bot]
18ecd82c5a Bump wheel from 0.36.2 to 0.37.0
Bumps [wheel](https://github.com/pypa/wheel) from 0.36.2 to 0.37.0.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/master/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.36.2...0.37.0)

---
updated-dependencies:
- dependency-name: wheel
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-10-06 11:27:47 +00:00
Bastian Venthur
a74f36be8a Merge pull request #6 from venthur/ae1edependabot/pip/pygments-2.10.0
Bump pygments from 2.9.0 to 2.10.0
2021-10-06 13:27:30 +02:00
Bastian Venthur
dd7d6cdae2 Merge pull request #10 from venthur/5121dependabot/pip/pytest-6.2.5
Bump pytest from 6.2.4 to 6.2.5
2021-10-06 13:27:09 +02:00
Bastian Venthur
39e6aa2676 Merge pull request #11 from venthur/12a6dependabot/pip/sphinx-4.2.0
Bump sphinx from 4.0.1 to 4.2.0
2021-10-06 13:26:56 +02:00
Bastian Venthur
93f6840168 Merge pull request #5 from venthur/py310
added python 3.10 to ci pipeline
2021-10-06 13:23:19 +02:00
Bastian Venthur
e27d82ac2a Merge branch 'master' into py310 2021-10-06 13:23:02 +02:00
Bastian Venthur
88b4fc8233 minor fix 2021-10-06 13:18:37 +02:00
dependabot[bot]
8923b0bb6e Bump sphinx from 4.0.1 to 4.2.0
Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.0.1 to 4.2.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/4.x/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.0.1...v4.2.0)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-13 14:30:08 +00:00
dependabot[bot]
2671239ac1 Bump pytest from 6.2.4 to 6.2.5
Bumps [pytest](https://github.com/pytest-dev/pytest) from 6.2.4 to 6.2.5.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/6.2.4...6.2.5)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-31 14:16:34 +00:00
dependabot[bot]
7aa6cebb63 Bump pygments from 2.9.0 to 2.10.0
Bumps [pygments](https://github.com/pygments/pygments) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/pygments/pygments/releases)
- [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES)
- [Commits](https://github.com/pygments/pygments/compare/2.9.0...2.10.0)

---
updated-dependencies:
- dependency-name: pygments
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-18 18:41:36 +00:00
Bastian Venthur
4869ea0fd2 Merge pull request #4 from venthur/dependabot
Create dependabot.yml
2021-08-18 20:41:11 +02:00
Bastian Venthur
aeedd9b73a added changelog entry 2021-08-18 20:40:15 +02:00
Bastian Venthur
52412b8926 fix string for python 3.10 m( 2021-08-18 20:30:45 +02:00
Bastian Venthur
c0dae31b60 added python 3.10 to ci pipeline 2021-08-18 20:29:45 +02:00
Bastian Venthur
2366ee2def Create dependabot.yml 2021-08-18 20:26:34 +02:00
Bastian Venthur
67f24642e5 bumped dependency to feedgenerator to version that uses description as a
subtitle for the feed.

bumped version.
2021-08-18 20:14:40 +02:00
Bastian Venthur
f1020637e6 bumped version, added changelog url 2021-06-22 22:13:04 +02:00
Bastian Venthur
a4d596b79d updated dependencies 2021-06-22 22:12:29 +02:00
Bastian Venthur
79edd04ee8 added smartypants support 2021-04-18 13:03:05 +02:00
9 changed files with 68 additions and 14 deletions

6
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "daily"

View File

@@ -19,6 +19,7 @@ jobs:
python-version:
- 3.8
- 3.9
- "3.10"
steps:
- uses: actions/checkout@v2

View File

@@ -1,6 +1,24 @@
# Changelog
## [0.0.0] - YYYY-MM-DD
## [1.1.0] - 2021-1006
*
* added Python 3.10 to list of supported versions to test against
* added dependabot to github workflows
* updated various dependencies:
* pygments 2.10.0
* sphinx 4.2.0
* twine 3.4.2
* wheel 0.37.0
* pytest 6.2.5
## [1.0.0] - 2021-08-18
* first 1.0 release!
* bump requirements of feedgenerator to 1.9.2. this version uses the
description to provide a subtitle for the feed
## [0.0.9] - 2021-06-22
* updated to jinja 3.0
* updated to sphinx 4.0
* added link to changelog

View File

@@ -30,7 +30,7 @@ def markdown_factory():
"""
md = Markdown(
extensions=[
'meta', 'fenced_code', 'codehilite',
'meta', 'fenced_code', 'codehilite', 'smarty',
MarkdownLinkExtension()
],
output_format='html5',

View File

@@ -1 +1 @@
__VERSION__ = '0.0.7'
__VERSION__ = '1.1.0'

View File

@@ -1,6 +1,6 @@
sphinx==3.5.3
twine==3.4.1
wheel==0.36.2
pytest==6.2.2
pytest-cov==2.11.1
flake8==3.9.0
sphinx==4.2.0
twine==3.4.2
wheel==0.37.0
pytest==6.2.5
pytest-cov==2.12.1
flake8==3.9.2

View File

@@ -1,4 +1,4 @@
markdown==3.3.4
feedgenerator==1.9.1
jinja2==2.11.3
pygments==2.8.1
feedgenerator==1.9.2
jinja2==3.0.1
pygments==2.10.0

View File

@@ -1,6 +1,5 @@
#!/usr/bin/env python
from setuptools import setup
meta = {}
@@ -20,6 +19,8 @@ setup(
project_urls={
'Documentation': 'https://blag.readthedocs.io/',
'Source': 'https://github.com/venthur/blag',
'Changelog':
'https://github.com/venthur/blag/blob/master/CHANGELOG.md',
},
python_requires='>=3.8',
package_data={

View File

@@ -49,3 +49,31 @@ def test_convert_metadata(input_, expected):
def test_markdown_factory():
md = markdown_factory()
assert isinstance(md, markdown.Markdown)
def test_smarty():
md = markdown_factory()
md1 = """
this --- is -- a test ...
"""
html, meta = convert_markdown(md, md1)
assert 'mdash' in html
assert 'ndash' in html
assert 'hellip' in html
def test_smarty_code():
md = markdown_factory()
md1 = """
```
this --- is -- a test ...
```
"""
html, meta = convert_markdown(md, md1)
assert 'mdash' not in html
assert 'ndash' not in html
assert 'hellip' not in html