Skip to content

Commit

Permalink
Fix so docs can be built under 3.0 (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulimo authored Dec 3, 2023
1 parent 9db4cf8 commit 57a71ec
Show file tree
Hide file tree
Showing 6 changed files with 670 additions and 1,543 deletions.
5 changes: 4 additions & 1 deletion docs/docs/expressions/scalarfunctions/boolean.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ An argument into the *Or* function that is not a boolean will be the same as the

Implements Kleene logic with the following truth table:

```
+------+-------+-----+-----+-----+
| | **B** |
+ **A OR B** +-----+-----+-----+
Expand All @@ -24,7 +25,7 @@ Implements Kleene logic with the following truth table:
+ +-------+-----+-----+-----+
| | **T** | T | T | T |
+------+-------+-----+-----+-----+

```
F = False, T = True, N = Null

### SQL Usage
Expand All @@ -42,6 +43,7 @@ An argument into the *And* function that is not a boolean will be the same as th

Implements Kleene logic with the following truth table:

```
+------+-------+-----+-----+-----+
| | **B** |
+ **A AND B** +-----+-----+-----+
Expand All @@ -53,6 +55,7 @@ Implements Kleene logic with the following truth table:
+ +-------+-----+-----+-----+
| | **T** | F | N | T |
+------+-------+-----+-----+-----+
```

F = False, T = True, N = Null

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ WHERE t.val = 123;
var plan = sqlBuilder.GetPlan();
```

Replace all values with that are between { } with your own table names in your SQL Server.
Replace all values with that are between \{ \} with your own table names in your SQL Server.

## Setting up a read and write factory

Expand Down
4 changes: 2 additions & 2 deletions docs/docs/monitoring/azuremonitor.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ builder.Services.AddOpenTelemetry()
});
```

Replace *{your connection string}* with your application insights connection string. This will then start uploading custom metrics to your Application Insights in Azure Monitor.
Replace *\{your connection string\}* with your application insights connection string. This will then start uploading custom metrics to your Application Insights in Azure Monitor.

## Health check export

Expand All @@ -50,7 +50,7 @@ builder.Services.AddHealthChecks()
.AddApplicationInsightsPublisher("{your connection string}");
```

Replace *{your connection string}* with your application insights connection string. You should now see custom events being published to Application Insights
Replace *\{your connection string\}* with your application insights connection string. You should now see custom events being published to Application Insights
with health check information.

## Sample
Expand Down
7 changes: 4 additions & 3 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');

async function createConfig() {
const { remarkKroki } = await import('remark-kroki');
const remarkGridTables = require('remark-grid-tables')
//const remarkGridTables = require('remark-grid-tables')


/** @type {import('@docusaurus/types').Config} */
Expand Down Expand Up @@ -50,9 +50,10 @@ async function createConfig() {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
remarkPlugins: [
[remarkKroki, { server: 'https://kroki.io', alias: ['blockdiag', 'kroki' ]}]
[remarkKroki, { server: 'https://kroki.io', alias: ['blockdiag', 'kroki' ]}],
// [remarkGridTables, {}]
],
rehypePlugins: [remarkGridTables],
//rehypePlugins: [remarkGridTables],
// Please change this to your repo.
// Remove this to remove the "edit this page" links.
editUrl:
Expand Down
16 changes: 8 additions & 8 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@
"typecheck": "tsc"
},
"dependencies": {
"@docusaurus/core": "3.0.0",
"@docusaurus/preset-classic": "3.0.0",
"@mdx-js/react": "^1.6.22",
"@docusaurus/core": "^3.0.1",
"@docusaurus/preset-classic": "^3.0.1",
"@mdx-js/react": "^3.0.0",
"clsx": "^1.2.1",
"docusaurus-lunr-search": "^3.2.0",
"docusaurus-lunr-search": "^3.3.0",
"prism-react-renderer": "^1.3.5",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"remark-grid-tables": "^2.2.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "2.4.3",
"@docusaurus/module-type-aliases": "^3.0.1",
"@tsconfig/docusaurus": "^1.0.5",
"remark-kroki": "^0.2.10",
"typescript": "^4.7.4"
Expand All @@ -44,6 +44,6 @@
]
},
"engines": {
"node": ">=16.14"
"node": ">=18.0"
}
}
Loading

0 comments on commit 57a71ec

Please sign in to comment.