don't carry FileSystemPaths into emptified edition

Better for people to set up their own scheme if they want one, and it
avoids tiddlers potentially being in two different places (since
FileSystemPaths isn't honored during an init/savewikifolder).
This commit is contained in:
Soren I. Bjornstad 2021-09-21 20:44:12 -05:00
parent 2f53a8f616
commit 86441e9618
3 changed files with 2 additions and 30 deletions

View File

@ -234,8 +234,6 @@ Error message and password prompt
<li>$:/config/EditTabIndex</li> <li>$:/config/EditTabIndex</li>
<li>$:/config/FileSystemPaths</li>
<li>$:/config/flibbles/relink/fields/bibliography</li> <li>$:/config/flibbles/relink/fields/bibliography</li>
<li>$:/config/flibbles/relink/fields/description</li> <li>$:/config/flibbles/relink/fields/description</li>
@ -991,17 +989,6 @@ Error message and password prompt
<div created="20200515033855017" modified="20200515033900734" tags="" title="$:/config/EditTabIndex" type="text/vnd.tiddlywiki"> <div created="20200515033855017" modified="20200515033900734" tags="" title="$:/config/EditTabIndex" type="text/vnd.tiddlywiki">
<pre>1</pre> <pre>1</pre>
</div> </div>
<div created="20200427015719697" modified="20200427020204931" tags="" title="$:/config/FileSystemPaths" type="text/vnd.tiddlywiki">
<pre>[is[system]removeprefix[$:/]addprefix[_system/]]
[tag[Template]tag[Meta]tag[Tool]addprefix[_meta/]]
[tag[Image]tag[Attachment]addprefix[media/]]
[tag[Journal]addprefix[journal/]]
[tag[Source]addprefix[source/]]
[tag[Sink]addprefix[sink/]]
[tag[PAO]addprefix[pao/]]
[tag[Place]addprefix[place/]]
[tag[Publication]tag[Class]addprefix[metasource/]]</pre>
</div>
<div created="20210606192417191" modified="20210606192216249" title="$:/config/flibbles/relink/fields/bibliography" type="text/vnd.tiddlywiki"> <div created="20210606192417191" modified="20210606192216249" title="$:/config/flibbles/relink/fields/bibliography" type="text/vnd.tiddlywiki">
<pre>list</pre> <pre>list</pre>
</div> </div>

View File

@ -188,13 +188,13 @@ def check_for_kill_phrases(kill_phrase_file: str = None) -> None:
:param kill_phrase_file: The path from the source wiki's root directory to the :param kill_phrase_file: The path from the source wiki's root directory to the
config tiddler containing kill phrases. In the default config tiddler containing kill phrases. In the default
Zettelkasten edition, this is Zettelkasten edition, this is
tiddlers/_system/config/zettelkasten/Build/KillPhrases.tid; "tiddlers/$__config_zettelkasten_Build_KillPhrases.tid";
if you change the way paths are determined, you can give if you change the way paths are determined, you can give
a different path here. a different path here.
""" """
assert 'public_wiki_folder' in build_state, "new_output_folder builder must run first" assert 'public_wiki_folder' in build_state, "new_output_folder builder must run first"
if kill_phrase_file is None: if kill_phrase_file is None:
kill_phrase_file = "tiddlers/_system/config/zettelkasten/Build/KillPhrases.tid" kill_phrase_file = "tiddlers/$__config_zettelkasten_Build_KillPhrases.tid"
kill_phrases = set() kill_phrases = set()
with open(kill_phrase_file) as f: with open(kill_phrase_file) as f:

View File

@ -1,15 +0,0 @@
created: 20200427015719697
modified: 20200427020204931
tags:
title: $:/config/FileSystemPaths
type: text/vnd.tiddlywiki
[is[system]removeprefix[$:/]addprefix[_system/]]
[tag[Template]tag[Meta]tag[Tool]addprefix[_meta/]]
[tag[Image]tag[Attachment]addprefix[media/]]
[tag[Journal]addprefix[journal/]]
[tag[Source]addprefix[source/]]
[tag[Sink]addprefix[sink/]]
[tag[PAO]addprefix[pao/]]
[tag[Place]addprefix[place/]]
[tag[Publication]tag[Class]addprefix[metasource/]]