Skip to content

Commit 5b1cae5

Browse files
authored
Merge pull request #16076 from github/jf205-patch-1
Make customizing-library-models-for-javascript.rst visible to search and the docs TOC
2 parents ef2e2e4 + d57e8ef commit 5b1cae5

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: docs/codeql/codeql-language-guides/codeql-for-javascript.rst

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Experiment and learn how to write effective and efficient queries for CodeQL dat
1717
using-type-tracking-for-api-modeling
1818
abstract-syntax-tree-classes-for-working-with-javascript-and-typescript-programs
1919
data-flow-cheat-sheet-for-javascript
20+
customizing-library-models-for-javascript
2021

2122
- :doc:`Basic query for JavaScript and TypeScript code <basic-query-for-javascript-code>`: Learn to write and run a simple CodeQL query.
2223

@@ -33,3 +34,5 @@ Experiment and learn how to write effective and efficient queries for CodeQL dat
3334
- :doc:`Abstract syntax tree classes for working with JavaScript and TypeScript programs <abstract-syntax-tree-classes-for-working-with-javascript-and-typescript-programs>`: CodeQL has a large selection of classes for representing the abstract syntax tree of JavaScript and TypeScript programs.
3435

3536
- :doc:`Data flow cheat sheet for JavaScript <data-flow-cheat-sheet-for-javascript>`: This article describes parts of the JavaScript libraries commonly used for variant analysis and in data flow queries.
37+
38+
- :doc:`Customizing library models for JavaScript <customizing-library-models-for-javascript>`: You can model frameworks and libraries that your codebase depends on using data extensions and publish them as CodeQL model packs.

Diff for: docs/codeql/codeql-language-guides/customizing-library-models-for-javascript.rst

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
.. _customizing-library-models-for-javascript:
22

3-
:orphan:
4-
:nosearch:
5-
63
Customizing Library Models for JavaScript
74
=========================================
85

@@ -30,8 +27,6 @@ The CodeQL library for JavaScript exposes the following extensible predicates:
3027
- **typeModel**\(type1, type2, path)
3128
- **summaryModel**\(type, path, input, output, kind)
3229

33-
See the `CLI documentation for how to load and use data extensions in a CodeQL evaluation run <https://docs.google.com/document/d/14IYCHX8wWuU-HTvJ2gPSdXQKHKYbWCHQKOgn8oLaa80/edit#heading=h.m0v53lpi6w2n>`__ (internal access required).
34-
3530
We'll explain how to use these using a few examples, and provide some reference material at the end of this article.
3631

3732
Example: Taint sink in the 'execa' package

0 commit comments

Comments
 (0)