From 4df60e714ceaf3242981d504defefc1701ec3a8d Mon Sep 17 00:00:00 2001 From: Katie Geerling <72274725+punnypenguins@users.noreply.github.com> Date: Wed, 17 Nov 2021 20:13:07 -0600 Subject: [PATCH 01/12] Adding templates Edited `card-template.md`, added new content, and created `board-template.md`. --- board-template.md | 28 ++++++++++++++++++++++++++++ card-template.md | 35 ++++++++++++++++++++++++----------- 2 files changed, 52 insertions(+), 11 deletions(-) create mode 100644 board-template.md diff --git a/board-template.md b/board-template.md new file mode 100644 index 000000000..ad23770df --- /dev/null +++ b/board-template.md @@ -0,0 +1,28 @@ +--- +layout: board +title: "Name of Board Here" +short_description: Insert a single sentence summary of the board here. +status: Here +picture: "/images/board-(and-then-insert-name-here-without-parentheses).jpg" +github_issue: "https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/ID-here" +link: https://amzn.to/product-link-here +videos: [] +--- +### Create a new file in the `_boards_cm` directory. + +1. Title it with the board name in all-lowercase, using dashes to separate words. +2. Save it as Markdown file (.md extension). +3. Paste the contents of this template into the new file. +4. Replace all the values in its top section with the proper information: + - `layout`: Should be left alone! Don't change this. + - `title`: Replace *Name of Board Here* with the full name of the board. + - `short_description`: + - `status`: Can be one of these: + * prototype + * production + - `picture`: Can have a path to a picture like `/images/[type]-card.jpg`, or `false`. Make sure you remember to drop the image into the `images` folder before you submit your pull request! + - `github_issue`: Should link to the GitHub issue corresponding to this card. + - `link`: should link to the Amazon product page for this card. If no Amazon listing is available, you can substitute a different website instead. + - `videos`: Is a list of YouTube video URLs. If there is a video to add, delete the `[]`, hit return, tab in once, add a dash, press the spacebar, and then paste the video url. + +Finally, replace all content below the second `---` line with a description of the board, save your changes, and submit the finished entry via pull request. diff --git a/card-template.md b/card-template.md index 2ac3809df..5ed3caf88 100644 --- a/card-template.md +++ b/card-template.md @@ -1,20 +1,33 @@ --- layout: card title: "Name of Card Here" -picture: "/images/name-of-image-here.jpg" -functionality: "Currently Testing" -driver_required: "Yes" +picture: "/images/[card type]-(and-then-insert-name-here-without-parentheses).jpg" +functionality: "Functionality goes here" +driver_required: "Answer goes here" github_issue: "https://github.com/geerlingguy/raspberry-pi-pcie-devices/issues/ID-here" buy_link: https://amzn.to/product-link-here videos: [] --- -Copy this template into the appropriate `_cards_[type]` directory, and replace all the values above with the proper information: +### Create a new file in the appropriate `_cards_[type]` directory. - - `picture`: can have a path to a picture like `/images/[type]-card.jpg`, or `false` - - `functionality`: can be one of "Currently Testing", "Full", "Partial", or "None" - - `driver_required`: can be one of "Yes", "Maybe", or "No" - - `github_issue`: should link to the GitHub issue corresponding to this card. - - `buy_link`: should link to the Amazon product page for this card. - - `videos`: is a list of YouTube video URLs. +1. Title it with the card name in all-lowercase, using dashes to separate words. +2. Save it as Markdown file (.md extension). +3. Paste the contents of this template into the new file. +4. Replace all the values in its top section with the proper information: + - `layout`: Should be left alone! Don't change this. + - `title`: Replace *Name of Card Here* with the full name of the board. + - `picture`: Can have a path to a picture like `/images/[card type]-card-name.jpg`, or `false`. Make sure you remember to drop the image into the `images` folder before you submit your pull request! + - `functionality`: Can be one of the following: + * "Currently Testing" + * "Full" + * "Partial" + * "None" + - `driver_required`: Can be one of the following: + * "Yes" + * "Maybe" + * "No" + - `github_issue`: Should link to the GitHub issue corresponding to this card. + - `buy_link`: Should link to the Amazon product page for this card. If no Amazon listing is available, you can substitute a different website instead. + - `videos`: Is a list of YouTube video URLs. If there is a video to add, delete the `[]`, hit return, tab in once, add a dash, press the spacebar, and then paste the video url. -Then replace the text in this area with a description of the card. +Finally, replace all content below the second `---` line with a description of the card, save your changes, and submit the finished entry via pull request. From b1730956b3d39c850e221b2d7d518ed8732b6113 Mon Sep 17 00:00:00 2001 From: Katie Geerling <72274725+punnypenguins@users.noreply.github.com> Date: Fri, 19 Nov 2021 00:20:39 -0600 Subject: [PATCH 02/12] Adding documentation 1. Edited card template 2. Edited board template 3. Removed CONTRIBUTING.md 4. Added an image to the `images` folder 5. Wrote and added a new README.md --- CONTRIBUTING.md | 23 -------- README.md | 105 +++++++++++++++++++++++++++++++++--- board-template.md | 2 + card-template.md | 2 + images/rpi-pcie-devices.png | Bin 0 -> 57648 bytes 5 files changed, 103 insertions(+), 29 deletions(-) delete mode 100644 CONTRIBUTING.md create mode 100644 images/rpi-pcie-devices.png diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md deleted file mode 100644 index 9db07700b..000000000 --- a/CONTRIBUTING.md +++ /dev/null @@ -1,23 +0,0 @@ -# Contributing to the Raspberry Pi PCIe Database - -Testers welcome! - -There are many ways to contribute: - - 1. I accept cards mailed to me, and may be able to pay shipping. I can't promise to test the card in a timely fashion, but I will try to, and I will credit you in any videos/posts that result from card testing! - 2. If you find any typos, incorrect links or images, or other issues, please submit a PR to fix it! - 3. If you want to test a card on your own, I'm happy to add it to the database, provided you give all the testing details, information like `lspci` and `dmesg` logs, etc. in a GitHub issue, and follow the project's conventions for card details. - -## Adding a Card - -Add a file named after the card into the appropriate `_cards_[type]` directory. Copy the template out of [`card-template.md`](card-template.md) into this new file. - -Add a picture of the card into the `images/` directory, prefixed by `[type]-`, and make sure to reference the full path to the image in the `picture` frontmatter on the card post. - -For example, for a network card: - - 1. Make sure there's a GitHub issue that exists for the card. - 2. Copy the template into a new file inside `_cards_network`. - 3. Fill in the details of the card. - 4. Put a picture of the card named `network-[name-of-card].jpg` inside `images/`. - 5. File a PR with your changes. diff --git a/README.md b/README.md index 1b78edad7..63962f831 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,104 @@ -# Raspberry Pi PCI Express device compatibility database +# Raspberry Pi PCIe Devices -This repository builds the GitHub pages site: [http://pipci.jeffgeerling.com](http://pipci.jeffgeerling.com) + + + + +[](https://github.com/sponsors/geerlingguy#sponsors) + -If you would like to add a new device to the site, or correct the information about an existing device, please file a Pull Request against this repository. +[**Raspberry Pi PCIe Devices**](https://pipci.jeffgeerling.com/) is a compatibility database tracking which devices are and are not compatible with the [Raspberry Pi CM4](https://www.raspberrypi.com/products/compute-module-4/). -## Local Editing +
+
+
+
+