Skip to content

Commit 0d8012f

Browse files
authored
Merge pull request #690 from SableRaf/link-lib-template
Add link to library template on libraries page
2 parents b8a2f60 + ceae9b4 commit 0d8012f

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎i18n/react-intl/en.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@
108108
"librariesFilter": "Filter by keywords...",
109109
"contributions": "Contributions",
110110
"contributionsIntro": "Contributed libraries are created by members of the Processing community. They are independently and generously created to share. They are all open source and include their own reference and examples.",
111+
"librariesTemplate": "Ready to contribute? Learn how to <a href='https://processing.github.io/processing-library-template/getting-started.html' target='_blank' rel='noreferrer'>create a Processing library</a>.",
111112
"referencesFilter": "Filter by keywords...",
112113
"toolsIntro": "The following tools are included with the Processing software. Select the tool you want to use from the Tools menu of the Processing Environment. These tools are open source; the code is distributed with Processing.",
113114
"contributedTools": "Contributed tools must be downloaded individually. Select 'Add Tool...' from the Tools menu to select a Tool to download. Contributed tools are developed, documented, and maintained by members of the Processing community. For feedback and support, please post to the <a href='http://forum.processing.org/'>Forum</a>. For development discussions post to the <a href='http://forum.processing.org/library-and-tool-development'> Libraries and Tool Development </a> topic. Instructions for creating your own tool are on the <a href='https://github.com/processing/processing/wiki'> Processing GitHub </a> site.",

‎src/templates/reference/libraries/index.js‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ const Libraries = ({ data, pageContext }) => {
5656
<div className={classnames(grid.col, css.text, css.pushDown)}>
5757
<h1>{intl.formatMessage({ id: 'contributions' })}</h1>
5858
<h3>{intl.formatMessage({ id: 'contributionsIntro' })}</h3>
59+
<p></p>
60+
<p
61+
dangerouslySetInnerHTML={{
62+
__html: intl.formatMessage({ id: 'librariesTemplate' })
63+
}}
64+
/>
5965
</div>
6066
<div className={classnames(grid.col, css.filter)}>
6167
<FilterBar

0 commit comments

Comments
 (0)