![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
SassDoc. Like JSDoc, but for Sass files.
Currently only work for .scss
files. Also, inline comments are not parsed (//
).
/**
* Adds `$value` at `$index` in `$list`.
*
* @author Hugo Giraudel
*
* @ignore Documentation: http://sassylists.com/documentation/#insert-nth
*
* @requires is-true
*
* @param {List} $list - list to update
* @param {Number} $index - index to add
* @param {*} $value - value to add
*
* @throws List index $index is not a number for `insert-nth`.
* @throws List index $index must be a non-zero integer for `insert-nth`.
*
* @return {List | Null}
*/
@function insert-nth($list, $index, $value) {
// ...
}
/**
* Defines whether the lib should support legacy browsers (e.g. `IE 8`).
* ---
* @since 0.3.9
* @todo Nothing. It's awesome.
* @link https://github.com/HugoGiraudel/SassDoc SassDoc
* @datatype Bool
*/
$legacy-support: true !global;
npm install -g sassdoc
See grunt-sassdoc.
sassdoc <src> <dest> [options]
Arguments:
<src>
Path to your Sass folder.<dest>
Path to the destination folder.Options:
-h, --help
: bring help-v, --verbose
: run in verbose mode-c, --config
: path to .json
file containing variables to be passed to the viewvar sassdoc = require('sassdoc');
sassdoc.parse(__dirname + '/sass').then(function (items) {
console.log(items);
})
See Wiki.
With the -c
or --config
flag, you can set the path to a JSON file containing variables to be passed to the view so the latter is a little more customized than the default documentation.
Default path leads to the view.json
file at root level. You can update this file or make your own.
Allowed variables:
String
) title
: title of the pageObject
) display
: see belowBoolean
) display.private
: enable/disable display of private itemsBoolean
) display.alias
: enable/disable display of alias itemsFAQs
Release the docs!
The npm package sassdoc receives a total of 1,995 weekly downloads. As such, sassdoc popularity was classified as popular.
We found that sassdoc demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.