From 4fe36ccb4a32c789e8cbaf8014c0309c161e2ffd Mon Sep 17 00:00:00 2001 From: Mukesh Panchal Date: Mon, 7 Jan 2019 21:06:43 +0530 Subject: [PATCH] Added missing "Code is Poetry" block in some packages (#13101) * docs: added correct name for font site 50 * Remove old changes * Added missing "Code is Poetry" block in some packages documents * Revert "Remove old changes" This reverts commit c7622d9e7e12feb3df2767f495ef72df2dda69cb. * Revert "docs: added correct name for font site 50" This reverts commit b30c96a11763dfc5a09677178ef9460d98ddeb2f. * Fix display issue in wordcount package * Fix end tag for js block --- packages/annotations/README.md | 2 ++ packages/babel-plugin-makepot/README.md | 2 ++ packages/data/README.md | 2 ++ packages/editor/README.md | 2 ++ packages/nux/README.md | 2 ++ packages/plugins/README.md | 2 ++ packages/viewport/README.md | 2 ++ packages/wordcount/README.md | 3 +++ 8 files changed, 17 insertions(+) diff --git a/packages/annotations/README.md b/packages/annotations/README.md index a1585de3106cb1..1c20f8956e5871 100644 --- a/packages/annotations/README.md +++ b/packages/annotations/README.md @@ -13,3 +13,5 @@ npm install @wordpress/annotations --save _This package assumes that your code will run in an **ES2015+** environment. If you're using an environment that has limited or no support for ES2015+ such as lower versions of IE then using [core-js](https://github.com/zloirock/core-js) or [@babel/polyfill](https://babeljs.io/docs/en/next/babel-polyfill) will add support for these methods. Learn more about it in [Babel docs](https://babeljs.io/docs/en/next/caveats)._ ## Usage + +

Code is Poetry.

diff --git a/packages/babel-plugin-makepot/README.md b/packages/babel-plugin-makepot/README.md index 06e8ceaf341d56..9f43abf09a00e8 100644 --- a/packages/babel-plugin-makepot/README.md +++ b/packages/babel-plugin-makepot/README.md @@ -15,3 +15,5 @@ Install the module: ```bash npm install @wordpress/babel-plugin-makepot --save-dev ``` + +

Code is Poetry.

diff --git a/packages/data/README.md b/packages/data/README.md index 630d30ef9df6c2..8e3ef328516ec4 100644 --- a/packages/data/README.md +++ b/packages/data/README.md @@ -416,3 +416,5 @@ Specific implementation differences from Redux and React Redux: - In `@wordpress/data`, a `withSelect` mapping function can return `undefined` if it has no props to inject. - In React Redux, the `mapDispatchToProps` argument can be defined as an object or a function. - In `@wordpress/data`, the `withDispatch` higher-order component creator must be passed a function. + +

Code is Poetry.

diff --git a/packages/editor/README.md b/packages/editor/README.md index 0b908871df924e..ca608c4d579d1e 100644 --- a/packages/editor/README.md +++ b/packages/editor/README.md @@ -120,3 +120,5 @@ Example: window.wp.element ); ``` + +

Code is Poetry.

diff --git a/packages/nux/README.md b/packages/nux/README.md index 7cf0ce1d4bd07b..f946c7ec85e383 100644 --- a/packages/nux/README.md +++ b/packages/nux/README.md @@ -100,3 +100,5 @@ console.log( 'Tips in this guide:', guide.tipIds ); console.log( 'Currently showing:', guide.currentTipId ); console.log( 'Next to show:', guide.nextTipId ); ``` + +

Code is Poetry.

diff --git a/packages/plugins/README.md b/packages/plugins/README.md index a4ace1daf8f3cc..4c19538984892b 100644 --- a/packages/plugins/README.md +++ b/packages/plugins/README.md @@ -162,3 +162,5 @@ const Layout = () => ( ); ``` {% end %} + +

Code is Poetry.

diff --git a/packages/viewport/README.md b/packages/viewport/README.md index 08e2d33fb748fa..3431d99b216def 100644 --- a/packages/viewport/README.md +++ b/packages/viewport/README.md @@ -72,3 +72,5 @@ function MyComponent( { isMobile } ) { MyComponent = withViewportMatch( { isMobile: '< small' } )( MyComponent ); ``` + +

Code is Poetry.

diff --git a/packages/wordcount/README.md b/packages/wordcount/README.md index a4366a8b417e44..eb17c4331280f7 100644 --- a/packages/wordcount/README.md +++ b/packages/wordcount/README.md @@ -27,3 +27,6 @@ count accepts three parameters: ```JS import { count } from '@wordpress/wordcount'; const numberOfWords = count( 'Words to count', 'words', {} ) +``` + +

Code is Poetry.