@sveltia/cms 0.86.0 → 0.86.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -894,12 +894,13 @@ collections:
894
894
  fields: # Fields for regular entries
895
895
  ...
896
896
  index_file:
897
- fields: # Fields for the index file. If omitted, regular entry fields are used
898
- ...
899
- # All of the following options are optional
897
+ # All of the following options are optional. However, if you want to omit them all,
898
+ # use `index_file: true` or `index_file: {}`. Otherwise the feature won’t work
900
899
  name: _index # File name without a locale or extension. Default: _index
901
900
  label: Index File # Human-readable file label. Default: Index File
902
901
  icon: home # Material Symbols icon name. Default: home
902
+ fields: # Fields for the index file. If omitted, regular entry fields are used
903
+ ...
903
904
  editor:
904
905
  preview: false # Hide the preview pane if needed. Default: true
905
906
  ```