HelloZeroNet / Documentation

ZeroNet Documentation
https://zeronet.readthedocs.org/
GNU General Public License v2.0
74 stars 107 forks source link

Fix edit documentation links #94

Closed anoadragon453 closed 5 years ago

anoadragon453 commented 5 years ago

Now the little edit buttons point to both the correct repository and the edit screen of the correct file.

Try it out: https://zerodocs.amorgan.xyz/

HelloZeroNet commented 5 years ago

It doesn't works, the edit link on https://zeronet.readthedocs.io/en/latest/ points to https://github.com/HelloZeroNet/Documentation/edit/master/home/docs/checkouts/readthedocs.org/user_builds/zeronet/checkouts/latest/docs/index.md

anoadragon453 commented 5 years ago

Ah, I didn't account for readthedoc's URL structure. I'll try to make it work universally.

anoadragon453 commented 5 years ago

Looks like we'll probably have to go back to the hacky JS method. I don't see any way to change the path rtd generates.