]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blob - doc/bugs/local.css_overwritten_by_ikiwiki_--setup.mdwn
not a bug
[git.ikiwiki.info.git] / doc / bugs / local.css_overwritten_by_ikiwiki_--setup.mdwn
1 Steps to reproduce:
3  * Running ikiwiki 3.20130904.1ubuntu1 on Ubuntu 14.04 LTS
4  * Modify `~/public_html/MYWIKI/local.css`
5  * Run `ikiwiki --setup MYWIKI.setup` (or update via websetup interface)
7 What should happen:
9  * Setup is updated/site is rebuilt
10  * local.css is retained and used
12 What happens instead:
14  * Setup is updated (works)
15  * local.css reverts to blank version
17 Workaround:
19  * Create mylocal.css, and manually copy it over local.css every time
21 ---
23 > This is [[working as intended|done]]. IkiWiki is a wiki compiler: everything
24 > in its `$destdir`, in your case `~/public_html/MYWIKI`, is intended to be
25 > under its control. Please create `local.css` in the `$srcdir`
26 > (probably `~/MYWIKI`) and commit it to the VCS, or enable the
27 > [[plugins/attachment]] plugin and "attach" it to the top-level `index` page.
28 > IkiWiki will copy it into the `$destdir` whenever it changes. --[[smcv]]