1
Fork 0
Commit graph

41 commits

Author SHA1 Message Date
c826bda91b
move opener config to startup hook 2023-09-17 17:53:59 +01:00
a6900908b0
Exclude certain files from output 2023-09-17 17:41:09 +01:00
0305754b83
Render pages with config
Mostly useful if template tags want to use it
2023-09-17 17:15:28 +01:00
34acb96ec1
Download images with unsplash 2023-09-17 16:15:03 +01:00
ce7bb446d6
Improve error handling 2023-09-15 22:39:35 +01:00
c18f29bd39
Add SRI extension 2023-09-15 22:29:43 +01:00
425f87c609
Get env once 2023-09-15 22:06:39 +01:00
76fa263379
Allow custom content for tag list page 2023-09-15 22:05:07 +01:00
e23e44bfe9
Simplify tempfile setup 2023-09-15 21:56:31 +01:00
5f5a057c34
Add title to diagram filename 2023-09-15 21:41:46 +01:00
2f94dc4231
Move generated to their own location 2023-09-15 21:23:33 +01:00
d0fea7851a
Extract out diagram types 2023-09-15 21:14:06 +01:00
b501c34afb
Ensure parent page is actually a page 2023-09-15 21:11:44 +01:00
2b49b04154
Fix tag navigation tree 2023-09-15 21:09:19 +01:00
e12e8e682b
Extend main in tag template 2023-09-15 19:15:14 +01:00
495f64c10e
Correctly find parent for single-child sections
More like pages with associated files, really
2023-09-15 18:19:06 +01:00
4497904ce2
Show child sections as children 2023-09-15 18:11:06 +01:00
d247f39d0b
Allow reading diagrams from file 2023-09-15 18:05:28 +01:00
fa3cfce34a
Compress and filter SVGs before saving 2023-09-15 17:41:31 +01:00
bbdaebfcb0
Build my own kroki integration
It's faster, easier to work with, and properly supports superfences
2023-09-15 16:48:31 +01:00
2c8e841a44
Actually install bs4 2023-09-15 15:15:13 +01:00
ed9c4a8dfe
Disable Kroki for now
It increases my iteration time
2023-09-14 22:02:52 +01:00
ae44083c72
Add function to get page URL
This is much easier to work with
2023-09-14 22:02:40 +01:00
c25fb3e76c
Stop removing tag metadata file
This breaks URL resolution for them
2023-09-14 21:57:10 +01:00
a8087a2508
Write files with utils 2023-09-14 21:40:14 +01:00
27f068a82f
Write pygments styles 2023-09-14 21:28:35 +01:00
e0508041a6
Add highlighting 2023-09-14 20:01:36 +01:00
9eb09cf695
Add hook for setting global variables 2023-09-13 21:23:43 +01:00
d2777ba027
Write nginx-compatible map file for redirects 2023-09-12 22:42:33 +01:00
8038bb819d
Render page content before anything else 2023-09-12 18:29:50 +01:00
e393c7c5c1
Only write search index, not supporting JS 2023-09-12 17:59:29 +01:00
ed8c42ce86
Add cachebust hash to static files 2023-09-11 22:49:52 +01:00
e8e48a3983
Add kroki plugin for diagrams 2023-09-10 15:08:45 +01:00
b68cb5d337
Render page content 2023-09-10 14:44:04 +01:00
641a157a7b
Add skeleton for image resizing 2023-09-09 12:05:16 +01:00
cb3dfeea75
Remove found tag page afterwards
Save rendering it twice
2023-09-09 11:01:23 +01:00
9c06ead675
Add util for finding page 2023-09-09 10:56:04 +01:00
b04042a839
Dynamically create tag pages 2023-09-09 10:48:03 +01:00
c8eb405165
Reliably get page children for list pages 2023-09-08 22:32:51 +01:00
f3bb6b0b3c
Detect whether page is list page 2023-09-08 22:10:52 +01:00
9800836c52
Bootstrap an mkdocs 2023-09-08 21:49:57 +01:00