Bastian Venthur
c94f9793b0
improved performance test
2025-01-22 14:46:14 +01:00
Bastian Venthur
a3da95ea19
added benchmark
2024-10-29 12:13:05 +01:00
Bastian Venthur
c4f3c09730
WIP
2024-10-29 10:16:48 +01:00
Bastian Venthur
5943dab690
wip
2024-10-29 10:16:48 +01:00
Bastian Venthur
acbbeecfe6
Merge branch 'master' into fix_devserver
2024-04-24 22:20:45 +02:00
Bastian Venthur
de8542b90b
dropped support for python 3.8 and 3.9
2024-04-24 22:10:48 +02:00
Bastian Venthur
0236dbf782
fixed devserver
...
so it does crash on build failure anymore. also made tests a bit faster
by adding a wait parameter to the autoreload method.
2024-04-24 21:47:59 +02:00
Bastian Venthur
c92130559c
add missing docstrings
2023-09-20 15:09:28 +02:00
Bastian Venthur
0349bd3359
reformatted code
2023-06-16 10:25:21 +02:00
Bastian Venthur
d6ed2d71d5
small fixed to blag quickstart
2023-06-16 09:55:17 +02:00
Bastian Venthur
ace1104df0
Merge branch 'master' into better_default_theme
2023-06-16 09:34:08 +02:00
Bastian Venthur
cde5b53298
Merge branch 'master' into split_archive
2023-06-13 16:37:52 +02:00
Bastian Venthur
fe268516e3
Improved the default theme.
...
Closes : #48
2023-06-13 16:29:44 +02:00
Bastian Venthur
f97e641bd8
added test for quickstart creating the templates
2023-06-01 14:02:04 +02:00
Bastian Venthur
c952c574b7
Don't use internal templates anymore.
...
Blag will throw an error if a template is not found locally. The error
message contains an explanation for the user on where to get the missing
templates.
Quickstart will generate templates for the user in the working
directory.
Updated tests appropriately.
2023-06-01 13:35:33 +02:00
Bastian Venthur
362e721d88
Split Archive into Index and Archive
2023-05-31 15:53:49 +02:00
Bastian Venthur
87d619cc1c
Re-formatted the code
2022-09-01 12:41:25 +02:00
Bastian Venthur
f59a648779
import future annotations to make mypy work on py38
2022-08-31 23:04:30 +02:00
Bastian Venthur
ebac0a8fc4
fixed for mypy --strict testing
2022-08-31 22:59:55 +02:00
Bastian Venthur
641f0ed94e
Added some extra tests:
...
* test for static files
* generated files
* archive
* atom feed
* tags and tags-archive
2022-08-07 21:11:41 +02:00
Bastian Venthur
9e07e2e100
fixed test_article
...
this test was missing the test for the mandatory date attribute
2022-07-01 12:45:13 +02:00
Bastian Venthur
138a78357a
added --verbose option
...
this one increases the loglevel to 'debug'
2022-06-28 22:00:44 +02:00
Bastian Venthur
6005369108
Added some test cases for the MarkdownLinktreeProcessor
2022-06-28 21:38:47 +02:00
Bastian Venthur
877c47c391
improved quickstart:
...
* respective default answers will be written to config if user provided
no answer
* added tests for quickstart
2022-06-28 21:02:51 +02:00
Bastian Venthur
35f6ef05b6
added version option
2022-06-20 12:30:27 +02:00
Bastian Venthur
78316725cf
remove warning in test due to threading race condition we don´t care
...
about
2021-11-06 14:51:46 +01:00
Bastian Venthur
4f1632e3cd
Immediately rebuild once when entering autoreload
2021-11-06 14:12:57 +01:00
Bastian Venthur
79edd04ee8
added smartypants support
2021-04-18 13:03:05 +02:00
Bastian Venthur
9cdecdccf7
replaced args with cleandir where possible, removed tempdir
2021-03-29 13:22:04 +02:00
Bastian Venthur
499b0dfe11
added cleandir to change cwd
2021-03-29 13:02:12 +02:00
Bastian Venthur
72971408b2
added tests for build and main
2021-03-29 12:40:13 +02:00
Bastian Venthur
98b97fbbbd
fixed bug in blag where context was not provided to pages
2021-03-29 12:06:08 +02:00
Bastian Venthur
df65dee488
added conftest
2021-03-29 12:01:09 +02:00
Bastian Venthur
d227392c79
put fixtures into conftest
2021-03-29 11:59:43 +02:00
Bastian Venthur
dc6547290b
added devserver
2021-03-19 11:22:11 +01:00
Bastian Venthur
7d69c37032
Use description tag for Atom feed if provided
2021-03-17 10:39:26 +01:00
Bastian Venthur
d778d01e78
added global site variables to environment
2021-03-08 21:35:51 +01:00
Bastian Venthur
3874d19371
test for automatically appending trailing slash to base_url
2021-02-22 22:19:32 +01:00
Bastian Venthur
e9a7da13e6
test config
2021-02-22 22:16:59 +01:00
Bastian Venthur
5639b38da3
test parse_args
2021-02-22 21:38:15 +01:00
Bastian Venthur
2dcad8d8c0
added test for version
2021-02-22 21:13:57 +01:00
Bastian Venthur
e7fa1470b7
added template test for tag and tags
2021-02-22 21:07:23 +01:00
Bastian Venthur
17a1eb53cc
added template test for archive
2021-02-22 21:07:00 +01:00
Bastian Venthur
560beb41d1
added tests for built-in templates page and article
2021-02-22 20:41:12 +01:00
Bastian Venthur
8f8a89f1eb
added test for feed generation
2021-02-13 13:38:18 +01:00
Bastian Venthur
af4898f1f6
corrected test for datetime
2021-02-13 12:58:02 +01:00
Bastian Venthur
5f5a8af49b
renamed old sg stuff to blag
2021-02-01 21:34:30 +01:00
Bastian Venthur
f376352e90
moved mardkown stuff into separate module
2021-01-31 13:18:22 +01:00
Bastian Venthur
a6684d75e3
added markdown factory for testing
2021-01-18 21:52:03 +01:00
Bastian Venthur
c1dfc9fed6
updated readme
2018-07-14 22:14:04 +02:00