Skip to content

Commit

Permalink
Restore legacy shortcuts to doc/security pages
Browse files Browse the repository at this point in the history
  • Loading branch information
flashcode committed Sep 8, 2024
1 parent 7c6d968 commit e6ad3bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions weechat/doc/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
view_doc_link),
# /doc/user/en
re_path(rf'^(?P<name>{LEGACY_DOC})/(?P<lang>[a-z][a-z])/$', view_doc_link),
# /doc/security
re_path(r'^security/(?P<wsa>WSA-[0-9]{4}-[0-9]+)/$',
view_security_wsa, name='doc_project_security_wsa'),
re_path(r'security/version/$', view_security_version,
name='doc_project_security_versions'),
re_path(r'security/version/(?P<version>[0-9.]+)/$',
view_security_version, name='doc_project_security_version'),

# shortcuts
# /doc/weechat/stable/user
Expand Down

0 comments on commit e6ad3bf

Please sign in to comment.