Fixed: Regex did not work for relative paths starting with "../"

Change-Id: I4a956bcb4606b2c5e455b2e6ffd39bfebd1bfe94
Moving generation logic to net.enilink.docs

Change-Id: I9c8b14ee35962bb30f4311ae8b3bc5c5bda7c515