Skip to content

Commit 65a048b

Browse files
author
james
committed
address docs review comments
1 parent f7fe7c0 commit 65a048b

File tree

10 files changed

+31
-20
lines changed

10 files changed

+31
-20
lines changed

.github/workflows/generate-query-help-docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
with:
4848
docs-folder: "query-help/"
4949
pre-build-command: "python -m pip install --upgrade recommonmark"
50-
build-command: "sphinx-build -b html . _build"
50+
build-command: "sphinx-build -b dirhtml . _build"
5151
- name: Upload HTML artifacts
5252
uses: actions/upload-artifact@v2
5353
with:

docs/codeql/query-help/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@
5757
# List of patterns, relative to source directory, that match files and
5858
# directories to ignore when looking for source files.
5959

60-
exclude_patterns = ['toc-*'] # ignore toc-<lang>.rst files as they are 'included' in index pages
60+
exclude_patterns = ['toc-*', 'readme.md'] # ignore toc-<lang>.rst files as they are 'included' in index pages

docs/codeql/query-help/cpp.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
C and C++ query help
2-
=====================
1+
CodeQL query help for C and C++
2+
===============================
33

44
.. include:: ../reusables/query-help-overview.rst
55

docs/codeql/query-help/csharp.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
C# query help
2-
=============
1+
CodeQL query help for C#
2+
========================
33

44
.. include:: ../reusables/query-help-overview.rst
55

docs/codeql/query-help/go.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Go query help
2-
=============
1+
CodeQL query help for Go
2+
========================
33

44
.. include:: ../reusables/query-help-overview.rst
55

docs/codeql/query-help/index.rst

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,27 @@ CodeQL query help
33

44
View the query help for the queries included in the ``code-scanning``, ``security-extended``, and ``security-and-quality`` query suites for the languages supported by CodeQL.
55

6-
Each query help article includes:
6+
- :doc:`CodeQL query help for C and C++ <cpp>`
7+
- :doc:`CodeQL query help for C# <csharp>`
8+
- :doc:`CodeQL query help for Go <go>`
9+
- :doc:`CodeQL query help for Java <java>`
10+
- :doc:`CodeQL query help for JavaScript <javascript>`
11+
- :doc:`CodeQL query help for Python <python>`
712

8-
- A summary of key metadata for the query.
9-
- Information about which query suites the query is included in.
10-
- A link to the query in the `CodeQL repository <https://github.com/github/codeql>`__.
11-
- A description of the potential vulnerability that the query identifies and a recommendation for how to avoid introducing the problem to your code.
13+
14+
.. pull-quote:: Information
15+
16+
Each query help article includes:
17+
18+
- A summary of key metadata for the query.
19+
- Information about which query suites the query is included in.
20+
- A link to the query in the `CodeQL repository <https://github.com/github/codeql>`__.
21+
- A description of the potential vulnerability that the query identifies and a recommendation for how to avoid introducing the problem to your code.
1222

1323
.. toctree::
24+
:hidden:
1425
:titlesonly:
15-
26+
1627
cpp
1728
csharp
1829
go

docs/codeql/query-help/java.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Java query help
2-
===============
1+
CodeQL query help for Java query
2+
================================
33

44
.. include:: ../reusables/query-help-overview.rst
55

docs/codeql/query-help/javascript.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
JavaScript query help
2-
=====================
1+
CodeQL query help for JavaScript
2+
================================
33

44
.. include:: ../reusables/query-help-overview.rst
55

docs/codeql/query-help/python.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Python query help
2-
=================
1+
CodeQL query help for Python
2+
============================
33

44
.. include:: ../reusables/query-help-overview.rst
55

File renamed without changes.

0 commit comments

Comments
 (0)