forked from github.com/blag
Compare commits
23 Commits
2.3.0
...
4cc23cea5f
| Author | SHA1 | Date | |
|---|---|---|---|
|
4cc23cea5f
|
|||
|
|
0c606c7673 | ||
|
|
c8a0587d78 | ||
|
|
be079e8699 | ||
|
|
60b7679c14 | ||
|
|
5a68d15849 | ||
|
|
de8444cc5d | ||
|
|
28b4f5fb4e | ||
|
|
c8a26885e7 | ||
|
|
5922f70567 | ||
|
|
6dd1eee238 | ||
|
|
c3a189f88b | ||
|
|
89f4ad0d2a | ||
|
|
a083399d9c | ||
|
|
ba306b7fd5 | ||
|
|
bc1b2da020 | ||
|
|
59ead49f2f | ||
|
|
9ecb9da696 | ||
|
|
34cf2e5ebb | ||
|
|
89812ee97a | ||
|
|
e9eb0971cf | ||
|
|
77d193d45e | ||
|
|
fd23c1f5e6 |
4
.github/dependabot.yml
vendored
4
.github/dependabot.yml
vendored
@@ -4,6 +4,10 @@ updates:
|
|||||||
directory: "/"
|
directory: "/"
|
||||||
schedule:
|
schedule:
|
||||||
interval: "weekly"
|
interval: "weekly"
|
||||||
|
groups:
|
||||||
|
all:
|
||||||
|
patterns:
|
||||||
|
- "*"
|
||||||
|
|
||||||
- package-ecosystem: "github-actions"
|
- package-ecosystem: "github-actions"
|
||||||
directory: "/"
|
directory: "/"
|
||||||
|
|||||||
20
CHANGELOG.md
20
CHANGELOG.md
@@ -1,5 +1,25 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
|
||||||
|
## [2.4.0] -- 2024-09-05
|
||||||
|
|
||||||
|
* added strikethru and footnotes to blag renders.
|
||||||
|
|
||||||
|
## [unreleased] --
|
||||||
|
|
||||||
|
* Added changelog to docs
|
||||||
|
|
||||||
|
## [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
|
||||||
|
|||||||
8
Makefile
8
Makefile
@@ -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
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ def markdown_factory() -> Markdown:
|
|||||||
"""
|
"""
|
||||||
md = Markdown(
|
md = Markdown(
|
||||||
extensions=[
|
extensions=[
|
||||||
|
"footnotes", # Add footnotes support
|
||||||
|
"pymdownx.tilde", # Add strukethrough support
|
||||||
"meta",
|
"meta",
|
||||||
"fenced_code",
|
"fenced_code",
|
||||||
"codehilite",
|
"codehilite",
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
"""Version information for the blag package."""
|
"""Version information for the blag package."""
|
||||||
|
|
||||||
__VERSION__ = "2.3.0"
|
__VERSION__ = "2.4.0"
|
||||||
|
|||||||
2
debian/blag-doc.docs
vendored
2
debian/blag-doc.docs
vendored
@@ -1 +1 @@
|
|||||||
site/
|
site/*
|
||||||
|
|||||||
28
debian/blag.1
vendored
Normal file
28
debian/blag.1
vendored
Normal 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
13
debian/changelog
vendored
@@ -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
24
debian/control
vendored
@@ -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
1
debian/manpages
vendored
Normal file
@@ -0,0 +1 @@
|
|||||||
|
debian/blag.1
|
||||||
1
docs/CHANGELOG.md
Symbolic link
1
docs/CHANGELOG.md
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../CHANGELOG.md
|
||||||
@@ -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:
|
||||||

|

|
||||||
* 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/
|
||||||
|
|||||||
@@ -13,10 +13,13 @@ nav:
|
|||||||
- blag.markdown: markdown.md
|
- blag.markdown: markdown.md
|
||||||
- blag.devserver: devserver.md
|
- blag.devserver: devserver.md
|
||||||
- blag.quickstart: quickstart.md
|
- blag.quickstart: quickstart.md
|
||||||
|
- Changelog: CHANGELOG.md
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
11
push
Executable file
11
push
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
|
||||||
|
REPO="gitea"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
python3 -m pip install --upgrade twine
|
||||||
|
|
||||||
|
|
||||||
|
python3 -m twine upload --repository $REPO dist/*
|
||||||
@@ -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.31
|
||||||
mkdocstrings[python]==0.24.3
|
mkdocstrings[python]==0.25.2
|
||||||
twine==5.0.0
|
twine==5.1.1
|
||||||
wheel==0.42.0
|
wheel==0.44.0
|
||||||
pytest==8.1.1
|
pytest==8.3.2
|
||||||
pytest-cov==4.1.0
|
pytest-cov==5.0.0
|
||||||
ruff==0.4.1
|
ruff==0.6.0
|
||||||
mypy==1.8.0
|
mypy==1.11.1
|
||||||
types-markdown==3.5.0.20240129
|
types-markdown==3.6.0.20240316
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
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
|
||||||
|
pymdown-extensions==10.9
|
||||||
Reference in New Issue
Block a user