Repository: activemq-openwire Updated Branches: refs/heads/master 4db281794 -> 429b1b4a4
http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/styles/impact/blog.template ---------------------------------------------------------------------- diff --git a/openwire-website/src/styles/impact/blog.template b/openwire-website/src/styles/impact/blog.template new file mode 100644 index 0000000..c9e0873 --- /dev/null +++ b/openwire-website/src/styles/impact/blog.template @@ -0,0 +1,26 @@ +--- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +template: main.template +--- +<div class="post"> + <h2>{title:}</h2> + <div class="details">Posted by {author:} on {created_at:} </div> + <webgen:block name='content'/> + <% if context.node.node_info[:page].blocks.has_key?('full_story') %> + <webgen:block name='full_story' /> + <% end %> +</div> http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/styles/impact/css/pygmentize.css ---------------------------------------------------------------------- diff --git a/openwire-website/src/styles/impact/css/pygmentize.css b/openwire-website/src/styles/impact/css/pygmentize.css new file mode 100644 index 0000000..d9b19d9 --- /dev/null +++ b/openwire-website/src/styles/impact/css/pygmentize.css @@ -0,0 +1,127 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +.syntax .hll { background-color: #ffffcc } +.syntax { background: #f0f0f0; } +.syntax .c { color: #60a0b0; font-style: italic } /* Comment */ +.syntax .err { border: 1px solid #FF0000 } /* Error */ +.syntax .k { color: #007020; font-weight: bold } /* Keyword */ +.syntax .o { color: #666666 } /* Operator */ +.syntax .cm { color: #60a0b0; font-style: italic } /* Comment.Multiline */ +.syntax .cp { color: #007020 } /* Comment.Preproc */ +.syntax .c1 { color: #60a0b0; font-style: italic } /* Comment.Single */ +.syntax .cs { color: #60a0b0; background-color: #fff0f0 } /* Comment.Special */ +.syntax .gd { color: #A00000 } /* Generic.Deleted */ +.syntax .ge { font-style: italic } /* Generic.Emph */ +.syntax .gr { color: #FF0000 } /* Generic.Error */ +.syntax .gh { color: #000080; font-weight: bold } /* Generic.Heading */ +.syntax .gi { color: #00A000 } /* Generic.Inserted */ +.syntax .go { color: #808080 } /* Generic.Output */ +.syntax .gp { color: #c65d09; font-weight: bold } /* Generic.Prompt */ +.syntax .gs { font-weight: bold } /* Generic.Strong */ +.syntax .gu { color: #800080; font-weight: bold } /* Generic.Subheading */ +.syntax .gt { color: #0040D0 } /* Generic.Traceback */ +.syntax .kc { color: #007020; font-weight: bold } /* Keyword.Constant */ +.syntax .kd { color: #007020; font-weight: bold } /* Keyword.Declaration */ +.syntax .kn { color: #007020; font-weight: bold } /* Keyword.Namespace */ +.syntax .kp { color: #007020 } /* Keyword.Pseudo */ +.syntax .kr { color: #007020; font-weight: bold } /* Keyword.Reserved */ +.syntax .kt { color: #902000 } /* Keyword.Type */ +.syntax .m { color: #40a070 } /* Literal.Number */ +.syntax .s { color: #4070a0 } /* Literal.String */ +.syntax .na { color: #4070a0 } /* Name.Attribute */ +.syntax .nb { color: #007020 } /* Name.Builtin */ +.syntax .nc { color: #0e84b5; font-weight: bold } /* Name.Class */ +.syntax .no { color: #60add5 } /* Name.Constant */ +.syntax .nd { color: #555555; font-weight: bold } /* Name.Decorator */ +.syntax .ni { color: #d55537; font-weight: bold } /* Name.Entity */ +.syntax .ne { color: #007020 } /* Name.Exception */ +.syntax .nf { color: #06287e } /* Name.Function */ +.syntax .nl { color: #002070; font-weight: bold } /* Name.Label */ +.syntax .nn { color: #0e84b5; font-weight: bold } /* Name.Namespace */ +.syntax .nt { color: #062873; font-weight: bold } /* Name.Tag */ +.syntax .nv { color: #bb60d5 } /* Name.Variable */ +.syntax .ow { color: #007020; font-weight: bold } /* Operator.Word */ +.syntax .w { color: #bbbbbb } /* Text.Whitespace */ +.syntax .mf { color: #40a070 } /* Literal.Number.Float */ +.syntax .mh { color: #40a070 } /* Literal.Number.Hex */ +.syntax .mi { color: #40a070 } /* Literal.Number.Integer */ +.syntax .mo { color: #40a070 } /* Literal.Number.Oct */ +.syntax .sb { color: #4070a0 } /* Literal.String.Backtick */ +.syntax .sc { color: #4070a0 } /* Literal.String.Char */ +.syntax .sd { color: #4070a0; font-style: italic } /* Literal.String.Doc */ +.syntax .s2 { color: #4070a0 } /* Literal.String.Double */ +.syntax .se { color: #4070a0; font-weight: bold } /* Literal.String.Escape */ +.syntax .sh { color: #4070a0 } /* Literal.String.Heredoc */ +.syntax .si { color: #70a0d0; font-style: italic } /* Literal.String.Interpol */ +.syntax .sx { color: #c65d09 } /* Literal.String.Other */ +.syntax .sr { color: #235388 } /* Literal.String.Regex */ +.syntax .s1 { color: #4070a0 } /* Literal.String.Single */ +.syntax .ss { color: #517918 } /* Literal.String.Symbol */ +.syntax .bp { color: #007020 } /* Name.Builtin.Pseudo */ +.syntax .vc { color: #bb60d5 } /* Name.Variable.Class */ +.syntax .vg { color: #bb60d5 } /* Name.Variable.Global */ +.syntax .vi { color: #bb60d5 } /* Name.Variable.Instance */ +.syntax .il { color: #40a070 } /* Literal.Number.Integer.Long */ + + +/* don't highlight errors */ +.syntax .err { + border: none; +} + +.syntax { + font-size: .9em; + font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace; + background-color: #F8F8FF; + + overflow:auto; + -moz-background-clip:border; + -moz-background-inline-policy:continuous; + -moz-background-origin:padding; + margin: 1em 0 1em 0; + border:1px solid #DDDDDD; + + border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px; + border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px; + border-style: solid; border-width: 1px; border-color: #dedede !important; + padding: 1em; +} +.syntax .linenodiv { + background-color:#ECECEC; + border-right:1px solid #DDDDDD; + color:#AAAAAA; + padding: .5em; + text-align:right; +} +.syntax .highlight { +} +.syntax pre { + margin:0; + padding:0; + border: none; +} + +pre.syntax { + padding: .5em; + background-color: #F8F8FF; overflow:auto; +} + +.syntax code { + font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace; + font-size: 10pt; +} http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/styles/impact/css/site.css ---------------------------------------------------------------------- diff --git a/openwire-website/src/styles/impact/css/site.css b/openwire-website/src/styles/impact/css/site.css new file mode 100644 index 0000000..b5757e7 --- /dev/null +++ b/openwire-website/src/styles/impact/css/site.css @@ -0,0 +1,235 @@ +/** + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +body, html { + font-family:Georgia, Arial, sans-serif; + color: #666666; +} +body, html, table, tr, td, tbody { + padding:0; + margin:0; + vertical-align: top; +} +body { + padding-top: 20px; +} + +h1, h2, h3, h4, h5, h6 { + font-family: 'Graublau Web', Helvetica, sans-serif; + overflow: visible; + color: #993333; +} + +h2 { + border-top: 4px solid #E0E0E0 !important; + margin-top: 1.5em !important; + padding-top: 0.5em !important; +} + +p { margin-bottom:0px; } + +a { + color: #700; + font-weight:bold; + text-decoration: none; +} + +a:hover { + color: #ff3333; + text-decoration: underline; + } + +img { + border: none; +/* + padding-right:2em +*/ +} + +.wrapper { min-width: 762px; width: 762px; margin: 0 auto; } + +#navigation { width: 100%; float: left; + font-family: Helvetica,Verdana,Arial,sans-serif; + background: black; + text-align:center; + padding: 8px 0 8px 0; + color: #b55; + font-size: 10pt; + font-weight: bold; + position: absolute; + top: 0px; +} +#navigation a { color: white; } +#navigation ul { display: block; margin:0; padding:0; } +#navigation li { list-style-type: none; display: inline; margin:0 5px 0 5px;} + +#overview { width: 100%; padding-top:20px} +#overview div.message { + font-size: 11pt; + margin-top: -20px; + padding-left: 120px; + width: 350px; +} +#overview div.message h1{ margin-bottom: 5px; display:none; } +#overview div.message p{ margin-top: 0px; padding-bottom:14px; } + +#spot { width: 100%; float: left; + margin-top: 15px; + background:transparent url(../images/spot-banner.gif) repeat-x scroll 0 0; + height: 277px; +} +#spot div.title { + text-align:center; height:25px; + text-align:center; padding-top: 2px; + color: white; font-size: 10pt; font-weight: bold; + font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; +} +#spot div.content table { + width: 100%; text-align:center; + color: black; font-size: 10pt; +} + +#spot a:hover {text-decoration: none; } + +#spot div.spot-balloon { + background:transparent url( ../../../images/spot-get-involved.gif ) no-repeat; + background-position:center; + height: 121px; + text-align:left; + padding-top: 25px; + padding-left: 35px; +} + +#spot div.spot-balloon li { +/* + list-style: none; +*/ + list-style: disc; +} + +/* +#spot div.spot-balloon { + height: 120px; + text-align:left; + padding-top: 20px; + padding-left: 15px; +} +*/ + +#content { width: 100%; float: left; padding-bottom: 20px; } +#content .wrapper { min-width: 700px; width: 700px; margin: 0 auto; padding-top: 1em} +#content div.left { + float:left; + width:200px; + text-align:right; + font-size: 18pt; + clear:both; +} +#content h1 { + font-size: 18pt; +} +#content div.right { + float:right; + width:450px; + text-align:left; +} + +#blog { width: 100%; float: left; } +#blog .wrapper { min-width: 600px; width: 600px; margin: 0 auto; } +#blog h1 { + font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; + font-size: 18pt; color: #993333; +} +#blog h2 { + border-bottom: thin dashed #DDD; + font-size: 16pt; + margin-bottom: 5px; +} +#blog div.post p { + padding-left: 10px; +} +#blog div.post .details { + padding-top: 5px; + color: #ccc; + font-size: 10pt; + font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; +} + +#content .post h2 { + margin-bottom:5px; +} +#content .post .details { + color: #ccc; + font-size: 10pt; + font-family: HelveticaNeue,"Helvetica Neue",Helvetica,Arial,Verdana,sans-serif; + margin-top:0px; +} + +code { + font-size: .9em; + font-family: 'Droid Sans Mono', 'Courier New', monospace !important; +} +pre { + background-color: #F8F8FF; + + overflow:auto; + -moz-background-clip:border; + -moz-background-inline-policy:continuous; + -moz-background-origin:padding; + margin: 1em 0 1em 0; + border:1px solid #DDDDDD; + + border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px; + border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px; + border-style: solid; border-width: 1px; border-color: #dedede !important; + padding: 1em; +} +pre code { + font-family:Monaco,"Courier New","DejaVu Sans Mono","Bitstream Vera Sans Mono",monospace; + font-weight:normal; + font-style:normal; +} +div.compare { width: 700px; } +div.compare div.compare-left { float:left; width:340px; padding:5px; margin-top: 15px; } +div.compare div.compare-right { float:right; width:340px; padding:5px; margin-top: 15px; } +div.compare div h3 { + margin-left: 15px; + padding: 5px 15px; + display: inline; + font-size: .8em; + color: #666; + + border-top: 1px solid #ccc; -moz-border-top-colors: #ccc white white #e5e5e5; + border-left: 1px solid #ccc; -moz-border-left-colors: #ccc white white #e5e5e5; + border-right: 1px solid #ccc;-moz-border-right-colors: #ccc white white #e5e5e5; + border-top-left-radius: 8px; -webkit-border-top-left-radius: 8px; -moz-border-radius-topleft: 8px; + border-top-right-radius: 8px; -webkit-border-top-right-radius: 8px; -moz-border-radius-topright: 8px; +} +div.compare div div { + margin: 5px 0px 0px 0px; +} + +.clear { + clear:both; +} + +.wide div.compare div.compare-left { float:none; width:700px; } +.wide div.compare div.compare-right { float:none; width:700px; } + +.hide { + display:none; +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/openwire-website/src/versions/index.page ---------------------------------------------------------------------- diff --git a/openwire-website/src/versions/index.page b/openwire-website/src/versions/index.page new file mode 100644 index 0000000..9a5ea67 --- /dev/null +++ b/openwire-website/src/versions/index.page @@ -0,0 +1,38 @@ +--- +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +title: Website Versions +in_menu: false +sort_info: 5 + +--- name:content pipeline:ssp,jade + +:markdown + # Released Websites + + We version our website content along with the project so that you + can easily get to the documentation that's most appropriate for the + version of the project your using. + +ul +- for( version <- project_versions ) + li + a(href = "#{website_base_url}/versions/#{version}/website/index.html") #{version} Website + +:markdown + # Nightly Development Snapshots + + * [${project_snapshot_version} Website](${website_base_url}/versions/${project_snapshot_version}/website/index.html) http://git-wip-us.apache.org/repos/asf/activemq-openwire/blob/429b1b4a/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index b1299ed..d0a9bb8 100644 --- a/pom.xml +++ b/pom.xml @@ -30,6 +30,9 @@ <version>1.0-SNAPSHOT</version> <packaging>pom</packaging> <properties> + <!-- base url for site deployment. See distribution management for full url. Override this in settings.xml for staging --> + <website-base-url>svn:https://svn.apache.org/repos/infra/websites/production/activemq/content/openwire</website-base-url> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <source-version>1.7</source-version> <target-version>1.7</target-version> @@ -86,6 +89,14 @@ </mailingList> </mailingLists> + <distributionManagement> + <site> + <!-- this needs to match a server in your settings.xml with upload settings --> + <id>openwire-website</id> + <url>${website-base-url}/versions/${project.version}/maven/</url> + </site> + </distributionManagement> + <modules> <module>openwire-generator</module> <module>openwire-core</module>