1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-07-04 19:23:29 +00:00

Clean up before publishing a snapshot to TiddlyHost

This commit is contained in:
jeremy@jermolene.com 2021-04-05 17:07:19 +01:00
parent 45cdd7bdf7
commit a025bce21f
3 changed files with 16 additions and 9 deletions

View File

@ -1,9 +1,9 @@
title: $:/config/PublishingJobs/Default title: $:/config/PublishingJobs/Default
tags: $:/tags/PublishingJob tags: $:/tags/PublishingJob
caption: Demo static site caption: Demo static site
publisher: filesystem publisher: jszip
sitemap: $:/core/sitemaps/StaticSite sitemap: $:/core/sitemaps/StaticSite
jszip-output-filename: myzipfile.zip jszip-output-filename: myzipfile.zip
baseurl: https://example.com baseurl: https://example.com
enabled: yes enabled: yes
export-filter: [!is[image]!is[system]prefix[T]] [is[image]!is[system]] export-filter: [!is[image]!is[system]] [is[image]!is[system]]

View File

@ -2,7 +2,5 @@ created: 20131127215321439
modified: 20140912135951542 modified: 20140912135951542
title: $:/DefaultTiddlers title: $:/DefaultTiddlers
[[TiddlyWiki Pre-release]] Publishing
HelloThere $:/core/ui/ControlPanel/Publishing
GettingStarted
Community

View File

@ -5,12 +5,21 @@ title: Publishing
You can publish extracts from a wiki as a collection of interconnected static files that can be hosted on the Internet independently from TiddlyWiki. You can publish extracts from a wiki as a collection of interconnected static files that can be hosted on the Internet independently from TiddlyWiki.
!! Usage
In the browser, publishing jobs are configured in [[$:/ControlPanel]]. Clicking the ''publish'' button in the sidebar initiates publishing of all enabled publishing jobs.
Under Node.js, the PublishCommand is used to initiate publishing.
!! Terminology !! Terminology
TiddlyWiki has pluggable ''publisher modules'' that provide the means to publish to specific platforms: TiddlyWiki has pluggable ''publisher modules'' that provide the means to publish to specific platforms, referred to by a short name:
* The JSZip publisher packs the output files in a ZIP file which is automatically downloaded by the browser * ''jszip'': The JSZip publisher packs the output files in a ZIP file which is automatically downloaded by the browser
* The GitHub publisher uploads the output files to a GitHub repository suitable for GitHub Pages * ''filesystem'': The filesystem publisher saves the output files directly to the file system (it is only available under Node.js)
* ''github'': The GitHub publisher uploads the output files to a GitHub repository suitable for GitHub Pages
Publisher modules can optionally present a configuration user interface. For example, the JSZip publisher requires the name of the zip file to be configured.
A ''publishing job'' describes a self-contained publishing operation. Jobs are defined as configuration tiddlers with the following fields: A ''publishing job'' describes a self-contained publishing operation. Jobs are defined as configuration tiddlers with the following fields: