You can do so in exactly the same way as adding pictures. :) Media is
media! See
$YourDokuWiki:wiki:syntax#media_files for a local guide.
e.g.:-
1. Upload the pdf/doc/docx/xls/
$Whatever using the
Media Manager - note that if the filename uses Upper-Case characters or spaces
Media Manager will convert them to lower-case and underscores respectively. If you get an error message about "
Upload denied. This file extension is forbidden!" -
read this for the simple solution.
2. Use the
Add Media button in the DokuWiki editor (looks like a picture in a frame) to insert a link to those files in a page.
See attached screenscrape for (possible?) clarification. The bottom part shows a section of a DokuWiki page with download links for some documents, the upper part shows a section of the DokuWiki editor with the code of the same page (I've circled the
Add Media button).