Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

A plone package to integrate the tocify pattern (pat-tocify)

Project Description

A tocify pattern for Plone

This pattern creates a table of contents using jquery.tocify.js (see http://gregfranko.com/jquery.tocify.js for more information about tocify).

Bootstrap the JS environment for pattern development

Make sure, you have GNU make, node and git installed.

Then:

$ git clone (https://github.com/collective/mockup-tocify.git
$ cd collective.tocify
$ make bootstrap

Create the bundles (needed for development and Plone 4. For integration in Plone 5, the bundle can be compiled through the web):

$ make bundle-tocify

Then:

$ python -m SimpleHTTPServer
$ chrome http://localhost:8000

Run the tests.

In watch mode:

$ make test pattern=pattern-tocify

Only once:

$ make test-once pattern=pattern-tocify

In Google Chrome browser:

$ make test-dev pattern=pattern-tocify

Bootstrap Plone for testing the Plone integration

Just use the provided make target commands (see Makefile, for what they are doing).

Note

The make targets to bootstrap Plone erase the var directory! You will loose any changes made to your Plone database.

For Plone 5:

$ make plone

For Plone 4:

$ make plone4

Changelog

1.0 (unreleased)

  • Add basic tocify pattern [allcaps, instification]
Release History

Release History

This version
History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.tocify-0.0.1.tar.gz (3.3 kB) Copy SHA256 Checksum SHA256 Source Oct 22, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting