You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing a wiki copies a directory into the server wikis directory.
quiki -import-wiki=/path/to/wiki
The destination directory is specified by server.dir.wiki in the server configuration file. If you do not specify a server configuration file with -config, the default ~/quiki/quiki.conf is used. The default destination directory is ~/quiki/wikis.
# specify a server config
quiki -config=/path/to/quiki.conf -import-wiki=/path/to/wiki
If wiki.conf exists in the directory being imported, it is assumed to be an existing quiki formatted wiki and copied as-is.
Otherwise, a new wiki is initialized by copying the contents of the directory into its pages directory. It then creates other standard subpaths like images, models, and cache, and a wiki.conf. This is suitable, for example, to quickly create a wiki from a tree of Markdown files.
This command can be combined with -enable-wiki to import and enable the wiki at the same time.
# enable it when importing
quiki -import-wiki=/path/to/wiki -enable-wiki
The text was updated successfully, but these errors were encountered:
Implement the following:
Import a wiki
Importing a wiki copies a directory into the server wikis directory.
The destination directory is specified by
server.dir.wiki
in the server configuration file. If you do not specify a server configuration file with-config
, the default~/quiki/quiki.conf
is used. The default destination directory is~/quiki/wikis
.If
wiki.conf
exists in the directory being imported, it is assumed to be an existing quiki formatted wiki and copied as-is.Otherwise, a new wiki is initialized by copying the contents of the directory into its
pages
directory. It then creates other standard subpaths likeimages
,models
, andcache
, and awiki.conf
. This is suitable, for example, to quickly create a wiki from a tree of Markdown files.This command can be combined with
-enable-wiki
to import and enable the wiki at the same time.The text was updated successfully, but these errors were encountered: