From ddfbc174696044b5eddd7fe0fc1d54c1eca05485 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 9 Jun 2016 16:02:45 -0700 Subject: [PATCH] Fix names of base classes in Python classes when the base is from the binary modules. --- docs/sphinx/conf.py | 2 +- sphinxtools/librarydescription.py | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 9177096f..7954d654 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -18,7 +18,7 @@ from datetime import datetime # add these directories to sys.path here. If the directory is relative to the # documentation root, use os.path.abspath to make it absolute, like shown here. sys.path.append(os.path.abspath('.')) -sys.path.append('..') +sys.path.append(os.path.abspath('..')) # -- General configuration ----------------------------------------------------- diff --git a/sphinxtools/librarydescription.py b/sphinxtools/librarydescription.py index 8fe97ffb..5c4828a8 100644 --- a/sphinxtools/librarydescription.py +++ b/sphinxtools/librarydescription.py @@ -632,12 +632,22 @@ class Class(ParentBase): for item in sups: item = repr(item) - + sup = item.replace('', '').replace('