bab9bb6b69
Create new directories: ceph config config-files filesystem kernel kernel/kernel-modules ldap logging strorage-drivers tools utilities virt Retire directories: connectivity core devtools support extended Delete two packages: tgt irqbalance Relocated packages: base/ dhcp initscripts libevent lighttpd linuxptp memcached net-snmp novnc ntp openssh pam procps sanlock shadow sudo systemd util-linux vim watchdog ceph/ python-cephclient config/ facter puppet-4.8.2 puppet-modules filesystem/ e2fsprogs nfs-utils nfscheck kernel/ kernel-std kernel-rt kernel/kernel-modules/ mlnx-ofa_kernel ldap/ nss-pam-ldapd openldap logging/ syslog-ng logrotate networking/ lldpd iproute mellanox python-ryu mlx4-config python/ python-2.7.5 python-django python-gunicorn python-setuptools python-smartpm python-voluptuous security/ shim-signed shim-unsigned tboot strorage-drivers/ python-3parclient python-lefthandclient virt/ cloud-init libvirt libvirt-python qemu tools/ storage-topology vm-topology utilities/ tis-extensions namespace-utils nova-utils update-motd Change-Id: I37ade764d873c701b35eac5881eb40412ba64a86 Story: 2002801 Task: 22687 Signed-off-by: Scott Little <scott.little@windriver.com>
51 lines
1.8 KiB
Diff
51 lines
1.8 KiB
Diff
From 3624581259cecf7ca2d695fbebc27fed2a4d941c Mon Sep 17 00:00:00 2001
|
|
From: root <root@yow-cgts4-lx.wrs.com>
|
|
Date: Thu, 5 Oct 2017 16:38:20 -0400
|
|
Subject: [PATCH] No smartypants
|
|
|
|
|
|
diff --git a/docs/_ext/djangodocs.py b/docs/_ext/djangodocs.py
|
|
index fd93194..aa3afbb 100644
|
|
--- a/docs/_ext/djangodocs.py
|
|
+++ b/docs/_ext/djangodocs.py
|
|
@@ -12,7 +12,7 @@ from sphinx.builders.html import StandaloneHTMLBuilder
|
|
from sphinx.util.compat import Directive
|
|
from sphinx.util.console import bold
|
|
from sphinx.util.nodes import set_source_info
|
|
-from sphinx.writers.html import SmartyPantsHTMLTranslator
|
|
+from sphinx.writers.html import HTMLTranslator
|
|
|
|
# RE for option descriptions without a '--' prefix
|
|
simple_option_desc_re = re.compile(
|
|
@@ -227,7 +227,7 @@ class VersionDirective(Directive):
|
|
return ret
|
|
|
|
|
|
-class DjangoHTMLTranslator(SmartyPantsHTMLTranslator):
|
|
+class DjangoHTMLTranslator(HTMLTranslator):
|
|
"""
|
|
Django-specific reST to HTML tweaks.
|
|
"""
|
|
@@ -260,10 +260,10 @@ class DjangoHTMLTranslator(SmartyPantsHTMLTranslator):
|
|
#
|
|
def visit_literal_block(self, node):
|
|
self.no_smarty += 1
|
|
- SmartyPantsHTMLTranslator.visit_literal_block(self, node)
|
|
+ HTMLTranslator.visit_literal_block(self, node)
|
|
|
|
def depart_literal_block(self, node):
|
|
- SmartyPantsHTMLTranslator.depart_literal_block(self, node)
|
|
+ HTMLTranslator.depart_literal_block(self, node)
|
|
self.no_smarty -= 1
|
|
|
|
#
|
|
@@ -300,7 +300,7 @@ class DjangoHTMLTranslator(SmartyPantsHTMLTranslator):
|
|
old_ids = node.get('ids', [])
|
|
node['ids'] = ['s-' + i for i in old_ids]
|
|
node['ids'].extend(old_ids)
|
|
- SmartyPantsHTMLTranslator.visit_section(self, node)
|
|
+ HTMLTranslator.visit_section(self, node)
|
|
node['ids'] = old_ids
|
|
|
|
|