Home

Awesome

lesscss.org

CI Status GH Status npm version Twitter Follow Author

Official website and documentation for Less/Less.js

Quickstart

Assemble and Grunt are used to build the docs. To get started:

  1. Download the docs
  2. In the root of the project, run npm install
  3. Run the grunt command to build the docs

If all worked properly, you're ready to begin contributing to the docs!

Documentation

All documentation content can be found in the ./content directory. Please read the contributing section below if you wish to add documentation.

The Plan

  1. Clean up and organize all of the documentation in the content directory, which means
  2. Consistent naming conventions for files, consistent coding styles in documents
  3. Organize information and favor individual files for sections of content, rather than long documents
  4. Last, a new theme.

Contributing

Coding Style

Please help us make the documentation consistent, readable, and maintainable by conforming to these guidelines when contributing:

Less, LESS or Less.js?

The name of the project is Less. Anywhere in the docs, Less means both the language and its official, reference implementation. The less.js form is normally to be used only to specify either of:

Examples:

Capitalization

In Titles: Do Capitalize
In Titles: Do Not Capitalize

Markdown standards

Less standards

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.

Feature Requests, Bugs and Pull Requests

Tools

The documentation site is generated using Assemble. Please visit that project to report bugs, or to learn more about usage and customization.

Build the docs

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

License

Copyright (c) 2022, Alexis Sellier, Less Core Team, Contributors Documentation released under Creative Commons. Documentation source code released under the MIT License. Less source code is released under the Apache 2 License.