Skip to content

bitcoindevkit/book-of-bdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Book of BDK

This repository hosts the code and content for the Book of BDK website. We use mkdocs-material to render the website and the content.

Develop locally

To develop locally, you'll need to install mkdocs-material:

pip install mkdocs-material

You can serve the site with just:

just serve

All the rust code can be tested with:

just test

NOTE: Some tests need additional dependencies on macOS such as libiconv.

A Nix shell can be instantiated with:

with import <nixpkgs> { };
mkShell {
  nativeBuildInputs = [
    bashInteractive
    python311Packages.mkdocs-material
    # macOS specifics
    libiconv
    darwin.apple_sdk.frameworks.Security
    darwin.apple_sdk.frameworks.SystemConfiguration
  ];
}