Skip to content

Commit

Permalink
Add alias and legacy shortcut to WeeChat API relay doc
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed Feb 1, 2025
1 parent 51824ba commit 6cea232
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion weechat/doc/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
security_version as view_security_version,
)

LEGACY_DOC = 'faq|user|plugin_api|scripting|quickstart|dev|relay_protocol'
LEGACY_DOC = 'faq|user|plugin_api|scripting|quickstart|dev|relay_api|relay_weechat'

urlpatterns = [
path('', view_doc, name='doc'),
Expand Down
3 changes: 2 additions & 1 deletion weechat/doc/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@
'quick': 'quickstart',
'plugin': 'plugin_api',
'api': 'plugin_api',
'relay': 'relay_protocol',
'relay_api': 'relay_api',
'relay_weechat': 'relay_weechat',
}


Expand Down

0 comments on commit 6cea232

Please sign in to comment.