From 544ba21f2ff66b74ba5b77a79ea8ede8c0598197 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Tue, 7 Sep 2021 14:42:26 -0700 Subject: [PATCH] chore: Format table + JSON code block --- .../serve-publish-subscribe/catalog.mdx | 53 +++++++++---------- 1 file changed, 25 insertions(+), 28 deletions(-) diff --git a/src/markdown-pages/build-apps/serve-publish-subscribe/catalog.mdx b/src/markdown-pages/build-apps/serve-publish-subscribe/catalog.mdx index d4d674420..b0043412c 100644 --- a/src/markdown-pages/build-apps/serve-publish-subscribe/catalog.mdx +++ b/src/markdown-pages/build-apps/serve-publish-subscribe/catalog.mdx @@ -119,13 +119,13 @@ ls catalog [output] README.md additionalInfo.md config.json documentation.md {blue}screenshots ``` -| File | Description | -|---|---| -| _README.md_ | A markdown file that instructs you how to use the information and metadata in _catalog_ | -| _config.json_ | A JSON file that contains the following fields:

Check out our [Pageview Map application's _config.json_](https://github.com/newrelic/nr1-pageview-map/blob/main/catalog/config.json) to see a real-life implementation. -| _documentation.md_ | A markdown file that tells users how to use the Nerdpack's Nerdlets or visualizations. This shows in the detail view's **Documentation** tab. | -| _additionalInfo.md_ | An optional markdown file for any additional information about using your application | -| _screenshots_ | A directory that contains screenshots of your Nerdlets or visualizations. This can contain no more than 6 images. All screenshots must meet the following criteria:

| +| File | Description | +| ------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| _README.md_ | A markdown file that instructs you how to use the information and metadata in _catalog_ | +| _config.json_ | A JSON file that contains the following fields:

Check out our [Pageview Map application's _config.json_](https://github.com/newrelic/nr1-pageview-map/blob/main/catalog/config.json) to see a real-life implementation. | +| _documentation.md_ | A markdown file that tells users how to use the Nerdpack's Nerdlets or visualizations. This shows in the detail view's **Documentation** tab. | +| _additionalInfo.md_ | An optional markdown file for any additional information about using your application | +| _screenshots_ | A directory that contains screenshots of your Nerdlets or visualizations. This can contain no more than 6 images. All screenshots must meet the following criteria:

| @@ -216,26 +216,22 @@ Update your _package.json_ version: ```json fileName=package.json lineHighlight=4 { - "private": true, - "name": "demo-app", - "version": "1.0.1", - "scripts": { - "start": "nr1 nerdpack:serve", - "test": "exit 0" - }, - "nr1": { - "uuid": "f2dbc999-e9a3-49b9-933d-5a704c6750bd" - }, - "dependencies": { - "prop-types": "^15.6.2", - "react": "^16.6.3", - "react-dom": "^16.6.3" - }, - "browserslist": [ - "last 2 versions", - "not ie < 11", - "not dead" - ] + "private": true, + "name": "demo-app", + "version": "1.0.1", + "scripts": { + "start": "nr1 nerdpack:serve", + "test": "exit 0" + }, + "nr1": { + "uuid": "f2dbc999-e9a3-49b9-933d-5a704c6750bd" + }, + "dependencies": { + "prop-types": "^15.6.2", + "react": "^16.6.3", + "react-dom": "^16.6.3" + }, + "browserslist": ["last 2 versions", "not ie < 11", "not dead"] } ``` @@ -347,4 +343,5 @@ nr1 catalog:submit [output] {error}›{normal} {blue}catalog/config.json [output] {error}›{normal} {error}Invalid Metadata: `tagline` has a character length of 266. Must be no longer than 30 characters [output] {error}›{normal} Code: UNKNOWN -``` \ No newline at end of file +``` +