diff --git a/supporting-docs/_config.yml b/supporting-docs/_config.yml deleted file mode 100644 index 1b3ea192..00000000 --- a/supporting-docs/_config.yml +++ /dev/null @@ -1,16 +0,0 @@ -# Site settings -title: Matrix -email: webmaster@matrix.org -description: > # this means to ignore newlines until "baseurl:" - Matrix.org documentation -baseurl: "/docs/guides" # the subpath of your site, e.g. /blog/ -url: "http://matrix.org" # the base hostname & protocol for your site -twitter_username: matrixdotorg -github_username: matrix-org - -# Build settings -markdown: kramdown - -#defaults: -#permalink: /:categories/:title.html # can use this when/if we use jekyll for all docs -permalink: :title.html diff --git a/supporting-docs/_includes/footer.html b/supporting-docs/_includes/footer.html deleted file mode 100644 index 3e020c64..00000000 --- a/supporting-docs/_includes/footer.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - - diff --git a/supporting-docs/_includes/head.html b/supporting-docs/_includes/head.html deleted file mode 100644 index 213e1796..00000000 --- a/supporting-docs/_includes/head.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} - - - - - - - - - - - - - - - - - - diff --git a/supporting-docs/_includes/nav.html b/supporting-docs/_includes/nav.html deleted file mode 100644 index b7e2d629..00000000 --- a/supporting-docs/_includes/nav.html +++ /dev/null @@ -1,33 +0,0 @@ -
-
- - - -
- - - -
-
-
diff --git a/supporting-docs/_layouts/default.html b/supporting-docs/_layouts/default.html deleted file mode 100644 index da18483e..00000000 --- a/supporting-docs/_layouts/default.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - {% include head.html %} - - - - -
- {% include nav.html %} -
- -
-
- {{ content }} -
-
-
-
- {% include footer.html %} - - - diff --git a/supporting-docs/_layouts/page.html b/supporting-docs/_layouts/page.html deleted file mode 100644 index 74c1a118..00000000 --- a/supporting-docs/_layouts/page.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default ---- -
- -
-

{{ page.title }}

-
- -
- {{ content }} -
- -
diff --git a/supporting-docs/_layouts/post.html b/supporting-docs/_layouts/post.html deleted file mode 100644 index 64fafcbc..00000000 --- a/supporting-docs/_layouts/post.html +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: default ---- - - {{ content }} - diff --git a/supporting-docs/_plugins/jekyll-rst-master/.gitignore b/supporting-docs/_plugins/jekyll-rst-master/.gitignore deleted file mode 100644 index 7e99e367..00000000 --- a/supporting-docs/_plugins/jekyll-rst-master/.gitignore +++ /dev/null @@ -1 +0,0 @@ -*.pyc \ No newline at end of file diff --git a/supporting-docs/_plugins/jekyll-rst-master/LICENSE.txt b/supporting-docs/_plugins/jekyll-rst-master/LICENSE.txt deleted file mode 100644 index 988ac9eb..00000000 --- a/supporting-docs/_plugins/jekyll-rst-master/LICENSE.txt +++ /dev/null @@ -1,20 +0,0 @@ -The MIT License (MIT) -Copyright (c) 2011 Greg Thornton, http://xdissent.com - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. \ No newline at end of file diff --git a/supporting-docs/_plugins/jekyll-rst-master/README.rst b/supporting-docs/_plugins/jekyll-rst-master/README.rst deleted file mode 100644 index 48c21f42..00000000 --- a/supporting-docs/_plugins/jekyll-rst-master/README.rst +++ /dev/null @@ -1,97 +0,0 @@ -Overview -======== - -This plugin adds `ReStructuredText`_ support to `Jekyll`_ and `Octopress`_. -It renders ReST in posts and pages, and provides a custom directive to -support Octopress-compatible syntax highlighting. - -Requirements -============ - -* Jekyll *or* Octopress >= 2.0 -* Docutils -* Pygments -* `RbST`_ - -Installation -============ - -1. Install Docutils and Pygments. - - The most convenient way is to use virtualenv_burrito: - - :: - - $ curl -s https://raw.github.com/brainsik/virtualenv-burrito/master/virtualenv-burrito.sh | bash - $ source /Users/xdissent/.venvburrito/startup.sh - $ mkvirtualenv jekyll-rst - $ pip install docutils pygments - -2. Install RbST. - - If you use `bundler`_ with Octopress, add ``gem 'RbST'`` to - your ``Gemfile`` in the ``development`` group, then run - ``bundle install``. Otherwise, ``gem install RbST``. - -3. Install the plugin. - - For Jekyll: - - :: - - $ cd - $ git submodule add https://github.com/xdissent/jekyll-rst.git _plugins/jekyll-rst - - For Octopress: - - :: - - $ cd - $ git submodule add https://github.com/xdissent/jekyll-rst.git plugins/jekyll-rst - -4. Start blogging in ReStructuredText. Any file with the ``.rst`` extension - will be parsed as ReST and rendered into HTML. - - .. note:: Be sure to activate the ``jekyll-rst`` virtualenv before generating - the site by issuing a ``workon jekyll-rst``. I suggest you follow `Harry - Marr's advice`_ and create a ``.venv`` file that will automatically - activate the ``jekyll-rst`` virtualenv when you ``cd`` into your project. - -Source Code Highlighting -======================== - -A ``code-block`` ReST directive is registered and aliased as ``sourcecode``. -It adds syntax highlighting to code blocks in your documents:: - - .. code-block:: ruby - - # Output "I love ReST" - say = "I love ReST" - puts say - -Optional arguments exist to supply a caption, link, and link title:: - - .. code-block:: console - :caption: Read Hacker News on a budget - :url: http://news.ycombinator.com - :title: Hacker News - - $ curl http://news.ycombinator.com | less - -Octopress already includes style sheets for syntax highlighting, but you'll -need to generate one yourself if using Jekyll:: - - $ pygmentize -S default -f html > css/pygments.css - -Octopress Tips -============== - -* Use ``.. more`` in your ReST documents to indicate where Octopress's - ``excerpt`` tag should split your content for summary views. - -.. _ReStructuredText: http://docutils.sourceforge.net/rst.html -.. _Jekyll: http://jekyllrb.com/ -.. _Octopress: http://octopress.com/ -.. _RbST: http://rubygems.org/gems/RbST -.. _bundler: http://gembundler.com/ -.. _Harry Marr's advice: http://hmarr.com/2010/jan/19/making-virtualenv-play-nice-with-git/ \ No newline at end of file diff --git a/supporting-docs/_plugins/jekyll-rst-master/converter.rb b/supporting-docs/_plugins/jekyll-rst-master/converter.rb deleted file mode 100644 index 64b639cc..00000000 --- a/supporting-docs/_plugins/jekyll-rst-master/converter.rb +++ /dev/null @@ -1,30 +0,0 @@ -require 'rbst' - -module Jekyll - class RestConverter < Converter - safe true - - priority :low - - def matches(ext) - ext =~ /rst/i - end - - def output_ext(ext) - ".html" - end - - def convert(content) - RbST.executables = {:html => "#{File.expand_path(File.dirname(__FILE__))}/rst2html.py"} - RbST.new(content).to_html(:part => :fragment, :initial_header_level => 2) - end - end - - module Filters - def restify(input) - site = @context.registers[:site] - converter = site.getConverterImpl(Jekyll::RestConverter) - converter.convert(input) - end - end -end \ No newline at end of file diff --git a/supporting-docs/_plugins/jekyll-rst-master/directives.py b/supporting-docs/_plugins/jekyll-rst-master/directives.py deleted file mode 100644 index bfd2b78b..00000000 --- a/supporting-docs/_plugins/jekyll-rst-master/directives.py +++ /dev/null @@ -1,97 +0,0 @@ -# Define a new directive `code-block` (aliased as `sourcecode`) that uses the -# `pygments` source highlighter to render code in color. -# -# Incorporates code from the `Pygments`_ documentation for `Using Pygments in -# ReST documents`_ and `Octopress`_. -# -# .. _Pygments: http://pygments.org/ -# .. _Using Pygments in ReST documents: http://pygments.org/docs/rstdirective/ -# .. _Octopress: http://octopress.org/ - -import re -import os -import md5 -import __main__ - -# Absolute path to pygments cache dir -PYGMENTS_CACHE_DIR = os.path.abspath(os.path.join(os.path.dirname(__main__.__file__), '../../.pygments-cache')) - -# Ensure cache dir exists -if not os.path.exists(PYGMENTS_CACHE_DIR): - os.makedirs(PYGMENTS_CACHE_DIR) - -from pygments.formatters import HtmlFormatter - -from docutils import nodes -from docutils.parsers.rst import directives, Directive - -from pygments import highlight -from pygments.lexers import get_lexer_by_name, TextLexer - -class Pygments(Directive): - """ Source code syntax hightlighting. - """ - required_arguments = 1 - optional_arguments = 0 - final_argument_whitespace = True - string_opts = ['title', 'url', 'caption'] - option_spec = dict([(key, directives.unchanged) for key in string_opts]) - has_content = True - - def run(self): - self.assert_has_content() - try: - lexer_name = self.arguments[0] - lexer = get_lexer_by_name(lexer_name) - except ValueError: - # no lexer found - use the text one instead of an exception - lexer_name = 'text' - lexer = TextLexer() - formatter = HtmlFormatter() - - # Construct cache filename - cache_file = None - content_text = u'\n'.join(self.content) - cache_file_name = '%s-%s.html' % (lexer_name, md5.new(content_text).hexdigest()) - cached_path = os.path.join(PYGMENTS_CACHE_DIR, cache_file_name) - - # Look for cached version, otherwise parse - if os.path.exists(cached_path): - cache_file = open(cached_path, 'r') - parsed = cache_file.read() - else: - parsed = highlight(content_text, lexer, formatter) - - # Strip pre tag and everything outside it - pres = re.compile("
(.+)<\/pre>", re.S)
-        stripped = pres.search(parsed).group(1)
-
-        # Create tabular code with line numbers
-        table = '
'
-        lined = ''
-        for idx, line in enumerate(stripped.splitlines(True)):
-            table += '%d\n' % (idx + 1)
-            lined  += '%s' % line
-        table += '
%s
' % (lexer_name, lined) - - # Add wrapper with optional caption and link - code = '
' - if self.options: - caption = ('%s' % self.options['caption']) if 'caption' in self.options else '' - title = self.options['title'] if 'title' in self.options else 'link' - link = ('%s' % (self.options['url'], title)) if 'url' in self.options else '' - - if caption or link: - code += '
%s %s
' % (caption, link) - code += '%s
' % table - - # Write cache - if cache_file is None: - cache_file = open(cached_path, 'w') - cache_file.write(parsed) - cache_file.close() - - return [nodes.raw('', code, format='html')] - -directives.register_directive('code-block', Pygments) -directives.register_directive('sourcecode', Pygments) \ No newline at end of file diff --git a/supporting-docs/_plugins/jekyll-rst-master/rst2html.py b/supporting-docs/_plugins/jekyll-rst-master/rst2html.py deleted file mode 100644 index 0190da05..00000000 --- a/supporting-docs/_plugins/jekyll-rst-master/rst2html.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/env python - -# :Author: David Goodger, the Pygments team, Guenter Milde -# :Date: $Date: $ -# :Copyright: This module has been placed in the public domain. - -# This is a merge of the `Docutils`_ `rst2html` front end with an extension -# suggestion taken from the `Pygments`_ documentation, reworked specifically -# for `Octopress`_. -# -# .. _Pygments: http://pygments.org/ -# .. _Docutils: http://docutils.sourceforge.net/ -# .. _Octopress: http://octopress.org/ - -""" -A front end to docutils, producing HTML with syntax colouring using pygments -""" - -try: - import locale - locale.setlocale(locale.LC_ALL, '') -except: - pass - -from transform import transform -from docutils.writers.html4css1 import Writer -from docutils.core import default_description -from directives import Pygments - -description = ('Generates (X)HTML documents from standalone reStructuredText ' - 'sources. Uses `pygments` to colorize the content of' - '"code-block" directives. Needs an adapted stylesheet' - + default_description) - -def main(): - return transform(writer=Writer(), part='html_body') - -if __name__ == '__main__': - print(main()) diff --git a/supporting-docs/_plugins/jekyll-rst-master/transform.py b/supporting-docs/_plugins/jekyll-rst-master/transform.py deleted file mode 100644 index 51ad4ef6..00000000 --- a/supporting-docs/_plugins/jekyll-rst-master/transform.py +++ /dev/null @@ -1,42 +0,0 @@ -import sys -from docutils.core import publish_parts -from optparse import OptionParser -from docutils.frontend import OptionParser as DocutilsOptionParser -from docutils.parsers.rst import Parser - -def transform(writer=None, part=None): - p = OptionParser(add_help_option=False) - - # Collect all the command line options - docutils_parser = DocutilsOptionParser(components=(writer, Parser())) - for group in docutils_parser.option_groups: - p.add_option_group(group.title, None).add_options(group.option_list) - - p.add_option('--part', default=part) - - opts, args = p.parse_args() - - settings = dict({ - 'file_insertion_enabled': False, - 'raw_enabled': False, - 'doctitle_xform': False, - }) - - if len(args) == 1: - try: - content = open(args[0], 'r').read() - except IOError: - content = args[0] - else: - content = sys.stdin.read() - - parts = publish_parts( - source=content, - writer=writer, - settings_overrides=settings - ) - if 'html_body' in parts: - return parts['html_body'] - if opts.part in parts: - return parts[opts.part] - return '' diff --git a/supporting-docs/_plugins/project_version_tag.rb b/supporting-docs/_plugins/project_version_tag.rb deleted file mode 100644 index c647eef8..00000000 --- a/supporting-docs/_plugins/project_version_tag.rb +++ /dev/null @@ -1,51 +0,0 @@ -module Jekyll - class ProjectVersionTag < Liquid::Tag - NO_GIT_MESSAGE = 'Oops, are you sure this is a git project?' - UNABLE_TO_PARSE_MESSAGE = 'Sorry, could not read project version at the moment' - - def render(context) - if git_repo? - current_version.chomp - else - NO_GIT_MESSAGE - end - end - - private - - def current_version - @_current_version ||= begin - # attempt to find the latest tag, falling back to last commit - version = git_describe || parse_head - - version || UNABLE_TO_PARSE_MESSAGE - end - end - - def git_describe - tagged_version = %x{ git describe --tags --always } - - if command_succeeded? - tagged_version - end - end - - def parse_head - head_commitish = %x{ git rev-parse --short HEAD } - - if command_succeeded? - head_commitish - end - end - - def command_succeeded? - !$?.nil? && $?.success? - end - - def git_repo? - system('git rev-parse') - end - end -end - -Liquid::Template.register_tag('project_version', Jekyll::ProjectVersionTag) diff --git a/supporting-docs/_posts/index.html b/supporting-docs/_posts/index.html deleted file mode 100644 index 15c7d5c2..00000000 --- a/supporting-docs/_posts/index.html +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: default ---- - {% include basic.css %} - {% include nature.css %} - -
- -
-
{{ page.title }}
- -
- -
- {{ content }} -
- -
diff --git a/supporting-docs/_sass/_base.scss b/supporting-docs/_sass/_base.scss deleted file mode 100644 index e5fd0fd8..00000000 --- a/supporting-docs/_sass/_base.scss +++ /dev/null @@ -1,204 +0,0 @@ -/** - * Reset some basic elements - */ -body, h1, h2, h3, h4, h5, h6, -p, blockquote, pre, hr, -dl, dd, ol, ul, figure { - margin: 0; - padding: 0; -} - - - -/** - * Basic styling - */ -body { - font-family: $base-font-family; - font-size: $base-font-size; - line-height: $base-line-height; - font-weight: 300; - color: $text-color; - background-color: $background-color; - -webkit-text-size-adjust: 100%; -} - - - -/** - * Set `margin-bottom` to maintain vertical rhythm - */ -h1, h2, h3, h4, h5, h6, -p, blockquote, pre, -ul, ol, dl, figure, -%vertical-rhythm { - margin-bottom: $spacing-unit / 2; -} - - - -/** - * Images - */ -img { - max-width: 100%; - vertical-align: middle; -} - - - -/** - * Figures - */ -figure > img { - display: block; -} - -figcaption { - font-size: $small-font-size; -} - - - -/** - * Lists - */ -ul, ol { - margin-left: $spacing-unit; -} - -li { - > ul, - > ol { - margin-bottom: 0; - } -} - - - -/** - * Headings - */ -h1, h2, h3, h4, h5, h6 { - font-weight: 300; -} - - - -/** - * Links - */ -a { - color: $brand-color; - text-decoration: none; - - &:visited { - color: darken($brand-color, 15%); - } - - &:hover { - color: $text-color; - text-decoration: underline; - } -} - - - -/** - * Blockquotes - */ -blockquote { - color: $grey-color; - border-left: 4px solid $grey-color-light; - padding-left: $spacing-unit / 2; - font-size: 18px; - letter-spacing: -1px; - font-style: italic; - - > :last-child { - margin-bottom: 0; - } -} - - - -/** - * Code formatting - */ -pre, -code { - font-size: 15px; - border: 1px solid $grey-color-light; - border-radius: 3px; - background-color: #eef; -} - -code { - padding: 1px 5px; -} - -pre { - padding: 8px 12px; - overflow-x: scroll; - - > code { - border: 0; - padding-right: 0; - padding-left: 0; - } -} - - - -/** - * Wrapper - */ -.wrapper { - max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2)); - max-width: calc(#{$content-width} - (#{$spacing-unit} * 2)); - margin-right: auto; - margin-left: auto; - padding-right: $spacing-unit; - padding-left: $spacing-unit; - @extend %clearfix; - - @include media-query($on-laptop) { - max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit})); - max-width: calc(#{$content-width} - (#{$spacing-unit})); - padding-right: $spacing-unit / 2; - padding-left: $spacing-unit / 2; - } -} - - - -/** - * Clearfix - */ -%clearfix { - - &:after { - content: ""; - display: table; - clear: both; - } -} - - - -/** - * Icons - */ -.icon { - - > svg { - display: inline-block; - width: 16px; - height: 16px; - vertical-align: middle; - - path { - fill: $grey-color; - } - } -} diff --git a/supporting-docs/_sass/_layout.scss b/supporting-docs/_sass/_layout.scss deleted file mode 100644 index def56f89..00000000 --- a/supporting-docs/_sass/_layout.scss +++ /dev/null @@ -1,236 +0,0 @@ -/** - * Site header - */ -.site-header { - border-top: 5px solid $grey-color-dark; - border-bottom: 1px solid $grey-color-light; - min-height: 56px; - - // Positioning context for the mobile navigation icon - position: relative; -} - -.site-title { - font-size: 26px; - line-height: 56px; - letter-spacing: -1px; - margin-bottom: 0; - float: left; - - &, - &:visited { - color: $grey-color-dark; - } -} - -.site-nav { - float: right; - line-height: 56px; - - .menu-icon { - display: none; - } - - .page-link { - color: $text-color; - line-height: $base-line-height; - - // Gaps between nav items, but not on the first one - &:not(:first-child) { - margin-left: 20px; - } - } - - @include media-query($on-palm) { - position: absolute; - top: 9px; - right: 30px; - background-color: $background-color; - border: 1px solid $grey-color-light; - border-radius: 5px; - text-align: right; - - .menu-icon { - display: block; - float: right; - width: 36px; - height: 26px; - line-height: 0; - padding-top: 10px; - text-align: center; - - > svg { - width: 18px; - height: 15px; - - path { - fill: $grey-color-dark; - } - } - } - - .trigger { - clear: both; - display: none; - } - - &:hover .trigger { - display: block; - padding-bottom: 5px; - } - - .page-link { - display: block; - padding: 5px 10px; - } - } -} - - - -/** - * Site footer - */ -.site-footer { - border-top: 1px solid $grey-color-light; - padding: $spacing-unit 0; -} - -.footer-heading { - font-size: 18px; - margin-bottom: $spacing-unit / 2; -} - -.contact-list, -.social-media-list { - list-style: none; - margin-left: 0; -} - -.footer-col-wrapper { - font-size: 15px; - color: $grey-color; - margin-left: -$spacing-unit / 2; - @extend %clearfix; -} - -.footer-col { - float: left; - margin-bottom: $spacing-unit / 2; - padding-left: $spacing-unit / 2; -} - -.footer-col-1 { - width: -webkit-calc(35% - (#{$spacing-unit} / 2)); - width: calc(35% - (#{$spacing-unit} / 2)); -} - -.footer-col-2 { - width: -webkit-calc(20% - (#{$spacing-unit} / 2)); - width: calc(20% - (#{$spacing-unit} / 2)); -} - -.footer-col-3 { - width: -webkit-calc(45% - (#{$spacing-unit} / 2)); - width: calc(45% - (#{$spacing-unit} / 2)); -} - -@include media-query($on-laptop) { - .footer-col-1, - .footer-col-2 { - width: -webkit-calc(50% - (#{$spacing-unit} / 2)); - width: calc(50% - (#{$spacing-unit} / 2)); - } - - .footer-col-3 { - width: -webkit-calc(100% - (#{$spacing-unit} / 2)); - width: calc(100% - (#{$spacing-unit} / 2)); - } -} - -@include media-query($on-palm) { - .footer-col { - float: none; - width: -webkit-calc(100% - (#{$spacing-unit} / 2)); - width: calc(100% - (#{$spacing-unit} / 2)); - } -} - - - -/** - * Page content - */ -.page-content { - padding: $spacing-unit 0; -} - -.page-heading { - font-size: 20px; -} - -.post-list { - margin-left: 0; - list-style: none; - - > li { - margin-bottom: $spacing-unit; - } -} - -.post-meta { - font-size: $small-font-size; - color: $grey-color; -} - -.post-link { - display: block; - font-size: 24px; -} - - - -/** - * Posts - */ -.post-header { - margin-bottom: $spacing-unit; -} - -.post-title { - font-size: 42px; - letter-spacing: -1px; - line-height: 1; - - @include media-query($on-laptop) { - font-size: 36px; - } -} - -.post-content { - margin-bottom: $spacing-unit; - - h2 { - font-size: 32px; - - @include media-query($on-laptop) { - font-size: 28px; - } - } - - h3 { - font-size: 26px; - - @include media-query($on-laptop) { - font-size: 22px; - } - } - - h4 { - font-size: 20px; - - @include media-query($on-laptop) { - font-size: 18px; - } - } -} diff --git a/supporting-docs/_sass/_syntax-highlighting.scss b/supporting-docs/_sass/_syntax-highlighting.scss deleted file mode 100644 index e36627da..00000000 --- a/supporting-docs/_sass/_syntax-highlighting.scss +++ /dev/null @@ -1,67 +0,0 @@ -/** - * Syntax highlighting styles - */ -.highlight { - background: #fff; - @extend %vertical-rhythm; - - .c { color: #998; font-style: italic } // Comment - .err { color: #a61717; background-color: #e3d2d2 } // Error - .k { font-weight: bold } // Keyword - .o { font-weight: bold } // Operator - .cm { color: #998; font-style: italic } // Comment.Multiline - .cp { color: #999; font-weight: bold } // Comment.Preproc - .c1 { color: #998; font-style: italic } // Comment.Single - .cs { color: #999; font-weight: bold; font-style: italic } // Comment.Special - .gd { color: #000; background-color: #fdd } // Generic.Deleted - .gd .x { color: #000; background-color: #faa } // Generic.Deleted.Specific - .ge { font-style: italic } // Generic.Emph - .gr { color: #a00 } // Generic.Error - .gh { color: #999 } // Generic.Heading - .gi { color: #000; background-color: #dfd } // Generic.Inserted - .gi .x { color: #000; background-color: #afa } // Generic.Inserted.Specific - .go { color: #888 } // Generic.Output - .gp { color: #555 } // Generic.Prompt - .gs { font-weight: bold } // Generic.Strong - .gu { color: #aaa } // Generic.Subheading - .gt { color: #a00 } // Generic.Traceback - .kc { font-weight: bold } // Keyword.Constant - .kd { font-weight: bold } // Keyword.Declaration - .kp { font-weight: bold } // Keyword.Pseudo - .kr { font-weight: bold } // Keyword.Reserved - .kt { color: #458; font-weight: bold } // Keyword.Type - .m { color: #099 } // Literal.Number - .s { color: #d14 } // Literal.String - .na { color: #008080 } // Name.Attribute - .nb { color: #0086B3 } // Name.Builtin - .nc { color: #458; font-weight: bold } // Name.Class - .no { color: #008080 } // Name.Constant - .ni { color: #800080 } // Name.Entity - .ne { color: #900; font-weight: bold } // Name.Exception - .nf { color: #900; font-weight: bold } // Name.Function - .nn { color: #555 } // Name.Namespace - .nt { color: #000080 } // Name.Tag - .nv { color: #008080 } // Name.Variable - .ow { font-weight: bold } // Operator.Word - .w { color: #bbb } // Text.Whitespace - .mf { color: #099 } // Literal.Number.Float - .mh { color: #099 } // Literal.Number.Hex - .mi { color: #099 } // Literal.Number.Integer - .mo { color: #099 } // Literal.Number.Oct - .sb { color: #d14 } // Literal.String.Backtick - .sc { color: #d14 } // Literal.String.Char - .sd { color: #d14 } // Literal.String.Doc - .s2 { color: #d14 } // Literal.String.Double - .se { color: #d14 } // Literal.String.Escape - .sh { color: #d14 } // Literal.String.Heredoc - .si { color: #d14 } // Literal.String.Interpol - .sx { color: #d14 } // Literal.String.Other - .sr { color: #009926 } // Literal.String.Regex - .s1 { color: #d14 } // Literal.String.Single - .ss { color: #990073 } // Literal.String.Symbol - .bp { color: #999 } // Name.Builtin.Pseudo - .vc { color: #008080 } // Name.Variable.Class - .vg { color: #008080 } // Name.Variable.Global - .vi { color: #008080 } // Name.Variable.Instance - .il { color: #099 } // Literal.Number.Integer.Long -} diff --git a/supporting-docs/about.md b/supporting-docs/about.md deleted file mode 100644 index 3ed64bb6..00000000 --- a/supporting-docs/about.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -layout: page -title: About -permalink: /about/ ---- - -This is the base Jekyll theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](http://jekyllrb.com/) - -You can find the source code for the Jekyll new theme at: [github.com/jglovier/jekyll-new](https://github.com/jglovier/jekyll-new) - -You can find the source code for Jekyll at [github.com/jekyll/jekyll](https://github.com/jekyll/jekyll) diff --git a/supporting-docs/css/basic.css b/supporting-docs/css/basic.css deleted file mode 100644 index bf8f4712..00000000 --- a/supporting-docs/css/basic.css +++ /dev/null @@ -1,512 +0,0 @@ -/* - * basic.css - * ~~~~~~~~~ - * - * Sphinx stylesheet -- basic theme. - * - * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * - */ - -/* -- main layout ----------------------------------------------------------- */ - -div.clearer { - clear: both; -} - -/* -- relbar ---------------------------------------------------------------- */ - -div.related { - width: 100%; - font-size: 90%; -} - -div.related h3 { - display: none; -} - -div.related ul { - margin: 0; - padding: 0 0 0 10px; - list-style: none; -} - -div.related li { - display: inline; -} - -div.related li.right { - float: right; - margin-right: 5px; -} - -/* -- sidebar --------------------------------------------------------------- */ - -div.sphinxsidebarwrapper { - padding: 10px 5px 0 10px; -} - -div.sphinxsidebar { - float: left; - width: 230px; - margin-left: -100%; - font-size: 90%; -} - -div.sphinxsidebar ul { - list-style: none; -} - -div.sphinxsidebar ul ul, -div.sphinxsidebar ul.want-points { - margin-left: 20px; - list-style: square; -} - -div.sphinxsidebar ul ul { - margin-top: 0; - margin-bottom: 0; -} - -div.sphinxsidebar form { - margin-top: 10px; -} - -div.sphinxsidebar input { - border: 1px solid #98dbcc; - font-family: sans-serif; - font-size: 1em; -} - -img { - border: 0; -} - -/* -- search page ----------------------------------------------------------- */ - -ul.search { - margin: 10px 0 0 20px; - padding: 0; -} - -ul.search li { - padding: 5px 0 5px 20px; - background-image: url(file.png); - background-repeat: no-repeat; - background-position: 0 7px; -} - -ul.search li a { - font-weight: bold; -} - -ul.search li div.context { - color: #888; - margin: 2px 0 0 30px; - text-align: left; -} - -ul.keywordmatches li.goodmatch a { - font-weight: bold; -} - -/* -- index page ------------------------------------------------------------ */ - -table.contentstable { - width: 90%; -} - -table.contentstable p.biglink { - line-height: 150%; -} - -a.biglink { - font-size: 1.3em; -} - -span.linkdescr { - font-style: italic; - padding-top: 5px; - font-size: 90%; -} - -/* -- general index --------------------------------------------------------- */ - -table.indextable { - width: 100%; -} - -table.indextable td { - text-align: left; - vertical-align: top; -} - -table.indextable dl, table.indextable dd { - margin-top: 0; - margin-bottom: 0; -} - -table.indextable tr.pcap { - height: 10px; -} - -table.indextable tr.cap { - margin-top: 10px; - background-color: #f2f2f2; -} - -img.toggler { - margin-right: 3px; - margin-top: 3px; - cursor: pointer; -} - -div.modindex-jumpbox { - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - margin: 1em 0 1em 0; - padding: 0.4em; -} - -div.genindex-jumpbox { - border-top: 1px solid #ddd; - border-bottom: 1px solid #ddd; - margin: 1em 0 1em 0; - padding: 0.4em; -} - -/* -- general body styles --------------------------------------------------- */ - -a.headerlink { - visibility: hidden; -} - -h1:hover > a.headerlink, -h2:hover > a.headerlink, -h3:hover > a.headerlink, -h4:hover > a.headerlink, -h5:hover > a.headerlink, -h6:hover > a.headerlink, -dt:hover > a.headerlink { - visibility: visible; -} - -div.document p.caption { - text-align: inherit; -} - -div.document td { - text-align: left; -} - -.field-list ul { - padding-left: 1em; -} - -.first { - margin-top: 0 !important; -} - -p.rubric { - margin-top: 30px; - font-weight: bold; -} - -.align-left { - text-align: left; -} - -.align-center { - clear: both; - text-align: center; -} - -.align-right { - text-align: right; -} - -/* -- sidebars -------------------------------------------------------------- */ - -div.sidebar { - margin: 0 0 0.5em 1em; - border: 1px solid #ddb; - padding: 7px 7px 0 7px; - background-color: #ffe; - width: 40%; - float: right; -} - -p.sidebar-title { - font-weight: bold; -} - -/* -- topics ---------------------------------------------------------------- */ - -div.topic { - border: 1px solid #ccc; - padding: 7px 7px 0 7px; - margin: 10px 0 10px 0; -} - -p.topic-title { - font-size: 1.1em; - font-weight: bold; - margin-top: 10px; -} - -/* -- admonitions ----------------------------------------------------------- */ - -div.admonition { - margin-top: 10px; - margin-bottom: 10px; - padding: 7px; -} - -div.admonition dt { - font-weight: bold; -} - -div.admonition dl { - margin-bottom: 0; -} - -p.admonition-title { - margin: 0px 10px 5px 0px; - font-weight: bold; -} - -div.document p.centered { - text-align: center; - margin-top: 25px; -} - -/* -- tables ---------------------------------------------------------------- */ - -table.docutils { - border: 0; - border-collapse: collapse; -} - -table.docutils td, table.docutils th { - padding: 1px 8px 1px 5px; - border-top: 0; - border-left: 0; - border-right: 0; - border-bottom: 1px solid #aaa; -} - -table.field-list td, table.field-list th { - border: 0 !important; -} - -table.footnote td, table.footnote th { - border: 0 !important; -} - -th { - text-align: left; - padding-right: 5px; -} - -table.citation { - border-left: solid 1px gray; - margin-left: 1px; -} - -table.citation td { - border-bottom: none; -} - -/* -- other body styles ----------------------------------------------------- */ - -ol.arabic { - list-style: decimal; -} - -ol.loweralpha { - list-style: lower-alpha; -} - -ol.upperalpha { - list-style: upper-alpha; -} - -ol.lowerroman { - list-style: lower-roman; -} - -ol.upperroman { - list-style: upper-roman; -} - -dl { - margin-bottom: 15px; -} - -dd p { - margin-top: 0px; -} - -dd ul, dd table { - margin-bottom: 10px; -} - -dd { - margin-top: 3px; - margin-bottom: 10px; - margin-left: 30px; -} - -dt:target, .highlighted { - background-color: #fbe54e; -} - -dl.glossary dt { - font-weight: bold; - font-size: 1.1em; -} - -.field-list ul { - margin: 0; - padding-left: 1em; -} - -.field-list p { - margin: 0; -} - -.refcount { - color: #060; -} - -.optional { - font-size: 1.3em; -} - -.versionmodified { - font-style: italic; -} - -.system-message { - background-color: #fda; - padding: 5px; - border: 3px solid red; -} - -.footnote:target { - background-color: #ffa -} - -.line-block { - display: block; - margin-top: 1em; - margin-bottom: 1em; -} - -.line-block .line-block { - margin-top: 0; - margin-bottom: 0; - margin-left: 1.5em; -} - -.guilabel, .menuselection { - font-family: sans-serif; -} - -.accelerator { - text-decoration: underline; -} - -.classifier { - font-style: oblique; -} - -/* -- code displays --------------------------------------------------------- */ - -pre { - overflow: auto; - font-size: 1.1em; - -} - -td.linenos pre { - padding: 5px 0px; - border: 0; - background-color: transparent; - color: #aaa; -} - -table.highlighttable { - margin-left: 0.5em; -} - -table.highlighttable td { - padding: 0 0.5em 0 0.5em; -} - -tt.descname { - background-color: transparent; - font-weight: bold; - font-size: 1.2em; -} - -tt.descclassname { - background-color: transparent; -} - -tt.xref, a tt { - background-color: transparent; - font-weight: bold; -} - -h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt { - background-color: transparent; -} - -.viewcode-link { - float: right; -} - -.viewcode-back { - float: right; - font-family: sans-serif; -} - -div.viewcode-block:target { - margin: -1px -10px; - padding: 0 10px; -} - -/* -- math display ---------------------------------------------------------- */ - -img.math { - vertical-align: middle; -} - -div.document div.math p { - text-align: center; -} - -span.eqno { - float: right; -} - -/* -- printout stylesheet --------------------------------------------------- */ - -@media print { - div.document, - div.documentwrapper, - div.bodywrapper { - margin: 0 !important; - width: 100%; - } - - div.sphinxsidebar, - div.related, - div.footer, - #top-link { - display: none; - } -} - diff --git a/supporting-docs/css/faq.css b/supporting-docs/css/faq.css deleted file mode 100644 index 9730efa3..00000000 --- a/supporting-docs/css/faq.css +++ /dev/null @@ -1,40 +0,0 @@ -.toc { - background: #f9f9f9; - border: 1px solid #aaaaaa; - display: table; - padding-top: 16px; - padding-right: 16px; - padding-bottom: 16px; - list-style: none; - color: #2EA3F2; -} - -ul { - padding-left: 30px; -} - -p { - padding-left: 30px; - color: #666; - -} - -h3 { - padding-top: 48px; - color: #333; -} - -h4, h5 { - border-top: 40px solid transparent; - margin-top: -40px; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - font-style: italic; - font-size: 16px; - padding-top: 16px; - color: #333; - -} - - diff --git a/supporting-docs/css/main.scss b/supporting-docs/css/main.scss deleted file mode 100755 index b8a3e2be..00000000 --- a/supporting-docs/css/main.scss +++ /dev/null @@ -1,52 +0,0 @@ ---- -# Only the main Sass file needs front matter (the dashes are enough) ---- -@charset "utf-8"; - - - -// Our variables -$base-font-family: Helvetica, Arial, sans-serif; -$base-font-size: 16px; -$small-font-size: $base-font-size * 0.875; -$base-line-height: 1.5; - -$spacing-unit: 30px; - -$text-color: #111; -$background-color: #fdfdfd; -$brand-color: #2a7ae2; - -$grey-color: #828282; -$grey-color-light: lighten($grey-color, 40%); -$grey-color-dark: darken($grey-color, 25%); - -// Width of the content area -$content-width: 1340px; - -$on-palm: 600px; -$on-laptop: 800px; - - - -// Using media queries with like this: -// @include media-query($on-palm) { -// .wrapper { -// padding-right: $spacing-unit / 2; -// padding-left: $spacing-unit / 2; -// } -// } -@mixin media-query($device) { - @media screen and (max-width: $device) { - @content; - } -} - - - -// Import partials from `sass_dir` (defaults to `_sass`) -@import - "base", - "layout", - "syntax-highlighting" -; diff --git a/supporting-docs/css/nature.css b/supporting-docs/css/nature.css deleted file mode 100644 index 9bf583be..00000000 --- a/supporting-docs/css/nature.css +++ /dev/null @@ -1,285 +0,0 @@ -/* - * nature.css_t - * ~~~~~~~~~~~~ - * - * Sphinx stylesheet -- nature theme. - * - * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS. - * :license: BSD, see LICENSE for details. - * - */ - -/* -- page layout ----------------------------------------------------------- */ - -body { - font-family: Arial, sans-serif; - font-size: 100%; - /*background-color: #111;*/ - color: #555; - margin: 0; - padding: 0; -} - -div.documentwrapper { - float: left; - width: 100%; -} - -div.bodywrapper { - margin: 0 0 0 230px; -} - -hr { - border: 1px solid #B1B4B6; -} - -/* -div.document { - background-color: #eee; -} -*/ - -div.document { - background-color: #ffffff; - color: #3E4349; - padding: 0 30px 30px 30px; - font-size: 0.9em; -} - -div.footer { - color: #555; - width: 100%; - padding: 13px 0; - text-align: center; - font-size: 75%; -} - -div.footer a { - color: #444; - text-decoration: underline; -} - -div.related { - background-color: #6BA81E; - line-height: 32px; - color: #fff; - text-shadow: 0px 1px 0 #444; - font-size: 0.9em; -} - -div.related a { - color: #E2F3CC; -} - -div.sphinxsidebar { - font-size: 0.75em; - line-height: 1.5em; -} - -div.sphinxsidebarwrapper{ - padding: 20px 0; -} - -div.sphinxsidebar h3, -div.sphinxsidebar h4 { - font-family: Arial, sans-serif; - color: #222; - font-size: 1.2em; - font-weight: normal; - margin: 0; - padding: 5px 10px; - background-color: #ddd; - text-shadow: 1px 1px 0 white -} - -div.sphinxsidebar h4{ - font-size: 1.1em; -} - -div.sphinxsidebar h3 a { - color: #444; -} - - -div.sphinxsidebar p { - color: #888; - padding: 5px 20px; -} - -div.sphinxsidebar p.topless { -} - -div.sphinxsidebar ul { - margin: 10px 20px; - padding: 0; - color: #000; -} - -div.sphinxsidebar a { - color: #444; -} - -div.sphinxsidebar input { - border: 1px solid #ccc; - font-family: sans-serif; - font-size: 1em; -} - -div.sphinxsidebar input[type=text]{ - margin-left: 20px; -} - -/* -- body styles ----------------------------------------------------------- */ - -a { - color: #005B81; - text-decoration: none; -} - -a:hover { - color: #E32E00; - text-decoration: underline; -} - -div.document h1, -div.document h2, -div.document h3, -div.document h4, -div.document h5, -div.document h6 { - font-family: Arial, sans-serif; - background-color: #BED4EB; - font-weight: normal; - color: #212224; - margin: 30px 0px 10px 0px; - padding: 5px 0 5px 10px; - text-shadow: 0px 1px 0 white -} - -div.document h1 { border-top: 20px solid white; margin-top: 0; font-size: 200%; } -div.document h2 { font-size: 150%; background-color: #C8D5E3; } -div.document h3 { font-size: 120%; background-color: #D8DEE3; } -div.document h4 { font-size: 110%; background-color: #D8DEE3; } -div.document h5 { font-size: 100%; background-color: #D8DEE3; } -div.document h6 { font-size: 100%; background-color: #D8DEE3; } - -a.headerlink { - color: #c60f0f; - font-size: 0.8em; - padding: 0 4px 0 4px; - text-decoration: none; -} - -a.headerlink:hover { - background-color: #c60f0f; - color: white; -} - -div.document p, div.document dd, div.document li { - line-height: 1.5em; -} - -div.admonition p.admonition-title + p { - display: inline; -} - -div.highlight{ - background-color: white; -} - -div.note { - background-color: #eee; - border: 1px solid #ccc; -} - -div.seealso { - background-color: #ffc; - border: 1px solid #ff6; -} - -div.topic { - background-color: #eee; -} - -div.warning { - background-color: #ffe4e4; - border: 1px solid #f66; -} - -p.admonition-title { - display: inline; -} - -p.admonition-title:after { - content: ":"; -} - -pre { - padding: 10px; - background-color: White; - color: #222; - line-height: 1.2em; - border: 1px solid #C6C9CB; - font-size: 1.1em; - margin: 1.5em 0 1.5em 0; - -webkit-box-shadow: 1px 1px 1px #d8d8d8; - -moz-box-shadow: 1px 1px 1px #d8d8d8; -} - -tt { - background-color: #ecf0f3; - color: #222; - /* padding: 1px 2px; */ - font-size: 1.1em; - font-family: monospace; -} - -.viewcode-back { - font-family: Arial, sans-serif; -} - -div.viewcode-block:target { - background-color: #f4debf; - border-top: 1px solid #ac9; - border-bottom: 1px solid #ac9; -} - -p { - margin: 0; -} - -ul li dd { - margin-top: 0; -} - -ul li dl { - margin-bottom: 0; -} - -li dl dd { - margin-bottom: 0; -} - -dd ul { - padding-left: 0; -} - -li dd ul { - margin-bottom: 0; -} - -table { - margin-top: 10px; - margin-bottom: 10px; - border: 0; - border-collapse: collapse; -} - -td[colspan]:not([colspan="1"]) { - background: #eeeeee; -} - -thead { - background: #eeeeee; -} - diff --git a/supporting-docs/css/site_overrides.css b/supporting-docs/css/site_overrides.css deleted file mode 100644 index f7640e1c..00000000 --- a/supporting-docs/css/site_overrides.css +++ /dev/null @@ -1,62 +0,0 @@ -p { - line-height: 1.5; - color: #666; -} - -a.anchor { - display: block; - position: relative; - top: -50px; - visibility: hidden; -} - -a:link { - color: #2EA3F2; - text-decoration: none; -} - -a:visited { - color: #2EA3F2; - text-decoration: none; -} - -a:active { - color: #2EA3F2; - text-decoration: none; -} - -a:hover { - color: #2EA3F2; - text-decoration: underline; -} - -h1,h2,h3,h4,h5 { - color: #333; -} - -.page-content { - min-height: 100%; - height: auto !important; /* This line and the next line are not necessary unless you need IE6 support */ - height: 100%; - margin: 0 auto -33px; /* the bottom margin is the negative value of the footer's height */ - padding-bottom: 0; - padding-top: 0; -} - -.push { - height: 33px; -} - -#page { - margin-bottom: -33px; -} - -#document { - margin-top: 10px; /* We want a little whitespace before the page content starts */ - width: 1080px; -} - -#wrapper { - max-width: 1080px; -} - diff --git a/supporting-docs/feed.xml b/supporting-docs/feed.xml deleted file mode 100644 index a6628bd8..00000000 --- a/supporting-docs/feed.xml +++ /dev/null @@ -1,30 +0,0 @@ ---- -layout: null ---- - - - - {{ site.title | xml_escape }} - {{ site.description | xml_escape }} - {{ site.url }}{{ site.baseurl }}/ - - {{ site.time | date_to_rfc822 }} - {{ site.time | date_to_rfc822 }} - Jekyll v{{ jekyll.version }} - {% for post in site.posts limit:10 %} - - {{ post.title | xml_escape }} - {{ post.content | xml_escape }} - {{ post.date | date_to_rfc822 }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {{ post.url | prepend: site.baseurl | prepend: site.url }} - {% for tag in post.tags %} - {{ tag | xml_escape }} - {% endfor %} - {% for cat in post.categories %} - {{ cat | xml_escape }} - {% endfor %} - - {% endfor %} - - diff --git a/supporting-docs/_posts/2015-08-10-client-server.rst b/supporting-docs/guides/2015-08-10-client-server.rst similarity index 100% rename from supporting-docs/_posts/2015-08-10-client-server.rst rename to supporting-docs/guides/2015-08-10-client-server.rst diff --git a/supporting-docs/_posts/2015-08-14-getting_involved.md b/supporting-docs/guides/2015-08-14-getting_involved.md similarity index 100% rename from supporting-docs/_posts/2015-08-14-getting_involved.md rename to supporting-docs/guides/2015-08-14-getting_involved.md diff --git a/supporting-docs/_posts/2015-08-19-faq.md b/supporting-docs/guides/2015-08-19-faq.md similarity index 100% rename from supporting-docs/_posts/2015-08-19-faq.md rename to supporting-docs/guides/2015-08-19-faq.md diff --git a/supporting-docs/_posts/2015-08-21-application_services.md b/supporting-docs/guides/2015-08-21-application_services.md similarity index 100% rename from supporting-docs/_posts/2015-08-21-application_services.md rename to supporting-docs/guides/2015-08-21-application_services.md diff --git a/supporting-docs/index.html b/supporting-docs/index.html deleted file mode 100644 index 5a874f06..00000000 --- a/supporting-docs/index.html +++ /dev/null @@ -1,14 +0,0 @@ ---- -layout: default ---- -
- -

Guides

- -

Here is a collection of guides that might help you get involved with Matrix.

-

First, there is the Getting Involved guide, which explains various ways of getting started with Matrix.

-

The Client-Server API guide explains in detail how to use the CS API, which is useful if you want to write a client (or modify an existing one) - or if you're just interested in how it works "under the hood".

-

The Application services guide introduces and explains Application services, and what they can be used for. -

Finally there is the FAQ, which tries to answer all your questions relating to Matrix!

- -