Skip to content
Open
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
2 changes: 1 addition & 1 deletion _includes/topnav.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ <h1>LSP / LSIF</h1>
<a class="nav-link" href='{{ "/overviews/lsp/overview" | prepend: site.baseurl }}'>Overview</a>
</li>
<li {% if page.sectionid=='implementors' %} class="nav-item active" {% else %} class="nav-item" {% endif %}>
<a class="nav-link" href="{{ implementors.first.url | prepend: site.baseurl }}">Implementations</a>
<a class="nav-link" href='{{ "/overviews/implementations" | prepend: site.baseurl }}'>Implementations</a>
</li>
<li {% if page.sectionid=='specification' %} class="nav-item active" {% else %} class="nav-item" {% endif %}>
<a class="nav-link" href='{{ "/specifications/specification-current" | prepend: site.baseurl }}'>Specification</a>
Expand Down
6 changes: 6 additions & 0 deletions _overviews/implementations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Implementations
index: 1
---

This page provides an overview of the various implementations of the Language Server Protocol.
14 changes: 14 additions & 0 deletions tests/test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
window.onload = function() {
var iframe = document.getElementById('site-frame');
var iframeWindow = iframe.contentWindow;

iframe.onload = function() {
var implementationsLink = iframeWindow.document.querySelector('a[href="/language-server-protocol/overviews/implementations"]');

if (implementationsLink) {
console.log('Test passed: Implementations link found.');
} else {
console.error('Test failed: Implementations link not found.');
}
};
};
10 changes: 10 additions & 0 deletions tests/test_runner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>Test Runner</title>
</head>
<body>
<iframe id="site-frame" src="../index.html" width="800" height="600"></iframe>
<script src="test.js"></script>
</body>
</html>