mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-09-25 03:42:30 +00:00
Fix dir option in site generator
Use relative folder not absolute
This commit is contained in:
@@ -91,7 +91,7 @@ Generator.prototype.convertFile = function(content, _input) {
|
||||
// Get HTML generated sections
|
||||
return parse.page(lexed, {
|
||||
repo: that.options.githubId,
|
||||
dir: path.dirname(input) || '/'
|
||||
dir: path.dirname(_input) || '/',
|
||||
});
|
||||
})
|
||||
.then(function(sections) {
|
||||
|
||||
Reference in New Issue
Block a user