aboutsummaryrefslogtreecommitdiffstats
path: root/site
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-05-26 14:39:45 +0200
committerGravatar Tom Willemse2013-05-26 14:39:45 +0200
commitdd41bb12727efc0d9951bb8ffd10d30f949e4b85 (patch)
treeded138cd38d62b3d5302110bd5e2eb7a8e8b6763 /site
parent6c05056f84c0ca6fc79fdb2a375b425bc53944c2 (diff)
downloadgitto-dd41bb12727efc0d9951bb8ffd10d30f949e4b85.tar.gz
gitto-dd41bb12727efc0d9951bb8ffd10d30f949e4b85.zip
Update README and other files, add site/
Diffstat (limited to 'site')
-rw-r--r--site/.gitignore1
-rw-r--r--site/Makefile10
-rw-r--r--site/index.org21
-rw-r--r--site/project.el17
-rw-r--r--site/stylesheet.css68
5 files changed, 117 insertions, 0 deletions
diff --git a/site/.gitignore b/site/.gitignore
new file mode 100644
index 0000000..7523547
--- /dev/null
+++ b/site/.gitignore
@@ -0,0 +1 @@
+_publish/
diff --git a/site/Makefile b/site/Makefile
new file mode 100644
index 0000000..700cc6f
--- /dev/null
+++ b/site/Makefile
@@ -0,0 +1,10 @@
+.PHONY: export publish
+
+all:
+
+export:
+ emacs -batch -l project.el -f org-publish-all
+
+publish: export
+ rsync -avuz --delete --exclude='*~' _publish/ \
+ ryuslash.org:public_html/orgweb/projects/gitto
diff --git a/site/index.org b/site/index.org
new file mode 100644
index 0000000..ac160c5
--- /dev/null
+++ b/site/index.org
@@ -0,0 +1,21 @@
+#+TITLE: gitto
+#+HTML_LINK_HOME: http://ryuslash.org
+#+OPTIONS: num:nil toc:nil author:nil
+#+STARTUP: showall
+#+STYLE: <link rel="stylesheet" type="text/css" href="stylesheet.css" />
+
+#+BEGIN_CENTER
+[[http://code.ryuslash.org/cgit.cgi/gitto/][Browse source]]
+[[http://blog.ryuslash.org/tags/gitto][Read posts]]
+Dowlnoad: [[http://code.ryuslash.org/cgit.cgi/gitto/snapshot/gitto-master.tar.gz][TAR.GZ]], [[http://code.ryuslash.org/cgit.cgi/gitto/snapshot/gitto-master.zip][ZIP]]
+#+END_CENTER
+
+#+INCLUDE: "../README.org"
+
+* INSTALLING
+
+#+INCLUDE: "../INSTALL" :minlevel 2
+
+* CONTRIBUTING
+
+#+INCLUDE: "../CONTRIBUTING" :minlevel 2
diff --git a/site/project.el b/site/project.el
new file mode 100644
index 0000000..5448091
--- /dev/null
+++ b/site/project.el
@@ -0,0 +1,17 @@
+(require 'org-publish)
+
+(setq org-publish-project-alist
+ '(("gitto-files"
+ :base-directory "./"
+ :publishing-directory "_publish/"
+ :recursive nil
+ :base-extension "css"
+ :publishing-function org-publish-attachment)
+ ("gitto-org"
+ :base-directory "./"
+ :publishing-directory "_publish"
+ :recursive nil
+ :base-extension "org"
+ :publishing-function org-publish-org-to-html)
+ ("gitto-site"
+ :components ("gitto-org" "gitto-files"))))
diff --git a/site/stylesheet.css b/site/stylesheet.css
new file mode 100644
index 0000000..b661f7f
--- /dev/null
+++ b/site/stylesheet.css
@@ -0,0 +1,68 @@
+a
+{
+ color: #6d97bf;
+}
+
+a:visited
+{
+ color: #b27dbf;
+}
+
+body
+{
+ font-family: "DejaVu Sans", sans-serif;
+ background-color: #222224;
+ color: #eeeeec;
+}
+
+code,
+pre
+{
+ font-family: "Envy Code R", monospace;
+}
+
+h3, h4,
+.outline-text-2,
+.outline-text-3,
+.outline-text-4
+{
+ margin-left: 20px;
+}
+
+pre
+{
+ background-color: #111113;
+ color: #eeeeec;
+ border: 1px solid #a5a5a4;
+ border-radius: 2px;
+}
+
+ul
+{
+ margin-left: -20px;
+}
+
+#content
+{
+ width: 700px;
+}
+
+#org-div-home-and-up
+{
+ width: 750px;
+}
+
+#postamble
+{
+ font-size: 12px;
+ padding: 3px 5px;
+ border: 1px solid #a5a5a4;
+ width: 690px;
+}
+
+#postamble p
+{
+ margin: 0;
+ padding: 0;
+ line-height: 1.3em;
+}