diff --git a/docs/source/pages/advanced_usage.rst b/docs/source/pages/advanced_usage.rst index ea1b05e3..2a7de463 100644 --- a/docs/source/pages/advanced_usage.rst +++ b/docs/source/pages/advanced_usage.rst @@ -105,8 +105,9 @@ What is a feature in *pygls*? In terms of language servers and the `Language Server Protocol `__, a feature is one of the predefined methods from LSP `specification `__, -such as: *code completion*, *formatting*, *code lens*, etc. Features -that are available can be found in `pygls.lsp.methods`_ module. +such as: *code completion*, *formatting*, *code lens*, etc. See the `lsprotocol +`_ module +for the complete and canonical list of available features. *Built-In* Features ~~~~~~~~~~~~~~~~~~~ diff --git a/docs/source/pages/getting_started.rst b/docs/source/pages/getting_started.rst index 1e29df82..d8286604 100644 --- a/docs/source/pages/getting_started.rst +++ b/docs/source/pages/getting_started.rst @@ -78,7 +78,7 @@ Register Features and Commands def cmd_return_hello_world(ls, *args): return 'Hello World!' -See the `lsprotocol`_ module for the complete and canonical list of avaiable features. +See the `lsprotocol`_ module for the complete and canonical list of available features. Advanced usage -------------- @@ -94,4 +94,4 @@ haven't worked with language servers before. .. _GitHub: https://github.com/openlawlibrary/pygls -.. _lsprotocol: https://github.com/microsoft/lsprotocol/blob/main/lsprotocol/types.py +.. _lsprotocol: https://github.com/microsoft/lsprotocol/blob/main/packages/python/lsprotocol/types.py