Skip to content
This repository was archived by the owner on Apr 16, 2022. It is now read-only.

Commit a9d5ec5

Browse files
committed
Updating the location of the hash for methods on the API site
1 parent f6e5a1a commit a9d5ec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sensio/sphinx/phpcode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def php_method_role(typ, rawtext, text, lineno, inliner, options={}, content=[])
6666
method = class_and_method[ns+2:]
6767

6868
try:
69-
full_url = base_url % full_class.replace('\\', '/') + '.html' + '#' + method + '()'
69+
full_url = base_url % full_class.replace('\\', '/') + '.html' + '#method_' + method
7070
except (TypeError, ValueError):
7171
env.warn(env.docname, 'unable to expand %s api_url with base '
7272
'URL %r, please make sure the base contains \'%%s\' '

0 commit comments

Comments
 (0)