File tree Expand file tree Collapse file tree 2 files changed +23
-4
lines changed
SwiftDocC/SwiftDocC.docc/Resources
docc/DocCDocumentation.docc Expand file tree Collapse file tree 2 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 821
821
"type" : " object" ,
822
822
"description" : " flags for enabling or disabling `/documentation` page features." ,
823
823
"properties" : {
824
- "quicknavigation " : {
824
+ "quickNavigation " : {
825
825
"$ref" : " #/components/schemas/FeatureFlagEnable"
826
+ },
827
+ "onThisPageNavigator" : {
828
+ "$ref" : " #/components/schemas/FeatureFlagDisable"
826
829
}
827
830
}
828
831
}
883
886
}
884
887
}
885
888
},
889
+ "FeatureFlagDisable" : {
890
+ "type" : " object" ,
891
+ "description" : " Disables a feature if `disable` is `true`." ,
892
+ "required" : [
893
+ " disable"
894
+ ],
895
+ "properties" : {
896
+ "disable" : {
897
+ "type" : " boolean"
898
+ }
899
+ }
900
+ },
886
901
"URL" : {
887
902
"type" : " string" ,
888
903
"description" : " An absolute URL or relative path." ,
Original file line number Diff line number Diff line change @@ -218,9 +218,10 @@ that can be enabled or disabled using `theme-settings.json`.
218
218
219
219
**Example**
220
220
221
- As of the time of writing this, there is only one available "quick navigation"
222
- feature that is disabled by default and can be enabled with the following
223
- configuration. Note that this flag may be dropped in the future and new ones may
221
+ If you want to disable the OnThisPageNav right side navigation, you can set the
222
+ `features.docs.onThisPageNavigator.disable` to `true`.
223
+
224
+ Note that some of these flags may be dropped in the future and new ones may
224
225
be added as necessary for other features.
225
226
226
227
```json
@@ -229,6 +230,9 @@ be added as necessary for other features.
229
230
"docs": {
230
231
"quickNavigation": {
231
232
"enable": true
233
+ },
234
+ "onThisPageNavigator": {
235
+ "disable": true
232
236
}
233
237
}
234
238
}
You can’t perform that action at this time.
0 commit comments