nuvoleweb / ui_patterns

[NOTE] Development has moved to https://drupal.org/project/ui_patterns
https://drupal.org/project/ui_patterns
GNU General Public License v2.0
85 stars 56 forks source link
drupal module patterns theming ux

UI Patterns

Join the chat at https://gitter.im/nuvoleweb/ui_patterns Build Status Scrutinizer Code Quality Documentation Status

Define and expose self-contained UI patterns as Drupal plugins and use them seamlessly as drop-in templates for panels, field groups, views, Display Suite view modes and field templates.

The UI Patterns module also integrates with with tools like PatternLab or modules like Component Libraries thanks to definition overrides.

Overview

Project overview

The UI Patterns project provides 6 modules:

Try it out!

Download and install the Bootstrap Patterns theme on a vanilla Drupal 8 installation to quickly try out the UI Patterns module.

Documentation

Documentation is hosted on Read the Docs and available here.

To build the documentation make sure you setup your environment by following these instructions first.

After setting up your environment run:

$ cd docs
$ make html

The documentation is then available at ./docs/_build/html/index.html.

If you want to contribute documentation you can setup and auto-compile that will watch for documentation changes by running:

$ make livehtml

You can then preview the compiled documentation at http://127.0.0.1:8000.

To build the documentation using Docker run:

$ docker run -it -v $(pwd)/docs:/docs xeizmendi/docker-sphinx make --directory=/docs html