Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f97f575 commit 52264f5Copy full SHA for 52264f5
1 file changed
lib/core/common.py
@@ -619,11 +619,12 @@ def getDocRoot():
619
if any("/%s/" % _ in absFilePath for _ in GENERIC_DOC_ROOT_DIRECTORY_NAMES):
620
for _ in GENERIC_DOC_ROOT_DIRECTORY_NAMES:
621
_ = "/%s/" % _
622
+
623
if _ in absFilePath:
624
docRoot = "%s%s" % (absFilePath.split(_)[0], _)
625
break
626
- elif pagePath in absFilePath:
627
+ if pagePath in absFilePath:
628
docRoot = absFilePath.split(pagePath)[0]
629
if windowsDriveLetter:
630
docRoot = "%s/%s" % (windowsDriveLetter, ntToPosixSlashes(docRoot))
0 commit comments