{
"info": {
"author": "Rene\u00b4 Jochum",
"author_email": "rene@jochums.at",
"bugtrack_url": null,
"classifiers": [
"Environment :: Web Environment",
"Framework :: Plone",
"Framework :: Plone :: 5.0",
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules"
],
"description": "Highlightjs for Plone 5.\n============================\n\nThis addon integrates https://highlightjs.org/ via https://github.com/pcdummy/pat-highlightjs into Plone 5.\n\nPatternslib searches for pre tags and calls https://github.com/pcdummy/pat-highlightjs/blob/master/src/pat-highlightjs.js#L46 on it.\n\n\nUsage\n=====\n\nmockup-highlightjs has 3 profiles:\n\n- **default**: Means register js/css and a extra bundle + download for highlightjs.\n- **registerjs**: Just register js/css and include somewhere else.\n- **uninstall**: Uninstall both of the above.\n\nregisterjs Usage:\n\nAdd to **YourAddon.site/profiles/default/metadata.xml**::\n\n \n \n 1000\n \n profile-mockup-highlightjs:registerjs\n \n \n\nAdd to **YourAddon.theme/profiles/default/registry.xml**::\n\n \n \n \n mockup-bundles-highlightjs\n mockup-styles-highlightjs-monokai-sublime\n \n True\n True\n ++theme++youraddon/js/bundle-compiled.js\n ++theme++youraddon/css/persona-compiled.css\n 2016-01-31 00:00:00\n \n\n\n\nBootstrap the JS environment for pattern development\n----------------------------------------------------\n\nMake sure, you have `GNU make`, `node` and `git` installed.\n\nThen::\n\n $ git clone https://github.com/collective/mockup-highlightjs.git\n $ cd mockup-highlightjs\n $ make bootstrap\n\nThen::\n\n $ python -m SimpleHTTPServer\n $ chrome http://localhost:8000\n\n\nRun the tests.\n\nIn watch mode::\n\n $ make test pattern=pattern-highlightjs\n\nOnly once::\n\n $ make test-once pattern=pattern-highlightjs\n\nIn Google Chrome browser::\n\n $ make test-dev pattern=pattern-highlightjs\n\n\nGenerate **registerjs entries** for all the available styles::\n\n $ src/mockup-highlightjs/scripts/echo_less_resources.sh\n $ src/mockup-highlightjs/scripts/echo_less_resources-remove.sh\n\n\nBootstrap Plone for testing the Plone integration\n----------------------------------------------------\n\nJust use the provided ``make`` target commands (see ``Makefile``, for what they\nare doing).\n\n.. note::\n\n The make targets to bootstrap Plone erase the ``var`` directory! You will\n loose any changes made to your Plone database.\n\n $ make plone\n\n\nContribute\n----------\n\n- Issue Tracker: https://github.com/collective/mockup-highlightjs/issues\n- Source Code: https://github.com/collective/mockup-highlightjs\n\n\nSupport\n-------\n\nIf you are having issues, please let me know.\n\n\nLicense\n-------\n\nThe project is licensed under the BSD license.\n\nChangelog\n=========\n\n1.0.0-alpha.2 (2016-04-04)\n--------------------------\n\n- Fix make bootstrap by:\n - adding resolutions to bower.json.\n - Use http://semver.org/ for versioning.\n [pcdummy]\n\n1.0a1 (2016-02-14)\n------------------\n\n- Initial release.\n [pcdummy]",
"description_content_type": null,
"docs_url": null,
"download_url": "",
"downloads": {
"last_day": -1,
"last_month": -1,
"last_week": -1
},
"home_page": "https://github.com/collective/mockup-highlightjs",
"keywords": "plone mockup",
"license": "BSD",
"maintainer": "",
"maintainer_email": "",
"name": "mockup-highlightjs",
"package_url": "https://pypi.org/project/mockup-highlightjs/",
"platform": "UNKNOWN",
"project_url": "https://pypi.org/project/mockup-highlightjs/",
"project_urls": {
"Homepage": "https://github.com/collective/mockup-highlightjs"
},
"release_url": "https://pypi.org/project/mockup-highlightjs/1.0.0a2/",
"requires_dist": null,
"requires_python": "",
"summary": "Extension to Mockup's patterns.",
"version": "1.0.0a2"
},
"last_serial": 2045113,
"releases": {
"1.0.0a2": [
{
"comment_text": "",
"digests": {
"md5": "ce8e1c7af6d8575fe29975e1c78bc210",
"sha256": "1632d37b85e5ec0cc847bfe54a53ac7f4fc175db89d1841e874afe7360ec5185"
},
"downloads": -1,
"filename": "mockup-highlightjs-1.0.0a2.tar.gz",
"has_sig": false,
"md5_digest": "ce8e1c7af6d8575fe29975e1c78bc210",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 239055,
"upload_time": "2016-04-04T17:23:02",
"url": "https://files.pythonhosted.org/packages/15/5c/9c9393845bc31cf618dc336f1aa15d4896949205bd996531880759561818/mockup-highlightjs-1.0.0a2.tar.gz"
}
],
"1.0a1": [
{
"comment_text": "",
"digests": {
"md5": "d72502b30dae39200d5798150438b4ad",
"sha256": "af1792dc3a46f81be066eea0b14dc6108ebec3bfc4a7a37203c53dea830fed3c"
},
"downloads": -1,
"filename": "mockup-highlightjs-1.0a1.tar.gz",
"has_sig": false,
"md5_digest": "d72502b30dae39200d5798150438b4ad",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 238882,
"upload_time": "2016-02-14T19:03:41",
"url": "https://files.pythonhosted.org/packages/fa/71/b84f549c36c74467fd625d2873a6a1b6a40d2970a94ba29faeafb2763179/mockup-highlightjs-1.0a1.tar.gz"
}
]
},
"urls": [
{
"comment_text": "",
"digests": {
"md5": "ce8e1c7af6d8575fe29975e1c78bc210",
"sha256": "1632d37b85e5ec0cc847bfe54a53ac7f4fc175db89d1841e874afe7360ec5185"
},
"downloads": -1,
"filename": "mockup-highlightjs-1.0.0a2.tar.gz",
"has_sig": false,
"md5_digest": "ce8e1c7af6d8575fe29975e1c78bc210",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 239055,
"upload_time": "2016-04-04T17:23:02",
"url": "https://files.pythonhosted.org/packages/15/5c/9c9393845bc31cf618dc336f1aa15d4896949205bd996531880759561818/mockup-highlightjs-1.0.0a2.tar.gz"
}
]
}