initial version
diff --git a/_projectCommon.php b/_projectCommon.php
new file mode 100644
index 0000000..914634b
--- /dev/null
+++ b/_projectCommon.php
@@ -0,0 +1,36 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2014 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Christopher Guindon (Eclipse Foundation) - Initial implementation
+ *******************************************************************************/
+
+ # Set the theme for your project's web pages.
+ # See the Committer Tools "Phoenix" secion in the How Do I? for list of themes
+ # https://dev.eclipse.org/committers/
+ $theme = "solstice";
+
+ # Define your project-wide Nav bars here.
+ # Format is Link text, link URL (can be http://www.someothersite.com/), target (_self, _blank).
+ $Nav->addNavSeparator("About this project", "/gendoc/index.php");
+ $Nav->addCustomNav("Wiki", "https://wiki.eclipse.org/Gendoc", "_self", NULL);
+ $Nav->addCustomNav("File a bug", "https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Gendoc", "_self", NULL);
+ $Nav->addNavSeparator("Developers", "");
+ $Nav->addCustomNav("Git", "http://git.eclipse.org/c/gendoc/org.eclipse.gendoc.git/", "_self", NULL);
+ $Nav->addCustomNav("Mailing List", "https://dev.eclipse.org/mailman/listinfo/gendoc-dev", "_self", NULL);
+ $Nav->addNavSeparator("Related Projects", "");
+ $Nav->addCustomNav("Papyrus", "https://www.eclipse.org/papyrus/", "_self", NULL);
+ $Nav->addCustomNav("Acceleo", "http://eclipse.org/acceleo/", "_self", NULL);
+ $Nav->addCustomNav("EMF", "https://www.eclipse.org/modeling/emf/", "_self", NULL);
+
+ # Define the content of your horizontal menu.
+ $Menu->setMenuItemList(array());
+ $Menu->addMenuItem("Home", "/gendoc/index.php", "_self");
+ $Menu->addMenuItem("Documentation", "/gendoc/documentation/documentation.php", "_self");
+ $Menu->addMenuItem("Downloads", "/gendoc/downloads/download.php", "_self");
+ $Menu->addMenuItem("Community", "/gendoc/community/community.php", "_self");
\ No newline at end of file
diff --git a/community/community.php b/community/community.php
new file mode 100644
index 0000000..ab709a7
--- /dev/null
+++ b/community/community.php
@@ -0,0 +1,72 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2014 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Anne Haugommard (Atos) - Initial implementation
+ *******************************************************************************/
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+
+
+ $App = new App();
+ $Nav = new Nav();
+ $Menu = new Menu();
+
+ include($App->getProjectCommon());
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/gendoc/public/css/pages.css" media="screen"/><link rel="shortcut icon" href="/gendoc/public/images/favicon.ico" />');
+# $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="styles.css"/>' . "\n\t");
+# $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="_styles.css"/>' . "\n\t");
+
+ $variables['hide_breadcrumbs'] = true;
+ $App->setThemeVariables($variables);
+
+
+
+ #### Project dependant variables ####
+ $projectTitle = "Gendoc";
+ $pageTitle = "Gendoc";
+ $pageAuthor = "Anne Haugommard";
+ $pageKeywords = "Gendoc, Community, bug, question, contributing, support";
+
+
+ $html = <<<EOHTML
+ <div id="midcolumn">
+ <h2> Community </h2>
+ </br>
+ <ul>
+ <li> <p><strong>Found a bug ?</strong></p><p>You can open a bug using <a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Gendoc">Bugzilla</a>.</p>
+ <p>Please explain the problem and provide a reduced but reproducable example (Gendoc template and model).
+ Please explain the concrete use case when requesting enhancements.</p> </li>
+ <li> <p><strong>Questions ?</strong></p><p>You can use <a href="https://www.eclipse.org/forums/index.php/f/286/">Gendoc forum</a> in order to ask questions to Gendoc community.</p>
+ </li>
+ <li> <p><strong>Contributing to Gendoc</strong></p><p>Developer mailing list : <a href="https://dev.eclipse.org/mailman/listinfo/gendoc-dev">https://dev.eclipse.org/mailman/listinfo/gendoc-dev</a></p>
+ <p>Source code is available on Eclipse Git repository : <a href="http://git.eclipse.org/c/gendoc/org.eclipse.gendoc.git/">http://git.eclipse.org/c/gendoc/org.eclipse.gendoc.git/</a></p>
+ </li>
+ <li> <p><strong>Professional support</strong></p><p>You need training, custom templates, enhancements ? Atos offers professional consulting aroung Gendoc product. </p> <table><tr><td><p> Contact : <a href="mailto:fr.gendoc-support@atos.net">fr.gendoc-support@atos.net</a></p></td><td><a target="_blank" href="https://www.eclipse.org/membership/showMember.php?member_id=980"><img class="img-responsive" style="margin:20px;" alt="Atos" src='/gendoc/public/images/Atos.gif'/></a></td></tr></table>
+ </li>
+ </ul>
+
+ </div>
+ <div id="rightcolumn">
+ <div style="height:100px">
+ </div>
+ <div class="sideitem">
+ <h6><center>Incubation Phase</center>
+ </h6>
+ <center>
+ <a href="http://www.eclipse.org/projects/what-is-incubation.php">
+ <img width="70" border="0" alt="Incubation" src="http://www.eclipse.org/images/egg-incubation.png"> </a>
+ </center>
+ </div>
+ </div>
+EOHTML;
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
diff --git a/content/en_index.php b/content/en_index.php
new file mode 100644
index 0000000..b9f3471
--- /dev/null
+++ b/content/en_index.php
@@ -0,0 +1,30 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2014 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Christopher Guindon (Eclipse Foundation) - Initial implementation
+ *******************************************************************************/
+?>
+
+<!-- Main content area -->
+<div id="midcolumn">
+ <h1><?php print $pageTitle;?></h1>
+ <p><a href="solstice-starterkit.zip" class="btn btn-warning">Download Starterkit</a></p>
+</div>
+<!-- ./end #midcolumn -->
+
+<!-- Start of the right column -->
+<div id="rightcolumn">
+ <div class="sideitem">
+ <h2>Related Links</h2>
+ <ul>
+ <li><a target="_self" href="/eclipse.org-common/themes/solstice/docs/">Documentation</a></li>
+ </ul>
+ </div>
+</div>
+<!-- ./end #rightcolumn -->
\ No newline at end of file
diff --git a/content/en_mainpage.php b/content/en_mainpage.php
new file mode 100644
index 0000000..3e72b93
--- /dev/null
+++ b/content/en_mainpage.php
Binary files differ
diff --git a/description.html b/description.html
deleted file mode 100644
index 10edabc..0000000
--- a/description.html
+++ /dev/null
@@ -1 +0,0 @@
-This project was just provisioned, so there isn't much to see here. You can find links to the propsal on this page. Stay tuned for great things.
\ No newline at end of file
diff --git a/documentation/documentation.php b/documentation/documentation.php
new file mode 100644
index 0000000..aaa5a71
--- /dev/null
+++ b/documentation/documentation.php
@@ -0,0 +1,67 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2014 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Anne Haugommard (Atos) - Initial implementation
+ *******************************************************************************/
+
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+
+ $App = new App();
+ $Nav = new Nav();
+ $Menu = new Menu();
+
+ include($App->getProjectCommon());
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/gendoc/public/css/pages.css" media="screen"/><link rel="shortcut icon" href="/gendoc/public/images/favicon.ico" />');
+# $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="styles.css"/>' . "\n\t");
+# $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="_styles.css"/>' . "\n\t");
+
+ $variables['hide_breadcrumbs'] = true;
+ $App->setThemeVariables($variables);
+
+ #### Project dependant variables ####
+ $projectTitle = "Gendoc";
+ $pageTitle = "Gendoc";
+ $pageAuthor = "Anne Haugommard";
+ $pageKeywords = "Gendoc, documentation, tutorial";
+
+
+ $html = <<<EOHTML
+ <div id="midcolumn">
+ <h2> Documentation </h2>
+ </br>
+ <ul>
+ <li> <b>Getting started</b> : see dedicated section in <a href='https://wiki.eclipse.org/gendoc'>Wiki</a> </li>
+ <li> Download <a href="Gendoc_v0.5_tutorial.pdf"> Gendoc tutorial as PDF.</a></li>
+ <li> Gendoc scripts are written in <a href="http://eclipse.org/acceleo/">Acceleo </a> language and use <a href="http://www.omg.org/spec/OCL/">OCL</a>. </li>
+ </ul>
+ <br/>
+ <h3>Useful links </h3>
+ <ul>
+ <li><a href="http://wiki.eclipse.org/Acceleo/Acceleo_Operations_Reference">Acceleo operations reference</a> </li>
+ </ul>
+ </div>
+ <div id="rightcolumn">
+ <div style="height:100px">
+ </div>
+ <div class="sideitem">
+ <h6><center>Incubation Phase</center>
+ </h6>
+ <center>
+ <a href="http://www.eclipse.org/projects/what-is-incubation.php">
+ <img width="70" border="0" alt="Incubation" src="http://www.eclipse.org/images/egg-incubation.png"> </a>
+ </center>
+ </div>
+ </div>
+EOHTML;
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
diff --git a/downloads/download.php b/downloads/download.php
new file mode 100644
index 0000000..f5811a4
--- /dev/null
+++ b/downloads/download.php
@@ -0,0 +1,71 @@
+<?php
+/*******************************************************************************
+ * Copyright (c) 2014 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Anne Haugommard (Atos) - Initial implementation
+ *******************************************************************************/
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+
+ $App = new App();
+ $Nav = new Nav();
+ $Menu = new Menu();
+
+ include($App->getProjectCommon());
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/gendoc/public/css/pages.css" media="screen"/><link rel="shortcut icon" href="/gendoc/public/images/favicon.ico" />');
+# $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="styles.css"/>' . "\n\t");
+# $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="_styles.css"/>' . "\n\t");
+
+ $variables['hide_breadcrumbs'] = true;
+ $App->setThemeVariables($variables);
+
+
+ #### Project dependant variables ####
+ $projectTitle = "Gendoc";
+ $pageTitle = "Gendoc";
+ $pageAuthor = "Anne Haugommard";
+ $pageKeywords = "Gendoc, downloads, release";
+
+
+$html = <<<EOHTML
+ <div id="midcolumn">
+ <h3>Releases</h3>
+ <ul class="fa-ul hidden-print">
+ <li> <i class="fa fa-angle-double-right orange fa-fw"></i><a href="#">Gendoc v0.5.0 </a> (Planned for Nov. 28th 2014)</li>
+ <ul>
+ <li>
+
+ <a href="<a href="http://www.eclipse.org/downloads/download.php?file=/gendoc/releases/0.5RC1/org.eclipse.gendoc.incubation.update-site-0.5.0RC1.zip">Gendoc v0.5RC1</a> (release candidate) update site as archive.
+
+ </li>
+ </ul>
+ </li>
+ </ul>
+ See how to add a new update site to your Eclipse installation <a href='http://help.eclipse.org/juno/index.jsp?topic=/org.eclipse.platform.doc.user/tasks/tasks-127.htm'>on Eclipse Help page </a>.
+ <!--<h3>Latest nightly build</h3>
+ Gendoc update site from latest nightly build is available at the following URL :
+ <b>http://download.eclipse.org/gendoc/updates/nightly/latest</b> -->
+ </div>
+ <div id="rightcolumn">
+ <div style="height:100px">
+ </div>
+ <div class="sideitem">
+ <h6><center>Incubation Phase</center>
+ </h6>
+ <center>
+ <a href="http://www.eclipse.org/projects/what-is-incubation.php">
+ <img width="70" border="0" alt="Incubation" src="http://www.eclipse.org/images/egg-incubation.png"> </a>
+ </center>
+ </div>
+ </div>
+EOHTML;
+
+ # Generate the web page
+ $App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+?>
diff --git a/index.php b/index.php
index c0a50bf..40cc338 100644
--- a/index.php
+++ b/index.php
@@ -1 +1,72 @@
-<?php header('Location: http://www.eclipse.org/projects/project.php?id=modeling.gendoc'); ?>
\ No newline at end of file
+<?php
+/*******************************************************************************
+ * Copyright (c) 2014 Eclipse Foundation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Christopher Guindon (Eclipse Foundation) - Initial implementation
+ *******************************************************************************/
+
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/nav.class.php");
+ require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/menu.class.php");
+
+ $App = new App();
+ $Nav = new Nav();
+ $Menu = new Menu();
+
+ # Shared variables/configs for all pages of your website.
+ require_once('_projectCommon.php');
+
+ # Begin: page-specific settings. Change these.
+ $pageTitle = "Gendoc";
+ $pageKeywords = "Gendoc";
+ $pageAuthor = "Vincent Gresselin";
+
+ # Initialize custom solstice $variables.
+ $variables = array();
+
+ # Add classes to <body>. (String)
+ $variables['body_classes'] = '';
+
+ # Insert custom HTML in the breadcrumb region. (String)
+ $variables['breadcrumbs_html'] = "";
+
+ # Hide the breadcrumbs. (Bool)
+ $variables['hide_breadcrumbs'] = true;
+
+ # Insert HTML before the left nav. (String)
+ $variables['leftnav_html'] = '';
+
+ # Update the main container class (String)
+ $variables['main_container_classes'] = 'maincontainer';
+
+ # Insert HTML after opening the main content container, before the left sidebar. (String)
+ $variables['main_container_html'] = '';
+
+ # Set Solstice theme variables. (Array)
+ $App->setThemeVariables($variables);
+
+
+ # Place your html content in a file called content/en_pagename.php
+ ob_start();
+ //include("content/en_" . $App->getScriptName());
+ include("content/en_mainpage.php");
+ $html = ob_get_clean();
+
+ # Insert extra html before closing </head> tag.
+ $App->AddExtraHtmlHeader('<link rel="stylesheet" type="text/css" href="/gendoc/public/css/wellfont.css" media="screen"/><link rel="shortcut icon" href="/gendoc/public/images/favicon.ico" />');
+
+ # Insert script/html before closing </body> tag.
+ //$App->AddExtraJSFooter('<script type="text/javascript" src="/eclipse.org-common/themes/solstice/public/javascript/barebone.min.js"></script>');
+
+ # Generate the web page
+ //$App->generatePage($theme, $Menu, $Nav, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ $App->generatePage($theme, $Menu, null, $pageAuthor, $pageKeywords, $pageTitle, $html);
+ //echo $html;
+
+
+
diff --git a/public/css/pages.css b/public/css/pages.css
new file mode 100644
index 0000000..71dd36d
--- /dev/null
+++ b/public/css/pages.css
@@ -0,0 +1,93 @@
+.wellfont {
+ position: relative;
+ background: #f5F5F5;
+ border : 0;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
+}
+
+.maincontainer {
+ width:100%;
+ padding:0;
+ text-align: center;
+}
+
+.logo-eclipse-default {
+ display : none;
+}
+
+#header-right {
+ display: none;
+}
+
+#row-toolbar-col {
+ display: none;
+}
+
+main.no-promo {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+
+header {
+ background: #559AD0; /*2a81c4 color of gendoc logo*/
+}
+
+#main-menu li a {
+ color: white;
+}
+
+.well {
+ margin-bottom: 0;
+ border:0;
+}
+
+.case {
+ background-color: #D8E4ED; /*CCCCFF DCDCDC d8e0de*/
+}
+
+.simple {
+ background-color: white; /* DCDCDC d8e0de*/
+}
+
+footer, footer#solstice-footer {
+ background: #22679D;
+}
+
+.cases {
+ background:transparent;
+}
+
+.img-bullet{
+ margin-bottom: 20px;
+}
+
+.yamm-content {
+ color : black;
+}
+
+.dropdown-menu {
+ background: #559AD0;
+}
+
+.main-features {
+ border-bottom: 1px solid #A9A9A9;
+ padding: 10px;
+}
+
+.feature{
+ margin-bottom: 20px;
+ margin-top: 20px;
+}
+
+.feature-details {
+ font-family: Arial, sans-serif;
+}
+
+
+#main-menu .dropdown-menu {
+ left : 80px;
+}
+
+
diff --git a/public/css/wellfont.css b/public/css/wellfont.css
new file mode 100644
index 0000000..b27b8a9
--- /dev/null
+++ b/public/css/wellfont.css
@@ -0,0 +1,91 @@
+.wellfont {
+ position: relative;
+ background: #f5F5F5;
+ border : 0;
+ -webkit-border-radius: 0;
+ -moz-border-radius: 0;
+ border-radius: 0;
+}
+
+.maincontainer {
+ width:100%;
+ padding:0;
+ text-align: center;
+}
+
+.logo-eclipse-default {
+ display : none;
+}
+
+#header-right {
+ display: none;
+}
+
+#row-toolbar-col {
+ display: none;
+}
+
+main.no-promo {
+ padding-top: 0;
+ padding-bottom: 0;
+}
+
+header {
+ background: #559AD0; /*2a81c4 color of gendoc logo*/
+}
+
+#main-menu li a {
+ color: white;
+}
+
+.well {
+ margin-bottom: 0;
+ border:0;
+}
+
+.case {
+ background-color: #D8E4ED; /*CCCCFF DCDCDC d8e0de*/
+}
+
+.simple {
+ background-color: white; /* DCDCDC d8e0de*/
+}
+
+footer, footer#solstice-footer {
+ background: #22679D;
+}
+
+.cases {
+ background:transparent;
+}
+
+.img-bullet{
+ margin-bottom: 20px;
+}
+
+.yamm-content {
+ color : black;
+}
+
+.dropdown-menu {
+ background: #559AD0;
+}
+
+.main-features {
+ border-bottom: 1px solid #A9A9A9;
+ padding: 10px;
+}
+
+.feature{
+ margin-bottom: 20px;
+ margin-top: 20px;
+}
+
+.feature-details {
+ font-family: Arial, sans-serif;
+}
+
+
+#main-menu .dropdown-menu {
+ left : 80px;
+}
\ No newline at end of file
diff --git a/public/images/1.png b/public/images/1.png
new file mode 100644
index 0000000..973907d
--- /dev/null
+++ b/public/images/1.png
Binary files differ
diff --git a/public/images/2.png b/public/images/2.png
new file mode 100644
index 0000000..9d67489
--- /dev/null
+++ b/public/images/2.png
Binary files differ
diff --git a/public/images/3.png b/public/images/3.png
new file mode 100644
index 0000000..b4e58df
--- /dev/null
+++ b/public/images/3.png
Binary files differ
diff --git a/public/images/4.png b/public/images/4.png
new file mode 100644
index 0000000..9a6c647
--- /dev/null
+++ b/public/images/4.png
Binary files differ
diff --git a/public/images/5.png b/public/images/5.png
new file mode 100644
index 0000000..6232b8d
--- /dev/null
+++ b/public/images/5.png
Binary files differ
diff --git a/public/images/Atos.gif b/public/images/Atos.gif
new file mode 100644
index 0000000..4d96dc0
--- /dev/null
+++ b/public/images/Atos.gif
Binary files differ
diff --git a/public/images/favicon.ico b/public/images/favicon.ico
new file mode 100644
index 0000000..cb8ed4b
--- /dev/null
+++ b/public/images/favicon.ico
Binary files differ
diff --git a/public/images/gendoc_bullet.png b/public/images/gendoc_bullet.png
new file mode 100644
index 0000000..0d9c00c
--- /dev/null
+++ b/public/images/gendoc_bullet.png
Binary files differ
diff --git a/public/images/gendoc_generation_details.png b/public/images/gendoc_generation_details.png
new file mode 100644
index 0000000..d990618
--- /dev/null
+++ b/public/images/gendoc_generation_details.png
Binary files differ
diff --git a/public/images/logo-gendoc.png b/public/images/logo-gendoc.png
new file mode 100644
index 0000000..74bddad
--- /dev/null
+++ b/public/images/logo-gendoc.png
Binary files differ