This repository was archived by the owner on Nov 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +19
-16
lines changed
Expand file tree Collapse file tree 2 files changed +19
-16
lines changed Original file line number Diff line number Diff line change 1- # WIP ( v3.0)
1+ # v3.0
22
33Breaking:
44
55+ Rename ` config.index ` -> ` config.index_page `
6- + Change default ` config.pages_dir ` -> ` page `
7- + Change default ` config.posts_dir ` -> ` post `
86+ Change CLI arg ` --nocache ` -> ` --no-cache `
97
108The rest:
119
10+ + Add support for multiple (url, build_dir) environments
1211+ Add ` config.force_index_page ` to create index form page even when posts exist
1312+ Add ` config.sticky_page ` to have a page appear at the top of index
1413+ Add ` config.archive_title ` to change the title of the archive page
15- + Add support for multiple (url, build_dir) environments
16- + Add default config, so local config can be sparse
14+ + Add ` --watch ` command line to rebuild on changes to posts/ & pages/ (no Windows support :()
1715+ Add ID attribute to ` <hX> ` tags in markdown lib
16+ + Add $raw$...$/raw$ syntax to disable Markdown extras
17+ + Add default config, so local config can be sparse
1818+ Fix escaping for post & gallery RSS content
1919+ Rename ` press.lua ` -> ` luapress.lua `
2020+ Remove ` alt_getopt ` and handle args manually
21+ + Nicer (colored, where possible) terminal output
2122
22- # 2 .1.1
23+ # v2 .1.1
2324
2425+ Add ` config.posts_dir ` and ` config.pages_dir `
2526
26- # 2 .1.0
27+ # v2 .1.0
2728
2829Many thanks to GitHub user w-oertl for contributing most of this release.
2930
Original file line number Diff line number Diff line change 11package = ' Luapress'
2- version = ' 2.1.1 -0'
2+ version = ' 3.0 -0'
33
44source = {
5- url = ' git://github.com/Fizzadar/luapress .git' ,
6- tag = ' v2.1.1 '
5+ url = ' git://github.com/Fizzadar/Luapress .git' ,
6+ tag = ' v3.0 '
77}
88
99description = {
10- summary = ' Luapress builds static blogs from markdown files' ,
11- homepage = ' https://github.com/Fizzadar/luapress ' ,
10+ summary = ' Luapress builds static sites from markdown files' ,
11+ homepage = ' https://github.com/Fizzadar/Luapress ' ,
1212 license = ' MIT'
1313}
1414
1515dependencies = {
1616 ' lua >= 5.1' ,
17- ' alt-getopt ' ,
18- ' luafilesystem '
17+ ' luafilesystem ' ,
18+ ' ansicolors '
1919}
2020
2121build = {
@@ -30,14 +30,16 @@ build = {
3030 [' luapress.util' ] = ' luapress/util.lua' ,
3131 [' luapress.default_config' ] = ' luapress/default_config.lua' ,
3232 [' luapress.lib.markdown' ] = ' luapress/lib/markdown.lua' ,
33- [' luapress.lib.table_to_lua' ] = ' luapress/lib/table_to_lua.lua'
33+ [' luapress.lib.table_to_lua' ] = ' luapress/lib/table_to_lua.lua' ,
34+ [' luapress.lib.watch_directory' ] = ' luapress/lib/watch_directory.lua' ,
35+ [' luapress.lib.cli' ] = ' luapress/lib/cli.lua'
3436 },
3537 bin = {
3638 ' bin/luapress'
3739 }
3840 },
3941 copy_directories = {
4042 ' plugins' ,
41- ' template'
43+ ' template'
4244 }
4345}
You can’t perform that action at this time.
0 commit comments