diff --git a/CONTRIBUTING b/CONTRIBUTING new file mode 100644 index 0000000..a079903 --- /dev/null +++ b/CONTRIBUTING @@ -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. diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..8a13e37 --- /dev/null +++ b/INSTALL @@ -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 git-auto-commit-mode + #+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 diff --git a/NEWS b/NEWS index 6ca2972..5e40f1e 100644 --- a/NEWS +++ b/NEWS @@ -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 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..4abab99 --- /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 + scp _publish/* \ + ryuslash.org:public_html/orgweb/projects/git-auto-commit-mode diff --git a/site/index.org b/site/index.org new file mode 100644 index 0000000..8f14309 --- /dev/null +++ b/site/index.org @@ -0,0 +1,26 @@ +#+TITLE: git-auto-commit-mode +#+LINK_HOME: http://ryuslash.org/ +#+OPTIONS: num:nil toc:nil author:nil +#+STARTUP: showall +#+STYLE: +#+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 diff --git a/site/project.el b/site/project.el new file mode 100644 index 0000000..a88180f --- /dev/null +++ b/site/project.el @@ -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")))) 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; +}