Skip to content

Commit a3fc2ea

Browse files
authored
Merge pull request #2834 from shati-patel/2160-prep-ql-language
Minor update to QL language topics
2 parents c95f58c + c5eec30 commit a3fc2ea

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

docs/language/ql-handbook/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Table of contents
2121
*****************
2222

2323
.. toctree::
24-
:numbered: 3
2524
:maxdepth: 3
2625

2726
predicates
@@ -42,4 +41,4 @@ Index and search
4241
****************
4342

4443
* :ref:`genindex`
45-
* :ref:`search`
44+
* :ref:`search`

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ All standard one-line and multiline comments, as described in the `QL language s
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 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-spec/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ QL specifications
66

77
For a formal specification of the QL language, including a description of syntax, terminology, and other technical details, please consult the QL language specification.
88

9-
For information on the terminology and syntax used in QLDoc comments, please consult the QLDoc specification.
9+
For information on the terminology and syntax used in QLDoc comments, please consult the QLDoc comment specification.
1010

1111
.. toctree::
1212
:maxdepth: 2

docs/language/ql-spec/qldoc.rst

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
1-
QLDoc specification
2-
===================
1+
QLDoc comment specification
2+
===========================
33

4-
This document is a specification for QLDoc comments in QL source files.
4+
This document is a formal specification for QLDoc comments.
5+
6+
About QLDoc comments
7+
--------------------
8+
9+
You can provide documentation for a QL entity by adding a QLDoc comment in the source file. The QLDoc comment is displayed as pop-up information in QL editors, for example when you hover over a predicate name.
510

611
Notation
712
--------
@@ -36,7 +41,7 @@ Content
3641

3742
The content of a QLDoc comment is interpreted as standard Markdown, with the following extensions:
3843

39-
- Fenced code blocks using \`s.
44+
- Fenced code blocks using backticks.
4045
- Automatic interpretation of links and email addresses.
4146
- Use of appropriate characters for ellipses, dashes, apostrophes, and quotes.
4247

0 commit comments

Comments
 (0)