Skip to content

Commit

Permalink
Inline jsdoc2md configs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidyuk committed Jun 17, 2020
1 parent cce14a0 commit 67cf504
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .jsdoc2md.json

This file was deleted.

7 changes: 4 additions & 3 deletions apidoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,12 @@ const fs = require('fs')
const path = require('path')
const R = require('ramda')

const config = require(`${__dirname}/.jsdoc2md.json`)

const outputDir = `${__dirname}/docs`
const prefix = /^@aeternity\/aepp-sdk\/es\//
const templateData = jsdoc2md.getTemplateDataSync(config)
const templateData = jsdoc2md.getTemplateDataSync({
configure: '.jsdoc.json',
files: 'es/**'
})

function createDirs (path) {
const paths = path.split(/\//).slice(1, -1)
Expand Down

0 comments on commit 67cf504

Please sign in to comment.