小编Lin*_*ino的帖子

如何使用grunt-ngdocs创建api文档

我正在尝试通过grunt-ngdocs创建API文档.部分已创建,但index.html没有正确的链接.

我有我的gruntfile.js:

module.exports = function (grunt) {

grunt.initConfig({
    pkg: grunt.file.readJSON('package.json'),
    karma: {
        unit: {
            configFile: 'karma.conf.js'
        }
    },
    uglify: {
        options: {
            // the banner is inserted at the top of the output
            banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
        },
        dist: {
            files: {
                'web/js/app.min.js': ['web/js/app.js']
            }
        }
    },
    ngdocs: {
        options: {
            dest: 'docs',
            scripts: ['web/js/app.js'],
            title: 'My Documentation'
        },
        api: {
            src: ['web/**/*.js'],
            title: 'API Documentation'
        }
    },
    clean:['docs','testResult']


});

grunt.loadNpmTasks('grunt-karma');
grunt.loadNpmTasks('grunt-ngdocs');
grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-clean');
grunt.registerTask('default', …
Run Code Online (Sandbox Code Playgroud)

documentation-generation node.js jsdoc angularjs gruntjs

6
推荐指数
1
解决办法
3904
查看次数

我可以在Android应用中使用FFmpeg中的库吗?

经过一段时间在网上,我发现我必须在我的应用程序中使用FFmpeg.我发现很多与Android和FFmpeg相关的东西.我只是想使用FFmpeg,但我无法创建库,也不知道如何使用它们.

我只是希望收到一个RTSP流,然后以某种方式将其放在视频视图或媒体播放器中.我已经在我的日食中安装了NDK,我知道如何使用CYGWIN.

android cygwin ffmpeg rtsp android-ndk

5
推荐指数
1
解决办法
1万
查看次数