Giter Site home page Giter Site logo

select2 / docs Goto Github PK

View Code? Open in Web Editor NEW
48.0 15.0 177.0 1.97 MB

DEPRECATED - Now located in docs directory of main repository

Home Page: https://select2.org

License: Creative Commons Attribution 4.0 International

HTML 9.69% PHP 12.80% CSS 72.98% JavaScript 4.52% Shell 0.01%
javascript jquery select2

docs's Introduction

select2.org

https://select2.org

This is the repository for the documentation for Select2. It is built with the flat-file CMS Grav, using their RTFM skeleton.

Local installation

Step 1 - Install Grav

This application uses the Grav CMS. This repository does not contain a full Grav installation - rather, it just contains the contents of Grav's user directory, which is where all of our content, themes, and assets live. This was done as per the recommendation on Grav's blog, to make it easier to deploy changes to the live server.

To install this website on your computer, first install grav core in a project folder called select2-docs under your webserver's document root folder. Then, find the user folder inside of your project folder. Delete the contents of the user folder and clone this repository directly into the user folder.

When you're done it might look something like this:

htdocs/
└── select2-docs/
   ├── assets/
   ├── ...
   ├── user/
       ├── .git
       ├── accounts/
       ├── assets/
       ├── config/
       └── ...
   └── ...

Step 2

Grav needs your webserver to be able to write to certain directories. In OSX with XAMPP installed, this won't work by default. To deal with this:

Add default webserver user daemon to OSX's staff group (which already has the necessary permissions for writing to files/directories):

sudo dseditgroup -o edit -a daemon -t user staff

Step 3

Visit the local installation in your browser! For example, http://localhost/select2-docs.

Credits

Favicons were generated with https://realfavicongenerator.net/

docs's People

Contributors

alexweissman avatar anhphamt avatar ellenhutchings avatar emmanuelballery avatar geoffroya avatar gronostajo avatar hartator avatar jimmielin avatar jonathanberger avatar kevin-brown avatar kochnev avatar niftylettuce avatar ntantri avatar pbek avatar pedrofurtado avatar tomm1996 avatar zomberg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

Example Page

i really miss the awesome example page from the old webpage. seeing everything on one page was a really great way to show select2 to another person and also was a very good quick reference.

could you re-add such an awesome example page again? the equivalent now would be the appearance page. do is see this correct?

Instructions for usage with Webpack

Migrating in from select2/select2#5372

Select2 doesn't work out of the box with Webpack and additional steps are needed. The linked ticket has some suggestions.

This ticket should come up with the minimum steps needed to make Select2 compatible and then document them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.