We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63dedb9 commit 6bbe052Copy full SHA for 6bbe052
1 file changed
scripts/generate_json_docs.py
@@ -18,15 +18,16 @@
18
import os
19
import types
20
21
-import gcloud
22
import pdoc
23
from parinx.parser import parse_docstring
24
from parinx.errors import MethodParsingException
25
26
from verify_included_modules import get_public_modules
27
28
-ABSOLUTE_LIBRARY_PATH = '/'.join(os.path.abspath(gcloud.__file__)
29
- .split('/')[:-2])
+import gcloud
+
+ABSOLUTE_LIBRARY_PATH = os.path.dirname(os.path.dirname(os.path.abspath(
30
+ gcloud.__file__)))
31
32
33
class Module(object):
0 commit comments