Skip to content

Commit 8ad6947

Browse files
author
james
committed
add quotes to several more links
1 parent b6b424d commit 8ad6947

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

docs/language/ql-handbook/lexical-syntax.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ Lexical syntax
55

66
The QL syntax includes different kinds of keywords, identifiers, and comments.
77

8-
For an overview of the lexical syntax, see `Lexical syntax
9-
<https://help.semmle.com/QL/ql-spec/language.html#lexical-syntax>`_ in the QL language specification.
8+
For an overview of the lexical syntax, see "`Lexical syntax
9+
<https://help.semmle.com/QL/ql-spec/language.html#lexical-syntax>`_" in the QL language specification.
1010

1111
.. index:: comment, QLDoc
1212
.. _comments:
1313

1414
Comments
1515
********
1616

17-
All standard one-line and multiline comments, as described in the `QL language specification
18-
<https://help.semmle.com/QL/ql-spec/language.html#comments>`_, are ignored by the QL
17+
All standard one-line and multiline comments, as described in the "`QL language specification
18+
<https://help.semmle.com/QL/ql-spec/language.html#comments>`_," are ignored by the QL
1919
compiler and are only visible in the source code.
2020
You can also write another kind of comment, namely **QLDoc comments**. These comments describe
2121
QL entities and are displayed as pop-up information in QL editors. For information about QLDoc
22-
comments, see the `QLDoc comment specification <https://help.semmle.com/QL/ql-spec/qldoc.html>`_.
22+
comments, see the "`QLDoc comment specification <https://help.semmle.com/QL/ql-spec/qldoc.html>`_."
2323

2424
The following example uses these three different kinds of comments::
2525

docs/language/ql-handbook/modules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ You can also define a module within another module. This is an explicit module d
110110

111111
An explicit module is defined with the keyword ``module`` followed by
112112
the module name, and then the module body enclosed in braces. It can contain any
113-
of the elements listed in :ref:`module-bodies` below, apart from select clauses.
113+
of the elements listed in ":ref:`module-bodies`" below, apart from select clauses.
114114

115115
For example, you could add the following QL snippet to the library file **OneTwoThreeLib.qll**
116116
defined :ref:`above <library-modules>`::

docs/language/ql-handbook/predicates.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ while ``hasCapital`` is the set of two-tuples ``{("Belgium","Brussels"),("German
3131
The `arity <https://en.wikipedia.org/wiki/Arity>`_ of these predicates is one and two, respectively.
3232

3333
In general, all tuples in a predicate have the same number of elements. The **arity** of
34-
a predicate is that number of elements, not including a possible ``result`` variable (see
35-
:ref:`predicates-with-result`).
34+
a predicate is that number of elements, not including a possible ``result`` variable. For more information, see ":ref:`predicates-with-result`."
3635

3736
There are a number of `built-in predicates <https://help.semmle.com/QL/ql-spec/language.html#built-ins>`_
3837
in QL. You can use these in any queries without needing to :ref:`import <importing-modules>`
@@ -147,7 +146,7 @@ predicate recursively, as shown below::
147146

148147
Now ``getANeighbor("Belgium")`` also returns results, namely ``"France"`` and ``"Germany"``.
149148

150-
For a more general discussion of recursive predicates and queries, see :ref:`recursion`.
149+
For a more general discussion of recursive predicates and queries, see ":ref:`recursion`."
151150

152151
Kinds of predicates
153152
*******************

docs/language/ql-handbook/queries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ file) of the following form::
2929
3030
The ``from`` and ``where`` parts are optional.
3131

32-
Apart from the expressions described in :ref:`expressions`, you can also include:
32+
Apart from the expressions described in ":ref:`expressions`," you can also include:
3333
- The ``as`` keyword, followed by a name. This gives a "label" to a column of results, and allows
3434
you to use them in subsequent select expressions.
3535
- The ``order by`` keywords, followed by the name of a result column, and optionally the

0 commit comments

Comments
 (0)