Skip to content

Commit

Permalink
add Mattermost linking mechanism
Browse files Browse the repository at this point in the history
This closes issue #61 on GitHub.
  • Loading branch information
akcano committed Nov 22, 2023
1 parent a2d2061 commit 68c3177
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .sphinx/_templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@
</div>
{% endif %}

{% if mattermost %}
<div class="ask-mattermost">
<a class="muted-link" href="{{ mattermost }}">Ask a question on Mattermost</a>
</div>
{% endif %}

{% if github_url and github_version and github_folder %}

{% if github_issues %}
Expand Down
1 change: 1 addition & 0 deletions .wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Juju
Kubernetes
Kubeflow
Makefile
Mattermost
MyST
namespace
namespaces
Expand Down
4 changes: 4 additions & 0 deletions custom_conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
# (use an empty value if you don't want to link)
'discourse': 'https://discourse.ubuntu.com',

# Change to the Mattermost channel you want to link to
# (use an empty value if you don't want to link)
'mattermost': 'https://chat.canonical.com/canonical/channels/documentation',

# Change to the GitHub URL for your project
'github_url': 'https://github.com/canonical/starter-pack',

Expand Down

0 comments on commit 68c3177

Please sign in to comment.