Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,12 @@ const config: Config = {
// conversion sees clean structure. See the script header
// for details on what gets transformed.
beforeDefaultRehypePlugins: [require('./scripts/rehype-docusaurus-to-llms.mjs').default],
// Explicit exclusions for routes that are not real content.
// /reference is a client-side redirect React component
// (src/pages/reference/index.tsx) that returns null; without
// this entry the plugin tries to process its empty HTML
// shell and emits a warning.
excludeRoutes: ['/reference'],
},
},
],
Expand Down
2 changes: 1 addition & 1 deletion reference/components/javascript-environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ An object containing all databases defined in Harper. Each database is an object

See [Database API](../database/api.md) for full reference.

### `transaction(fn)`
### `transaction(fn)` {#transaction}

Executes a function inside a database transaction. Changes made within the function are committed atomically, or rolled back if an error is thrown.

Expand Down