mirror of
https://github.com/danog/sass-site.git
synced 2024-11-30 04:29:17 +01:00
Parse JS docs as HTML, not markdown
This commit is contained in:
parent
af363b56da
commit
ff936c46d8
@ -1,9 +1,4 @@
|
||||
const {
|
||||
DefaultTheme,
|
||||
DefaultThemeRenderContext,
|
||||
JSX,
|
||||
UrlMapping,
|
||||
} = require('typedoc');
|
||||
const { DefaultTheme, DefaultThemeRenderContext, JSX } = require('typedoc');
|
||||
|
||||
function bind(fn, first) {
|
||||
return (...r) => fn(first, ...r);
|
||||
@ -183,19 +178,6 @@ title: ${JSON.stringify(`${page.model.name} | JS API`)}
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
|
||||
getUrls(project) {
|
||||
return super
|
||||
.getUrls(project)
|
||||
.map(
|
||||
(mapping) =>
|
||||
new UrlMapping(
|
||||
`${mapping.url.replace(/\.html$/, '.md')}`,
|
||||
mapping.model,
|
||||
mapping.template,
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: See if there's a graceful way to support "Heads up!" and Compatibility
|
||||
|
Loading…
Reference in New Issue
Block a user