diff options
author | Joey Hess <joey@kitenet.net> | 2007-12-23 11:55:11 -0500 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2007-12-23 11:55:11 -0500 |
commit | fc7b515064abef4dc82a8ad9a6049158c7e9e30d (patch) | |
tree | dbf02c98d4dbe09cebf587a62b3f7ed5da65b245 | |
parent | bc9017308e74a3d1ee4fde4cb649548c7c02ad70 (diff) |
web commit by http://engla.myopenid.com/: +a comment on symlinks and other
-rw-r--r-- | doc/forum/paths_to_files_outside_the_wiki_root.mdwn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/forum/paths_to_files_outside_the_wiki_root.mdwn b/doc/forum/paths_to_files_outside_the_wiki_root.mdwn index bcf927c27..1927b2dfc 100644 --- a/doc/forum/paths_to_files_outside_the_wiki_root.mdwn +++ b/doc/forum/paths_to_files_outside_the_wiki_root.mdwn @@ -16,3 +16,5 @@ But not even the symlink solution works, since I have only two choices, specify > same as wikilinks to any other files ikiwiki knows about. Perhaps > there's a reason you can't do that, such as the files being too large, or > not being available on the host you build on, I don't know. --[[Joey]] + +Yes, that would solve it. A part of me wanted though that it should be possible to put a symlink called publicfiles that basically points to wikiroot/../publicfiles, and have the ability to link to files with wikisyntax anyway. But it doesn't work since symlinks are dangerous, and.. how would ikiwiki know how to interpret a relative link, relative to source dir or dest dir (etc..)? I'll have to put all my images and publicfiles into the wiki; it is principally wrong since publicfiles are tar.gz (and a few .deb files) for software, but it is practically ok since the individual files are not more than 150K and I don't have anything against archiving them. --ulrik |