I write educational content about Bitcoin.
- First, you need to have a GitHub account. If you don't know how to create an account, we have made a detailed tutorial to guide you.
- Go to the GitHub repository of PlanB dedicated to data in the
resources/books/section: - Click on the top right on the
Add filebutton, then onCreate new file: - If you have never contributed to the contents of Plan ₿ Academy before, you will need to create your fork of the original repository. Forking a repository means creating a copy of that repository on your own GitHub account, allowing you to work on the project without affecting the original repository. Click on the
Fork this repositorybutton: - You will then arrive at the GitHub editing page:
- Create a folder for your book. To do this, in the
Name your file...box, write the name of your book in lowercase with dashes instead of spaces. For example, if your book is called "My Bitcoin Book", you should notemy-bitcoin-book: - To validate the creation of the folder, simply add a slash after your book name in the same box, for example:
my-bitcoin-book/. Adding a slash automatically creates a folder rather than a file: - In this folder, you will create a first YAML file named
book.yml: - Fill this file with information about your book using this template:
author: level: tags: - -
author: Indicate the name of the book's author.level: Indicate the required level to be able to read and understand the book well. Choose a level among the following:beginnerintermediate
advanced-experttags: Add two or three tags related to your book. For example:bitcoinhistorytechnologyeconomyeducation...
author: Loïc Morel level: beginner tags: - bitcoin - technology
- Once you have finished making changes to this file, save them by clicking on the
Commit changes...button: - Add a title for your changes, as well as a short description:
- Click on the green
Propose changesbutton: - You will then arrive at a page summarizing all your changes:
- Click on your GitHub profile picture at the top right, then on
Your Repositories: - Select your fork of the Plan ₿ Academy repository:
- You should see a notification at the top of the window with your new branch. It's probably called
patch-1. Click on it: - You are now on your working branch:
- Go back to the
resources/books/folder and select the folder of your book that you just created in the previous commit: - In the folder of your book, click on the
Add filebutton, then onCreate new file: - Name this new folder
assetsand confirm its creation by putting a slash/at the end: - In this
assetsfolder, create a file named.gitkeep: - Click on the
Commit changes...button: - Leave the commit title as default, and make sure the
Commit directly to the patch-1 branchbox is checked, then click onCommit changes: - Return to the
assetsfolder: - Click on the
Add filebutton, then onUpload files: - A new page will open. Drag and drop the cover image of your book into the area. This image will be displayed on the Plan ₿ Academy site:
- Be careful, the image must be in the format of a book, to best adapt to our website, like for example:
- Once the image is uploaded, make sure the
Commit directly to the patch-1 branchbox is checked, then click onCommit changes: - Please note, your image must be namedcover_enif the cover is in English and must be in.webpformat. Therefore, the complete file name should becover_en.webp,cover_fr.webp,cover_it.webp, etc. If you wish to use a different cover image for each language, for example in the case of a book translation, you can place them in the same location in theassetsfolder: - Go back to your
assetsfolder and click on the.gitkeepintermediary file: - Once on the file, click on the 3 small dots at the top right and then on
Delete file: - Ensure you are still on the same working branch, then click on the
Commit changes...button: - Add a title and description to your commit, then click on
Commit changes: - Return to your book's folder:
- Click on the
Add filebutton, then onCreate new file: - Create a new YAML file by naming it with the language indicator of the book. This file will be used for the book's description. For example, if I want to write my description in English, I will name this file
en.yml: - Fill out this YAML file using this template:
title: "" publication_year: cover: cover_en.webp original: true description: | contributors: -
title: Indicate the name of the book in quotes.publication_year: Indicate the year the book was published.cover: Indicate the name of the file corresponding to the cover image, in accordance with the language of the YAML file you are currently editing. For example, if you are editing theen.ymlfile and you have previously added the English cover image titledcover_en.webp, simply indicatecover_en.webpin this field.description: Add a short paragraph that describes the book. The description must be in the same language as indicated in the title of the YAML file.contributors: Add your contributor ID if you have one.
title: "My Bitcoin Book" publication_year: 2021 cover: cover_en.webp original: true description: | Discover the groundbreaking world of Bitcoin with this comprehensive guide tailored for beginners. My Bitcoin Book demystifies the complexities of Bitcoin, providing a clear and concise introduction to how the protocol works. From its revolutionary technology to its potential impact on the global economy, this book offers invaluable insights and practical knowledge. Perfect for those new to Bitcoin, it covers the basics, security tips, and the future of digital finance. Dive into the future of money and empower yourself with the knowledge to navigate the digital age confidently. contributors: - pretty-private
- Click on the
Commit changes...button: - Ensure the
Commit directly to the patch-1 branchbox is checked, add a title, then click onCommit changes: - The book folder should now look like this:
- If everything looks good to you, return to the root of your fork:
- You should see a message indicating that your branch has been modified. Click on the
Compare & pull requestbutton: - Add a clear title and a description to your PR:
- Click on the
Create pull requestbutton:
Pull requests tab on the Plan ₿ Academy's GitHub repository:
Thank you very much for your valuable contribution! :)Author
This tutorial has been written by Loïc Morel
You can say thanks by tipping the professor.
Credits
This tutorial has not been proofread yet
The original content has been translated by AI, but human review is necessary to ensure its accuracy.
2 553 sats1 277 sats639 satsEvery content on the platform is the result of a collaborative effort: each lesson, translation, and revision is made possible by the work of contributors. For this reason, we are always looking for proofreaders who can review our content in many languages. If you want to participate in the proofreading process, please reach out in our Telegram group and read our tutorial. We remind you that this content is open-source - licensed under CC BY-SA - so it can be freely shared and used, as long as the original source is credited.

