1
0
mirror of synced 2024-11-23 21:36:09 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
Kevin Brown
74387b9863 Switched examples to use Jekyll's highlighting
This fixes some bugs that were present in the old Prettify highlighter
when there was a mix of JavaScript and HTML in the same code block. Now
with Rouge, the highlighter used by Jekyll, these cases are properly
handled and HTML no longer looks strange.

This does not convert all of the code blocks over, because there are
still some code blocks which double as the actual JavaScript code
powering the example that need to be migrated.
2016-01-30 18:09:01 -05:00
Anthony DiSanti
4a5d753112 Fixes typos in docs
* Updates Disabled Mode docs
* Updates Disabled Results docs
2015-08-09 14:19:39 -04:00
Stretch
d91dfecd98 #3326 Maximum selection example
Fixing the documentation for maximumselectionlength
2015-06-10 18:59:09 +10:00
Florian Kissling
42739b780e Merge branch 'master' into docs-improvements
Conflicts:
	docs/examples.html

In the docs-improvements branch, the docs examples live in partials located in docs/_includes/examples.
The updated AJAX example code from https://github.com/select2/select2/pull/3357 – the conflicting addition to docs/examples.html – has been ported to the appropiate partial in docs/_includes/examples.data.html.
2015-06-08 02:27:33 +02:00
Kevin Brown
038c709c8b Adjusted some wording 2015-05-31 15:11:01 -04:00
Florian Kissling
96abf64472 Rename section "Other data sources" to "Data sources".
Also adds an introductional paragraph to the section.
2015-05-06 03:36:29 +02:00
Florian Kissling
20b64cfe15 Group single and multiple select box examples under "The basics". 2015-05-06 03:20:44 +02:00
Florian Kissling
b74a0ae6e0 Move all examples to partials. 2015-05-06 01:19:05 +02:00