Skip to content

Commit 9f33df7

Browse files
author
Mike Jang
committed
Hard code discussion URL
1 parent abf4454 commit 9f33df7

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
""".format(release_date)
3333

3434
edit_on_github_project = 'nginx/unit-docs'
35+
edit_on_github_discussion = 'nginx/unit'
3536
edit_on_github_branch = 'master'
3637

3738
exclude_patterns = ['include']

source/theme/layout.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ <h1>
121121
{% if edit_on_github_url %}
122122
<div class="nxt_github_link"><a href="{{ edit_on_github_url }}"><div></div>Edit this page</a></div>
123123
{% endif %}
124+
{% if edit_on_github_url %}
125+
<div class="nxt_github_link"><a href="https://github.com/nginx/unit/discussions/"><div></div>Discuss this software</a></div>
126+
{% endif %}
124127
<p id="footer">
125128
© {{copyright}} <a href="https://www.nginx.com/">{{author}}</a>
126129
</p>

0 commit comments

Comments
 (0)