diff doc/gendoc.py @ 49164:a932cad26d37

branching: merge stable into default
author Rapha?l Gom?s <rgomes@octobus.net>
date Wed, 04 May 2022 18:17:44 +0200
parents 6000f5b25c9b 1b6e381521c5
children 76387080f238
line wrap: on
line diff
--- a/doc/gendoc.py	Mon Apr 25 11:09:33 2022 +0200
+++ b/doc/gendoc.py	Wed May 04 18:17:44 2022 +0200
@@ -21,7 +21,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()