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
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
([#1425](https://github.com/o1-labs/mina-rust/issues/1425))
- **Website**: add documentation guidelines
([#1493](https://github.com/o1-labs/mina-rust/pull/1493))
- **Website**: add search bar with Algolia
([#1493](https://github.com/o1-labs/mina-rust/pull/1509))

### Changed

Expand Down
20 changes: 20 additions & 0 deletions website/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ const config: Config = {
onBrokenMarkdownLinks: 'throw',
onBrokenAnchors: 'warn',

// Markdown configuration
markdown: {
hooks: {
onBrokenMarkdownLinks: 'throw',
},
},

// Static directories for assets
staticDirectories: ['static'],

Expand Down Expand Up @@ -94,6 +101,19 @@ const config: Config = {
{property: 'twitter:description', content: 'The Mina Rust Node is a Rust implementation of the Mina Protocol (originally written in OCaml) - a lightweight blockchain using zero knowledge proofs.'},
{property: 'twitter:image', content: 'https://o1-labs.github.io/mina-rust/img/rust-node-social-card.svg'},
],

// Algolia search configuration
// Note: These credentials are safe to commit publicly.
// The apiKey is search-only with read permissions.
algolia: {
appId: '5PSH5CKRTB',
apiKey: '7da6823405ea3b6e55b9d6d8fef3526a',
indexName: 'mina-rust',
contextualSearch: true,
searchParameters: {},
searchPagePath: 'search',
},

navbar: {
title: '',
logo: {
Expand Down
Loading