Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8262435

Browse files
author
james
committed
further changes following review
1 parent 52d6503 commit 8262435

11 files changed

Lines changed: 68 additions & 67 deletions

File tree

docs/codeql/codeql-cli/codeql-cli-reference/about-ql-packs.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ the CodeQL repository.
145145

146146
When you create a custom QL pack, it's usually a good idea to add it to the search path in your CodeQL configuration.
147147
This will ensure that any libraries the pack contains are available to the CodeQL CLI.
148-
For more information, see ":doc:`Specifying command options in a CodeQL configuration file <../codeql-cli-reference/specifying-command-options-in-a-codeql-configuration-file>`."
148+
For more information, see ":ref:`Specifying command options in a CodeQL configuration file <specifying-command-options-in-a-codeql-configuration-file>`."
149149

150150
QL packs for custom test files
151151
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

docs/codeql/codeql-cli/codeql-cli-reference/index.rst

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,20 @@ Learn more about the files you can use when running CodeQL processes and the res
1212
about-ql-packs
1313
query-reference-files
1414
sarif-output
15-
specifying-command-options-in-a-codeql-configuration-file
1615
exit-codes
1716

1817

1918
- :doc:`About QL packs <about-ql-packs>`: QL packs are used to organize the files used in CodeQL analysis. They
2019
contain queries, library files, query suites, and important metadata.
2120
- :doc:`Query reference files <query-reference-files>`: A query reference file is text file that defines the location of one query to test.
2221
- :doc:`SARIF output <sarif-output>`: CodeQL supports SARIF as an output format for sharing static analysis results.
23-
- :doc:`Specifying command options in a CodeQL configuration file <specifying-command-options-in-a-codeql-configuration-file>`:
24-
You can save default or frequently used options for your commands in a per-user configuration file.
2522
- :doc:`Exit codes <exit-codes>`: The CodeQL CLI reports the status of each command it runs as an exit code.
2623
This exit code provides information for subsequent commands or for other tools that rely on the CodeQL CLI.
2724

2825
.. _cli-commands:
2926

30-
CodeQL CLI commands
31-
-------------------
27+
CodeQL CLI manual
28+
-----------------
3229

3330
To view provide detailed information about each CodeQL CLI command,
3431
including its usage and options, visit the "`CodeQL CLI manual <../codeql-cli-manual>`__."

docs/codeql/codeql-cli/codeql-cli-reference/query-reference-files.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ A query reference file to test a JavaScript alert query:
4040
The `QL pack <https://github.com/github/codeql/blob/main/javascript/ql/test/qlpack.yml>`__
4141
for the ``javascript/ql/test`` directory defines the ``codeql-javascript`` queries as
4242
a dependency. So the query reference file defines the location of the query relative
43-
to the ``codeql-javascript`` QL pack:
43+
to the ``codeql-javascript`` QL pack::
4444

4545
AngularJS/DeadAngularJSEventListener.ql
4646

docs/codeql/codeql-cli/using-the-codeql-cli/getting-started-with-the-codeql-cli.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ executable in a couple of ways:
184184
can run the executable as just ``codeql``.
185185

186186
At this point, you can execute CodeQL commands. For a full list of the CodeQL
187-
CLI commands, see the ":ref:`CodeQL CLI reference <codeql-cli-reference>`."
187+
CLI commands, see the "`CodeQL CLI manual <../../codeql-cli-manual>`__."
188188

189189
.. pull-quote:: Note
190190

docs/codeql/codeql-cli/using-the-codeql-cli/index.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ See the following links to learn how to get set up and run CodeQL commands:
4141
Test query help files by rendering them as markdown to ensure they are valid
4242
before uploading them to the CodeQL repository or using them in code scanning.
4343

44+
- :doc:`Specifying command options in a CodeQL configuration file <specifying-command-options-in-a-codeql-configuration-file>`:
45+
You can save default or frequently used options for your commands in a per-user configuration file.
46+
4447
.. toctree::
4548
:titlesonly:
4649
:hidden:
@@ -53,4 +56,5 @@ See the following links to learn how to get set up and run CodeQL commands:
5356
using-custom-queries-with-the-codeql-cli
5457
creating-codeql-query-suites
5558
testing-custom-queries
56-
testing-query-help-files
59+
testing-query-help-files
60+
Specifying command options <specifying-command-options-in-a-codeql-configuration-file>

docs/codeql/codeql-cli/codeql-cli-reference/specifying-command-options-in-a-codeql-configuration-file.rst renamed to docs/codeql/codeql-cli/using-the-codeql-cli/specifying-command-options-in-a-codeql-configuration-file.rst

File renamed without changes.

docs/codeql/codeql-cli/using-the-codeql-cli/testing-custom-queries.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ When the test runs it:
231231
``codeql test run --search-path=java java/tests/EmptyThen``
232232

233233
For information about saving the search path as part of your configuration, see
234-
":doc:`Specifying command options in a CodeQL configuration file <../codeql-cli-reference/specifying-command-options-in-a-codeql-configuration-file>`."
234+
":ref:`Specifying command options in a CodeQL configuration file <specifying-command-options-in-a-codeql-configuration-file>`."
235235
#. Executes the test by running the query and generating an ``EmptyThen.actual`` results file.
236236
#. Checks for an ``EmptyThen.expected`` file to compare with the ``.actual`` results file.
237237
#. Reports the results of the test --- in this case, a failure: ``0 tests passed; 1 tests failed:``.

docs/codeql/codeql-language-guides/codeql-for-java/codeql-library-for-java.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ The wildcards ``? extends Number`` and ``? super Float`` are represented by clas
198198

199199
For dealing with generic methods, there are classes ``GenericMethod``, ``ParameterizedMethod`` and ``RawMethod``, which are entirely analogous to the like-named classes for representing generic types.
200200

201-
For more information on working with types, see the :doc:`article on Java types <types-in-java>`.
201+
For more information on working with types, see the :doc:`Types in Java <types-in-java>`.
202202

203203
Variables
204204
~~~~~~~~~

docs/codeql/codeql-language-guides/codeql-for-java/types-in-java.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. _types-in-java:
22

3-
Java types
4-
==========
3+
Types in Java
4+
=============
55

66
You can use CodeQL to find out information about data types used in Java code. This allows you to write queries to identify specific type-related issues.
77

0 commit comments

Comments
 (0)