diff --git a/site/Rules b/site/Rules new file mode 100644 index 0000000000000000000000000000000000000000..f8fa96a12cf1c55e2e6dff27eb910c0177b20bb3 --- /dev/null +++ b/site/Rules @@ -0,0 +1,43 @@ +#!/usr/bin/env ruby + +# A few helpful tips about the Rules file: +# +# * The string given to #compile and #route are matching patterns for +# identifiers--not for paths. Therefore, you can’t match on extension. +# +# * The order of rules is important: for each item, only the first matching +# rule is applied. +# +# * Item identifiers start and end with a slash (e.g. “/about/” for the file +# “content/about.html”). To select all children, grandchildren, … of an +# item, use the pattern “/about/*/”; “/about/*” will also select the parent, +# because “*” matches zero or more characters. + +compile '*' do + if item[:extension] == 'md' + filter :kramdown + layout 'default' + elsif item[:extension] == 'css' + # don’t filter stylesheets + elsif item.binary? + # don’t filter binary items + else + filter :erb + layout 'default' + end +end + +route '*' do + if item[:extension] == 'css' + # Write item with identifier /foo/ to /foo.css + item.identifier.chop + '.css' + elsif item.binary? + # Write item with identifier /foo/ to /foo.ext + item.identifier.chop + '.' + item[:extension] + else + # Write item with identifier /foo/ to /foo/index.html + item.identifier + 'index.html' + end +end + +layout '*', :erb diff --git a/site/content/doc/getting-started/index.md b/site/content/doc/getting-started/index.md new file mode 100644 index 0000000000000000000000000000000000000000..d45ef99c558df8af198cb3a97ebec73dc580bc7f --- /dev/null +++ b/site/content/doc/getting-started/index.md @@ -0,0 +1,9 @@ +--- +title: Getting started +--- + + +Getting started +======= + +blabla diff --git a/site/content/doc/research/index.md b/site/content/doc/research/index.md new file mode 100644 index 0000000000000000000000000000000000000000..c9be5d7139b196d13ba861be0ebfe85fe0bb9164 --- /dev/null +++ b/site/content/doc/research/index.md @@ -0,0 +1,9 @@ +--- +title: Research +--- + + +Research work +======= + +blabla diff --git a/site/content/index.md b/site/content/index.md new file mode 100644 index 0000000000000000000000000000000000000000..b0d0eac5d4952fcf5bf78737c51cdf6bc33dd865 --- /dev/null +++ b/site/content/index.md @@ -0,0 +1,20 @@ +--- +title: Home +--- + + +Moclodash: memory efficient EMF model cloning +======= + + +Moclodash is a set of tools for memory efficient EMF model cloning. + + + +## Authors + +This research work was made by the DiverSE research team. + +- Erwan Bousse (writer and developer) +- Benoit Combemale (supervisor) +- Benoit Baudry (supervisor) diff --git a/site/content/source/index.md b/site/content/source/index.md new file mode 100644 index 0000000000000000000000000000000000000000..452eda98727e3077fcc02f0802cead3901673cf9 --- /dev/null +++ b/site/content/source/index.md @@ -0,0 +1,9 @@ +--- +title: Source +--- + + +Source +======= + +blabla diff --git a/site/content/stylesheet.css b/site/content/stylesheet.css new file mode 100644 index 0000000000000000000000000000000000000000..7d8c8ac97db8428ed613982170b95d21f4a33ce8 --- /dev/null +++ b/site/content/stylesheet.css @@ -0,0 +1,101 @@ +* { + margin: 0; + padding: 0; + + font-family: Georgia, Palatino, serif; +} + +body { + background: #fff; +} + +a { + text-decoration: none; +} + +a:link, +a:visited { + color: #f30; +} + +a:hover { + color: #f90; +} + +#main { + position: absolute; + + top: 40px; + left: 280px; + + width: 500px; +} + +#main h1 { + font-size: 40px; + font-weight: normal; + + line-height: 40px; + + letter-spacing: -1px; +} + +#main p { + margin: 20px 0; + + font-size: 15px; + + line-height: 20px; +} + +#main ul, #main ol { + margin: 20px; +} + +#main li { + font-size: 15px; + + line-height: 20px; +} + +#main ul li { + list-style-type: square; +} + +#sidebar { + position: absolute; + + top: 40px; + left: 20px; + width: 200px; + + padding: 20px 20px 0 0; + + border-right: 1px solid #ccc; + + text-align: right; +} + +#sidebar h2 { + text-transform: uppercase; + + font-size: 13px; + + color: #333; + + letter-spacing: 1px; + + line-height: 20px; +} + +#sidebar ul { + list-style-type: none; + + margin: 20px 0; +} + +#sidebar li { + font-size: 14px; + + line-height: 20px; +} diff --git a/site/content/tools/benchmark/index.md b/site/content/tools/benchmark/index.md new file mode 100644 index 0000000000000000000000000000000000000000..015e0a7ccedd83f1fba8703471c5eceaee39945e --- /dev/null +++ b/site/content/tools/benchmark/index.md @@ -0,0 +1,9 @@ +--- +title: Benchmark tool suite +--- + + +Benchmark tool suite +======= + +blabla diff --git a/site/content/tools/plugin/index.md b/site/content/tools/plugin/index.md new file mode 100644 index 0000000000000000000000000000000000000000..b701e6f20090f705ae33ef7b3bf2bef802404669 --- /dev/null +++ b/site/content/tools/plugin/index.md @@ -0,0 +1,9 @@ +--- +title: Eclipse plugin +--- + + +Eclipse plugin +======= + +blabla diff --git a/site/layouts/default.html b/site/layouts/default.html new file mode 100644 index 0000000000000000000000000000000000000000..fbad9e62cfff7a2da5ba78f15145cf4cec60bfe0 --- /dev/null +++ b/site/layouts/default.html @@ -0,0 +1,38 @@ + + + + + Moclodash - <%= @item[:title] %> + + + + + + +
+ <%= yield %> +
+ + + diff --git a/site/lib/default.rb b/site/lib/default.rb new file mode 100644 index 0000000000000000000000000000000000000000..a4df0ccb715767562aa02caa72035eeea17d1d64 --- /dev/null +++ b/site/lib/default.rb @@ -0,0 +1,2 @@ +# All files in the 'lib' directory will be loaded +# before nanoc starts compiling. diff --git a/site/nanoc.yaml b/site/nanoc.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4599b69011cc62e3b37b1d663e439cfd955f2732 --- /dev/null +++ b/site/nanoc.yaml @@ -0,0 +1,64 @@ +# A list of file extensions that nanoc will consider to be textual rather than +# binary. If an item with an extension not in this list is found, the file +# will be considered as binary. +text_extensions: [ 'coffee', 'css', 'erb', 'haml', 'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown', 'md', 'ms', 'mustache', 'php', 'rb', 'sass', 'scss', 'txt', 'xhtml', 'xml' ] + +# The path to the directory where all generated files will be written to. This +# can be an absolute path starting with a slash, but it can also be path +# relative to the site directory. +output_dir: output + +# A list of index filenames, i.e. names of files that will be served by a web +# server when a directory is requested. Usually, index files are named +# “index.html”, but depending on the web server, this may be something else, +# such as “default.htm”. This list is used by nanoc to generate pretty URLs. +index_filenames: [ 'index.html' ] + +# Whether or not to generate a diff of the compiled content when compiling a +# site. The diff will contain the differences between the compiled content +# before and after the last site compilation. +enable_output_diff: false + +prune: + # Whether to automatically remove files not managed by nanoc from the output + # directory. For safety reasons, this is turned off by default. + auto_prune: false + + # Which files and directories you want to exclude from pruning. If you version + # your output directory, you should probably exclude VCS directories such as + # .git, .svn etc. + exclude: [ '.git', '.hg', '.svn', 'CVS' ] + +# The data sources where nanoc loads its data from. This is an array of +# hashes; each array element represents a single data source. By default, +# there is only a single data source that reads data from the “content/” and +# “layout/” directories in the site directory. +data_sources: + - + # The type is the identifier of the data source. By default, this will be + # `filesystem_unified`. + type: filesystem_unified + + # The path where items should be mounted (comparable to mount points in + # Unix-like systems). This is “/” by default, meaning that items will have + # “/” prefixed to their identifiers. If the items root were “/en/” + # instead, an item at content/about.html would have an identifier of + # “/en/about/” instead of just “/about/”. + items_root: / + + # The path where layouts should be mounted. The layouts root behaves the + # same as the items root, but applies to layouts rather than items. + layouts_root: / + + # Whether to allow periods in identifiers. When turned off, everything + # past the first period is considered to be the extension, and when + # turned on, only the characters past the last period are considered to + # be the extension. For example, a file named “content/about.html.erb” + # will have the identifier “/about/” when turned off, but when turned on + # it will become “/about.html/” instead. + allow_periods_in_identifiers: false + +deploy: + public: + kind: rsync + dst: "scm.gforge.inria.fr:/home/groups/moclodash/htdocs"