API Reference tableau v0.24.0

View Source

Modules

Global Site Configuration

  • :include_dir - string - Directory that is just copied to the output directory. Defaults to extra.
  • :out_dir - string - The directory to output your website to. Defaults to _site.
  • :timezone - string - Timezone to use when parsing date times. Defaults to Etc/UTC.
  • :base_path - string - Development server root. Defaults to '/'.
  • :url - string (required) - The URL of your website.
  • :converters - mapping of file extensions to converter module. Defaults to [md: Tableau.MDExConverter]
  • :markdown - keyword

Example

# configs/config.exs
config :tableau, :config,
  url: "http://localhost:8080",
  timezone: "America/Indiana/Indianapolis",
  converters: [
    md: Tableau.MDExConverter,
    dj: MySite.DjotConverter
  ],
  markdown: [
    mdex: [
      extension: [table: true, header_ids: "", tasklist: true, strikethrough: true],
      render: [unsafe_: true],
      features: [syntax_highlight_theme: "kanagawa"]
    ]
  ]

Defines the interface for the converter module used by extensions to parse markup files.

YAML files and Elixir scripts (.exs) in the configured directory will be automatically parsed/executed and made available in an @data assign in your templates.

Helper functions for Tableau documents.

A tableau extension.

A tableau layout.

Converter to parse markdown content with MDEx

A tableau page.

Content files (with YAML frontmatter) in the configured pages directory will be automatically compiled into Tableau pages.

Content files (with YAML frontmatter) in the configured posts directory will be automatically compiled into Tableau pages.

Generate one or more RSS feeds.

Generate a sitemap.xml for your site, for improved search-engine indexing.

Creates pages for tags found in posts created by the Tableau.PostExtension.

Mix Tasks

Task to build the tableau site

Starts the tableau dev server