aboutsummaryrefslogtreecommitdiff
path: root/doc/bugs/local.css_overwritten_by_ikiwiki_--setup.mdwn
blob: 222a951366ac7f3093869c2f61d1e53eac011500 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Steps to reproduce:

 * Running ikiwiki 3.20130904.1ubuntu1 on Ubuntu 14.04 LTS
 * Modify `~/public_html/MYWIKI/local.css`
 * Run `ikiwiki --setup MYWIKI.setup` (or update via websetup interface)

What should happen:

 * Setup is updated/site is rebuilt
 * local.css is retained and used

What happens instead:

 * Setup is updated (works)
 * local.css reverts to blank version

Workaround:

 * Create mylocal.css, and manually copy it over local.css every time

---

> This is [[working as intended|done]]. IkiWiki is a wiki compiler: everything
> in its `$destdir`, in your case `~/public_html/MYWIKI`, is intended to be
> under its control. Please create `local.css` in the `$srcdir`
> (probably `~/MYWIKI`) and commit it to the VCS, or enable the
> [[plugins/attachment]] plugin and "attach" it to the top-level `index` page.
> IkiWiki will copy it into the `$destdir` whenever it changes. --[[smcv]]