Skip to content

Commit 138704b

Browse files
committed
feat(build): created build-tools plugin
1 parent 54a79ab commit 138704b

File tree

7 files changed

+81
-4
lines changed

7 files changed

+81
-4
lines changed

editions/base/tiddlers/config.multids

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
title: $:/
22

3-
themes/tiddlywiki/vanilla/options/sidebarlayout: fluid-fixed
4-
SiteTitle: NoteSelf
5-
SiteSubtitle: Your selfish notebook
3+
themes/tiddlywiki/vanilla/options/sidebarlayout: fluid-fixed

editions/base/tiddlywiki.info

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"danielo515/pouchdb",
44
"danielo515/tiddlypouch",
55
"tiddlywiki/googleanalytics",
6-
"noteself/online"
6+
"noteself/online",
7+
"noteself/build-tools"
78
],
89
"themes": [
910
"tiddlywiki/vanilla",

src/build-tools/plugin.info

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"title": "$:/plugins/noteself/build-tools",
3+
"description": "Contains build configurations for NoteSelf. This plugin only exists during build",
4+
"author": "Danielo Rodríguez Rivero",
5+
"core-version": ">=5.1.13",
6+
"list": "readme",
7+
"version": "1.0.0",
8+
"released": "Sat, 11 Apr 2017 12:23:41 GMT"
9+
}
+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
title: $:/
2+
3+
SiteTitle: NoteSelf
4+
SiteSubtitle: Your selfish notebook

src/build-tools/tiddlers/readme.tid

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
title: $:/plugins/noteself/build-tools/readme
2+
3+
This plugin only makes sense during NoteSelf build process.
4+
It contains specific tools and configuration tiddlers that are used during the build process of the different NoteSelf edditions.
5+
6+
If you end with this plugin in your wiki it is probably a bug.
+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
title: $:/core/save/empty
2+
3+
\define saveTiddlerFilter()
4+
[is[system]] -[prefix[$:/state/popup/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[prefix[$:/temp]] -[[$:/HistoryList]] -[[$:/plugins/noteself/build-tools]] +[sort[title]]
5+
\end
6+
{{$:/core/templates/tiddlywiki5.html}}
+53
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
title: $:/core/templates/tiddlywiki5.html
2+
3+
\rules only filteredtranscludeinline transcludeinline
4+
<!doctype html>
5+
{{$:/core/templates/MOTW.html}}<html>
6+
<head>
7+
<meta http-equiv="X-UA-Compatible" content="IE=Edge" /> <!-- Force IE standards mode for Intranet and HTA - should be the first meta -->
8+
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
9+
<link rel="manifest" href="manifest.json" >
10+
<meta name="application-name" content="NoteSelf" />
11+
<meta name="generator" content="NoteSelf" />
12+
<meta name="tiddlywiki-version" content="{{$:/core/templates/version}}" />
13+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
14+
<meta name="apple-mobile-web-app-capable" content="yes" />
15+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
16+
<meta name="mobile-web-app-capable" content="yes"/>
17+
<meta name="format-detection" content="telephone=no" />
18+
<meta name="copyright" content="{{$:/core/copyright.txt}}" />
19+
<link id="faviconLink" rel="shortcut icon" href="favicon.ico">
20+
<title>{{$:/core/wiki/title}}</title>
21+
<!--~~ This is a Tiddlywiki file. The points of interest in the file are marked with this pattern ~~-->
22+
23+
<!--~~ Raw markup ~~-->
24+
{{{ [all[shadows+tiddlers]tag[$:/core/wiki/rawmarkup]] [all[shadows+tiddlers]tag[$:/tags/RawMarkup]] ||$:/core/templates/plain-text-tiddler}}}
25+
{{{[all[tiddlers]field:plugin-type[plugin]]||$:/core/templates/head-area-tiddlers}}}
26+
</head>
27+
<body class="tc-body">
28+
<!--~~ Static styles ~~-->
29+
<div id="styleArea">
30+
{{$:/boot/boot.css||$:/core/templates/css-tiddler}}
31+
</div>
32+
<!--~~ Static content for Google and browsers without JavaScript ~~-->
33+
<noscript>
34+
<div id="splashArea">
35+
{{$:/core/templates/static.area}}
36+
</div>
37+
</noscript>
38+
<!--~~ Ordinary tiddlers ~~-->
39+
{{$:/core/templates/store.area.template.html}}
40+
<!--~~ Library modules ~~-->
41+
<div id="libraryModules" style="display:none;">
42+
{{{ [is[system]type[application/javascript]library[yes]] ||$:/core/templates/javascript-tiddler}}}
43+
</div>
44+
<!--~~ Boot kernel prologue ~~-->
45+
<div id="bootKernelPrefix" style="display:none;">
46+
{{ $:/boot/bootprefix.js ||$:/core/templates/javascript-tiddler}}
47+
</div>
48+
<!--~~ Boot kernel ~~-->
49+
<div id="bootKernel" style="display:none;">
50+
{{ $:/boot/boot.js ||$:/core/templates/javascript-tiddler}}
51+
</div>
52+
</body>
53+
</html>

0 commit comments

Comments
 (0)