Catch up to highlight 3.51 API change.
[ikiwiki] / doc / bugs / local.css_overwritten_by_ikiwiki_--setup.mdwn
1 Steps to reproduce:
2
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)
6
7 What should happen:
8
9  * Setup is updated/site is rebuilt
10  * local.css is retained and used
11
12 What happens instead:
13
14  * Setup is updated (works)
15  * local.css reverts to blank version
16
17 Workaround:
18
19  * Create mylocal.css, and manually copy it over local.css every time
20
21 ---
22
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]]