From 5093c9a5a09dc9a6c28df05ff95b51bb2ab011aa Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 9 Apr 2015 17:37:35 +0200 Subject: [PATCH] update blog config, add LANGUAGE_BIDI to base.html --- doc/content/README.rst | 44 +++++++++--------------- doc/content/TM-1.2.rst | 2 +- doc/content/TM-1.3.rst | 2 +- doc/content/TM-1.4.3.rst | 2 +- doc/content/TM-1.4.4.rst | 2 +- doc/content/TM-1.4.5.rst | 2 +- doc/content/TM-1.4.6.rst | 2 +- doc/content/TM-1.4.rst | 2 +- doc/content/TM-1.5.rst | 2 +- doc/content/css/custom.css | 19 ++++++++--- doc/pelicanconf.py | 49 +++++++++++++++++---------- telemeta/templates/telemeta/base.html | 2 ++ 12 files changed, 73 insertions(+), 57 deletions(-) diff --git a/doc/content/README.rst b/doc/content/README.rst index aaad4c4f..b034375a 100644 --- a/doc/content/README.rst +++ b/doc/content/README.rst @@ -3,7 +3,7 @@ Telemeta: open web audio platform with semantics ================================================= :category: About -:save_as: index.html +:pin_to_top: True .. image:: images/logo_telemeta_2.png :alt: Telemeta logo @@ -45,38 +45,26 @@ News 1.5.1 ++++++ - * Fix geo-navigator lists and pagination - * Fix item analyses cleanup after file edit - * Fix performance and keywords copy during item copy - * Add various annotation mime types (ELAN, Trancriber, Sonic Visualizer) - * Add arabic translations through Telemeta-locales (thanks to @AnasGhrab) - * Fix arabic and chinese codes in sandbox - * Better locale / pages management - * A better management of RTL for arabic page style +* Fix geo-navigator lists and pagination +* Fix item analyses cleanup after file edit +* Fix performance and keywords copy during item copy +* Add various annotation mime types (ELAN, Trancriber, Sonic Visualizer) +* Add arabic translations through Telemeta-locales (thanks to @AnasGhrab) +* Fix arabic and chinese codes in sandbox +* Better locale / pages management +* A better management of RTL for arabic page style 1.5 +++++ - * Compatible with Django 1.6.x - * Compatible with TimeSide 0.7.x - * Huge refactor of all forms, detail and edit views - * Main styles (buttons, tabs) are now based Bootstrap 3 and JQuery 2.1 - * Update models and views as needed by the CREM - * New depedencies +* Compatible with Django 1.6.x +* Compatible with TimeSide 0.7.x +* Huge refactor of all forms, detail and edit views +* Main styles (buttons, tabs) are now based Bootstrap 3 and JQuery 2.1 +* Update models and views as needed by the CREM +* New depedencies -1.4.6 -+++++ - - * Drastically improve collection zip packaqe streaming thanks to zipstream (check NEW dependencies) - * Compatible with TimeSide >= 0.5.2 - * Add URL field to item so that a external sound can be indexed and streamed - * Add TIMESIDE_AUTO_ZOOM in settings to auto toggle the player in zooming mode - * Add TIMESIDE_DEFAULT_GRAPHER_ID in settings to select the default grapher in the player - * Add minor migrations - * Fix marker display bug - - -See also the `full changelog `_. +See previous releases `here `_. Examples diff --git a/doc/content/TM-1.2.rst b/doc/content/TM-1.2.rst index 7e28155d..0d830d98 100644 --- a/doc/content/TM-1.2.rst +++ b/doc/content/TM-1.2.rst @@ -1,7 +1,7 @@ Telemeta 1.2 is out! ###################### -:category: Release +:category: Releases :date: 2011-10-31 14:39 Changes: diff --git a/doc/content/TM-1.3.rst b/doc/content/TM-1.3.rst index 2c53f47a..f49c234d 100644 --- a/doc/content/TM-1.3.rst +++ b/doc/content/TM-1.3.rst @@ -1,7 +1,7 @@ Telemeta 1.3 has been released ! ################################# -:category: Release +:category: Releases :date: 2011-12-06 23:06 Changes: diff --git a/doc/content/TM-1.4.3.rst b/doc/content/TM-1.4.3.rst index 9de0a12e..a49ba02b 100644 --- a/doc/content/TM-1.4.3.rst +++ b/doc/content/TM-1.4.3.rst @@ -1,7 +1,7 @@ Telemeta 1.4.3 has been released ! ################################## -:category: Release +:category: Releases :date: 2012-05-31 22:57 Changes: diff --git a/doc/content/TM-1.4.4.rst b/doc/content/TM-1.4.4.rst index a2ffe39d..5a08aacf 100644 --- a/doc/content/TM-1.4.4.rst +++ b/doc/content/TM-1.4.4.rst @@ -1,7 +1,7 @@ Telemeta 1.4.4 is out ! ######################## -:category: Release +:category: Releases :date: 2012-10-04 16:52 Changes: diff --git a/doc/content/TM-1.4.5.rst b/doc/content/TM-1.4.5.rst index c9cbd91b..b8b664fa 100644 --- a/doc/content/TM-1.4.5.rst +++ b/doc/content/TM-1.4.5.rst @@ -1,7 +1,7 @@ Telemeta 1.4.5 has been released! ################################# -:category: Release +:category: Releases :date: 2014-01-20 22:48 After a long debugging and producing period, Telemeta reaches a nice stable version. diff --git a/doc/content/TM-1.4.6.rst b/doc/content/TM-1.4.6.rst index 68a72bd1..a07fbde4 100644 --- a/doc/content/TM-1.4.6.rst +++ b/doc/content/TM-1.4.6.rst @@ -1,7 +1,7 @@ Telemeta 1.4.6 is out! ###################### -:category: Release +:category: Releases :date: 2014-11-24 12:44 Changelog: diff --git a/doc/content/TM-1.4.rst b/doc/content/TM-1.4.rst index 4f94882c..aa5b9cb5 100644 --- a/doc/content/TM-1.4.rst +++ b/doc/content/TM-1.4.rst @@ -1,7 +1,7 @@ Telemeta 1.4 is out! ##################### -:category: Release +:category: Releases :date: 2012-02-14 16:29 Changes: diff --git a/doc/content/TM-1.5.rst b/doc/content/TM-1.5.rst index 7e055f53..c29de145 100644 --- a/doc/content/TM-1.5.rst +++ b/doc/content/TM-1.5.rst @@ -1,7 +1,7 @@ Telemeta 1.5 is out! #################### -:category: Release +:category: Releases :date: 2015-01-26 10:42 After months of hard work we are pleased to release a big update to Telemeta communities. It represents a huge milestone that makes Telemeta now compatible with more modern web technologies. diff --git a/doc/content/css/custom.css b/doc/content/css/custom.css index d92dc968..260dadac 100644 --- a/doc/content/css/custom.css +++ b/doc/content/css/custom.css @@ -3,14 +3,25 @@ body { } .navbar-default { -background-color: #6a0307; -border-color: #5a0307; + background-color: #6a0307; + border-color: #5a0307; } blockquote { font-size: 14px; } -a { - color: #6a0307; +a, a:visited { + color: #BB0000; + text-decoration:none; +} + +a:hover { + color: #BB0000; + background-color: transparent; + text-decoration: underline; +} + +.tag-4 { + font-size: 12px; } diff --git a/doc/pelicanconf.py b/doc/pelicanconf.py index 09723f3c..94a86b34 100644 --- a/doc/pelicanconf.py +++ b/doc/pelicanconf.py @@ -3,36 +3,35 @@ from __future__ import unicode_literals AUTHOR = u'Parisson Sarl' -SITENAME = u'Telemeta' -#SITEURL = '' +SITENAME = u'Telemeta project' + +TIMEZONE = 'Europe/Paris' +DEFAULT_LANG = u'en' +DEFAULT_DATE = 'fs' + +SITEURL = 'http://parisson.github.io/Telemeta/' RELATIVE_URLS = True PATH = 'content/' +DELETE_OUTPUT_DIRECTORY = False THEME = 'themes/pelican-bootstrap3' BOOTSTRAP_THEME = 'united' -TIMEZONE = 'Europe/Paris' - -DEFAULT_LANG = u'en' -DEFAULT_DATE = 'fs' - SUMMARY_MAX_LENGTH = 127 SLUGIFY_SOURCE = 'title' DEFAULT_PAGINATION = 10 - # Feed generation is usually not desired when developing -FEED_ALL_ATOM = None -CATEGORY_FEED_ATOM = None +FEED_ALL_ATOM = 'feeds/all.atom.xml' +CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml' TRANSLATION_FEED_ATOM = None -AUTHOR_FEED_ATOM = None -AUTHOR_FEED_RSS = None # Blogroll -LINKS = (('Pelican', 'http://getpelican.com/'), - ('Python', 'http://python.org/'), +LINKS = (('Python', 'http://python.org/'), ('Django', 'https://www.djangoproject.com/'), + ('TimeSide', 'https://github.com/Parisson/TimeSide'), + ('Docker', 'https://www.docker.com/') ) # Social widget @@ -45,9 +44,25 @@ SOCIAL = (('Twitter', 'https://twitter.com/telemeta/'), # Uncomment following line if you want document-relative URLs when developing #RELATIVE_URLS = True -# PLUGIN_PATHS = ['plugins'] -# PLUGINS = ['pin_to_top'] +PLUGIN_PATHS = ['plugins'] +PLUGINS = ['pin_to_top'] STATIC_PATHS = ['images', 'css'] CUSTOM_CSS = 'css/custom.css' -# SITELOGO = '/images/logo_telemeta_2.png' \ No newline at end of file +# SITELOGO = '/images/logo_telemeta_2.png' +EXTRA_PATH_METADATA = { + #'robots.txt': {'path': 'robots.txt'}, + 'images/favicon.ico': {'path': 'favicon.ico'} +} + +DISQUS_SITENAME='telemetaorg' + +TWITTER_CARDS = True +TWITTER_USERNAME = 'telemeta' +TWITTER_WIDGET_ID = '585766293153968128' + +GITHUB_USER = 'Parisson' + +# Content licensing: CC-BY +CC_LICENSE = "CC-BY" + diff --git a/telemeta/templates/telemeta/base.html b/telemeta/templates/telemeta/base.html index 940dc25f..51dcb80c 100644 --- a/telemeta/templates/telemeta/base.html +++ b/telemeta/templates/telemeta/base.html @@ -9,6 +9,8 @@ {% get_current_language as LANGUAGE_CODE %} {% get_available_languages as LANGUAGES %} +{% get_current_language_bidi as LANGUAGE_BIDI %} + -- 2.39.5