Documentation
¶
Overview ¶
Package source installs and updates theme bundles from git repositories, local folders or local .zip files. Installed themes are always stored as <slug>.zip in the themes directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Install ¶
Install installs the theme bundle(s) referenced by spec — a local .zip file, a bundle directory, a folder of bundles, or a git repository — into themesDir as <slug>.zip, recording each theme's origin. It returns the installed slugs.
func NormalizeGitURL ¶
NormalizeGitURL accepts the shorthand forms lumos supports and returns a URL git can clone. A bare "owner/repo" is assumed to be on GitHub.
Types ¶
Click to show internal directories.
Click to hide internal directories.