Analog Devices uses GitHub to distribute source code (and text files that resemble source code) which needed to be maintained.
There are a few Interwiki link shortcuts which can be used to quickly link to specific files in github. These are used to move the wiki reader to the actual code. It's not meant to provide downloads.
[[linux.github>master?arch/arm/boot/dts/zynq-adrv9361-z7035-fmc-rfcard-tdd.dts |device tree]]makes device tree in the wiki.
[[repo>HighSpeedConverterToolbox]]makes HighSpeedConverterToolbox in the wiki.
[[github>hdl?hdl_2016_r2/projects/pluto| Files]]creates this link : Files
We try not to distribute random zip file on the wiki, but use a on-line service from DownGit by Minhas Kamal to create links in the wiki, that point to github, and allow you to post “live” code as zip file in the wiki. ADI created a custom fork of this project since this was running into issues for many people.
Just go to the DownGit page, and paste the repository (including sub directory) you want to provide, and it will provide a link you can use.
On the wiki – for things that are in sub directories of repositories, where you want to provide a zip file for end users, but not have them download the entire repository - just paste the url of the directory - in this case -
https://github.com/analogdevicesinc/scopy/tree/master/js into Downgit. This will create a url:
which can be used in the wiki, like here that way – end users still get the zip file, but the code is maintained in github.
There is also a shortlink for this
[[downgit>repo/path/]] which means in the wiki, you can do
[[downgit>scopy/tree/master/js|zipfile]] like zipfile, and it will zip up the file, and download it.
If it is just a single file (like the examples), we can just point to the top level directory, and people can download from github what they want.