doc: use an absolute path in sys.path

The idea and rationale is similar to https://phab.mercurial-scm.org/D12599
(landed as 1b6e381521c5).
1 job for !114 with topic/stable/sys-path-insert in 10 seconds (queued for 1 second)
merge request