You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/glossary.md
+12-7Lines changed: 12 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,17 +129,22 @@ record
129
129
Records are basic dictionaries.
130
130
131
131
Project (Volto)
132
-
The product of running `create-volto-app`, a customizable instance of Volto.
132
+
The product of running `@plone/generator-volto` package, a customizable instance of Volto.
133
133
134
134
Add-on (Volto)
135
-
A JavaScript package that integrates with Volto's configuration registry.
135
+
A JavaScript package that integrates with Volto's configuration registry and is able to enhance, extend and customize it.
136
136
137
137
Add-on configuration loader (Volto)
138
138
A function with signature `config => config`.
139
+
It gets the Volto Configuration registry and it must return it back after mutating it.
140
+
It is similar to Generic Setup profiles in Plone Backend.
141
+
An add-on must provide a default one, that is always loaded when Volto runs.
142
+
An add-on can have multiple of them, and they can be loaded optionally from the Volto configuration.
139
143
140
144
Configuration registry (Volto)
141
145
A singleton object modeled using JavaScript modules, accessible from the Volto
142
-
project using the `~/config` path.
146
+
project by importing `@plone/volto/config` module (`import registry from '@plone/volto/config'`).
147
+
It contains the configuration of the Volto app.
143
148
144
149
Shadowing (Volto)
145
150
Webpack provides an "alias" mechanism, where the path for a module can be aliased to another module.
@@ -204,7 +209,7 @@ Scoped packages
204
209
Namespace for JavaScript packages, they provide a way to avoid naming conflicts for common package names.
205
210
206
211
middleware (Redux)
207
-
Custom wrappers for the Redux store dispatch methods.
212
+
Custom wrappers for the Redux store dispatch methods.
208
213
They allow customizing the behavior of the data flow inside the redux store.
209
214
210
215
hooks (React)
@@ -242,8 +247,8 @@ Markdown
242
247
fence
243
248
A method to extend basic MyST syntax.
244
249
You can define a directive with backticks (`` ` ``) followed by a reStructuredText directive in curly brackets (`{}`), and a matching number of closing backticks.
245
-
You can also nest fences by increasing the number of backticks.
246
-
250
+
You can also nest fences by increasing the number of backticks.
0 commit comments