Commit Graph

42 Commits

Author SHA1 Message Date
Soren I. Bjornstad
87438e5858 make _set_text_field work properly when 1 line long
OBO error resulted in the new text getting appended rather than
replacing the existing text in this case.
2021-09-21 10:24:28 -05:00
Soren I. Bjornstad
c91e507a89 copy all plugins across tiddlywiki.info when creating edition
Don't know why it doesn't do this itself. Also opened a forum thread:
https://talk.tiddlywiki.org/t/tiddlywiki-init-removing-plugins-from-the-edition/819
2021-09-21 10:21:41 -05:00
Soren I. Bjornstad
2d33b53be6 fix unhandled exception if publish target doesn't exist
It wasn't actually that we didn't create it, but that we tried to clean
first and the folder to be cleaned didn't exist!
2021-09-21 09:36:27 -05:00
Soren I. Bjornstad
5e7a1e3d22 fix several doc files that got out of date 2021-09-21 09:30:32 -05:00
Soren I. Bjornstad
91b27c6e40 add 'tzk convert' to switch between Node & single-file 2021-09-20 14:16:32 -05:00
Soren I. Bjornstad
cf69aa54dd don't use walrus operator
Forgot I was trying to support 3.6+.
2021-09-20 12:27:40 -05:00
Soren I. Bjornstad
465c1c0665 style 'tzk' as lowercase 2021-09-20 12:16:38 -05:00
Soren I. Bjornstad
5eff73f04e fix bad indentation 2021-09-20 12:14:49 -05:00
Soren I. Bjornstad
197ec6c8b2 allow setting fields other than 'text' in tiddlers
The interface isn't the cleanest (it'd probably be better to map from
tiddlers to a set of fields, rather than having a different set of
mappings for each field), but it will do for now. Needing more
than a few of these is a Zettelkasten-design smell anyway.
2021-09-20 12:12:18 -05:00
Soren I. Bjornstad
5065efd37e add clean prior to copytree in editionify/compile_html_file 2021-09-20 11:30:35 -05:00
Soren I. Bjornstad
cf42b060eb add delete_tiddlers builder
It deletes tiddlers. Yep.
2021-09-10 11:31:42 -05:00
Soren I. Bjornstad
ea02c1bd5a fix set_tiddler_values to work with missing files and meta files 2021-09-10 11:18:03 -05:00
Soren I. Bjornstad
a2ff251e74 try first test pip build
We still need to set up some metadata.
2021-09-10 11:17:50 -05:00
Soren I. Bjornstad
561a72245d don't check in tzk editions, as they're build outputs
We may need to reconsider this depending on how we end up packaging, but
for now I prefer to leave it out.
2021-09-10 11:01:49 -05:00
Soren I. Bjornstad
f4e8888101 various tweaks
Bad Soren let these sit around for a while, so I don't know what they
are or what they were for anymore!
2021-09-10 10:59:41 -05:00
Soren I. Bjornstad
90ea549c36 fix half-written builder doc message 2021-08-27 13:08:49 -05:00
Soren I. Bjornstad
c8ee3e8027 add more detailed builder comments to default config file 2021-08-27 13:05:54 -05:00
Soren I. Bjornstad
29cd61d8d8 doc tweaks 2021-08-27 12:59:24 -05:00
Soren I. Bjornstad
5b836b3cff fully document builders 2021-08-27 12:52:58 -05:00
Soren I. Bjornstad
85b836144c run cleanup steps in a finally block 2021-08-27 12:51:47 -05:00
Soren I. Bjornstad
4f44143331 support TZK_DIRECTORY environment variable 2021-08-27 12:00:46 -05:00
Soren I. Bjornstad
16e4491d44 set up default config file in 'tzk init' 2021-08-27 11:36:19 -05:00
Soren I. Bjornstad
87046ca4c8 don't require a config file for 'preflight' and 'init' 2021-08-27 11:08:49 -05:00
Soren I. Bjornstad
e0ce707894 installation instructions, tzk preflight 2021-08-27 10:28:53 -05:00
Soren I. Bjornstad
97a4611d56 update docstrings 2021-08-27 10:06:52 -05:00
Soren I. Bjornstad
0321b7d7b1 initialize Sphinx and document builders 2021-08-27 09:53:18 -05:00
Soren I. Bjornstad
5d4a3164de shell builder: subscriptions and clean target 2021-08-26 18:06:01 -05:00
Soren I. Bjornstad
5951b38551 add publish step and option to skip a builder
This will preserve the ability to skip a publish if I want to.
2021-08-26 17:31:31 -05:00
Soren I. Bjornstad
8beda01e41 add set-tiddler-values builder 2021-08-26 15:49:54 -05:00
Soren I. Bjornstad
eac4a1a3ca add builder to replace private people 2021-08-26 15:29:48 -05:00
Soren I. Bjornstad
3f81e15309 sort actions in alphabetical order in help 2021-08-26 14:34:31 -05:00
Soren I. Bjornstad
52e79537f6 add compile-html builder 2021-08-26 14:33:22 -05:00
Soren I. Bjornstad
eadb539a9c add externalize images builder 2021-08-26 14:11:56 -05:00
Soren I. Bjornstad
279342bb4f add kill-phrase builder 2021-08-26 14:04:09 -05:00
Soren I. Bjornstad
f63f1a61ea create builder infrastructure 2021-08-26 11:52:29 -05:00
Soren I. Bjornstad
ba8f7d6df1 verify a tiddlywiki.info exists after chdir into wiki folder 2021-08-26 11:08:53 -05:00
Soren I. Bjornstad
a48f527ec8 add feature for automatic init of a TZK repository 2021-08-26 09:46:24 -05:00
Soren I. Bjornstad
d23070435a implement branch check prior to commit 2021-08-25 15:38:26 -05:00
Soren I. Bjornstad
b61ff148ed add listen command 2021-08-25 15:25:50 -05:00
Soren I. Bjornstad
7da128ea80 set up config file 2021-08-25 15:06:42 -05:00
Soren I. Bjornstad
af147196e2 fully replicate the commit.sh script as is
In fact, this script is missing some things we might like it to have
(e.g., making sure we're really in the right directory).
2021-08-25 14:48:07 -05:00
Soren I. Bjornstad
804e3bd05a initial toy commit 2021-08-25 14:36:40 -05:00