Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/bob/domain.ts

A static site generator for the dynamic web - develop with TSX and build with Deno
Latest
import * as bob from "https://deno.land/x/bob@v2.8.1/domain.ts";

Enums

Type of content in question.

Type Aliases

Main build function.

Options needed to build the site.

Stats from the build.

Represents a change in the content or layout files.

Change types available

Component type to be used for all TSX components, both layouts and standalone.

Parsed representation of something in the content directory.

Get content based on a particular location.

Context for rendering a specific page.

Checks whether a content file should be considered "dirty", i.e. should be rendered.

Create a "dirty" checker.

An Element is the internal representation of a Component or other node, such as a string.

Creates elements from transpiled JSX calls. This is equivalent to React.createElement or Preact.h.

Render an Element (usually the root element, of course) into an HTML string.

Creates a renderer.

Read (but not parsed) representation of something in the content directory.

Read file specified by a Location into File.

Create a file walker from an array of dirty checkers.

Load the layout .tsx file for a specific page based on lookup rules.

Location of the content in different places.

Write page to disk.

Something that should be rendered into an HTML page.

File that should be parsed and rendered into HTML.

Get an array of the pages wanted by a layout or a content page.

Parse a page file into a page.

Component properties.

Render page into something that can be written to disk (i.e. HTML string).

Something that should just be copied to the public directory.

File that should be copied into the public directory.

Write static file to disk.

Get Location from WalkEntry provided by directory walker.