progrium / viewdocs

Read the Docs meets Gist.io for simple Markdown project documentation

Home Page:http://viewdocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add http://viewdocs.io/<username>/<repository>

hugopeixoto opened this issue · comments

We previously discussed the lack of SSL, and how it's not possible to do it in heroku.

Something that could work is to change the URL structure to something like what's used by other projects:

This would remove the requirement for wildcard domains and certificates, making SSL easier to setup.

If breaking existing links under //viewdocs.io is a problem, you could use a fixed subdomain to work around it: https://secure.viewdocs.io/progrium/viewdocs. Unsure what a good subdomain would be, though.

To push this along, I've created a pull request: #56.

It seems that the issue I mentioned, breaking links under //viewdocs.io, is not an issue, as there are no links in the top level domain. Only / redirects to progrium.viewdocs.io/viewdocs/.

Thinking about this further, I don't think I like it. If we then give an SSL cert to it, we can get all the docs for every project blacklisted on Google due to someone putting up some fishing site. Yeah the chance is low but scammers are always willing to screw things up for everyone.

Given the fact that I'm now getting the domain name, I think we can close this.