Skip to content

Theme Knowledge

This page is generated from public package documentation in capell-4/packages and the package manifest checked into the source repository.

FieldValue
Composer packagecapell-app/theme-knowledge
Package slugtheme-knowledge
Product groupCapell Themes
Tierpremium
Bundlethemes
Runtime contextsfrontend
Capell version^4.0
Source repositorycapell-app/packages
Source pathpackages/theme-knowledge
Docs sourcepackages/theme-knowledge/docs
Manifestcapell.json

Theme Knowledge is a Capell theme for knowledge bases, publishers, resource hubs, and content-led teams that need searchable, editorial frontend pages.

  • Package: capell-app/theme-knowledge
  • Namespace: Capell\ThemeStudio\Knowledge\
  • Theme key: knowledge
  • Surfaces: frontend, console
  • Service provider: Capell\ThemeStudio\Knowledge\KnowledgeThemeServiceProvider
  • Demo command: capell:theme-knowledge-demo {--url=} {--languages=} {--sites=} {--force}
  • Extends: capell-app/foundation-theme
  • Database impact: none
  • Site owners can launch a resource-library site where visitors can browse topics, featured content, authors, and search-led journeys.
  • Editors get a theme vocabulary that fits documentation, articles, resource hubs, newsletters, and author-led content.
  • Developers get a renderer package with optional Blog, Search, and Newsletter integration checks instead of hard package coupling.
  • Registers the knowledge theme definition and preset.
  • Ships a knowledge-focused page wrapper and theme CSS.
  • Adds section renderers for topic hubs, featured content, resource library, search listing, newsletter, authors, proof, and supporting content blocks.
  • Uses Core ViewSectionRenderer extra view data for optional Blog, Search, and Newsletter sections.
  • Adds a demo install command backed by InstallKnowledgeThemeDemoAction.
  • Adds ThemeKnowledgeHealthCheck and a Theme management page contribution.
AreaPath
Providersrc/KnowledgeThemeServiceProvider.php
Demo commandsrc/Console/Commands/DemoCommand.php
Demo actionsrc/Actions/InstallKnowledgeThemeDemoAction.php
RendererCore ViewSectionRenderer extra view data
Theme managementsrc/Manifest/ThemeManagementPageContribution.php
Health checksrc/Health/ThemeKnowledgeHealthCheck.php
Viewsresources/views/page.blade.php
CSSresources/css/theme-knowledge.css
Screenshot manifestdocs/screenshots.json
  • Adds a frontend theme renderer and console demo command.
  • Adds no migrations, settings, models, package-owned routes, or admin resources.
  • Depends on Foundation Theme and reads normal Capell page/theme runtime data.
  • Optional sections stay guarded when Blog, Search, or Newsletter are not installed.

Run package tests from the repository root:

Terminal window
vendor/bin/pest packages/theme-knowledge/tests --configuration=phpunit.xml
  • Keep public theme output free of admin URLs, signed preview URLs, editor selectors, theme internals, model IDs, and permission metadata.
  • Keep optional package checks inside the service provider/renderer layer, not public Blade.
  • Keep the docs aligned with KnowledgeThemeServiceProvider::definition() when section keys, presets, or optional integrations change.