summaryrefslogtreecommitdiff
path: root/sphinx/builders/changes.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/builders/changes.py')
-rw-r--r--sphinx/builders/changes.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/builders/changes.py b/sphinx/builders/changes.py
index 3a1f5bd65..618be0b3e 100644
--- a/sphinx/builders/changes.py
+++ b/sphinx/builders/changes.py
@@ -127,7 +127,7 @@ class ChangesBuilder(Builder):
with open(targetfn, 'w', encoding='utf-8') as f:
text = ''.join(hl(i + 1, line) for (i, line) in enumerate(lines))
ctx = {
- 'filename': self.env.doc2path(docname, None),
+ 'filename': self.env.doc2path(docname, False),
'text': text
}
f.write(self.templates.render('changes/rstsource.html', ctx))