I'm in the process of setting up a prototype for documentation generation using source controlled files on tfs via docfx.
I'd like to be able to create a link on each article such that upon clicking it, it directs me to the file on tfs.
For example, if I have a file called index.md and the url for it is
http://tfs:8080/tfs/{collection}/{directory}/{restofthepath}Findex.md&_a=contents
I'd like to be able to somehow append that url as a link in index.md. Is there a way to do this?
In essence I'm trying to figure out a way to automatically copy/paste the tfs url path for every article/md file to the file itself so that I can later generate an edit link.
At the moment, I would need to go through every file and copy paste the tfs url into an href.
A little clarification:
- index.md stored in tfs under some link, lets call it tfs:8080:blabla
- I want to store that link in index.md somehow (naturally, I can simply copy paste tfs:8080:blabla into index.md and now index.md has a link pointing to where it's sourced) - any way to make an automated process for this?