Skip to content

Commit 8965fcd

Browse files
committed
Some layout tweaks
1 parent 5709f66 commit 8965fcd

File tree

5 files changed

+11
-5
lines changed

5 files changed

+11
-5
lines changed

_layouts/default.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<body>
77

88
{% include topnav.html %}
9-
9+
1010
<div class="page-content">
1111
<div class="wrapper">
1212
{{ content }}

_layouts/implementors.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,12 @@
22
layout: default
33
---
44

5+
<div style="height: 1rem">
6+
</div>
57
<div class="container">
68
<div class="row">
79
<div class="col-md-2">
8-
<div class="card sticky-top" style="top: 4rem">
10+
<div class="card sticky-top" style="top: 4.5rem">
911
<div class="card-header">
1012
Implementations
1113
</div>

_layouts/singlePage.html

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
layout: default
33
---
44

5+
<div style="height: 1rem">
6+
</div>
57
<div class="container">
68
<div class="row">
79
<div class="col-md-2">

_layouts/specification.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
layout: default
33
---
44

5+
<div style="height: 1rem">
6+
</div>
57
<div class="container">
68
<div class="row">
79
<div class="col-sm-2">
@@ -10,7 +12,7 @@
1012
<div id="markdown-content-container">{{ content }}</div>
1113
</div>
1214
<div class="col-sm-2">
13-
<div class="sticky-top" style="top: 4rem">
15+
<div class="sticky-top" style="top: 4.5rem">
1416
{% for toc-l1 in site.data.specification-toc %}
1517
<div class="card">
1618
<div class="card-header toc-title">

howItWorks.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sectionid: howItWorks
66

77
A language server runs as a separate process and development tools communicate with the server using the language protocol over JSON-RPC. Below is an example for how a tool and a language server communicate during a routine editing session:
88

9-
![language server protocol](./img/language-server-sequence.png)
9+
<img src="./img/language-server-sequence.png" class="img-fluid" alt="language server protocol">
1010

1111
* **The user opens a file (referred to as a *document*) in the tool**: The tool notifies the language server that a document is open ('textDocument/didOpen'). From now on, the truth about the contents of the document is no longer on the file system but kept by the tool in memory. The contents now has to be synchronized between the tool and the language server.
1212

@@ -63,7 +63,7 @@ This is the response:
6363

6464
When a user is working with different languages, a development tool usually starts a language server for each programming language. The example below shows a session where the user works on Java and SASS files.
6565

66-
![language server protocol](./img/language-server.png)
66+
<img src="./img/language-server.png" class="img-fluid" alt="language server protocol">
6767

6868
Not every language server can support all features defined by the protocol. LSP therefore defines 'capabilities'. A capability defines a related group of language features. A development tools and the language server announce their supported feature set. As an example, a server announces that it can handle the 'textDocument/definition' request, but it might not handle the 'workspace/symbol' request. Similarly, development tools can announce that they are able to provide 'about to save' notifications before a document is saved, so that a server can compute textual edits to automatically format the edited document.
6969

0 commit comments

Comments
 (0)