From eef0eac4286affeb1ac6fd39004251cce7adafa5 Mon Sep 17 00:00:00 2001 From: wanghui Date: Tue, 27 Mar 2018 10:03:18 +0800 Subject: [PATCH] Move openstackdocstheme to extensions in api-ref Move openstackdocstheme to extensions. According to the guide below: https://docs.openstack.org/openstackdocstheme/latest/ Change-Id: I7c23cc33007316c3316b3307f5f0500b244ca035 --- api-ref/source/conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api-ref/source/conf.py b/api-ref/source/conf.py index f4306d583..1467aae67 100644 --- a/api-ref/source/conf.py +++ b/api-ref/source/conf.py @@ -26,16 +26,14 @@ import os import subprocess import sys -import openstackdocstheme - html_theme = 'openstackdocs' -html_theme_path = [openstackdocstheme.get_html_theme_path()] html_theme_options = { "sidebar_mode": "toc", } extensions = [ 'os_api_ref', + 'openstackdocstheme', ] # If extensions (or modules to document with autodoc) are in another directory,