Add other complementary files

This commit is contained in:
Tom Willemsen 2013-04-10 01:51:30 +02:00
parent 3b04c88eb6
commit 684010b71f
8 changed files with 187 additions and 2 deletions

25
CONTRIBUTING Normal file
View file

@ -0,0 +1,25 @@
# -*- mode: org; -*-
#+STARTUP: showall
If you wish to contribute you can use either the sources located on
[[http://code.ryuslash.org/cgit.cgi/emacs/git-auto-commit-mode/][ryuslash.org]] or the [[https://github.com/ryuslash/git-auto-commit-mode][github]] sources.
* Getting the source
If you wish to work on git-auto-commit-mode you can get the sources
by cloning the repository:
#+BEGIN_EXAMPLE
git clone git://ryuslash.org/emacs/git-auto-commit-mode.org
#+END_EXAMPLE
* Style
Use spaces, don't use tabs. If you can, keep lines shorter than 80
characters. Other than that, Emacs can handle indentation pretty
well.
* Patches
If you want to send any patches I prefer an email with the output
generated by =git request-pull=, possibly with =-p=, over things like
github pull requests.

36
INSTALL Normal file
View file

@ -0,0 +1,36 @@
# -*- mode: org; -*-
#+STARTUP: showall
In order to use git-auto-commit-mode you need to make sure that it
can be found in your =load-path=. You can do this either by installing
it through ELPA or you can do it manually.
* ELPA
git-auto-commit-mode can be found in both [[http://marmalade-repo.org/][Marmalade]] and [[http://melpa.milkbox.net/][MELPA]], so
if you have either of those set-up installing should be as easy as:
#+BEGIN_EXAMPLE
M-x package-install <RET> git-auto-commit-mode <RET>
#+END_EXAMPLE
And you're done.
* Manual
To install git-auto-commit-mode manually you should download the
sources from one of the several places it can be found, after which
you should extract the archive and add the resulting directory to
you load path:
#+BEGIN_EXAMPLE
(add-to-list 'load-path "/path/to/git-auto-commit-mode")
#+END_EXAMPLE
Once it can be found in your =load-path= you can =load=, =require= or
=autoload= it, whichever you like:
#+BEGIN_EXAMPLE
(require 'git-auto-commit-mode)
;; Or...
(autoload 'git-auto-commit-mode "git-auto-commit-mode")
#+END_EXAMPLE

5
NEWS
View file

@ -2,9 +2,10 @@
* v4.2.0
- Add README and NEWS files.
- Add README, NEWS, CONTRIBUTING and INSTALL files.
- Use Emacs' Customize interface for user options.
- Use Emacs' Customize interface for user option
=gac-automatically-push-p=.
* v4.1

1
site/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
_publish/

10
site/Makefile Normal file
View file

@ -0,0 +1,10 @@
.PHONY: export publish
all:
export:
emacs -batch -l project.el -f org-publish-all
publish: export
scp _publish/* \
ryuslash.org:public_html/orgweb/projects/git-auto-commit-mode

26
site/index.org Normal file
View file

@ -0,0 +1,26 @@
#+TITLE: git-auto-commit-mode
#+LINK_HOME: http://ryuslash.org/
#+OPTIONS: num:nil toc:nil author:nil
#+STARTUP: showall
#+STYLE: <link rel="stylesheet" type="text/css" href="stylesheet.css" />
#+MACRO: ver 0.4.2
#+BEGIN_CENTER
[[http://code.ryuslash.org/cgit.cgi/emacs/git-auto-commit-mode/][Browse source]]
[[http://blog.ryuslash.org/tags/git-auto-commit-mode][Read posts]]
Download: [[http://code.ryuslash.org/cgit.cgi/emacs/git-auto-commit-mode/snapshot/git-auto-commit-mode-{{{ver}}}.tar.gz][TAR.GZ]], [[http://code.ryuslash.org/cgit.cgi/emacs/git-auto-commit-mode/snapshot/git-auto-commit-mode-{{{ver}}}.zip][ZIP]]
#+END_CENTER
#+INCLUDE: "../README.org"
* INSTALLING
#+INCLUDE: "../INSTALL" :minlevel 2
* CONTRIBUTING
#+INCLUDE: "../CONTRIBUTING" :minlevel 2
* NEWS
#+INCLUDE: "../NEWS" :minlevel 2

18
site/project.el Normal file
View file

@ -0,0 +1,18 @@
(require 'org-publish)
(setq org-publish-project-alist
'(("git-auto-commit-mode-files"
:base-directory "./"
:publishing-directory "_publish/"
:recursive nil
:base-extension "css"
:publishing-function org-publish-attachment)
("git-auto-commit-mode-org"
:base-directory "./"
:publishing-directory "_publish/"
:recursive nil
:base-extension "org"
:publishing-function org-publish-org-to-html)
("git-auto-commit-mode-site"
:components ("git-auto-commit-mode-org"
"git-auto-commit-mode-files"))))

68
site/stylesheet.css Normal file
View file

@ -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;
}