Sliding door drapes rod - special rod kit needed, or generic window rod OK?
I had the same issue recently and did not really have much room above the door frame to mount anything aesthetically please to the eye.  What I landed on was this.

My sliding glass door is off my kitchen and into the backyard, so in the spring and summer months it gets more traffic.  The panels easily slide back and forth with ease and putting