Florian Kissling 25ba1ef1f3 Prettify <pre> on homepage. 10 年之前
..
_includes 8a1a35aa15 Make "Download" button stand out a little more. 10 年之前
_layouts 25ba1ef1f3 Prettify <pre> on homepage. 10 年之前
dist 4ae3439dbc Started building the docs site 11 年之前
vendor d98cbcec21 Add a fixed sidebar with anchor navigation to the sidebar. 10 年之前
.gitignore 4ae3439dbc Started building the docs site 11 年之前
README.md 5b95c0e834 Clarified the documentation README [ci skip] 10 年之前
announcements-4.0.html a0b7afbf2f Add .jumbotron to #pre-release. 10 年之前
community.html 5a44b40ee6 Move .lead into .jumbotron. 10 年之前
examples.html 0474e69e6e Add .s2-docs-container to enable anchor.js. 10 年之前
index.html 25ba1ef1f3 Prettify <pre> on homepage. 10 年之前
options.html 481a2f89c9 Add ID. 10 年之前

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.