Vincent Bernat
89a762dec2
Fix plugin chaining.
When the last plugin of a chain was returning None, the whole chain
return None instead of the last non-None result. For example, chain
LessPlugin with UglifyPlugin and you get all your .less files
unprocessed.
13 years ago
Vincent Bernat
b0ac4e79ba
Add a configuration switch to ignore some files.
By default, backup files are ignored and node turned into a node.
13 years ago
Vincent Bernat
87391065d0
Add a language plugin.
This plugin allows to link pages that are translated to another
language. Each resource should have a `language` meta attribute and a
`uuid` meta attribute. Resource that have those two meta attributes
will get a new attribute with the list of other resources in a
different language that have the same `uuid` meta attribute.
It is then possible to use something like this to grab the list of
available languages for a given resource:
{% if resource.translations is defined %}
<p>Other languages</p>
<ul>
{% for translation in resource.translations %}
<li><a href="{{ translation.full_url }}">
{{ languages[translation.meta.language] }}
</a></li>
{% endfor %}
</ul>
{% endif %}
(You need a `languages` context in `site.yaml` for this snippet to work:
context:
data:
languages:
fr: Français
en: English
)
13 years ago
pestaa
b413e65646
Prevent Unicode errors if a meta key contains non-ascii chars.
13 years ago
Ryan Kelly
e483d0e908
add basic support for publishing to a PyFS object
13 years ago
Ryan Kelly
e6d48b4ad6
{% syntax %} tag: optionally disable generation of <figure> container
13 years ago
Ryan Kelly
0d15885573
LessCSSPlugin: return original text if not a .less file
13 years ago
Ryan Kelly
9fde5a7416
bump nose req to 1.0.0
13 years ago
Lakshmi Vyasarajan
64ea9055d7
Fixed expando to_dict()
13 years ago
Lakshmi Vyasarajan
ca7ff79326
Fixed generation so that meta data is not loaded each time
13 years ago
Lakshmi Vyasarajan
7beba96614
Added ability to clear caches
13 years ago
Lakshmi Vyasarajan
aa5986574b
Upped version to 0.8
13 years ago
Lakshmi Vyasarajan
f86627177c
Added path normalization to make sure resources can be found on windows using relative path
13 years ago
Lakshmi Vyasarajan
9e43b58139
Replaced os.sep with '/' in media and content urls for the sake of windows
13 years ago
Lakshmi Vyasarajan
807cffb43c
Upped version - added changelog
13 years ago
Lakshmi Vyasarajan
0d642f0add
Fixed stylus tests for the new version
13 years ago
Lakshmi Vyasarajan
16fa4e695c
Fixed a missing import
13 years ago
Lakshmi Vyasarajan
f0aabf8918
Fixed issue with template loader paths for windows
13 years ago
Lakshmi Vyasarajan
ec49588799
Added info about grouper and tagger plugins to README
13 years ago
Lakshmi Vyasarajan
679734bbf8
Upaded url in setup.py
13 years ago
Lakshmi Vyasarajan
15f0d8eb05
Added atom support to basic layout
13 years ago
Lakshmi Vyasarajan
d2356ba803
Merge branch 'master' into atom
13 years ago
Lakshmi Vyasarajan
1400cdad76
Fixed line statement prefixes
13 years ago
Lakshmi Vyasarajan
a0fd2990d4
Adding atom feed
13 years ago
Lakshmi Vyasarajan
e88b1fc9fe
Fixed a few lies in README and added a truth
13 years ago
Lakshmi Vyasarajan
2c8685a602
Fixed deploy path changes so that they happen at the beginning and are not dependent on generation. Removed noise from hyde.server - moved them to debug level
13 years ago
Lakshmi Vyasarajan
79516e1d33
Switched form markdown to rst for easy pypi submissions
13 years ago
Lakshmi Vyasarajan
e388a8e48f
uppped version numbers
13 years ago
Lakshmi Vyasarajan
f7759a2c92
Added test to make sure the refrences are not callable locally
13 years ago
Lakshmi Vyasarajan
d8e8b2b559
Added url cleaner plugin
13 years ago
Lakshmi Vyasarajan
f469a134a3
Fixed code and tests to make sure the content_url and media_url functions delegate to the site object
13 years ago
Lakshmi Vyasarajan
145ede7b11
Fixed console messages
13 years ago
Lakshmi Vyasarajan
5b17355142
Removed regeneration on file not found. Fixed refresh param handling
13 years ago
Lakshmi Vyasarajan
c41354a304
Added top and islice filters
13 years ago
Lakshmi Vyasarajan
e65c39f6a1
Removed debug statements. Added tests to make sure meta does not process markdown heading mark up
13 years ago
Lakshmi Vyasarajan
8036dae07f
Made line statement prefix configurable. Made 41805$ default line statement prefix
13 years ago
Lakshmi Vyasarajan
ae63cf0225
Added time_now context variable
13 years ago
Lakshmi Vyasarajan
203268b0b9
Added dateformat and xmldatetime filters
13 years ago
Lakshmi Vyasarajan
df1f7e8af5
Duplicated code from SocketServer.py to make sure shutdown works on py >=2.6
13 years ago
Lakshmi Vyasarajan
3f8f30f6b5
Changed -i to -r - performs incremental generation by default
13 years ago
Lakshmi Vyasarajan
060befaab3
Fixed a niggle in calculating dependencies
13 years ago
Lakshmi Vyasarajan
85826d07b8
Experiment with markdown to raw rest didnt work
13 years ago
Lakshmi Vyasarajan
d529e7e2b5
Fixed begin test resource test
13 years ago
Lakshmi Vyasarajan
bb8e3babec
Fixed setup.py to use html from markdown
13 years ago
Lakshmi Vyasarajan
d3435602df
update dependencies only when the resource is a text file
13 years ago
Lakshmi Vyasarajan
a78548510b
Added code to update the dependencies on change
13 years ago
Lakshmi Vyasarajan
643ab1c9a6
Fixed README links and content
13 years ago
Lakshmi Vyasarajan
070be0eb34
Upped version
13 years ago
Lakshmi Vyasarajan
f1de4c5909
Added publisher for git repos
13 years ago
Lakshmi Vyasarajan
264e65e139
Added dvcs publisher
13 years ago