Minecraft wiki entry for Door, associated text: placing a door besides another door (creating a double door where both doors open away from each other)
placing a door between a full solid and any opaque block (top or bottom), making the hinge appear to attach to the solid block.