Skip to content

Commit

Permalink
Merge pull request Pycord-Development#409 from Pycord-Development/doc…
Browse files Browse the repository at this point in the history
…s-fix

Fix discord link
  • Loading branch information
Lulalaby authored Nov 8, 2021
2 parents cc0d4d3 + cac05a0 commit 4bb6512
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,15 @@
html_theme = 'basic'

html_context = {
'discord_invite': 'https://discord.gg/rdXkRJG7pS',
'discord_invite': 'https://pycord.dev/discord',
'discord_extensions': [
('discord.ext.commands', 'ext/commands'),
('discord.ext.tasks', 'ext/tasks'),
],
}

resource_links = {
'discord': 'https://discord.gg/rdXkRJG7pS',
'discord': 'https://pycord.dev/discord',
'issues': 'https://github.com/Pycord-Development/pycord/issues',
'discussions': 'https://github.com/Pycord-Development/pycord/discussions',
'examples': f'https://github.com/Pycord-Development/pycord/tree/{branch}/examples',
Expand Down Expand Up @@ -357,5 +357,5 @@
def setup(app):
if app.config.language == 'ja':
app.config.intersphinx_mapping['py'] = ('https://docs.python.org/ja/3', None)
app.config.html_context['discord_invite'] = 'https://discord.gg/rdXkRJG7pS'
app.config.resource_links['discord'] = 'https://discord.gg/rdXkRJG7pS'
app.config.html_context['discord_invite'] = 'https://pycord.dev/discord'
app.config.resource_links['discord'] = 'https://pycord.dev/discord'

0 comments on commit 4bb6512

Please sign in to comment.