diff --git a/0000-New-setting-in-latest-docutils.patch b/0000-New-setting-in-latest-docutils.patch deleted file mode 100644 index 81f629a..0000000 --- a/0000-New-setting-in-latest-docutils.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 3cdc25a10f95549c163fa0b818d0ffd0f4a64470 Mon Sep 17 00:00:00 2001 -From: Randy Barlow -Date: Tue, 7 Mar 2017 21:59:27 -0500 -Subject: [PATCH] New setting in latest docutils - -This patch was originally authored by Marc-Antoine Parent and was -backported for cornice-1.1.0 by Randy Barlow. - -Signed-off-by: Randy Barlow ---- - cornice/ext/sphinxext.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/cornice/ext/sphinxext.py b/cornice/ext/sphinxext.py -index ae4f41a..fe00926 100644 ---- a/cornice/ext/sphinxext.py -+++ b/cornice/ext/sphinxext.py -@@ -282,6 +282,7 @@ def rst2node(data): - document.settings.tab_width = 4 - document.settings.pep_references = False - document.settings.rfc_references = False -+ document.settings.character_level_inline_markup = False - document.settings.env = Env() - parser.parse(data, document) - if len(document.children) == 1: --- -2.12.0 - diff --git a/0001-Initialize-the-ref_context-as-a-dictionary.patch b/0001-Initialize-the-ref_context-as-a-dictionary.patch deleted file mode 100644 index c2bb852..0000000 --- a/0001-Initialize-the-ref_context-as-a-dictionary.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 1f10b0b937eeb28adced360d4fa2ca76e4fe9191 Mon Sep 17 00:00:00 2001 -From: Randy Barlow -Date: Tue, 7 Mar 2017 22:03:10 -0500 -Subject: [PATCH] Initialize the ref_context as a dictionary. - -fixes #7 - -Signed-off-by: Randy Barlow ---- - cornice/ext/sphinxext.py | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/cornice/ext/sphinxext.py b/cornice/ext/sphinxext.py -index fe00926..b00fb44 100644 ---- a/cornice/ext/sphinxext.py -+++ b/cornice/ext/sphinxext.py -@@ -284,6 +284,7 @@ def rst2node(data): - document.settings.rfc_references = False - document.settings.character_level_inline_markup = False - document.settings.env = Env() -+ document.settings.env.ref_context = {} - parser.parse(data, document) - if len(document.children) == 1: - return document.children[0] --- -2.12.0 -