Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 1765270

Browse files
committed
A bit more cleanup
1 parent 220332e commit 1765270

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

readthedocs_ext/external_version_warning.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ def process_external_version_warning_banner(app, doctree, fromdocname):
1717
at the top of each page of the documentation.
1818
"""
1919
for document in doctree.traverse(nodes.document):
20-
text = 'This documentation was created from a pull request.'
20+
# TODO: Link to the Pull Request
21+
text = 'This page was created from a pull request.'
2122
if app.html_context.get('display_gitlab'):
22-
text = 'This Documentation was created from a merge request.'
23+
text = 'This page was created from a merge request.'
2324
prose = nodes.paragraph(text, text)
2425
warning = nodes.warning(prose, prose)
2526
document.insert(0, warning)

0 commit comments

Comments
 (0)