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

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.