Skip to content

Commit

Permalink
docs: reflect new changes, some typo fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Frey <[email protected]>
  • Loading branch information
lukas-frey committed May 7, 2024
1 parent c2fa9de commit b84ff92
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,30 @@ php artisan cache:clear

A lot of the functionalities can be customized to a certain extent.

### Customize the knowledge base panel
You can customize the knowledge base panel to your liking using:

```php
use Guava\FilamentKnowledgeBase\Filament\Panels\KnowledgeBasePanel;

KnowledgeBasePanel::configureUsing(
fn(KnowledgeBasePanel $panel) => $panel
// Your options here
);
```

#### Change brand name
For example to change the default brand name/title (displayed in the top left) of the panel, you can do:

```php
use Guava\FilamentKnowledgeBase\Filament\Panels\KnowledgeBasePanel;

KnowledgeBasePanel::configureUsing(
fn(KnowledgeBasePanel $panel) => $panel
->brandName('My Docs')
);
```

### Customize the help menu/button render hook

If you want to place the help menu / button someplace else, you can override the render hook:
Expand Down

0 comments on commit b84ff92

Please sign in to comment.