dev-master
9999999-devElder to filesystem converter
The Requires
The Development Requires
dev-flush
dev-flushElder to filesystem converter
The Requires
The Development Requires
dev-accept
dev-acceptElder to filesystem converter
The Requires
Wallogit.com
2017 © Pedro Peláez
Elder to filesystem converter
This tool connects to Elder and renders KB articles into regular md files., (*1)
composer require "silverstripeltd/elder2fs"
In your project root, create elder2fs.yml. Here is an example:, (*2)
elderUrl: <elder URL>
variables:
platform:
companyName: Terrible Ideas Ltd.
pages:
stuff:
index.md:
url: https://github.com/silverstripe/silverstripe-framework/blob/4/docs/en/index.md
installation.md:
url: https://github.com/silverstripe/silverstripe-framework/tree/4/docs/en/00_Getting_Started/01_Installation/index.md
elderUrl is the address at which Elder is running. It's specific to your infrastructure., (*3)
variables must contain all variables required by the KBs being rendered, otherwise Elder API calls will fail., (*4)
pages is the output tree of directories and Markdown files. Missing directories will be created., (*5)
Once configured, you can run elder2fs by:, (*6)
vendor/bin/elder2fs
If it's human operated, you might want to ensure caches are flushed, especially if you have just committed some changes:, (*7)
vendor/bin/elder2fs --flush
Elder to filesystem converter
Elder to filesystem converter
Elder to filesystem converter