From 8b702c69850d8c5c76ca8ef8dc2e61617ca35db9 Mon Sep 17 00:00:00 2001 From: Chris Lenk Date: Thu, 5 Oct 2017 20:44:58 -0400 Subject: [PATCH] Minor API docs improvements - Hide "Bases" below class signatures - Leave some empty space after tables --- docs/conf.py | 1 - stix2/markings/__init__.py | 4 +--- stix2/sources/__init__.py | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 5f9370b..b241fe5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,7 +12,6 @@ extensions = [ 'sphinx.ext.todo', ] autodoc_default_flags = [ - 'show-inheritance', 'undoc-members', ] autodoc_member_order = 'groupwise' diff --git a/stix2/markings/__init__.py b/stix2/markings/__init__.py index 69f3ace..7c45b5a 100644 --- a/stix2/markings/__init__.py +++ b/stix2/markings/__init__.py @@ -12,9 +12,7 @@ granular markings unless otherwise noted in each of the functions. object_markings utils -.. raw:: html - -


+| """ from stix2.markings import granular_markings, object_markings diff --git a/stix2/sources/__init__.py b/stix2/sources/__init__.py index d0faa71..9d46ba9 100644 --- a/stix2/sources/__init__.py +++ b/stix2/sources/__init__.py @@ -8,6 +8,7 @@ memory taxii +| """ import uuid