跳到主要內容

Documentation draft

Understand a site

Web Device documentation draft: understand an existing site's directories, pages, content, routes, and locales.

This section explains the shape of an existing Web Device site: where files live, how pages form, how content is read, and how directories become routes and locale variants.

Read in this order

  1. Site directory to separate the site layer, pages, and content objects.
  2. Build a page with AUP to distinguish a Web layout from the separate static-tree renderer.
  3. Content objects, metadata, and locales to see what a reader object owns.
  4. Routes, navigation, and locales to inspect the current URL and locale boundaries.