Skip to content

Commit 4a2d3d5

Browse files
committed
Merge branch 'topic/fix_orphaned_docs' into 'master'
Link orphaned documentation pages Closes #1841 See merge request eng/ide/ada_language_server!2314
2 parents 7e9dfd6 + 3a00050 commit 4a2d3d5

5 files changed

Lines changed: 10 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ for the list of supported requests.
112112

113113
The Ada Language Server supports some features that are not in the official
114114
[Language Server Protocol](https://microsoft.github.io/language-server-protocol)
115-
specification. See [corresponding document](doc/README.md).
115+
specification. See [corresponding document](doc/extensions.md).
116116

117117
## VS Code Extension
118118

doc/Set-workspace-specific-environment-variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
This small tutorial will help you to create a workspace-specific environment, allowing you to set and/or modify environment variables for your project (e.g: put the needed toolchain in front of your `PATH`).
55

6-
This is particularly useful when working on [remote machines](Working-on-a-remote-machine) in order
6+
This is particularly useful when working on [remote machines](Working-on-a-remote-machine.md) in order
77
to avoid modifying the environment globally just to work on a given project.
88

99
## Prerequisites
@@ -17,7 +17,7 @@ To successfully complete this tutorial, you must do the following:
1717
You can install the Ada extension by searching for 'adacore' in the
1818
Extensions view (`Ctrl+Shift+X`).
1919

20-
* Have a an installed GNAT toolchain for your platform (see [here](Getting-Started#ensure-gnat-is-installed) for more information on how to install it).
20+
* Have an installed GNAT toolchain for your platform (see [here](Getting-Started.md#ensure-gnat-is-installed) for more information on how to install it).
2121

2222
## How to set environment variables
2323

doc/extensions.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ related resources.
6868
* [Source dirs](source_dirs.md)
6969
* [Workspace symbol params](workspace_symbol_params.md)
7070
* [Global/local variables](global_local_variables.md)
71+
* [Format range](format-range.md)
72+
* [GPR dependencies](gpr_dependencies.md)
7173

7274
```{toctree}
7375
:maxdepth: 1
@@ -88,5 +90,8 @@ object_dir
8890
project_file
8991
source_dirs
9092
workspace_symbol_params
93+
global_local_variables
94+
format-range
95+
gpr_dependencies
9196
TEMPLATE
9297
```

doc/global_local_variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ We extend the `SemanticTokenModifiers` by adding extra modifiers:
1111
* `globalVariable`: Marks a **global variable**. This refers to a variable whose **lifetime is the same as the program itself** (program-level visibility and duration). These variables are typically declared in the declarative part of a library-level package:
1212
* **Library-level packages**.
1313
* **Nested packages**, **Protected Objects** or **Tasks** that are themselves declared at the library level. .
14-
14+
1515
The variable exists for the entire program execution and is not local to any locally declared subprogram or block.
1616

1717
* `localVariable`: Marks a **local variable**. This refers to a variable whose name is declared within the **nearest enclosing declarative part** (e.g., within a subprogram body, a block statement). Their scope and lifetime are typically restricted to that specific program element.

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ Ada & SPARK VS Code Extension User's Guide
1616
Refactoring Tools <refactoring_tools.md>
1717
Tips and Tricks <tips_and_tricks.rst>
1818
Ada Language Server Settings <settings.md>
19-
Code Visualizer <code_visualizer.md>
19+
Code Visualizer <ShowGraphDoc.md>
2020
ALS Traces <traces.md>
2121
Language Server Protocol Extensions <extensions.md>

0 commit comments

Comments
 (0)