summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-11 20:29:26 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-11 20:29:26 +0300
commit20ecf4f82ceefdce5ab440647f2b8cc6cae32dac (patch)
treef491f36490891b75fa564772bcd4784a7e6b1f40
parenteab2c28c85ce95a6afd64ba25e9aeaa33df0f471 (diff)
downloadpagesindexgen-20ecf4f82ceefdce5ab440647f2b8cc6cae32dac.tar.gz
pagesindexgen-20ecf4f82ceefdce5ab440647f2b8cc6cae32dac.tar.bz2
pagesindexgen-20ecf4f82ceefdce5ab440647f2b8cc6cae32dac.tar.xz
pagesindexgen-20ecf4f82ceefdce5ab440647f2b8cc6cae32dac.zip
Add demo data.
-rwxr-xr-xbuilddemo.sh3
-rw-r--r--demo/dir/index.htm9
-rw-r--r--demo/index.htm9
3 files changed, 21 insertions, 0 deletions
diff --git a/builddemo.sh b/builddemo.sh
new file mode 100755
index 0000000..0265fbd
--- /dev/null
+++ b/builddemo.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+./pagesindexgen.py demo http://mysite/dir
diff --git a/demo/dir/index.htm b/demo/dir/index.htm
new file mode 100644
index 0000000..1d1221f
--- /dev/null
+++ b/demo/dir/index.htm
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<title>http://mysite/dir/dir - dir</title>
+<body>
+<a href="../index.htm">..</a><br/>
+
+<!-- created by pagesindexgen https://gitlab.com/4144/pagesindexgen -->
+</body>
+</html> \ No newline at end of file
diff --git a/demo/index.htm b/demo/index.htm
new file mode 100644
index 0000000..fd53126
--- /dev/null
+++ b/demo/index.htm
@@ -0,0 +1,9 @@
+<!DOCTYPE html>
+<html>
+<title>http://mysite/dir - </title>
+<body>
+<a href="dir/index.htm">dir</a><br/>
+
+<!-- created by pagesindexgen https://gitlab.com/4144/pagesindexgen -->
+</body>
+</html> \ No newline at end of file