Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix broken link and outdated comment #337

Merged
merged 1 commit into from
May 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions docs/source/pages/advanced_usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,9 @@ What is a feature in *pygls*? In terms of language servers and the
`Language Server Protocol <https://microsoft.github.io/language-server-protocol/>`__,
a feature is one of the predefined methods from
LSP `specification <https://microsoft.github.io/language-server-protocol/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
<https://github.com/microsoft/lsprotocol/blob/main/packages/python/lsprotocol/types.py>`_ module
for the complete and canonical list of available features.

*Built-In* Features
~~~~~~~~~~~~~~~~~~~
Expand Down
4 changes: 2 additions & 2 deletions docs/source/pages/getting_started.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------
Expand All @@ -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