Compare commits

..

18 Commits
2.3.0 ... 2.3.1

Author SHA1 Message Date
Bastian Venthur
5a68d15849 bumped version 2024-07-06 15:34:57 +02:00
Bastian Venthur
de8444cc5d sorted dependencies 2024-07-06 15:32:37 +02:00
Bastian Venthur
28b4f5fb4e changed debian section from python to web 2024-07-06 15:22:48 +02:00
Bastian Venthur
c8a26885e7 simplified html docs dir for blag-doc package (Debian) 2024-07-06 15:21:26 +02:00
Bastian Venthur
5922f70567 disable google fonts 2024-07-06 15:20:10 +02:00
Bastian Venthur
6dd1eee238 added serve-docs and manpage 2024-07-06 15:18:45 +02:00
Bastian Venthur
c3a189f88b updated requirements 2024-07-06 14:30:11 +02:00
Bastian Venthur
89f4ad0d2a Merge pull request #220 from venthur/dependabot/pip/wheel-0.43.0
Bump wheel from 0.42.0 to 0.43.0
2024-07-06 14:11:36 +02:00
Bastian Venthur
a083399d9c Merge pull request #221 from venthur/dependabot/pip/build-1.2.1
Bump build from 1.0.3 to 1.2.1
2024-07-06 14:11:16 +02:00
Bastian Venthur
ba306b7fd5 Merge pull request #219 from venthur/dependabot/pip/types-markdown-3.6.0.20240316
Bump types-markdown from 3.5.0.20240129 to 3.6.0.20240316
2024-07-06 14:10:49 +02:00
Bastian Venthur
bc1b2da020 Merge pull request #222 from venthur/dependabot/pip/markdown-3.6
Bump markdown from 3.5.2 to 3.6
2024-07-06 14:10:35 +02:00
dependabot[bot]
59ead49f2f Bump markdown from 3.5.2 to 3.6
Bumps [markdown](https://github.com/Python-Markdown/markdown) from 3.5.2 to 3.6.
- [Release notes](https://github.com/Python-Markdown/markdown/releases)
- [Changelog](https://github.com/Python-Markdown/markdown/blob/master/docs/changelog.md)
- [Commits](https://github.com/Python-Markdown/markdown/compare/3.5.2...3.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-21 12:40:58 +00:00
Bastian Venthur
9ecb9da696 Merge pull request #224 from venthur/dependabot/pip/jinja2-3.1.4
Bump jinja2 from 3.1.3 to 3.1.4
2024-05-21 14:39:09 +02:00
dependabot[bot]
34cf2e5ebb Bump jinja2 from 3.1.3 to 3.1.4
Bumps [jinja2](https://github.com/pallets/jinja) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/pallets/jinja/releases)
- [Changelog](https://github.com/pallets/jinja/blob/main/CHANGES.rst)
- [Commits](https://github.com/pallets/jinja/compare/3.1.3...3.1.4)

---
updated-dependencies:
- dependency-name: jinja2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-05-06 21:00:48 +00:00
dependabot[bot]
89812ee97a Bump build from 1.0.3 to 1.2.1
Bumps [build](https://github.com/pypa/build) from 1.0.3 to 1.2.1.
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.0.3...1.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:13:37 +00:00
dependabot[bot]
e9eb0971cf Bump wheel from 0.42.0 to 0.43.0
Bumps [wheel](https://github.com/pypa/wheel) from 0.42.0 to 0.43.0.
- [Release notes](https://github.com/pypa/wheel/releases)
- [Changelog](https://github.com/pypa/wheel/blob/main/docs/news.rst)
- [Commits](https://github.com/pypa/wheel/compare/0.42.0...0.43.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:13:34 +00:00
dependabot[bot]
77d193d45e Bump types-markdown from 3.5.0.20240129 to 3.6.0.20240316
Bumps [types-markdown](https://github.com/python/typeshed) from 3.5.0.20240129 to 3.6.0.20240316.
- [Commits](https://github.com/python/typeshed/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-29 14:13:31 +00:00
Bastian Venthur
fd23c1f5e6 fixed min python requirement in docs 2024-04-24 22:38:47 +02:00
12 changed files with 93 additions and 30 deletions

View File

@@ -1,5 +1,16 @@
# Changelog # Changelog
## [2.3.1] -- 2024-07-06
* added manpage
* added makefile target for generating blog's manpage
* added makefile target for serving blags docs locally
* mkdocs: disabled loading of google fonts, using locally installed system
fonts instead
* Debian: simplified html docs directory for blag-doc package
* Debian: changed section from Python to Web
* updated dependencies
## [2.3.0] -- 2024-04-24 ## [2.3.0] -- 2024-04-24
* fixed devsever so it does not crash anymore when the (re-)build fails * fixed devsever so it does not crash anymore when the (re-)build fails

View File

@@ -57,6 +57,14 @@ update-pygmentize: $(VENV)
docs: $(VENV) docs: $(VENV)
$(BIN)/mkdocs build $(BIN)/mkdocs build
.PHONY: serve-docs
serve-docs: $(VENV)
$(BIN)/mkdocs serve
.PHONY: manpage
manpage: $(VENV)
help2man $(BIN)/blag --no-info -n "blog-aware, static site generator" -o debian/blag.1
.PHONY: clean .PHONY: clean
clean: clean:
rm -rf build dist *.egg-info rm -rf build dist *.egg-info

View File

@@ -1,3 +1,3 @@
"""Version information for the blag package.""" """Version information for the blag package."""
__VERSION__ = "2.3.0" __VERSION__ = "2.3.1"

View File

@@ -1 +1 @@
site/ site/*

28
debian/blag.1 vendored Normal file
View File

@@ -0,0 +1,28 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH BLAG "1" "July 2024" "blag 2.3.0" "User Commands"
.SH NAME
blag \- blog-aware, static site generator
.SH DESCRIPTION
usage: blag [\-h] [\-\-version] [\-v] {build,quickstart,serve} ...
.SS "positional arguments:"
.IP
{build,quickstart,serve}
.TP
build
Build website.
.TP
quickstart
Quickstart blag, creating necessary configuration.
.TP
serve
Start development server.
.SS "options:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-\-version\fR
show program's version number and exit
.TP
\fB\-v\fR, \fB\-\-verbose\fR
Verbose output.

13
debian/changelog vendored
View File

@@ -1,3 +1,16 @@
blag (2.3.1) unstable; urgency=medium
* added manpage
* added makefile target for generating blog's manpage
* added makefile target for serving blags docs locally
* mkdocs: disabled loading of google fonts, using locally installed system
fonts instead
* Debian: simplified html docs directory for blag-doc package
* Debian: changed section in debian/control from Python to Web
* updated dependencies
-- Bastian Venthur <venthur@debian.org> Sat, 06 Jul 2024 15:33:36 +0200
blag (2.3.0) unstable; urgency=medium blag (2.3.0) unstable; urgency=medium
* fixed devsever so it does not crash anymore when the (re-)build fails * fixed devsever so it does not crash anymore when the (re-)build fails

24
debian/control vendored
View File

@@ -1,24 +1,24 @@
Source: blag Source: blag
Section: python Section: web
Priority: optional Priority: optional
Maintainer: Bastian Venthur <venthur@debian.org> Maintainer: Bastian Venthur <venthur@debian.org>
Rules-Requires-Root: no Rules-Requires-Root: no
Build-Depends: Build-Depends:
debhelper-compat (= 13), debhelper-compat (= 13),
dh-sequence-python3,
dh-python, dh-python,
pybuild-plugin-pyproject, dh-sequence-python3,
python3-setuptools,
python3-all,
python3-markdown,
python3-feedgenerator,
python3-jinja2,
python3-pygments,
python3-pytest,
python3-pytest-cov,
mkdocs, mkdocs,
mkdocs-material, mkdocs-material,
mkdocstrings-python-handlers, mkdocstrings-python-handlers,
pybuild-plugin-pyproject,
python3-all,
python3-feedgenerator,
python3-jinja2,
python3-markdown,
python3-pygments,
python3-pytest,
python3-pytest-cov,
python3-setuptools,
#Testsuite: autopkgtest-pkg-python #Testsuite: autopkgtest-pkg-python
Standards-Version: 4.6.0.1 Standards-Version: 4.6.0.1
Homepage: https://github.com/venthur/blag Homepage: https://github.com/venthur/blag
@@ -28,8 +28,8 @@ Vcs-Git: https://github.com/venthur/blag.git
Package: blag Package: blag
Architecture: all Architecture: all
Depends: Depends:
${python3:Depends},
${misc:Depends}, ${misc:Depends},
${python3:Depends},
Suggests: Suggests:
blag-doc, blag-doc,
Description: Blog-aware, static site generator Description: Blog-aware, static site generator

1
debian/manpages vendored Normal file
View File

@@ -0,0 +1 @@
debian/blag.1

View File

@@ -16,7 +16,7 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd].
## Features ## Features
* Write content in [Markdown][] * Write content in [Markdown][]
* Good looking default theme * Good looking default theme:
![Blag Screenshot](blag.png) ![Blag Screenshot](blag.png)
* Theming support using [Jinja2][] templates * Theming support using [Jinja2][] templates
* Generation of Atom feeds for blog content * Generation of Atom feeds for blog content
@@ -24,7 +24,7 @@ blag is named after [the blag of the webcomic xkcd][blagxkcd].
* Integrated devserver * Integrated devserver
* Available on [PyPI][] * Available on [PyPI][]
blag runs on Linux, Mac and Windows and requires Python >= 3.8 blag runs on Linux, Mac and Windows and requires Python >= 3.10
[markdown]: https://daringfireball.net/projects/markdown/ [markdown]: https://daringfireball.net/projects/markdown/
[jinja2]: https://palletsprojects.com/p/jinja/ [jinja2]: https://palletsprojects.com/p/jinja/

View File

@@ -17,6 +17,8 @@ nav:
theme: theme:
name: material name: material
highlightjs: true highlightjs: true
# disable google fonts, use system fonts
font: false
markdown_extensions: markdown_extensions:
- pymdownx.superfences - pymdownx.superfences

View File

@@ -1,11 +1,11 @@
build==1.0.3 build==1.2.1
mkdocs==1.5.3 mkdocs==1.6.0
mkdocs-material==9.5.18 mkdocs-material==9.5.28
mkdocstrings[python]==0.24.3 mkdocstrings[python]==0.25.1
twine==5.0.0 twine==5.1.1
wheel==0.42.0 wheel==0.43.0
pytest==8.1.1 pytest==8.2.2
pytest-cov==4.1.0 pytest-cov==5.0.0
ruff==0.4.1 ruff==0.5.1
mypy==1.8.0 mypy==1.10.1
types-markdown==3.5.0.20240129 types-markdown==3.6.0.20240316

View File

@@ -1,4 +1,4 @@
markdown==3.5.2 markdown==3.6
feedgenerator==2.1.0 feedgenerator==2.1.0
jinja2==3.1.3 jinja2==3.1.4
pygments==2.17.2 pygments==2.18.0