| 1 |
[[!comment format=mdwn |
| 2 |
username="https://www.google.com/accounts/o8/id?id=AItOawk_MMtLPS7osC5MjX00q2ATjvvXPWqm0ik" |
| 3 |
nickname="micheal" |
| 4 |
subject="comment 3" |
| 5 |
date="2012-03-06T09:50:53Z" |
| 6 |
content=""" |
| 7 |
I don't know how to navigate to a gitweb url that does show my wiki's source. |
| 8 |
|
| 9 |
My gitweb.conf looks like this: |
| 10 |
|
| 11 |
cat /etc/gitweb.conf |
| 12 |
# path to git projects (<project>.git) |
| 13 |
#$projectroot = \"/var/cache/git\"; |
| 14 |
$projectroot = \"/home/myuser/myiki\"; |
| 15 |
|
| 16 |
# directory to use for temp files |
| 17 |
$git_temp = \"/tmp\"; |
| 18 |
|
| 19 |
# Change This |
| 20 |
$site_name = \"myiki\"; |
| 21 |
|
| 22 |
# target of the home link on top of all pages |
| 23 |
#$home_link = $my_uri || \"/\"; |
| 24 |
|
| 25 |
# html text to include at home page |
| 26 |
#$home_text = \"indextext.html\"; |
| 27 |
|
| 28 |
# file with project list; by default, simply scan the projectroot dir. |
| 29 |
#$projects_list = $projectroot; |
| 30 |
|
| 31 |
# stylesheet to use |
| 32 |
#@stylesheets = (\"static/gitweb.css\"); |
| 33 |
|
| 34 |
# javascript code for gitweb |
| 35 |
#$javascript = \"static/gitweb.js\"; |
| 36 |
|
| 37 |
# logo to use |
| 38 |
#$logo = \"static/git-logo.png\"; |
| 39 |
|
| 40 |
# the 'favicon' |
| 41 |
#$favicon = \"static/git-favicon.png\"; |
| 42 |
|
| 43 |
# git-diff-tree(1) options to use for generated patches |
| 44 |
#@diff_opts = (\"-M\"); |
| 45 |
@diff_opts = (); |
| 46 |
|
| 47 |
"""]] |