dgeni-alive
dgeni-alive copied to clipboard
/partials/index.html 404 (Not Found)
I'm trying to setup dgeni-alive to generate the doc for an AngularJS app.
First here is my gruntfile.js :
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
"dgeni-alive": {
options: {
serve: {
port: '3000',
openBrowser: false
},
},
api: {
title: 'MyApp',
version: '0.0.1',
expand: false,
dest: 'build/docs/',
src: [
'src/**/*.js',
'docs/**/*.ngdoc'
]
}
}
});
grunt.loadNpmTasks('dgeni-alive');
grunt.registerTask("default", [ 'dgeni-alive' ]);
};
And I have the following api.ngdoc file in docs/api :
@ngdoc overview
@name index
@area api
@title API Docs
@description
# My API Docs
Welcome to the my API docs page.
When I run the grunt task everything goes well, no error, no warning, nothing and the web server is well launched.
I can reach http://localhost:3000/ and it works, I get the following screen :
I can also make a search with the top right corner input and get the doc, by example, of routeSegmentContains.
But if I try to click one of the link on the left side menu I get the following error in the browser console :
GET http://localhost:3000/partials/index.html 404 (Not Found)
And I can't find why I get this error and if I missed something !?