jeromegn / DocumentUp

Pretty documentation generator for Github projects with proper Readme.
http://documentup.com
884 stars 90 forks source link

Redirect to new docs #102

Closed wout closed 7 years ago

wout commented 7 years ago

Hi, After years of using documentup, we decided to build a new website with integrated documentation. Now I was wondering if it would be possible to somehow redirect http://documentup.com/wout/SVG.js to https://svgdotjs.github.io. What would be the best way to go about redirecting users without them landing on an empty or even non-existent page?

jeromegn commented 7 years ago

Neat docs!

I'm not sure I can help. I haven't touched this project in years. It's been running along fine on its own on Heroku for all this time, but I haven't been fixing or adding stuff.

That is an interesting problem though. I was about to suggest adding a link front and center to use another site, but then I realized this it means modifying the README which is displayed to everybody going to your project on Github.

Why is it still showing an old version of the README btw? I'm thinking if you recompile it, it would show a much smaller page with the link to your new docs (since that's what your README has now.)

wout commented 7 years ago

The reason the old docs are showing is that I moved it from wout/svg.js to svgdotjs/svg.js, an organisation. So I'll have to figure out how to touch the old repo location I suppose?

wout commented 7 years ago

Recompiling svgdotjs/SVG.js worked but the old repo location gives an error: http://documentup.com/wout/SVG.js/__recopile

wout commented 7 years ago

Ok, I fixed this by temporarily moving the repo back to my name, recompile the README and move the repo back to the organisation.