From 1c682c2253ec0dcf763d190ca821379595665851 Mon Sep 17 00:00:00 2001 From: Mario Rimann Date: Thu, 5 Jul 2012 12:43:22 +0200 Subject: [PATCH] Extended the installation description Now explaining how to move away the existing files and instead using symlinks to the checked out clone of the theme. --- README.rst | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 7597e99..50415b6 100644 --- a/README.rst +++ b/README.rst @@ -9,10 +9,16 @@ Fullsize screenshots available on `kogakure.github.com/gitweb-theme`_. Installation ============ -The installation of this stylesheet is very easy. +The installation of this stylesheet is very easy: -Just copy the CSS-file `gitweb.css` into the gitweb folder. Best practise -would be to rename the old file, in case you want to switch back. +Just clone the repository to a location of your choice, probably into the same directory where the base gitweb stylesheet is located (in Ubuntu, this is e.g. /usr/share/gitweb/). It's recommended to move away the existing files and then create symlinks to the new files. You can do this with the following few commands:: + + cd + mv gitweb.css gitweb_original.css + mv gitweb.js gitweb_original.js + git clone git://github.com/kogakure/gitweb-theme.git + ln -s gitweb-theme/gitweb.css gitweb.css + ln -s gitweb-theme/gitweb.js gitweb.js If you see some missing things or errors, please post a comment. -- 2.30.2