Added a comment: default paths: basedir spec

master
http://christian.amsuess.com/chrysn 2014-05-04 09:30:21 -04:00 committed by admin
parent 853e21d0a1
commit 92a694712d
1 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,10 @@
[[!comment format=mdwn
username="http://christian.amsuess.com/chrysn"
ip="84.114.244.41"
subject="default paths: basedir spec"
date="2014-05-04T13:30:20Z"
content="""
i have no opinion on *whether* there should be different default directories, but *if* new directories are desired, they should go to their respective paths according to [basedir-spec](http://freedesktop.org/wiki/Specifications/basedir-spec/).
i'm no expert in that, but i think it means that the setup files go to `XDG_CONFIG_HOME` (`~/.config/ikiwiki/${wikiname_short}.setup`), and srcdir and repository go to `XDG_DATA_HOME` (`~/.local/share/ikiwiki/${wikiname_short}`).
"""]]