Hi internet. In my source directory, I have some files which symlinks to others for human consumption.
$ ls -alh publications/ drwxr-xr-x 2 goudale goudale 4,0K 21 août 16:07 . drwxr-xr-x 8 goudale goudale 4,0K 20 août 12:28 .. lrwxrwxrwx 1 goudale goudale 10 13 août 10:53 AVSP - An long filename for humans.rst -> ./AVSP.rst -rw-r--r-- 1 goudale goudale 2,8K 13 août 10:53 AVSP.rst -rw-r--r-- 1 goudale goudale 41K 13 nov. 2014 AWP.rst lrwxrwxrwx 1 goudale goudale 9 13 août 10:53 AWP - Another long path for human reading.rst -> ./AWP.rst I did not found any command line arguments to tell sphinx-builder to ignore those symlinks, and I ended having two copies of those document in my build. For reference, here is an extract of my `conf.py` to exclude symbolic files : import glob # Exclude symlinks for root, dirs, files in os.walk('.', followlinks=True): # Ignore hidden file files = [f for f in files if not f[0] == '.'] dirs[:] = [d for d in dirs if not d[0] == '.'] for file_ in files: fullpath = os.path.join(root, file_) if os.path.islink(fullpath): # Remove leading `./` before appending exclude_patterns.append(fullpath[2:]) Hope this else someone someday. -- You received this message because you are subscribed to the Google Groups "sphinx-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users+unsubscr...@googlegroups.com. To post to this group, send email to sphinx-users@googlegroups.com. Visit this group at http://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.