同步操作将从 wilkwo/lessdocs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
Official website and documentation for Less/Less.js
Assemble and Grunt are used to build the docs. To get started:
npm install
grunt
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:
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:
#
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)@long-variable-name
or .my-favourite-mixin
)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) 2017, 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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。