modified script to initialize code/docs root from the caller
modified script to initialize code/docs root from the caller

Signed-off-by: Alessandro Comodi <622632e70fd6771cf2cd943f69e5e51ab66adef8@antmicro.com>

SymbiFlow/sphinxcontrib-markdown-symlinks