Elgg  Version 6.1
Gruntfile.js
Go to the documentation of this file.
1 module.exports = function(grunt) {
2 
3  require('load-grunt-config')(grunt);
4 
5  grunt.initConfig({
6  clean: {
7  docs: ['docs/_build']
8  },
9  connect: {
10  docs: {
11  options: {
12  hostname: "*",
13  port: 1919,
14  base: 'docs/_build',
15  livereload: true
16  }
17  }
18  },
19  exec: {
20  build_docs: {
21  cmd: 'sphinx-build docs docs/_build'
22  }
23  },
24  open: {
25  docs: {
26  path: 'http://localhost:1919/index.html',
27  }
28  },
29  watch: {
30  docs: {
31  files: ['**/*.rst'],
32  tasks: ['exec:build_docs'],
33  options: {
34  livereload: true
35  }
36  }
37  }
38  });
39 
40  grunt.registerTask('build', [
41  'clean:docs',
42  'exec:build_docs'
43  ]);
44  grunt.registerTask('default', [
45  'clean:docs',
46  'exec:build_docs',
47  'connect:docs',
48  'open:docs',
49  'watch:docs'
50  ]);
51 };
c Accompany it with the information you received as to the offer to distribute corresponding source complete source code means all the source code for all modules it plus any associated interface definition files
Definition: LICENSE.txt:210