Reference manual
A comprehensive list of features and settings included in Trek.
Generators
- Installer —
rails g trek:install - Admin user —
rails g trek:admin:user - Scaffold —
rails g trek:scaffold - Taxonomies —
rails g trek:taxonomies
Models
Generated into your application — they're yours to read and modify.
- Page, PageVersion, PagePath
- Fragment
- MenuNode, ExternalLink
- User (and its session & password-reset form models)
- Tag, TagCategory & Tagging (with the taxonomies generator)
- Current
Concerns
Trek's behaviors, packaged as concerns you can mix into any model:
- Content: Contentable, Fragmentable, Sectionable, Formattable
- I18n & URLs: Translatable, Sluggable, Pathable
- Pages: Pageable, Versionable, SearchEngineOptimizable
- Utilities: Orderable, Keyable, Searchable, Taggable, Phonable
Back-office
- Controllers —
Trek::BaseController,Trek::ResourceController, panels - Forms —
Trek::FormBuilderand its custom helpers - Formatters — typography & ProseMirror-to-HTML pipeline
- Policies — ActionPolicy integration
- Uploaders — Shrine-based attachments
Front-end
- Components — the ViewComponents powering the admin UI
- Icons — the bundled SVG icon set