From 352407e54b223496e4247a7fad5888087f3c4d9a Mon Sep 17 00:00:00 2001 From: Andrew Godwin Date: Tue, 5 Apr 2016 17:27:36 -0700 Subject: [PATCH] Improve patchinator, lots of doc stuff --- patchinator.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/patchinator.py b/patchinator.py index 782497d..fd41524 100644 --- a/patchinator.py +++ b/patchinator.py @@ -112,11 +112,16 @@ global_transforms = [ ] docs_transforms = global_transforms + [ + Replacement(r"`", r"`"), Replacement(r":doc:`concepts`", r":doc:`/topics/channels/concepts`"), Replacement(r":doc:`deploying`", r":doc:`/topics/channels/deploying`"), Replacement(r":doc:`scaling`", r":doc:`/topics/channels/scaling`"), Replacement(r":doc:`getting-started`", r":doc:`/intro/channels`"), + Replacement(r"`", r"`"), + Replacement(r":doc:`backends`", r":doc:`/ref/channels/backends`"), + Replacement(r":doc:`([\w\d\s]+) `", r"`\1 `_"), Replacement(r"\n\(.*installation>`\)\n", r""), + Replacement(r":doc:`installed Channels correctly `", r"added the channel layer setting"), ] @@ -151,7 +156,7 @@ class Patchinator(object): "channels/sessions.py", "django/channels/sessions.py", global_transforms, ), FileMap( - "channels/staticfiles.py", "django/channels/staticfiles.py", global_transforms, + "channels/staticfiles.py", "django/contrib/staticfiles/consumers.py", global_transforms, ), FileMap( "channels/utils.py", "django/channels/utils.py", global_transforms,