|
10 | 10 | // get translation file |
11 | 11 | $translation = new Translation($lang); |
12 | 12 |
|
13 | | -// make troubleshooting page |
14 | | -//$source = CONTENTDIR."/api_$lang/troubleshooting/"; |
15 | | -//$path = REFERENCEDIR . ($lang == 'en' ? '' : "/$lang") . "/troubleshooting/"; |
16 | | -//make_necessary_directories($path."images/file"); |
17 | | -//$page = new Page("Troubleshooting", "Troubleshooting", "Troubleshooting"); |
18 | | -//$page->content(file_get_contents($source."index.html")); |
19 | | -//$page->language($lang); |
20 | | -//writeFile('reference/'.($lang=='en'?'':"$lang/").'troubleshooting/index.html', $page->out()); |
21 | | -//copydirr($source.'/images', $path.'/images'); |
22 | | - |
23 | 13 | // make overview page |
24 | 14 | $source = CONTENTDIR."/api_$lang/environment/"; |
25 | 15 | $path = REFERENCEDIR . ($lang == 'en' ? '' : "/$lang") . "/environment/"; |
|
30 | 20 | writeFile('reference/'.($lang=='en'?'':"$lang/").'environment/index.html', $page->out()); |
31 | 21 | copydirr($source.'/images', $path.'/images'); |
32 | 22 |
|
33 | | -// make export page |
34 | | -//$page = new Page("Environment (IDE)", "Environment", "Environment"); |
35 | | -//$page->content(file_get_contents($source."export.html")); |
36 | | -//$page->language($lang); |
37 | | -//writeFile('reference/'.($lang=='en'?'':"$lang/").'environment/export.html', $page->out()); |
38 | | - |
39 | | -// make platforms page |
40 | | -//$page = new Page("Environment (IDE)", "Environment", "Environment"); |
41 | | -//$page->content(file_get_contents($source."platforms.html")); |
42 | | -//$page->language($lang); |
43 | | -//writeFile('reference/'.($lang=='en'?'':"$lang/").'environment/platforms.html', $page->out()); |
44 | | - |
45 | | - |
46 | 23 | $benchmark_end = microtime_float(); |
47 | 24 | $execution_time = round($benchmark_end - $benchmark_start, 4); |
48 | 25 |
|
|
0 commit comments