Compare commits

...

42 Commits
2.0.0 ... 2.1.0

Author SHA1 Message Date
Bastian Venthur
c45fb44c9f added watchfile 2023-08-27 15:28:50 +02:00
Bastian Venthur
f09b30d069 bump version 2023-08-27 15:28:39 +02:00
Bastian Venthur
d836025594 Merge pull request #126 from venthur/dependabot/pip/mypy-1.5.1
Bump mypy from 1.5.0 to 1.5.1
2023-08-23 08:29:41 +02:00
dependabot[bot]
ea345c6464 Bump mypy from 1.5.0 to 1.5.1
Bumps [mypy](https://github.com/python/mypy) from 1.5.0 to 1.5.1.
- [Commits](https://github.com/python/mypy/compare/v1.5.0...v1.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-21 14:35:52 +00:00
Bastian Venthur
31b2a6d592 Merge pull request #119 from venthur/dependabot/pip/mkdocs-material-9.1.21
Bump mkdocs-material from 9.1.18 to 9.1.21
2023-08-15 10:14:55 +02:00
dependabot[bot]
ad41be706d Bump mkdocs-material from 9.1.18 to 9.1.21
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.18 to 9.1.21.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.18...9.1.21)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 08:03:29 +00:00
Bastian Venthur
04b022276c Merge pull request #125 from venthur/dependabot/pip/pygments-2.16.1
Bump pygments from 2.15.1 to 2.16.1
2023-08-15 10:03:17 +02:00
Bastian Venthur
9c1f93d075 Merge pull request #124 from venthur/dependabot/pip/mkdocs-1.5.2
Bump mkdocs from 1.4.3 to 1.5.2
2023-08-15 10:03:06 +02:00
Bastian Venthur
0276f6b328 Merge pull request #123 from venthur/dependabot/pip/mypy-1.5.0
Bump mypy from 1.4.1 to 1.5.0
2023-08-15 10:02:51 +02:00
dependabot[bot]
a3637621d7 Bump pygments from 2.15.1 to 2.16.1
Bumps [pygments](https://github.com/pygments/pygments) from 2.15.1 to 2.16.1.
- [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.15.1...2.16.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 14:49:37 +00:00
dependabot[bot]
392181e728 Bump mkdocs from 1.4.3 to 1.5.2
Bumps [mkdocs](https://github.com/mkdocs/mkdocs) from 1.4.3 to 1.5.2.
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.4.3...1.5.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 14:49:30 +00:00
dependabot[bot]
b44c303d7a Bump mypy from 1.4.1 to 1.5.0
Bumps [mypy](https://github.com/python/mypy) from 1.4.1 to 1.5.0.
- [Commits](https://github.com/python/mypy/compare/v1.4.1...v1.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-14 14:49:26 +00:00
Bastian Venthur
90f8296a62 Merge pull request #122 from venthur/dependabot/pip/wheel-0.41.1
Bump wheel from 0.40.0 to 0.41.1
2023-08-09 10:31:46 +02:00
dependabot[bot]
298a828ecd Bump wheel from 0.40.0 to 0.41.1
Bumps [wheel](https://github.com/pypa/wheel) from 0.40.0 to 0.41.1.
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.40.0...0.41.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 19:14:22 +00:00
Bastian Venthur
9acbc77fea Merge pull request #116 from venthur/dependabot/pip/types-markdown-3.4.2.10
Bump types-markdown from 3.4.2.9 to 3.4.2.10
2023-08-07 21:13:50 +02:00
Bastian Venthur
90437f05ab Merge pull request #121 from venthur/dependabot/pip/flake8-6.1.0
Bump flake8 from 6.0.0 to 6.1.0
2023-08-07 21:13:14 +02:00
Bastian Venthur
33ae0e4482 Merge pull request #120 from venthur/dependabot/pip/markdown-3.4.4
Bump markdown from 3.4.3 to 3.4.4
2023-08-07 21:12:24 +02:00
dependabot[bot]
37c5a4eca6 Bump flake8 from 6.0.0 to 6.1.0
Bumps [flake8](https://github.com/pycqa/flake8) from 6.0.0 to 6.1.0.
- [Commits](https://github.com/pycqa/flake8/compare/6.0.0...6.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 14:15:07 +00:00
dependabot[bot]
7b14d7dcbd Bump markdown from 3.4.3 to 3.4.4
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.4.3 to 3.4.4.
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/change_log/release-2.6.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.4.3...3.4.4)

---
updated-dependencies:
- dependency-name: markdown
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 14:14:54 +00:00
dependabot[bot]
35d5ab93cd Bump types-markdown from 3.4.2.9 to 3.4.2.10
Bumps [types-markdown](https://github.com/python/typeshed) from 3.4.2.9 to 3.4.2.10.
- [Commits](https://github.com/python/typeshed/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-24 14:18:37 +00:00
Bastian Venthur
8ba56b6b27 Merge pull request #115 from venthur/dependabot/pip/pytest-7.4.0
Bump pytest from 7.3.2 to 7.4.0
2023-07-20 08:17:01 +02:00
dependabot[bot]
df84fbb96a Bump pytest from 7.3.2 to 7.4.0
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.3.2 to 7.4.0.
- [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/7.3.2...7.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-17 14:35:36 +00:00
Bastian Venthur
609b49b6f2 updated changelog 2023-07-13 14:01:02 +02:00
Bastian Venthur
34d33d380c Merge pull request #109 from venthur/dependabot/pip/mkdocstrings-python--0.22.0
Bump mkdocstrings[python] from 0.20.0 to 0.22.0
2023-07-13 13:12:40 +02:00
Bastian Venthur
c1b16e9a82 Merge pull request #110 from venthur/dependabot/pip/mypy-1.4.1
Bump mypy from 1.2.0 to 1.4.1
2023-07-13 13:12:27 +02:00
dependabot[bot]
db1d81713c Bump mkdocstrings[python] from 0.20.0 to 0.22.0
Bumps [mkdocstrings[python]](https://github.com/mkdocstrings/mkdocstrings) from 0.20.0 to 0.22.0.
- [Release notes](https://github.com/mkdocstrings/mkdocstrings/releases)
- [Changelog](https://github.com/mkdocstrings/mkdocstrings/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mkdocstrings/mkdocstrings/compare/0.20.0...0.22.0)

---
updated-dependencies:
- dependency-name: mkdocstrings[python]
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 10:20:57 +00:00
Bastian Venthur
ee3d289ea0 Merge pull request #113 from venthur/dependabot/pip/mkdocs-material-9.1.18
Bump mkdocs-material from 9.1.15 to 9.1.18
2023-07-13 12:20:34 +02:00
dependabot[bot]
75b926de67 Bump mypy from 1.2.0 to 1.4.1
Bumps [mypy](https://github.com/python/mypy) from 1.2.0 to 1.4.1.
- [Commits](https://github.com/python/mypy/compare/v1.2.0...v1.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 10:20:22 +00:00
Bastian Venthur
0b7e898f3a Merge pull request #105 from venthur/dependabot/pip/feedgenerator-2.1.0
Bump feedgenerator from 2.0.0 to 2.1.0
2023-07-13 12:20:13 +02:00
Bastian Venthur
acce7d1c32 Merge pull request #107 from venthur/dependabot/pip/pytest-cov-4.1.0
Bump pytest-cov from 4.0.0 to 4.1.0
2023-07-13 12:19:21 +02:00
dependabot[bot]
e4786eca74 Bump mkdocs-material from 9.1.15 to 9.1.18
Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 9.1.15 to 9.1.18.
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.1.15...9.1.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-13 10:13:49 +00:00
Bastian Venthur
62f36cdd05 Merge pull request #114 from venthur/namespace_package
treat templates, static, and content as namespace packages
2023-07-13 12:10:51 +02:00
Bastian Venthur
111957883e updated changelog 2023-07-13 12:07:50 +02:00
Bastian Venthur
a1cfe01373 added MANIFEST.in 2023-07-13 10:21:54 +02:00
Bastian Venthur
3cfd756ac1 added data dirs to MANIFEST.in 2023-07-13 10:21:35 +02:00
Bastian Venthur
32fff6dabb treat templates, static, and content as namespace packages 2023-07-13 09:52:30 +02:00
Bastian Venthur
86826c0c03 list default template as package explicitily 2023-06-24 13:27:11 +02:00
Bastian Venthur
f646c89152 img's have max-width: 100% to avoid overflowing of big images 2023-06-24 13:25:17 +02:00
dependabot[bot]
1db80df0ce Bump pytest-cov from 4.0.0 to 4.1.0
Bumps [pytest-cov](https://github.com/pytest-dev/pytest-cov) from 4.0.0 to 4.1.0.
- [Changelog](https://github.com/pytest-dev/pytest-cov/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-cov/compare/v4.0.0...v4.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:57:56 +00:00
dependabot[bot]
2c15b2c2dd Bump feedgenerator from 2.0.0 to 2.1.0
Bumps [feedgenerator](https://github.com/getpelican/feedgenerator) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/getpelican/feedgenerator/releases)
- [Changelog](https://github.com/getpelican/feedgenerator/blob/main/CHANGELOG.md)
- [Commits](https://github.com/getpelican/feedgenerator/compare/2.0.0...2.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 14:57:50 +00:00
Bastian Venthur
44d5c4d694 corrected screenshot path 2023-06-17 15:29:46 +02:00
Bastian Venthur
1ebae15cda added screenshot 2023-06-17 15:24:00 +02:00
14 changed files with 63 additions and 21 deletions

View File

@@ -1,5 +1,17 @@
# Changelog
## [2.1.0] -- 2023-08-27
* default theme: `img` have now `max-width: 100%` by default to avoid very
large images overflowing
* packaging: explicitly list `templates`, `static` and `content` as packages
instead of relying on package-data for setuptools. additionally, created a
MANIFEST.in to add the contents of these directories here as well. the
automatic finding of namespace packages and packaga-data, currently does not
work as advertised in setuptools' docs
* updated dependencies
* created debian/watch
## [2.0.0] - 2023-06-16
### Breaking

3
MANIFEST.in Normal file
View File

@@ -0,0 +1,3 @@
recursive-include blag/content *
recursive-include blag/static *
recursive-include blag/templates *

View File

@@ -16,7 +16,8 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd].
## Features
* Write content in [Markdown][]
* Good looking default theme
* Good looking default theme:
![Blag Screenshot](blag/static/blag.png)
* Theming support using [Jinja2][] templates
* Generation of Atom feeds for blog content
* Fenced code blocks and syntax highlighting using [Pygments][]

View File

@@ -7,3 +7,5 @@ Tags: blag
## Second Post
This page serves no purpose :)
![Blag Screenshot](blag.png)

BIN
blag/static/blag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@@ -48,6 +48,10 @@ aside {
color: var(--foreground-dim);
}
img {
max-width: 100%;
}
h1,
h2,
h3,

View File

@@ -1 +1 @@
__VERSION__ = "2.0.0"
__VERSION__ = "2.1.0"

14
debian/changelog vendored
View File

@@ -1,3 +1,17 @@
blag (2.1.0) unstable; urgency=medium
* default theme: `img` have now `max-width: 100%` by default to avoid very
large images overflowing
* packaging: explicitly list `templates`, `static` and `content` as packages
instead of relying on package-data for setuptools. additionally, created a
MANIFEST.in to add the contents of these directories here as well. the
automatic finding of namespace packages and packaga-data, currently does
not work as advertised in setuptools' docs
* updated dependencies
* created debian/watch
-- Bastian Venthur <venthur@debian.org> Sun, 27 Aug 2023 15:27:39 +0200
blag (2.0.0) unstable; urgency=medium
* new upstream version

9
debian/watch vendored Normal file
View File

@@ -0,0 +1,9 @@
# You can run the "uscan" command to check for upstream updates and more.
# See uscan(1) for format
# Compulsory line, this is a version 4 file
version=4
# Direct Git
opts="mode=git" https://github.com/venthur/blag.git \
refs/tags/v([\d\.]+) debian uupdate

BIN
docs/blag.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

View File

@@ -17,6 +17,7 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd].
* Write content in [Markdown][]
* Good looking default theme
![Blag Screenshot](blag.png)
* Theming support using [Jinja2][] templates
* Generation of Atom feeds for blog content
* Fenced code blocks and syntax highlighting using [Pygments][]

View File

@@ -47,16 +47,12 @@ version = {attr = "blag.__VERSION__" }
[tool.setuptools]
packages = [
"blag",
"blag.templates",
"blag.static",
"blag.content",
"tests",
]
[tool.setuptools.package-data]
blag = [
"templates/*",
"static/*",
"content/*",
]
[tool.pytest.ini_options]
addopts = """
--cov=blag

View File

@@ -1,11 +1,11 @@
build==0.10.0
mkdocs==1.4.3
mkdocs-material==9.1.15
mkdocstrings[python]==0.20.0
mkdocs==1.5.2
mkdocs-material==9.1.21
mkdocstrings[python]==0.22.0
twine==4.0.2
wheel==0.40.0
pytest==7.3.2
pytest-cov==4.0.0
flake8==6.0.0
mypy==1.2.0
types-markdown==3.4.2.9
wheel==0.41.1
pytest==7.4.0
pytest-cov==4.1.0
flake8==6.1.0
mypy==1.5.1
types-markdown==3.4.2.10

View File

@@ -1,4 +1,4 @@
markdown==3.4.3
feedgenerator==2.0.0
markdown==3.4.4
feedgenerator==2.1.0
jinja2==3.1.2
pygments==2.15.1
pygments==2.16.1