]> granicus.if.org Git - re2c/commitdiff
Preserve old path to feed 'feed/atom.xml'.
authorUlya Trofimovich <skvadrik@gmail.com>
Fri, 4 Mar 2016 11:47:28 +0000 (11:47 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Fri, 4 Mar 2016 11:47:28 +0000 (11:47 +0000)
src/_templates/layout.html
src/conf.py
src/feed/feed/atom.xml [moved from src/_static/feed/atom.xml with 97% similarity]
src/feed/feed/feed.png [moved from src/_static/feed/feed.png with 100% similarity]
src/index.rst

index d4efff741cdb6aa13914d55acb2368ad4e666fa1..46069c66a8f2a27bf582e552ef0b900e4d066ece 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "basic/layout.html" %}
 
 {% block linktags %}
-    <link rel="alternate" type="application/atom+xml" href="{{ pathto('_static/feed/atom.xml', 1) }}" title="Atom 1.0" />
+    <link rel="alternate" type="application/atom+xml" href="{{ pathto('feed/atom.xml', 1) }}" title="Atom 1.0" />
     {{ linktags }}
 {% endblock %}
 
index 71de36e361e3b2e2c6763336d74df74a8f14cc6b..a41d01e9bcb912d5fb1a42e2af75e79d9de21269 100644 (file)
@@ -182,7 +182,8 @@ html_static_path = ['_static']
 # directly to the root of the documentation.
 html_extra_path = [
     'CNAME',
-    '.nojekyll'
+    '.nojekyll',
+    'feed/'
 ]
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
similarity index 97%
rename from src/_static/feed/atom.xml
rename to src/feed/feed/atom.xml
index 8b6a75216622220199620c6b52226dd014bbdc66..91882205e4db46e24c3f9c42f7f3c6b0b2ba721e 100644 (file)
@@ -2,7 +2,7 @@
 <feed xmlns="http://www.w3.org/2005/Atom">
 
     <title>re2c</title>
-    <link rel="self" href="http://re2c.org/_static/feed/atom.xml"/>
+    <link rel="self" href="http://re2c.org/feed/atom.xml"/>
     <id>http://re2c.org/</id>
     <updated>2016-01-21T00:00:00Z</updated>
 
index 67c5875954982e662482ce7c4764eb88cb46cb79..d996b7055e07199ebb302ad515ef758fad07250e 100644 (file)
@@ -48,8 +48,8 @@ Sourceforge is used as backup repository and to host mail
 News & updates
 --------------
 
-.. |feed| image:: _static/feed/feed.png
-    :target: _static/feed/atom.xml
+.. |feed| image:: feed/feed/feed.png
+    :target: feed/atom.xml
     :class:  feed
     :width:  2em