]> granicus.if.org Git - re2c/commitdiff
Added feed link and icon (no feed yet).
authorUlya Trofimovich <skvadrik@gmail.com>
Fri, 13 Nov 2015 15:45:40 +0000 (15:45 +0000)
committerUlya Trofimovich <skvadrik@gmail.com>
Fri, 13 Nov 2015 15:45:40 +0000 (15:45 +0000)
Makefile
mk.sh
src/css/default.css
src/feed.png [new file with mode: 0644]
src/index.rst

index 7103f083f32c972adf5f8283273e51a4d9ec13e3..30783cf3d4152b3e401722a7dd78a78887be1412 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -78,6 +78,7 @@ SRC_OTH = \
     src/examples/06_braille.utf16.txt \
     src/examples/03_arbitrary_large_input.re \
     src/examples/02_recognizing_strings.re \
+    src/feed.png \
     src/manual/warnings/condition_order/wcondition_order.re \
     src/manual/warnings/match_empty_string/wmatch_empty_string.re \
     src/manual/features/dot/php_json_dot.png \
@@ -92,6 +93,8 @@ OBJ_RST = $(SRC_RST:%.rst=%.html)
 all: $(OBJ_RST)
        @ for f in $(SRC_OTH); do { mkdir -p "`dirname $$f`"; cp "$(VPATH)/$$f" "$$f"; } done
 
+$(OBJ_RST): $(SRC_CSS)
+
 .rst.html:
        @ mkdir -p "`dirname $@`"
        @ rst2html.py --stylesheet="$(VPATH)/$(SRC_CSS)" $< $@
diff --git a/mk.sh b/mk.sh
index 014ea2bd8cc98891de477adad43bee58461acb7e..acb38c8faacb8ea533759aaa576c73c94410a60f 100755 (executable)
--- a/mk.sh
+++ b/mk.sh
@@ -2,6 +2,6 @@
 
 objdir="obj" \
     && cd "$objdir" \
-    && make -f ../Makefile \
+    && make -f ../Makefile -j5 \
     && cd ..
 
index d91b96df961ab2aeb2a52b3bba04cd1e36320151..f2eee6b471c12e2d677afed1511e6229acc1707b 100644 (file)
@@ -23,6 +23,9 @@ h1.title {
 a {
     color: #557799;
 }
+a:focus {
+    outline: none;
+}
 
 table, tr, td, th {
     border: none;
@@ -61,3 +64,9 @@ img {
     border: 1px dotted #557799;
     margin: auto;
 }
+
+img.feed {
+    display: inline;
+    border: none;
+    vertical-align: middle;
+}
diff --git a/src/feed.png b/src/feed.png
new file mode 100644 (file)
index 0000000..2eeaf23
Binary files /dev/null and b/src/feed.png differ
index f1a0d513bff6329e7088fee9fe844fb735f9a5a3..5d86eb32fa68236380d9d61c1a8fc6fdf7749a7e 100644 (file)
@@ -16,7 +16,12 @@ and flexible (easy to embed into existing environment).
 
 ★ `Examples <examples/examples.html>`_
 
-★ `News     <news/news.html>`_
+★ `News <news/news.html>`_ |feed|
+
+.. |feed| image:: feed.png
+    :target: news/news.html
+    :class:  feed
+    :width:  25px
 
 --------------------------------------------------------------------------------
 
@@ -28,3 +33,4 @@ Feel free to strip out all non-re2c code if you must keep it secret.
 In thanks re2c will never break your code. ``:)``
 Contributors welcome!
 
+