[silva.fanstatic][Sylvain Viollon] Tag 1.2.
[email protected] Tue, 08 Oct 2013 16:33:19 +0200
| Newsgroups | gmane.comp.web.zope.silva.cvs |
|---|---|
| Message-ID | <[email protected]> |
author: Sylvain Viollon
date: Tue Oct 08 16:32:31 2013 +0200
revision: 36:6ff5b52a0123 in silva.fanstatic
branch:
details: https://hg.infrae.com/silva.fanstatic?cmd=changeset;node=6ff5b52a0123
modified: MANIFEST.in README.txt docs/HISTORY.txt setup.py
added:
removed:
log: Tag 1.2.
Subject: [silva.fanstatic][Sylvain Viollon] Added tag silva.fanstatic-1.2 for changeset 6ff5b52a0123
author: Sylvain Viollon
date: Tue Oct 08 16:32:41 2013 +0200
revision: 37:1b9ac1fba448 in silva.fanstatic
branch:
details: https://hg.infrae.com/silva.fanstatic?cmd=changeset;node=1b9ac1fba448
modified: .hgtags
added:
removed:
log: Added tag silva.fanstatic-1.2 for changeset 6ff5b52a0123
Subject: [silva.fanstatic][Sylvain Viollon] Bump version.
author: Sylvain Viollon
date: Tue Oct 08 16:33:15 2013 +0200
revision: 38:8f02edb840f5 in silva.fanstatic
branch:
details: https://hg.infrae.com/silva.fanstatic?cmd=changeset;node=8f02edb840f5
modified: docs/HISTORY.txt setup.py
added:
removed:
log: Bump version.
diffstat:
.hgtags | 1 +
MANIFEST.in | 2 +-
README.txt | 39 +++++++++++++++++++++++++++++++++++----
docs/HISTORY.txt | 14 +++++++++++++-
setup.py | 2 +-
5 files changed, 51 insertions(+), 7 deletions(-)
diffs (109 lines):
diff -r fad82905c11e -r 8f02edb840f5 .hgtags
--- a/.hgtags Tue Sep 24 12:51:01 2013 +0200
+++ b/.hgtags Tue Oct 08 16:33:15 2013 +0200
@@ -1,3 +1,4 @@
b2ec888d2c73aaa6415df8122823170c2a482c6c silva.fanstatic-1.0
eb93f6476de2ae0c40fe61d2daa25304865e316b silva.fanstatic-1.1
b6065397707486dcbfac21455276a3d81bedac93 silva.fanstatic-1.1.1
+6ff5b52a0123b0407cf2fd6a24bcccf5b8b9028d silva.fanstatic-1.2
diff -r fad82905c11e -r 8f02edb840f5 MANIFEST.in
--- a/MANIFEST.in Tue Sep 24 12:51:01 2013 +0200
+++ b/MANIFEST.in Tue Oct 08 16:33:15 2013 +0200
@@ -1,3 +1,3 @@
-recursive-include src *.py *.zcml
+recursive-include src *.css *.py *.txt *.zcml
recursive-include docs *.txt
include README.txt
diff -r fad82905c11e -r 8f02edb840f5 README.txt
--- a/README.txt Tue Sep 24 12:51:01 2013 +0200
+++ b/README.txt Tue Oct 08 16:33:15 2013 +0200
@@ -2,9 +2,40 @@
silva.fanstatic
===============
-This packages provides an integration of `fanstatic`_ into Silva 3.0. In
-order to know how to use it, please refer to the `Silva developer
-documentation`_.
+This package provides an integration of `fanstatic`_ into Silva
+3.0. In order to know how to use it, please refer to the `Silva
+developer documentation`_.
+
+Custom injector
+===============
+
+This package provides a custom fanstatic injector called rules. It
+can be used like this inside the Paster configuration::
+
+ injector = rules
+ rules =
+ if there is <!-- Here goes Fanstatic top CSS -->
+ replace with all css resources
+
+ if there is <!-- Here goes Fanstatic top JS -->
+ replace with all js top resources
+
+ if there is <!-- Here goes Fanstatic bottom JS -->
+ replace with all js bottom resources
+
+ otherwise
+ insert before </head>
+
+The rules let you look for specific markup in the generated HTML and
+will insert the resources around them, if present.
+
+
+Additional API
+==============
+
+This package provides additional objects ``ExternalResources`` and
+``Snippet`` in order to include external URLs as resources and
+inline snippets too.
Code repository
@@ -15,4 +46,4 @@
.. _fanstatic: http://www.fanstatic.org
-.. _Silva developer documentation: http://docs.infrae.com/silva/
+.. _Silva developer documentation: http://docs.silvacms.org/latest/
diff -r fad82905c11e -r 8f02edb840f5 docs/HISTORY.txt
--- a/docs/HISTORY.txt Tue Sep 24 12:51:01 2013 +0200
+++ b/docs/HISTORY.txt Tue Oct 08 16:33:15 2013 +0200
@@ -1,11 +1,23 @@
Changes
=======
-1.2 (unreleased)
+1.3 (unreleased)
----------------
* ...
+1.2 (2013/10/08)
+----------------
+
+* Add a Fanstatic injector called ``rules`` that let you described
+ precisely where resources should be injected. This requires
+ fanstatic 1.0.
+
+* Add support for special resources ``ExternalResource`` and
+ ``Snippet``. They let you include resources that are external
+ resources and inline snippet instead of resources served by
+ fanstatic.
+
1.1.1 (2013/05/23)
------------------
diff -r fad82905c11e -r 8f02edb840f5 setup.py
--- a/setup.py Tue Sep 24 12:51:01 2013 +0200
+++ b/setup.py Tue Oct 08 16:33:15 2013 +0200
@@ -5,7 +5,7 @@
from setuptools import setup, find_packages
import os
-version = '1.2dev'
+version = '1.3dev'
tests_require = [
'infrae.wsgi [test]',