Skip to content
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

/partials/index.html 404 (Not Found) #28

Open
JeanJacque opened this issue Jun 9, 2017 · 0 comments
Open

/partials/index.html 404 (Not Found) #28

JeanJacque opened this issue Jun 9, 2017 · 0 comments

Comments

@JeanJacque
Copy link

JeanJacque commented Jun 9, 2017

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 :

capture du 2017-06-08 15-58-23

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 !?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant