README 1.37 KB
Newer Older
Pablo Orviz's avatar
Pablo Orviz committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
These two files (menu-elements.json and project-info.json) are used to set up
the main variables of the dash. 

This is an example of the menu-elements.json file we are using for openstack

{
    "menu":{
        "scm": [
            "companies",
            "companies-summary",
            "contributors",
            "repos"
        ],
        "mls": [
            "companies",
            "contributors",
            "repos"
        ],
        "qaforums": ["tags"],
        "irc": [
            "contributors",
            "repos"
        ],
        "studies": [
            "demographics",
            "release"
        ],
        "its": [
            "companies",
            "contributors",
	    "states",
            "repos"
        ],
        "scr": [
            "companies",
            "companies-summary",
            "contributors"
        ],
        "downloads_OFF": [],
        "wiki_OFF": []
    },
    "releases":["essex","folsom","havana","icehouse"]
}

If the section name is not the "typical", it will be disabled from menu. Another
option is to remove it from the list. If you have issues with the menu, first
check if the JSON file is written with the correct syntax (you can use the 
command json_reformat)

The second file: projects-info.json is not really used now. The only important
variable now is "project_name".

These two files will be merged in a single configuration file