Skip to content

Commit

Permalink
Merge branch 'main' into ma/support-logout
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeAlhayek authored Sep 11, 2024
2 parents 07838b2 + 01af2ed commit ebb532a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/docs/releases/2.0.0.md
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,7 @@ and removed the following methods:

A new `SiteDisplayDriver` base class was introduced to simplify the process of adding a UI settings.

!!! note
!!! note
With the new `SiteDisplayDriver` base class for custom settings, you no longer need explicit checks like `context.GroupId.Equals(GroupId, StringComparison.OrdinalIgnoreCase)` as the base class handles this check for you.

A new extension has been introduced to simplify the registration of site setting drivers. Instead of using `service.AddScoped<IDisplayDriver<ISite>, CustomSettingsDisplayDriver>()`, you can now register it with the more streamlined `service.AddSiteDisplayDriver<CustomSettingsDisplayDriver>()`.
Expand Down
2 changes: 1 addition & 1 deletion src/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
mkdocs>=1.6.1
mkdocs-material>=9.5.34
mkdocs-git-authors-plugin>=0.9.0
mkdocs-git-revision-date-localized-plugin>=1.2.7
mkdocs-git-revision-date-localized-plugin>=1.2.8
pymdown-extensions>=10.9.0
mkdocs-exclude>=1.0.2
mkdocs-redirects>=1.2.1
Expand Down

0 comments on commit ebb532a

Please sign in to comment.