In this case you can simply hide the mechanism with a piece of fairing. It will look smooth and it's practically unnoticeable at first sight.
Here is an example with a station I built long ago (and that I never finished by the way
):
View attachment 37515
I built it without cheats at all, so I had to dock a lot of pieces together to achieve that result. There are docking ports absolutely everywhere! A few of them are visible (at least because I needed some attach points for assembly drones or for future parts), but how many of them can you spot on this picture?