File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ const HyperFormula = require('../../dist/hyperformula.full');
4
4
const fs = require ( 'fs' ) ;
5
5
const path = require ( 'path' ) ;
6
6
7
+ const searchPattern = new RegExp ( '^/api' , 'i' ) ;
8
+
7
9
module . exports = {
8
10
title : 'HyperFormula (v' + HyperFormula . version + ')' ,
9
11
description : 'HyperFormula is an open-source, high-performance calculation engine for spreadsheets and web applications.' ,
@@ -37,6 +39,12 @@ module.exports = {
37
39
$page . buildDate = HyperFormula . buildDate
38
40
// inject current HF releaseDate as {{ $page.releaseDate }} variable
39
41
$page . releaseDate = HyperFormula . releaseDate
42
+ // inject current HF function count as {{ $page.functionsCount }} variable
43
+ $page . functionsCount = HyperFormula . getRegisteredFunctionNames ( 'enGB' ) . length
44
+
45
+ if ( searchPattern . test ( $page . path ) ) {
46
+ $page . frontmatter . editLink = false
47
+ }
40
48
} ,
41
49
chainMarkdown ( config ) {
42
50
// inject custom markdown highlight with our aliases to formula syntax
You can’t perform that action at this time.
0 commit comments