-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allow users to override the default template's layout file #480
Comments
for my specific use case it would suffice for it to resolve against the directory in which JSDoc is running, since I run JSDoc via Grunt on a build file in my project root. this is my first time using JSDoc, though - what other paths are significant and would make sense to add to the search path? |
…emplates.default.layoutFile config property (#480)
Fixed on master. The config file can now contain a Relative paths are resolved against the path to the config file; the current working directory; and the JSDoc directory, in that order. |
Hi, |
In #472, @sporritt suggested that we allow users to override the
layout.tmpl
file in the default template. That makes it easy to control which CSS/JS files are pulled into each page, even if you don't want to fork the template.Users should be able to specify another
layout.tmpl
file in the JSDoc config file. The key should be named something liketemplates.default.layout
ortemplates.default.layoutFile
. It should accept a relative path, to be resolved against...which directories exactly?The text was updated successfully, but these errors were encountered: