@wordpress/docgen 1.45.0 → 1.46.0

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.
@@ -207,8 +207,10 @@ module.exports = (
207
207
  ( tag ) => {
208
208
  const name = tag.name;
209
209
  const type = getTypeOutput( tag );
210
-
211
- return `- *${ name }* ${ type }`;
210
+ const desc = cleanSpaces( tag.description );
211
+ return `- *${ name }* ${ type }${
212
+ desc ? `: ${ desc }` : ''
213
+ }`;
212
214
  },
213
215
  docs
214
216
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wordpress/docgen",
3
- "version": "1.45.0",
3
+ "version": "1.46.0",
4
4
  "description": "Autogenerate public API documentation from exports and JSDoc comments.",
5
5
  "author": "The WordPress Contributors",
6
6
  "license": "GPL-2.0-or-later",
@@ -38,5 +38,5 @@
38
38
  "publishConfig": {
39
39
  "access": "public"
40
40
  },
41
- "gitHead": "d47d8069e1aae05d4a16dc287902eb90edcbff50"
41
+ "gitHead": "bcd13d59b22553b3c9dc5869077bff1e864cf9f5"
42
42
  }