Skip to content

Commit

Permalink
added shortcut for english wikipedia
Browse files Browse the repository at this point in the history
  • Loading branch information
karlnapf authored and vigsterkr committed Mar 10, 2016
1 parent eebff44 commit 6e09e6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/sphinx/source/conf.py
Expand Up @@ -289,6 +289,7 @@
# options for external link plugin
extlinks = {
'sgissue': ('https://github.com/shogun-toolbox/shogun/issues/%s', 'issue '),
'sgclass': ('http://www.shogun-toolbox.org/doc/en/latest/classshogun_1_1%s.html', '')
'sgclass': ('http://www.shogun-toolbox.org/doc/en/latest/classshogun_1_1%s.html', ''),
'wiki': ('https://en.wikipedia.org/wiki/%s', 'Wikipedia: ')

}
2 changes: 1 addition & 1 deletion doc/sphinx/source/examples/classifier/knn.rst
Expand Up @@ -37,6 +37,6 @@ Then we run the KNN algorithm and apply it to test data.
----------
References
----------
`KNN on Wikipedia <https://en.wikipedia.org/wiki/K-nearest_neighbors_algorithm>`_
:wiki:`K-nearest_neighbors_algorithm`

.. bibliography:: ../../references.bib

0 comments on commit 6e09e6d

Please sign in to comment.