Expand description
Dev server infrastructure. Dev server infrastructure for the static site generator.
Structs§
- Http
Transport - Production transport: starts an
http_handle::Server.
Traits§
- Serve
Transport - Pluggable transport that drives the dev server.
Functions§
- generate_
locale_ redirect - Generates a root index.html that reads the browser’s language preference and redirects to the best matching locale directory.
- handle_
server - Configures and launches the development server.
- prepare_
serve_ dir - Prepares the serve directory by creating it and copying site files.
- serve_
site - Converts a site directory path to a string and starts an HTTP server.
- serve_
site_ with - Starts the dev server using a caller-supplied transport.