Skip to content

Commit 66085d3

Browse files
committed
README.rst and Makefile are updated for removing figure citations
1 parent 457657b commit 66085d3

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ clean:
99

1010
.PHONY: release
1111
release:
12-
pandoc README.md -t rst > README.rst
12+
pandoc README.md -t rst | awk 'BEGIN{ skip=0 }; { if(match($$0, /\.\. figure.*/)) { skip=3 } else if(skip==0) { print } else if(skip>0) { skip=skip-1 } };' > README.rst

README.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -271,10 +271,6 @@ select 'led' as the target. Please type the command as below.
271271
Then you got a png file (out.png). The picture shows that the definition
272272
of 'led' is a part-selection of 'count' from 23-bit to 16-bit.
273273

274-
.. figure:: http://cdn-ak.f.st-hatena.com/images/fotolife/s/sxhxtxa/20140101/20140101045641.png
275-
:alt: out.png
276-
277-
out.png
278274
Control-flow analyzer
279275
---------------------
280276

@@ -306,10 +302,6 @@ state machine.
306302
You got also a png file (top\_state.png). The picture shows that the
307303
graphical structure of the state machine.
308304

309-
.. figure:: http://cdn-ak.f.st-hatena.com/images/fotolife/s/sxhxtxa/20140101/20140101045835.png
310-
:alt: top\_state.png
311-
312-
top\_state.png
313305
Code generator
314306
--------------
315307

0 commit comments

Comments
 (0)