Skip to content

Commit 841e923

Browse files
authored
Docs: add more links from API reference to the guides (#1553)
1 parent aa5ce76 commit 841e923

4 files changed

Lines changed: 94 additions & 7 deletions

File tree

.eslintrc.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ module.exports = {
9090
'jsdoc/empty-tags': 'warn',
9191
'jsdoc/implements-on-classes': 'warn',
9292
'jsdoc/multiline-blocks': 'warn',
93-
'jsdoc/tag-lines': ['warn', 'never', {
94-
startLines: 1,
95-
}],
9693
'jsdoc/no-multi-asterisks': 'warn',
9794
'jsdoc/require-param-description': 'warn',
9895
'jsdoc/require-param-name': 'warn',

docs/guide/specifications-and-limits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ is running on.
9292
| Number of iterations | Not supported |
9393
| Arguments in function | Limited by system resources (JavaScript) |
9494
| Number of cross-sheet dependencies | Limited by system resources (JavaScript) |
95-
| Number of dependencies in a single cell | Limited by system resources (JavaScript) |
95+
| Number of dependencies in a single cell | Limited by system resources (JavaScript) |

src/ConfigParams.ts

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ export interface ConfigParams {
1212
* When set to `true`, makes string comparison accent-sensitive.
1313
*
1414
* Applies only to comparison operators.
15+
*
16+
* For more information, see the [Types of operators guide](/guide/types-of-operators.md#comparing-strings).
1517
* @default false
1618
* @category String
1719
*/
@@ -20,6 +22,8 @@ export interface ConfigParams {
2022
* When set to `true`, makes string comparison case-sensitive.
2123
*
2224
* Applies to comparison operators only.
25+
*
26+
* For more information, see the [Types of operators guide](/guide/types-of-operators.md#comparing-strings).
2327
* @default false
2428
* @category String
2529
*/
@@ -30,6 +34,8 @@ export interface ConfigParams {
3034
* When set to `lower`, lower case sorts first.
3135
*
3236
* When set to `false`, uses the locale's default.
37+
*
38+
* For more information, see the [Types of operators guide](/guide/types-of-operators.md#comparing-strings).
3339
* @default 'lower'
3440
* @category String
3541
*/
@@ -41,12 +47,16 @@ export interface ConfigParams {
4147
* - `DenseSparseChooseBasedOnThreshold`: sets the address mapping policy separately for each sheet, based on fill ratio.
4248
* - `AlwaysDense`: uses `DenseStrategy` for all sheets.
4349
* - `AlwaysSparse`: uses `SparseStrategy` for all sheets.
50+
*
51+
* For more information, see the [Performance guide](/guide/performance.md).
4452
* @default AlwaysDense
4553
* @category Engine
4654
*/
4755
chooseAddressMappingPolicy: ChooseAddressMapping,
4856
/**
4957
* A generic parameter that can be used to pass data to custom functions.
58+
*
59+
* For more information, see the [Custom functions guide](/guide/custom-functions.md).
5060
* @default undefined
5161
* @category Engine
5262
*/
@@ -115,13 +125,17 @@ export interface ConfigParams {
115125
evaluateNullToZero: boolean,
116126
/**
117127
* Lists additional function plugins to be used by the formula interpreter.
128+
*
129+
* For more information, see the [Custom functions guide](/guide/custom-functions.md).
118130
* @default []
119131
* @category Formula Syntax
120132
*/
121133
// eslint-disable-next-line @typescript-eslint/no-explicit-any
122134
functionPlugins: any[],
123135
/**
124136
* When set to `true`, string comparison ignores punctuation.
137+
*
138+
* For more information, see the [Types of operators guide](/guide/types-of-operators.md#comparing-strings).
125139
* @default false
126140
* @category String
127141
*/
@@ -149,7 +163,7 @@ export interface ConfigParams {
149163
*
150164
* For compatibility with Lotus 1-2-3 and Microsoft Excel, set this option to `true`.
151165
*
152-
* For more information, see [nullDate](/api/interfaces/configparams.md#nulldate).
166+
* For more information, see the [Date and time handling guide](/guide/date-and-time-handling.md) and [nullDate](/api/interfaces/configparams.md#nulldate).
153167
* @default false
154168
* @category Date and Time
155169
*/
@@ -186,12 +200,16 @@ export interface ConfigParams {
186200
matchWholeCell: boolean,
187201
/**
188202
* Sets a column separator symbol for array notation.
203+
*
204+
* For more information, see the [Arrays guide](/guide/arrays.md).
189205
* @default ','
190206
* @category Formula Syntax
191207
*/
192208
arrayColumnSeparator: ',' | ';',
193209
/**
194210
* Sets a row separator symbol for array notation.
211+
*
212+
* For more information, see the [Arrays guide](/guide/arrays.md).
195213
* @default ';'
196214
* @category Formula Syntax
197215
*/
@@ -226,6 +244,8 @@ export interface ConfigParams {
226244
* If `xx` is less or equal to `nullYear`, two-digit year values become `20xx`.
227245
*
228246
* If `xx` is more than `nullYear`, two-digit year values become `19xx`.
247+
*
248+
* For more information, see the [Date and time handling guide](/guide/date-and-time-handling.md).
229249
* @default 30
230250
* @category Date and Time
231251
*/
@@ -360,6 +380,8 @@ export interface ConfigParams {
360380
* Using column index improves efficiency of the `VLOOKUP` and `MATCH` functions, but increases memory usage.
361381
*
362382
* When searching with wildcards or regular expressions, column search strategy falls back to binary search (even with `useColumnIndex` set to `true`).
383+
*
384+
* For more information, see the [Performance guide](/guide/performance.md).
363385
* @default false
364386
* @category Engine
365387
*/
@@ -374,6 +396,8 @@ export interface ConfigParams {
374396
useStats: boolean,
375397
/**
376398
* Sets the number of elements kept in the undo history.
399+
*
400+
* For more information, see the [Undo-Redo guide](/guide/undo-redo.md).
377401
* @default 20
378402
* @category Undo and Redo
379403
*/

0 commit comments

Comments
 (0)