@ulu/sassdoc-to-markdown
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -98,3 +98,3 @@ import { join } from "path"; | ||
const $group = groupTemplate(pageData, $content); | ||
const $group = groupTemplate(ctxData, $content); | ||
@@ -101,0 +101,0 @@ if (options.debugToDir) { |
@@ -9,4 +9,2 @@ import { titledList } from "@ulu/markdown-output-utils"; | ||
<SassdocDetails summary="Meta Information"> | ||
${ titledList({ | ||
@@ -21,4 +19,2 @@ "File" : file.path, | ||
}) } | ||
</SassdocDetails> | ||
@@ -25,0 +21,0 @@ `; |
import group from "./page/group.js"; | ||
import section from "./page/section.js"; | ||
import item from "./page/item.js"; | ||
import component from "./page/component.js"; | ||
import script from "./page/script.js"; | ||
@@ -29,4 +27,2 @@ import see from "./annotations/see.js"; | ||
item, | ||
component, | ||
script, | ||
}; | ||
@@ -33,0 +29,0 @@ export const annotations = { |
@@ -1,15 +0,7 @@ | ||
export default ({ title, info, groupName, options }, markup) => { | ||
export default ({ title, info, groupName }, markup) => { | ||
const groupDescription = info?.groupDescriptions?.[groupName]; | ||
let description = !groupDescription ? "" : ` | ||
<div class="sassdoc-intro"> | ||
${ groupDescription } | ||
</div> | ||
`; | ||
return ` | ||
# ${ title } | ||
${ description } | ||
${ groupDescription ? groupDescription : "" } | ||
@@ -16,0 +8,0 @@ ${ markup } |
{ | ||
"name": "@ulu/sassdoc-to-markdown", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Parses sass directory and outputs markdown pages for sassdocs.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
29106
36
798