Visit Page
1
0
Fork
You've already forked pages
0
The Black Magic Project Website
  • Python 70%
  • CSS 27.3%
  • Batchfile 1.4%
  • Makefile 1.1%
  • HTML 0.2%
2026年02月24日 11:51:41 +00:00
.github/workflows github: Improvements to how the Sphinx virtual environment is set up 2025年01月06日 18:06:46 +00:00
_assets Add STM32CubeIDE page for debugging and running STM32 targets 2024年09月16日 16:34:57 +01:00
_pinouts pinouts/xilinx-14: Removed some extra whitespace 2023年09月24日 06:27:45 -04:00
_static sphinx: Added project logo and description. 2022年07月03日 22:23:45 -07:00
_templates misc: Added a side bar version documentation picker 2024年12月26日 17:43:28 +00:00
blog blog: updated internal links 2025年10月20日 11:36:55 -06:00
hacking hacking/hacking: Revamped the debug messages section 2024年12月26日 17:43:30 +00:00
knowledge Update JTAG/SWD connector recommendations. 2025年06月27日 16:11:59 +09:30
target-usage misc: fix end of files 2023年01月03日 11:41:24 -05:00
usage usage: rtt: Link to build docs, copy old to 1.x 2025年09月26日 19:41:12 -04:00
v1.x v1.x: Added rtt to the index. 2025年10月15日 19:43:42 -07:00
.gitignore Cleaned up the ignores and included the dev venv 2022年07月03日 10:58:31 -04:00
conf.py sphinx: fixed indentation to tabs 2025年10月16日 21:22:48 -07:00
getting-started.md getting-started: Updated the instructions detailing the different scan modes available 2024年12月26日 17:43:29 +00:00
hardware.md update blackpillv2 to blackpill-f4 2023年06月01日 15:07:09 -04:00
index.md index: Added NO-AI badge linking to our contribution guidelines. 2025年11月27日 12:02:55 -08:00
LICENSE misc: Added a license to the repo so the documentation isn't in license purgatory, made it BSD-3-Clause 2026年02月24日 11:51:41 +00:00
make.bat Initial commit. 2022年07月03日 00:26:12 -07:00
Makefile Initial commit. 2022年07月03日 00:26:12 -07:00
pyproject.toml tabs: replaced platformpicker with inline tabs, and used in upgrade doc. 2025年10月16日 14:14:38 -07:00
README.md Update documentation build environment docs 2024年09月29日 17:37:52 +00:00
requirements.txt tabs: replaced platformpicker with inline tabs, and used in upgrade doc. 2025年10月16日 14:14:38 -07:00
run_livereload.py livereload: Added a shebang to the top of the file to make using it a little more friendly 2023年07月09日 16:07:20 -07:00
supported-targets.md supported-targets: Fixed some markdown lint issues in the support tables 2024年12月26日 17:43:30 +00:00
upgrade.md upgrade: minor rewording to make things clearer/read better 2025年10月20日 11:36:55 -06:00
uv.lock tabs: replaced platformpicker with inline tabs, and used in upgrade doc. 2025年10月16日 14:14:38 -07:00

Welcome to the Black Magic Debug website sources.

Feel free to open issues and pull requests for this repository to add and improve the Black Magic Debug project documentation.

Technical overview

The page is a static autogenerated page using sphinx python documentation generator. The resulting page is then deployed to GitHub pages using GitHub actions.

All pages except the autogenerated code documentation are all written in markdown using the myst_parser sphinx plugin.

Structure

The page is divided into topic sections, autogenerated API documentation (TODO) and a blog (TODO).

Each topic section is in it's own subdirectory.

Local preview/testing

When you write contributions to the website you can autogenerate the page locally on your own computer and preview it locally.

If you have python3 available on your system the process is fairly simple.

NOTE: On MacOS you will also need to install the following brew packages:

brew install python3
brew install cairo
brew install pango
brew install python-tk

NOTE: On a Linux system with a minimal Python 3 install you may need to add the following:

apt install python3-tk

fork the repository to your personal account

If you want to contribute to the documentation it is probably a good idea to fork the black-magic-org GitHub repository first.

clone the website sources

Now that you have a fork clone it and create a working branch.

git clone <path to your user>/black-magic-org
cd black-magic-org
git checkout -b feature/adding-more-docs

Note: Obviously feature/adding-more-docs is a placeholder. The should call it something appropriate to your addition. The convention in black-magic is to use feature/ and fix/ prefixes to the branch names to indicate what kind of an addition this new work branch will be.

create and activate venv

This venv is local to the repository as it will be pretty specific to this project.

python3 -m venv env
source env/bin/activate

update pip

pip install --upgrade pip

install dependencies

pip install -r requirements.txt

start previewer

We have a small script that starts a page preview server locally on your machine.

$ python ./run_livereload.py
[SNIP...] here is a bunch of output from make html output to make sure the static
[SNIP...] page is built before starting the livereload server
[I 200910 13:47:15 server:335] Serving on http://127.0.0.1:5500
[I 200910 13:47:15 handlers:62] Start watching changes
[I 200910 13:47:15 handlers:64] Start detecting changes

Now you can point your browser to http://127.0.0.1:5500, and you should see the Black Magic Debug website.

edit pages

Now every time you edit one of the page markdown files the page will automatically update.

Keep in mind that when you create a new page the live_preload does not always pick it up, so you might have to restart it from time to time.

contribute

We are looking forward to your contributions! :D