Still.Compiler.File (Still v0.2.1) View Source

Responsible for compiling or rendering a given file.

The difference between compilation and renderisation is that the former outputs the source file's contents, after being processed, to the correct destination, while the latter only runs the content through the preprocessor pipeline.

Link to this section Summary

Functions

Compiles a given Still.SourceFile to the correct output path, after being run through its Still.Preprocessor pipeline.

Renders a given Still.SourceFile, using the correct metadata.

Link to this section Functions

Compiles a given Still.SourceFile to the correct output path, after being run through its Still.Preprocessor pipeline.

Link to this function

render(input_file, metadata)

View Source

Renders a given Still.SourceFile, using the correct metadata.

This differs from compilation since it doesn't generate any output in the file system.