internal

package
v0.9.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package internal provides function for development, including converting ".adoc" files to HTML, embedding assets into Go code, and watching files for previewing documentation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAdocToHTML added in v0.9.0

func ConvertAdocToHTML() (err error)

ConvertAdocToHTML convert adoc files to HTML files.

func GenerateMemfs

func GenerateMemfs() (mfs *memfs.MemFS, err error)

GenerateMemfs generate the memfs instance to start watching or embedding the _www directory.

func WatchWww

func WatchWww(running chan bool)

WatchWww watch file changes inside _www directory and then embed them into Go code.

func WatchWwwDoc

func WatchWwwDoc()

WatchWwwDoc watch for .adoc file changes inside _www/karajo/doc directory and then convert them to HTML.

Types

This section is empty.

Directories

Path Synopsis
cmd
karajo-build
Package karajo-build provide internal commands to build karajo for development.
Package karajo-build provide internal commands to build karajo for development.
karajo-example
Program karajo-example example creating Karajo jobs by code.
Program karajo-example example creating Karajo jobs by code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL