aboutsummaryrefslogtreecommitdiff
path: root/MANUAL.txt
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2021-03-05 10:20:16 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2021-03-05 10:25:18 -0800
commit5f9327cfc8143902bbd3fdb9d97a7995a19fd217 (patch)
tree63f9768be85fc51429ee7a187e0678c212af67ba /MANUAL.txt
parent030209fc292bd51700189653fd38ae5b2a723ef1 (diff)
downloadpandoc-5f9327cfc8143902bbd3fdb9d97a7995a19fd217.tar.gz
Shared: Change defaultUserDataDirs -> defaultUserDataDir.
Rationale: the manual says that the XDG data directory will be used if it exists, otherwise the legacy data directory. So we should just determine this and use this directory, rather than having a search path which could cause some things to be taken from one data directory and others from others. [API change]
Diffstat (limited to 'MANUAL.txt')
-rw-r--r--MANUAL.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/MANUAL.txt b/MANUAL.txt
index 667a784e0..d97cbcbc9 100644
--- a/MANUAL.txt
+++ b/MANUAL.txt
@@ -361,15 +361,15 @@ header when requesting a document from a URL:
will be used. On \*nix and macOS systems this will be the `pandoc`
subdirectory of the XDG data directory (by default,
`$HOME/.local/share`, overridable by setting the `XDG_DATA_HOME`
- environment variable). If that directory does not exist,
- `$HOME/.pandoc` will be used (for backwards compatibility).
- In Windows the default user data directory is
+ environment variable). If that directory does not exist and
+ `$HOME/.pandoc` exists, it will be used (for backwards compatibility).
+ On Windows the default user data directory is
`C:\Users\USERNAME\AppData\Roaming\pandoc`.
You can find the default user data directory on your system by
looking at the output of `pandoc --version`.
- A `reference.odt`, `reference.docx`, `epub.css`, `templates`,
- `slidy`, `slideous`, or `s5` directory
- placed in this directory will override pandoc's normal defaults.
+ Data files placed in this directory (for example, `reference.odt`,
+ `reference.docx`, `epub.css`, `templates`) will override
+ pandoc's normal defaults.
`-d` *FILE*, `--defaults=`*FILE*