git.iko.soy/typeable/pandoc
on master help sign in
Slight changes in website target:

+ history.html -> changelog.html + demo.html -> examples.html + Added title to changelog.html + Removed header div on html pages + Changed widths in css git-svn-id: https://pandoc.googlecode.com/svn/trunk@319 788f1e2b-df1e-0410-8736-df70ead52e1b

commit7cd9db048b9c29238efd1cecda65264db4223dcd authorfiddlosopher <fiddlosopher@788f1e2b-df1e-0410-8736-df70ead52e1b> dateFri 29 Dec 2006, 22:51 (20 years ago) parent08fa385
4 files changed+21−26
Makefile+3−4 web/header.html+2−6 web/main.css+2−2 web/mkdemos.sh+14−14
Makefile+3−4
@@ -353,10 +353,9 @@ $(web_dest)/: $(MAIN) html
353353 cp $(web_src)/*.css $(web_dest)/; \
354354 sed -e 's#@PREFIX@#$(PREFIX)#g' $(osx_src)/Welcome | \
355355 $(make_page) > $(web_dest)/osx-notes.html; \
356− sed -e '/^ --.*/d' changelog | \
357− sed -e 's#^# #g' | \
356+ sed -e '/^ --.*/d' -e 's#^# #g' changelog | \
358357 sed -e 's/ \(pandoc (.*\)/## \1/g' | \
359− $(make_page) > $(web_dest)/history.html; \
358+ $(make_page) -T "Pandoc changelog" > $(web_dest)/changelog.html; \
360359 $(make_page) README > $(web_dest)/README.html; \
361360 $(make_page) INSTALL > $(web_dest)/INSTALL.html; \
362361 sed -e 's/@TARBALL_NAME@/$(tarball_name)/g' $(web_src)/index.txt | \
@@ -371,7 +370,7 @@ $(web_dest)/: $(MAIN) html
371370 cp $(web_src)/header.html $(web_dest)/ ; \
372371 cp $(web_src)/footer.html $(web_dest)/ ; \
373372 sh $(web_src)/mkdemos.sh $(web_dest) $(abspath .) | \
374− $(make_page) > $(web_dest)/demos.html; \
373+ $(make_page) > $(web_dest)/examples.html; \
375374 ) || { rm -rf $(web_dest); exit 1; }
376375
377376.PHONY: distclean clean
web/header.html+2−6
@@ -1,14 +1,10 @@
1−<div id="header">
2−<h1><a href="index.html">Pandoc</a></h1>
3−</div>
4−
51<div id="sidebar">
62<ul>
73<li><a href="index.html" title="Home page">Home</a></li>
84<li><a href="README.html" title="Pandoc documentation">README</a></li>
9−<li><a href="demos.html" title="Pandoc demos">Demos</a></li>
5+<li><a href="examples.html" title="Pandoc demos">Examples</a></li>
106<li><a href="doc/index.html" title="API documentation for Pandoc libraries">API</a></li>
11−<li><a href="history.html" title="Pandoc's changelog">History</a></li>
7+<li><a href="changelog.html" title="Pandoc's changelog">History</a></li>
128</ul>
139</div>
1410<div id="main" class="withleftmenu">
web/main.css+2−2
@@ -117,7 +117,7 @@ dt {
117117 color:#336666;
118118 padding-left:2em;
119119 margin-bottom:0;
120− width: 6em;
120+ width: 7em;
121121}
122122#sidebar li {
123123 font-family: verdana;
@@ -146,7 +146,7 @@ dt {
146146 border-left: 1px solid gray;
147147}
148148#main.withleftmenu {
149− margin-left: 8em;
149+ margin-left: 9em;
150150}
151151
152152div.clear { clear: both;
web/mkdemos.sh+14−14
@@ -1,5 +1,5 @@
11#!/bin/sh -e
2−# creates demo page for pandoc
2+# creates example page for pandoc
33# argument #1 is the destination directory
44# argument #2 is the directory containing pandoc, html2markdown, markdown2pdf
55
@@ -8,27 +8,27 @@ PROGPATH=$2
88
99NEWLINE='
1010'
11−DEMOS='pandoc README -o demo0.html
12−pandoc -s -S README -o demo0.html
13−pandoc -s -S -c main.css -B header.html -A footer.html README -o demo0.html
14−pandoc -s README -o demo0.tex
15−pandoc -s README.tex -o demo0.txt
16−pandoc -s -w rst README -o demo0.txt
17−pandoc -s README -o demo0.rtf
18−pandoc -s -m -i -w s5 S5DEMO -o demo0.html
19−html2markdown http://www.gnu.org/software/make/ -o demo0.txt
20−markdown2pdf README -o demo0.pdf
21−markdown2pdf -C myheader.tex README -o demo0.pdf'
11+EXAMPLES='pandoc README -o example0.html
12+pandoc -s -S README -o example0.html
13+pandoc -s -S -c main.css -B header.html -A footer.html README -o example0.html
14+pandoc -s README -o example0.tex
15+pandoc -s README.tex -o example0.txt
16+pandoc -s -w rst README -o example0.txt
17+pandoc -s README -o example0.rtf
18+pandoc -s -m -i -w s5 S5DEMO -o example0.html
19+html2markdown http://www.gnu.org/software/make/ -o example0.txt
20+markdown2pdf README -o example0.pdf
21+markdown2pdf -C myheader.tex README -o example0.pdf'
2222
2323oldifs=$IFS
2424IFS=$NEWLINE
25−set -- $DEMOS
25+set -- $EXAMPLES
2626IFS=$oldifs
2727
2828cd $DEST
2929PATH=$PROGPATH:$PATH
3030
31−echo '% Pandoc demos
31+echo '% Pandoc examples
3232
3333To see the output created by each of the commands below,
3434click on the name of the output file: