Florian Kissling 041c7ee8ec wrap "initSelection" in <code>. 10 éve
..
_includes 041c7ee8ec wrap "initSelection" in <code>. 10 éve
_layouts eef50c9b94 Add .s2-docs-home to "home" layout, add partial for homepage CSS. 10 éve
_sass eef50c9b94 Add .s2-docs-home to "home" layout, add partial for homepage CSS. 10 éve
css f73dc290fd Move most of the default CSS to partials/Sass. 10 éve
dist 4ae3439dbc Started building the docs site 11 éve
vendor d98cbcec21 Add a fixed sidebar with anchor navigation to the sidebar. 10 éve
.gitignore 4ae3439dbc Started building the docs site 11 éve
README.md 5b95c0e834 Clarified the documentation README [ci skip] 10 éve
announcements-4.0.html 33b637dbf9 Ditch wrong .lead copy. 10 éve
community.html 7b62c7d444 Remove icon. 10 éve
examples.html 0474e69e6e Add .s2-docs-container to enable anchor.js. 10 éve
index.html 25ba1ef1f3 Prettify <pre> on homepage. 10 éve
options.html 80dbd692db Don't show line numbers for one line code examples. 10 éve

README.md

Select2 Documentation

This repository holds the latest documentation for Select2.

What is this?

The documentation is automatically extracted from the docs directory at the Select2 source repository. This is done periodically by the maintainers of Select2.

How can I fix an issue in these docs?

If you are reading this from the source repository, within the docs directory, then you're already in the right place. You can fork the source repository, commit your changes, and then make a pull request and it will be reviewed.

If you are reading this from the documentation repository, you are in the wrong place. Pull requests made directly to the documentation repository will be ignored and eventually closed, so don't do that.

How can I build these docs manually?

In the main Select2 repository, you can build the documentation by executing

grunt docs

Which will start up the documentation on port 4000. You will need Jekyll installed to build the documentation.