docs/docs-importer
2020-05-06 13:56:45 +02:00
..
main.js #401: importer: truncate document title to allowed size 2020-05-06 13:56:45 +02:00
package-lock.json bump importer version 2020-04-21 21:13:20 +02:00
package.json bump importer version 2020-04-21 21:13:20 +02:00
README.md Closes #188: Quiet mode for the file importer 2018-03-05 14:36:30 +01:00
SismicsDocs.ico Fixed some spelling mistakes + added translated properties for german… (#266) 2019-01-24 11:53:45 +01:00

File Importer

This tool can be used to do a single import of files or to periodically scan for files in an input folder.

Downloads

Built binaries for Windows/Linux/MacOSX can be found at https://github.com/sismics/docs/releases

Usage

./docs-importer-macos (for MacOSX)
./docs-importer-linux (for Linux)
docs-importer-win.exe (for Windows)

A wizard will ask you for the import configuration and write it in ~/.config/preferences/com.sismics.docs.importer.pref

For the next start, pass the -d argument to skip the wizard:

./docs-importer-linux -d

Daemon mode

The daemon mode scan the input directory every 30 seconds for new files. Once a file is found and imported, it is deleted.

Build from sources

npm install
npm install -g pkg
pkg .