This repository has been archived by the owner on Apr 27, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://svn.apache.org/repos/asf/activemq/stomp/trunk@795742 13f79535-47bb-0310-9956-ffa450edef68
- Loading branch information
Showing
10 changed files
with
234 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
description: | ||
This skeleton of a webgen website provides a set of default files for every | ||
created webgen website. | ||
|
||
When using the standard settings, the sources are in the directory `src` and | ||
the generated output goes into `out`. Extensions can be placed under `ext`. | ||
|
||
For configuration purposes, use the config.yaml file. | ||
--- | ||
note: This file can be deleted! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# -*- ruby -*- | ||
# | ||
# This is a sample Rakefile to which you can add tasks to manage your website. For example, users | ||
# may use this file for specifying an upload task for their website (copying the output to a server | ||
# via rsync, ftp, scp, ...). | ||
# | ||
# It also provides some tasks out of the box, for example, rendering the website, clobbering the | ||
# generated files, an auto render task,... | ||
# | ||
|
||
require 'webgen/webgentask' | ||
|
||
task :default => :webgen | ||
|
||
Webgen::WebgenTask.new do |website| | ||
website.clobber_outdir = true | ||
website.config_block = lambda do |config| | ||
# you can set configuration options here | ||
end | ||
end | ||
|
||
desc "Render the website automatically on changes" | ||
task :auto_webgen do | ||
puts 'Starting auto-render mode' | ||
time = Time.now | ||
abort = false | ||
old_paths = [] | ||
Signal.trap('INT') {abort = true} | ||
|
||
while !abort | ||
# you may need to adjust the glob so that all your sources are included | ||
paths = Dir['src/**/*'].sort | ||
if old_paths != paths || paths.any? {|p| File.mtime(p) > time} | ||
Rake::Task['webgen'].execute({}) | ||
end | ||
time = Time.now | ||
old_paths = paths | ||
sleep 2 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# This is the YAML configuration file for webgen used to set configuration options. | ||
# | ||
# The general syntax is: | ||
# | ||
# configuration.option.name: value | ||
# | ||
# For example, to set a different default language, you would do: | ||
# | ||
# website.lang: de | ||
# | ||
# Have a look at the documentation of the individual configuration options to see | ||
# the allowed format of the values. Since this is a YAML file, you can easily set | ||
# configuration options as strings, integers, dates, arrays, hashes and more. | ||
# | ||
# The available configuration options can be found on the homepage in the | ||
# Configuration Option Reference at | ||
# | ||
# http://webgen.rubyforge.org/documentation/reference_configuration.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# = webgen extensions directory | ||
# | ||
# All init.rb files anywhere under this directory get automatically loaded on a webgen run. This | ||
# allows you to add your own extensions to webgen or to modify webgen's core! | ||
# | ||
# If you don't need this feature you can savely delete this file and the directory in which it is! | ||
# | ||
# The +config+ variable below can be used to access the Webgen::Configuration object for the current | ||
# website. | ||
config = Webgen::WebsiteAccess.website.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/**************** IE fixes ****************/ | ||
|
||
html | ||
{overflow:hidden;} | ||
|
||
body | ||
{height:100%; width:100%; overflow:auto;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
/* andreas07 - an open source xhtml/css website layout by Andreas Viklund - http://andreasviklund.com . Free to use for any purpose as long as the proper credits are given for the original design work. | ||
Version: 1.1, November 28, 2005 */ | ||
|
||
/**************** Page and tag styles ****************/ | ||
|
||
body | ||
{margin:0; padding:0; color:#303030; background:#fafafa url(images/bodybg.gif) top left repeat-y; font:76% Verdana,Tahoma,sans-serif;} | ||
|
||
ul | ||
{list-style:circle; margin:15px 0 20px 0; font-size:0.9em;} | ||
|
||
li | ||
{margin:0 0 8px 25px;} | ||
|
||
a | ||
{color:#d85d5d; font-weight:bold; text-decoration:none;} | ||
|
||
a:hover | ||
{color:#505050; text-decoration:underline;} | ||
|
||
img | ||
{float:left; margin:0 15px 15px 0; padding:1px; background:#ffffff; border:1px solid #d0d0d0;} | ||
|
||
a img | ||
{border-color:#d85d5d;} | ||
|
||
a img:hover | ||
{background:#d85d5d; border-color:#d85d5d;} | ||
|
||
/**************** Sidebar area styles ****************/ | ||
|
||
#sidebar | ||
{position:absolute; top:0; left:0; width:220px; height:100%; overflow:auto; background:#e0e0e0 url(images/sidebarbg.gif) top right repeat-y; text-align:right;} | ||
|
||
body > #sidebar | ||
{position:fixed;} | ||
|
||
#sidebar h1 | ||
{margin:20px 18px 0 5px; color:#d85d5d; font-size:1.6em; letter-spacing:-2px; text-align:right;} | ||
|
||
#sidebar h2, #sidebar h3 | ||
{margin:0 20px 18px 5px; color:#808080; font-size:1.1em; font-weight:bold; letter-spacing:-1px; text-align:right;} | ||
|
||
#sidebar h3 | ||
{margin:20px 18px 4px 5px; color:#606060;} | ||
|
||
#sidebar p | ||
{margin:0 20px 18px 5px; color:#606060; font-size:0.8em;} | ||
|
||
#sidebar a | ||
{color:#808080} | ||
|
||
#sidebar ul | ||
{margin-right: 20px; margin-left: 5px; list-style-type: none;} | ||
|
||
#sidebar li | ||
{margin: 0px; padding-left: 5px;} | ||
|
||
/**************** Navigation menu styles ****************/ | ||
|
||
#menu ul | ||
{list-style-type: none; margin: 0px; padding: 0px; font-size: 1.0em;} | ||
|
||
#menu li | ||
{margin: 0px; padding: 0px} | ||
|
||
#menu a, #menu span | ||
{display:block; width:202px; padding:5px 18px 5px 0; color:#606060; background:#e0e0e0 url(images/sidebarbg.gif) top right repeat-y; font-size:1.8em; font-weight:normal; text-decoration:none; letter-spacing:-2px;} | ||
|
||
#menu a:hover, #menu span:hover | ||
{color:#303030; background:#f0f0f0 url(images/sidebarbg.gif) top right repeat-y;} | ||
|
||
#menu li.webgen-menu-item-selected a, #menu li.webgen-menu-item-selected span | ||
{padding:5px 18px 5px 0; background:#fafafa; border-top:2px solid #c0c0c0; border-bottom:2px solid #c0c0c0;} | ||
|
||
#menu li.webgen-menu-item-selected a:hover, #menu li.webgen-menu-item-selected span:hover | ||
{color:#505050; background:#fafafa;} | ||
|
||
/**************** Content area styles ****************/ | ||
|
||
#content | ||
{width:520px; margin:0 0 0 240px; padding:20px 0; background:#fafafa;} | ||
|
||
#content p | ||
{margin:0 0 20px 0; line-height:1.5em;} | ||
|
||
#content h1 | ||
{margin:0; color:#808080; font-weight:normal; font-size:2.5em; letter-spacing:-2px; text-align:center;} | ||
|
||
#content h2 | ||
{clear:both; margin:30px 0 10px 0; color:#d85d5d; font-weight:normal; font-size: 2em; letter-spacing:-2px;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{lang:}"> | ||
<head> | ||
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> | ||
<meta name="description" content="description goes here" /> | ||
<meta name="keywords" content="keywords,goes,here" /> | ||
<meta name="author" content="Your Name" /> | ||
<meta name="generator" content="webgen - http://webgen.rubyforge.org" /> | ||
<link rel="stylesheet" type="text/css" href="{relocatable: default.css}" /> | ||
<!--[if IE 6]> | ||
<link rel="stylesheet" href="{relocatable: browserfix.css}" type="text/css" /> | ||
<![endif]--> | ||
<title>{title:}</title> | ||
</head> | ||
|
||
<body> | ||
<div id="sidebar"> | ||
<h1>Website Title</h1> | ||
<h2>your website slogan</h2> | ||
|
||
<div id="menu"> | ||
{menu: {max_levels: 1, used_nodes: files}} | ||
</div> | ||
|
||
<h3>Links:</h3> | ||
<ul> | ||
<li><a href="http://webgen.rubyforge.org">webgen homepage</a></li> | ||
<li><a href="http://andreasviklund.com/templates/">Website templates</a></li> | ||
<li><a href="http://openwebdesign.org/">Open Web Design</a></li> | ||
<li><a href="http://oswd.org/">OSWD.org</a></li> | ||
</ul> | ||
</div> | ||
|
||
<div id="content"> | ||
<webgen:block name="content" /> | ||
|
||
<h2>site info</h2> | ||
<p>© 2005-2006 Your Name | Generated by <a href="http://webgen.rubyforge.org">webgen</a> | Design by <a href="http://andreasviklund.com">Andreas Viklund</a>.</p> | ||
</div> | ||
</body> | ||
</html> |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
title: Empty Index Page | ||
in_menu: true | ||
routed_title: New webgen Website | ||
--- | ||
## Welcome to *webgen*! | ||
|
||
This is just a place holder for the start page for your new website! | ||
|
||
You can start by adjusting the meta information for this page file and adding some real content and | ||
then adding some more page files! | ||
|
||
For more information about webgen have a look at the [documentation]! | ||
|
||
[documentation]: http://webgen.rubyforge.org/documentation/index.html |