On 07/03/2018 05:52 PM, Simon McVittie wrote:
> How did you make these modifications? By modifying the input, or by
> modifying the output?
Yes, I have modified the output.
> ikiwiki is a "wiki compiler": its output is not intended to be modified
> by anyone, and will be overwritten on each rebuild, the same way a C
> compiler overwrites .o files and executables on each rebuild. If you
> have been modifying the output ("destdir" in its configuration), please
> modify the input ("srcdir") instead.
>
> If you put your preferred style.css, local.css or favicon.ico in the
> source directory alongside the *.mdwn files, they will be copied into
> the output, overriding the versions shipped with ikiwiki.
I see. It turns out that I was misusing ikiwiki, assuming that all
representation-related stuff should be kept together with the "output". There
is, however, some logic in keeping the *.css and *.ico files separate from the
*.mdwn input (such as different sites using different styles, but being
compiled from the same *.mdwn source). Nevertheless, this bug can be closed.
Sorry for the noise.
Thanks,
Andrius
--
Andrius Merkys
Vilnius University Institute of Biotechnology, SaulÄ—tekio al. 7, room V325
LT-10257 Vilnius, Lithuania