Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a 'current' Update site on the documenation pages #27

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.jar filter=lfs diff=lfs merge=lfs -text
2 changes: 1 addition & 1 deletion src/main/markdown/main/gwt-eclipse-plugin/Download.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ Then add the update site and name it `GWT Eclipse Plugin`.
<img src="images/UpdateSite.png" />

Copy and paste this update repository URL and paste it into the `Work with` in the Eclipse dialog and click enter.
[https://plugins.gwtproject.org/eclipse/gwt-eclipse-plugin/4.1.0/](https://plugins.gwtproject.org/eclipse/gwt-eclipse-plugin/4.1.0/)
[https://gwt-plugins.github.io/documentation/repo/site/current](https://gwt-plugins.github.io/documentation/repo/site/current/)


3 changes: 3 additions & 0 deletions src/main/site/repo/gwt-eclipse-plugin/current/artifacts.jar
Git LFS file not shown
Binary file not shown.
3 changes: 3 additions & 0 deletions src/main/site/repo/gwt-eclipse-plugin/current/content.jar
Git LFS file not shown
Binary file not shown.
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
60 changes: 60 additions & 0 deletions src/main/site/repo/gwt-eclipse-plugin/current/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<html><head>
<title>GWT Eclilpse Plugin</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>@import url("web/site.css");</style>
<script type="text/javascript">
var returnval = 0;
var stylesheet, xmlFile, cache, doc;
function init(){
// NSCP 7.1+ / Mozilla 1.4.1+ / Safari
// Use the standard DOM Level 2 technique, if it is supported
if (document.implementation && document.implementation.createDocument) {
xmlFile = document.implementation.createDocument("", "", null);
stylesheet = document.implementation.createDocument("", "", null);
if (xmlFile.load){
xmlFile.load("site.xml");
stylesheet.load("web/site.xsl");
} else {
alert("Document could not be loaded by browser.");
}
xmlFile.addEventListener("load", transform, false);
stylesheet.addEventListener("load", transform, false);
}
//IE 6.0+ solution
else if (window.ActiveXObject) {
xmlFile = new ActiveXObject("msxml2.DOMDocument.3.0");
xmlFile.async = false;
xmlFile.load("site.xml");
stylesheet = new ActiveXObject("msxml2.FreeThreadedDOMDocument.3.0");
stylesheet.async = false;
stylesheet.load("web/site.xsl");
cache = new ActiveXObject("msxml2.XSLTemplate.3.0");
cache.stylesheet = stylesheet;
transformData();
}
}
// separate transformation function for IE 6.0+
function transformData(){
var processor = cache.createProcessor();
processor.input = xmlFile;
processor.transform();
data.innerHTML = processor.output;
}
// separate transformation function for NSCP 7.1+ and Mozilla 1.4.1+
function transform(){
returnval+=1;
if (returnval==2){
var processor = new XSLTProcessor();
processor.importStylesheet(stylesheet);
doc = processor.transformToDocument(xmlFile);
document.getElementById("data").innerHTML = doc.documentElement.innerHTML;
}
}
</script>
</head>
<body onload="init();">
<!--[insert static HTML here]-->
<div id="data"><!-- this is where the transformed data goes --></div>


</body></html>
4 changes: 4 additions & 0 deletions src/main/site/repo/gwt-eclipse-plugin/current/p2.index
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#Fri Aug 02 22:07:21 UTC 2024
artifact.repository.factory.order=artifacts.xml.xz,artifacts.xml,\!
version=1
metadata.repository.factory.order=content.xml.xz,content.xml,\!
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Git LFS file not shown
Binary file not shown.
Binary file not shown.
12 changes: 12 additions & 0 deletions src/main/site/repo/gwt-eclipse-plugin/current/web/site.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<STYLE type="text/css">
td.spacer {padding-bottom: 10px; padding-top: 10px;}
.title { font-family: sans-serif; color: #99AACC;}
.bodyText { font-family: sans-serif; font-size: 9pt; color:#000000; }
.sub-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white;}
.log-text {font-family: sans-serif; font-style: normal; font-weight: lighter; font-size: 8pt; color:black;}
.big-header { font-family: sans-serif; font-style: normal; font-weight: bold; font-size: 9pt; color: white; border-top:10px solid white;}
.light-row {background:#FFFFFF}
.dark-row {background:#EEEEFF}
.header {background:#99AADD}
#indent {word-wrap : break-word;width :300px;text-indent:10px;}
</STYLE>
Loading