mix docs.preprocess (gnuplot_ex v0.5.0)

Process .md.eex templates to generate .md files for documentation.

Usage

mix docs.preprocess

This task processes all .md.eex files in the guides/ directory, evaluating EEx templates and writing the output to .md files.

Template Helpers

The following helpers are available in templates:

  • include(path) - Include code from guides/examples/code/{path}

Example

In your .md.eex template:

```elixir
<%%= include("high_level/scatter.exs") %>
```

This will include the contents of guides/examples/code/high_level/scatter.exs.

Summary

Functions

Include a code file from the examples directory.

Functions

include(path)

Include a code file from the examples directory.

Examples

<%= include("high_level/scatter.exs") %>