mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-01 04:50:59 +08:00
refactor(docs): move docs-templates into docs
This commit is contained in:
parent
dd91c38010
commit
c307dd3040
9 changed files with 1 additions and 1 deletions
|
@ -273,7 +273,7 @@ module.exports = (grunt) ->
|
|||
|
||||
# Prepare to render by loading handlebars partials
|
||||
|
||||
templatesPath = path.resolve(__dirname, '..', '..', 'docs-templates')
|
||||
templatesPath = path.resolve(__dirname, '..', '..', 'docs', 'docs-templates')
|
||||
grunt.file.recurse templatesPath, (abspath, root, subdir, filename) ->
|
||||
if filename[0] is '_' and path.extname(filename) is '.html'
|
||||
Handlebars.registerPartial(filename[0..-6], grunt.file.read(abspath))
|
||||
|
|
Loading…
Reference in a new issue