Giter VIP home page Giter VIP logo

btcpayserver-doc's Introduction

BTCPay Server Documentation

Build Status

Introduction

BTCPay Server is an open-source, self-hosted payment processor for Bitcoin and other cryptocurrencies.

If you have trouble using BTCPay Server, consider joining the communities listed on the official website to get help from community members.

Only file a Github issue for technical issues you can't resolve through other channels or feature requests you've validated with other members of community.

Please check out our official website, our complete documentation and FAQ for more details.

Contributing

Pull requests are welcome and appreciated. To contribute to BTCPay Server, first check the contributing guidelines.

If you're beginner, take a look at the step by step guide on how to contribute to BTCPay Server documentation below.

Contributing to Documentation

Build the Documentation Locally

In order to build the website locally, you'll need Node.js >= 12.16 (or basically the latest LTS version). A prerequisite for the setup-deps.sh script is jq.

The setup is straight forward:

# Install dependencies
npm install

# Link external doc repos
./setup-deps.sh

# 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
:::

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.

External documentation repos

The build documentation site combines a bunch of docs living in different repositories.

Before the build we check out the other repositories, copy their docs into the right places and link them just as the docs in this repo.

The process for that is defined in the setup-deps.sh script.

External repos can trigger the docs build whenever they change. You can use GitHub's repository_dispatch feature for this, which is exposed via the API:

curl -X POST https://api.github.com/repos/btcpayserver/btcpayserver-doc/dispatches \
  -u "${{ secrets.GH_PAT }}" \
  -H "Accept: application/vnd.github.everest-preview+json" \
  -H "Content-Type: application/json" \
  --data '{"event_type": "build_docs"}'

The GH_PAT needs to be a personal access token.

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.

Supporters

The BTCPay Server Project is proudly supported by these entities through the BTCPay Server Foundation.

Kraken
Kraken
Square Crypto
Square Crypto
BTSE
BTSE
OKCoin
OKCoin
DG Lab
DG Lab
ACINQ
ACINQ
LunaNode
LunaNode
Wallet of Satoshi
Wallet of Satoshi
Nomics
Nomics

If you'd like to support the project, please visit the donation page.

btcpayserver-doc's People

Contributors

21isenough avatar alevchuk avatar artdesignbysf avatar bitcoinbrisbane avatar britttttk avatar ch4ot1c avatar dennisreimann avatar dimitris-t avatar escapedcat avatar eskyee avatar gambolingpangolin avatar kukks avatar l33d4n avatar linoxbe avatar maltokyo avatar maxhillebrand avatar nicolasdorier avatar normandmickey avatar openoms avatar pavlenex avatar rampelflik avatar riccardomasutti avatar rockstardev avatar rsandrade avatar sipsorcery avatar skwp avatar syndicato-de-gato avatar woutersamaey avatar zaowens avatar zaxounette avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.