doc/gendoc.py
branchstable
changeset 49151 1b6e381521c5
parent 46518 85ec89c47a04
child 49164 a932cad26d37
--- a/doc/gendoc.py	Mon Apr 25 16:45:03 2022 +0200
+++ b/doc/gendoc.py	Mon May 02 22:04:59 2022 -0400
@@ -22,7 +22,7 @@
 # available. Relax C module requirements.
 os.environ['HGMODULEPOLICY'] = 'allow'
 # import from the live mercurial repo
-sys.path.insert(0, "..")
+sys.path.insert(0, os.path.abspath(".."))
 from mercurial import demandimport
 
 demandimport.enable()