Fix custom navbar content display and GitHub icon in ng-doc v19 documentation app #283
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Problem
The custom navbar content (title and GitHub link) was not displaying in the documentation app after upgrading to ng-doc version 19. The navbar appeared empty where the "Charts-on-FHIR" title and GitHub repository link should have been visible.
Root Cause
ng-doc version 19 introduced breaking changes to:
ng-templateelements withngDocNavbarLeftandngDocNavbarRightdirective attributes, which is the v18 syntax. In v19, these directives must be applied directly to the content elements instead of template containers.Solution
1. Updated navbar template syntax in
apps/documentation/src/app/app.component.html:Before (ng-doc v18 syntax):
After (ng-doc v19 syntax):
2. Configured custom icons path in
apps/documentation/src/app/app.module.ts:Result
The navbar now correctly displays the custom content across all documentation pages:
This change ensures the documentation app maintains its proper branding and provides users with easy access to the project's GitHub repository.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.