All Projects → bitcoindevkit → bitcoindevkit.org

bitcoindevkit / bitcoindevkit.org

Licence: other
BDK project home page (originally magicalbitcoin.org 🧙)

Programming Languages

javascript
184084 projects - #8 most used programming language
rust
11053 projects
HTML
75241 projects

Projects that are alternatives of or similar to bitcoindevkit.org

blog
luna-blog
Stars: ✭ 26 (+4%)
Mutual labels:  vuepress
thegreatmarkdown
《了不起的 Markdown》
Stars: ✭ 44 (+76%)
Mutual labels:  vuepress
ariona.net
Main repository for my site.
Stars: ✭ 19 (-24%)
Mutual labels:  vuepress
vuepress-theme-mini
🎨 A minimal blogging theme of VuePress.
Stars: ✭ 21 (-16%)
Mutual labels:  vuepress
vue-bangalore
VueBLR Meetup Resources, Requests & Proposals
Stars: ✭ 37 (+48%)
Mutual labels:  vuepress
vuepress-theme-canvas
✏️ Vuepress custom theme for blogging.
Stars: ✭ 24 (-4%)
Mutual labels:  vuepress
vuepress-theme-cool
A custom vuepress theme with mermaid and plantuml, katex and vue components.
Stars: ✭ 57 (+128%)
Mutual labels:  vuepress
doxybook2
Doxygen XML to Markdown (or JSON)
Stars: ✭ 140 (+460%)
Mutual labels:  vuepress
vuepress-plugin-cursor-effects
🎉 Add a cute click effect to your mouse in your vuepress!
Stars: ✭ 18 (-28%)
Mutual labels:  vuepress
github-pages-vuepress
Build a static website using VuePress and deploy to Github Pages
Stars: ✭ 20 (-20%)
Mutual labels:  vuepress
vuepress-plugin-demo-code
📝 Demo and code plugin for vuepress
Stars: ✭ 119 (+376%)
Mutual labels:  vuepress
vuepress-theme-simple
✏️ Very Simple Blog Theme for VuePress
Stars: ✭ 89 (+256%)
Mutual labels:  vuepress
vuepress-theme-oneN
🎈 A vuepress theme for oneN
Stars: ✭ 53 (+112%)
Mutual labels:  vuepress
vuepress-theme-book
A VuePress theme inspired by Gitbook
Stars: ✭ 107 (+328%)
Mutual labels:  vuepress
vuepress-plugin-example-preview
Easily display the preview of a code snippet
Stars: ✭ 15 (-40%)
Mutual labels:  vuepress
zksync-docs
zkSync documentation
Stars: ✭ 52 (+108%)
Mutual labels:  vuepress
vite-wiki
📄The Vite Wiki
Stars: ✭ 37 (+48%)
Mutual labels:  vuepress
SorryPress
Sorry动图 VuePress版
Stars: ✭ 25 (+0%)
Mutual labels:  vuepress
documentation
Pterodactyl's documentation is open source! This repository contains the documentation for installing and updating both the panel and the daemon.
Stars: ✭ 99 (+296%)
Mutual labels:  vuepress
docs.getleon.ai
📝 Main documentation of Leon.
Stars: ✭ 23 (-8%)
Mutual labels:  vuepress

bitcoindevkit.org

Build Status

Build the Documentation Locally

In order to build the website locally, you'll need Node.js >= 14.16 (or basically the latest LTS version).

The setup is straight forward:

# Install dependencies
npm install

# Serve locally (by default on port 8080)
npm start

Text Highlights

There are three types of text highlights that can be used to display different colored boxes.

A green box displaying a friendly tip:

:::tip
foo
:::

A yellow box with a cautious warning:

:::warning
foo
:::

A red box with a clear danger, you can also add a title foo to any container:

:::danger foo
bar
:::

SEO improvements

We are using the Vuepress SEO plugin to add relevant meta tags to the site and individual pages.

To improve the meta attributes of a specific page, you can add them as YAML frontmatter like this: (see the WooCommerce page for an example)

---
description: How to integrate BDK
tags:
- Bitcoin
- BDK
---
# BDK integration

This document explains how to **integrate BDK into your stack**.

Embedding YouTube videos

To add a YouTube video with a preview, you can so so by linking to it like this:

[![IMAGE ALT TEXT HERE](https://img.youtube.com/vi/YOUTUBE_VIDEO_ID_HERE/mqdefault.jpg)](https://www.youtube.com/watch?v=YOUTUBE_VIDEO_ID_HERE)

Note that the link item need to be a preview image (either from YouTube or a custom one) to result in an embedded video.

Check for broken links

The GitHub Actions pipeline checks for broken links after deploying the production site. You can also run the link check locally using npm run linkcheck:local. The dev server needs to be running alongside for this to work.

Generating docs-rs

To create or re-create the contents of static/docs-rs/bdk/<release>, copy the contents of the bdk/target/doc directory after running the below commands from the bdk project directory:

cargo clean
cargo +nightly rustdoc --features=compiler,electrum,esplora,compact_filters,key-value-db -- --cfg docsrs

A nightly toolchain is required because some cool features, like intra_rustdoc_links and doc_cfg, are still unstable.

Adding a blog post

Add a markdown file to content/blog/<year/<name>.md. At the beginning of the file add the following header:

---
title: "<post title>"
description: "<post description>"
author: "<author>"
date: "<date in yyyy-mm-dd format>"
tags: ["<tag1>", "<tag2>"]
hidden: true
draft: false
---

After that header you can type your post using markdown.

The title will be shown on top of the page, together with the list of tags. The description won't be shown, it's only used in the HTML metadata, so if you want to show it, you will have to copy it as part of the content that comes after the header.

If you need to add static data like pictures you can make a folder called static/blog/<year>/<name> and store everything you need in there.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].