-
Notifications
You must be signed in to change notification settings - Fork 9
generate both md and html #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| const domainName = type.domain.name.toLowerCase(); | ||
| const name = type.name.toLowerCase(); | ||
| result.push(`[${type.domain.name}.${type.name}]: ${domainName}.md#type-${domainName}${name} "${type.domain.name}.${type.name}"`); | ||
| result.push(`[${type.domain.name}.${type.name}]: ${domainName}.html#type-${domainName}-${name} "${type.domain.name}.${type.name}"`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this breaks md links
| function html(schema) { | ||
| for (const domain of schema.domains) { | ||
| const md = fs.readFileSync(`docs/md/${domain.name.toLowerCase()}.md`, 'utf8'); | ||
| debugger; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
debugging Node just because we can 👍
|
Lol |
sidbln
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi
| @@ -0,0 +1,6 @@ | |||
| { | |||
| "dependencies": { | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bitte gern geschehen.
No description provided.