Official website and documentation for Less/Less.js
Assemble and Grunt are used to build the docs. To get started:
npm installgrunt command to build the docsIf all worked properly, you're ready to begin contributing to the docs!
All documentation content can be found in the ./content directory. Please read the contributing section below if you wish to add documentation.
Please help us make the documentation consistent, readable, and maintainable by conforming to these guidelines when contributing:
# for titles, not underlines. Underlines are not semantic, aren't as flexible, aren't always highlighted properly in code highlighters# and the heading```less for Less, and ```css for CSS.display: block; and not display:block;)input[type="text"] should always wrap the attribute's value in double quotes. This is important to do in your own code as well for consistency and safety (see this blog post on unquoted attribute values that can lead to XSS attacks)Examples:
Good
body {
padding-top: 80px;
font-size: 12px;
}
Bad
body {
padding-top: 80px;
font-size: 12px;
}
Bad
body { padding-top: 80px; font-size: 12px }
Also, please ensure that all documentation files should have globally-unique names, regardless of where they are located in the repository. This makes it easier to use conveniences like file globbing, and it's good practice anyway.
The documentation site is generated using Assemble. Please visit that project to report bugs, or to learn more about usage and customization.
Update the project with the most recent metadata from the Less.js project, such as current version number, description, and so on, and then run Grunt with the following command:
node data/utils/pkg && grunt
Copyright (c) 2014, Alexis Sellier, LESS Core Team, Contributors Documentation released under Creative Commons. Documentation source code released under the MIT License. Less.js source code is released under the Apache 2 License.