Skip to content

Commit

Permalink
Add technology root for the DocC rendering engine + SDK update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeehut committed Jun 3, 2024
1 parent 77fb9f2 commit f462256
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions FreemiumKitSDK.xcframework.zip
Git LFS file not shown
3 changes: 2 additions & 1 deletion Sources/FreemiumKit/FreemiumKit.docc/FreemiumKit.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
Learn how to set up your app for our paywalls and live push notifications.

@Metadata {
@TechnologyRoot
@PageImage(purpose: icon, source: "FreemiumKit")
@TitleHeading("Setup Guide")
@PageKind(article)
Expand Down Expand Up @@ -50,7 +51,7 @@ Learn how to set up your app for our paywalls and live push notifications.

## Showing the Paywalls

1. (Recommended) Lock your paid features for users who have not made a purchase yet by using one of the built-in views `PaidFeatureButton`/`PaidFeatureView`. For example:
1. (Recommended) Lock your paid features for users who have not made a purchase yet by using one of the built-in views `PaidFeatureButton` or `PaidFeatureView`. For example:

```swift
// opens paywall if user has not purchased, else works like a normal (stylable) button
Expand Down
2 changes: 1 addition & 1 deletion Sources/FreemiumKit/FreemiumKit.docc/theme-settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"theme": {
"color": {
"header": "#021221",
"header": "#0E1025",
"documentation-intro-fill": "radial-gradient(circle at top, var(--color-header) 30%, #000 100%)",
"documentation-intro-accent": "var(--color-header)"
}
Expand Down

0 comments on commit f462256

Please sign in to comment.