Skip to content

Conversation

@Blendify
Copy link
Member

Use page_source_suffix instead of checking source_suffix

Since we now require sphinx 1.6 we can cleanup this old workaround for old sphinx versions.

Use `page_source_suffix` instead of checking `source_suffix`

Since we now require sphinx 1.6 we can cleanup this old workaround for old sphinx versions.
@Blendify Blendify requested review from a team, agjohnson and stsewd March 30, 2021 16:20
@Blendify Blendify added this to the 1.0 milestone Mar 30, 2021
@Blendify Blendify merged commit c984d08 into master Mar 30, 2021
@Blendify Blendify deleted the Blendify/templates-source-suffix branch March 30, 2021 16:42
sdhiscocks added a commit to dstl/Stone-Soup that referenced this pull request May 6, 2022
awelzel pushed a commit to zeek/package-manager that referenced this pull request Nov 3, 2023
These links 404'd because they omitted the file suffix, and they didn't really
link to anything editable, just the raw file.

---

In this case, "suffix" was used which is set by the readthedocs theme [1] in
older versions [1]. Seem right to replace with page_source_suffix.

[1] readthedocs/sphinx_rtd_theme#1104
awelzel pushed a commit to zeek/package-manager that referenced this pull request Nov 3, 2023
These links 404'd because they omitted the file suffix, and they didn't really
link to anything editable, just the raw file.

---

In this case, "suffix" was used which is set by the readthedocs theme in
older versions [1]. Seem good to replace with page_source_suffix.

[1] readthedocs/sphinx_rtd_theme#1104
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants