All Projects → raspberrypi → Documentation

raspberrypi / Documentation

Licence: other
The official documentation for Raspberry Pi computers and microcontrollers

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects
CSS
56736 projects
javascript
184084 projects - #8 most used programming language
ruby
36898 projects - #4 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to Documentation

codewriting
Source for Codewriting (book) and the Codewriting/Code the Docs (site/blog)
Stars: ✭ 49 (-98.89%)
Mutual labels:  asciidoc
bitbucket-asciidoc-plugin
An add-on for Atlassian Bitbucket Server to render AsciiDoc files.
Stars: ✭ 20 (-99.55%)
Mutual labels:  asciidoc
Rpisurv
Raspberry Pi surveillance
Stars: ✭ 293 (-93.35%)
Mutual labels:  raspberry-pi-camera
pi-asciicam
A live stream ASCII webcam server for Raspberry Pis using websockets, written in go.
Stars: ✭ 18 (-99.59%)
Mutual labels:  raspberry-pi-camera
asciidoc-hs
AsciiDoc parser that can be used as a Pandoc front-end, written in Haskell
Stars: ✭ 28 (-99.36%)
Mutual labels:  asciidoc
jitsi-box
A Raspberry Pi based box to automate holding hybrid conferences with Jitsi
Stars: ✭ 15 (-99.66%)
Mutual labels:  raspberry-pi-camera
AsciiDocQuickLook
A QuickLook plugin to preview AsciiDoc files.
Stars: ✭ 24 (-99.46%)
Mutual labels:  asciidoc
Asciidoctor
💎 A fast, open source text processor and publishing toolchain, written in Ruby, for converting AsciiDoc content to HTML 5, DocBook 5, and other formats.
Stars: ✭ 3,905 (-11.41%)
Mutual labels:  asciidoc
OpenMaxIL-cpp
OpenMax IL C++ wrapper for RaspberryPi
Stars: ✭ 18 (-99.59%)
Mutual labels:  raspberry-pi-camera
Gradle Multi Project Example
Gradle 多项目管理示例
Stars: ✭ 283 (-93.58%)
Mutual labels:  asciidoc
asciidoc-googledocs-addon
Export Google Docs as AsciiDoc
Stars: ✭ 55 (-98.75%)
Mutual labels:  asciidoc
middleman-asciidoc
🔰 AsciiDoc support for Middleman 4. (In Middleman 3, AsciiDoc support is provided by a core extension).
Stars: ✭ 24 (-99.46%)
Mutual labels:  asciidoc
raspberry-pi-mjpeg-server
Node.js module providing Motion JPEG access to the Raspberry PI camera module to enable video streaming via HTTP
Stars: ✭ 44 (-99%)
Mutual labels:  raspberry-pi-camera
Human-detection-system-with-raspberry-Pi
A motion detection system with RaspberryPi, OpenCV, Python
Stars: ✭ 50 (-98.87%)
Mutual labels:  raspberry-pi-camera
Md Writer
✒️ Make Atom a better Markdown/AsciiDoc editor for writers and bloggers
Stars: ✭ 326 (-92.6%)
Mutual labels:  asciidoc
wizio-pico
Raspberry Pi Pico development platform for PlatformIO
Stars: ✭ 119 (-97.3%)
Mutual labels:  raspberry-pi-pico
asciidoctor-lein-plugin
A Leiningen plugin for generating documentation using Asciidoctor
Stars: ✭ 26 (-99.41%)
Mutual labels:  asciidoc
Pibooth
The pibooth project provides a Photo Booth application out-of-the-box for Raspberry Pi and opencv compatible devices
Stars: ✭ 398 (-90.97%)
Mutual labels:  raspberry-pi-camera
Doctoolchain
a Gradle based AsciiDoc Toolchain for Software Architecture Documentation
Stars: ✭ 355 (-91.95%)
Mutual labels:  asciidoc
Spring Auto Restdocs
Spring Auto REST Docs is an extension to Spring REST Docs
Stars: ✭ 265 (-93.99%)
Mutual labels:  asciidoc

Welcome to the Raspberry Pi Documentation

This repository contains the Asciidoc source and the toolchain to build the Raspberry Pi Documentation. For details of how to contribute to the documentation see the CONTRIBUTING.md file.

NOTE: This repository has undergone some recent changes. See our blog post for more details.

Building the Documentation

Instructions on how to checkout the documentation repo, and then install the toolchain needed to convert from Asciidoc to HTML and build the documentation site.

Checking out the Repository

Install git if you don't already have it, and check out the documentation repo as follows,

$ git clone https://github.com/raspberrypi/documentation.git
$ cd documentation

Installing the Toolchain

On Linux

This works on both regular Debian or Ubuntu Linux — and has been tested in a minimal Docker container — and also under Raspberry Pi OS if you are working from a Raspberry Pi.

You can install the necessary dependencies on Linux as follows,

$ sudo apt install -y ruby ruby-dev python3 python3-pip make ninja-build

then add these lines to the bottom of your $HOME/.bashrc,

export GEM_HOME="$(ruby -e 'puts Gem.user_dir')"
export PATH="$PATH:$GEM_HOME/bin"

and close and relaunch your Terminal window to have these new variables activated. Finally, run

$ gem install bundler

to install the latest version of the Ruby bundle command.

On macOS

If you don't already have it installed you should go ahead and install HomeBrew,

$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Then you need to install Ruby,

$ brew install [email protected]

NOTE: Homebrew defaults to Ruby 3.0 which is incompatible with Asciidoctor.

Set up Homebrew Version of Ruby

If you're using csh or tcsh add the following lines to your .cshrc or .tcshrc,

setenv PATH /usr/local/opt/ruby/bin:${PATH}
setenv PATH ${PATH}:/usr/local/lib/ruby/gems/2.7.0/bin
setenv LDFLAGS -L/usr/local/opt/[email protected]/lib
setenv CPPFLAGS -I/usr/local/opt/[email protected]/include
setenv PKG_CONFIG_PATH /usr/local/opt/[email protected]/lib/pkgconfig

or if you're using bash add the following lines to your .bash_profile,

export PATH="/usr/local/opt/ruby/bin:$PATH"
export PATH="$PATH:/usr/local/lib/ruby/gems/2.7.0/bin"
export PATH="/usr/local/opt/[email protected]/bin:$PATH"
export LDFLAGS="-L/usr/local/opt/[email protected]/lib"
export CPPFLAGS="-I/usr/local/opt/[email protected]/include"
export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig"
Install Dependencies

Go ahead and brew install the other dependencies,

$ brew install python@3
$ brew install ninja

Install Scripting Dependencies

After you've installed the toolchain (on either Linux or macOS), you'll need to install the required Ruby gems and Python modules. Make sure you're in the documentation/ directory and then run,

$ bundle install

(which may take several minutes), followed by,

$ pip3 install --user -r requirements.txt

Building the Documentation Site

After you've installed both the toolchain and scripting dependencies, you can build the documentation with,

$ make

This will automatically use Ninja build to convert the source files in documentation/asciidoc/ to a suitable intermediate structure in build/jekyll/, and then use Jekyll AsciiDoc to convert the files in build/jekyll/ to the final output HTML files in documentation/html/.

You can also start a local server to view the built site by running,

$ make serve_html

As the local server launches, the local URL will be printed in the terminal -- open this URL in a browser to see the locally-built site.

You can revert your repository to a pristine state by running,

$ make clean

which will delete the build/ and documentation/html/ directories.

Licence

The Raspberry Pi documentation is licensed under a Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA). While the toolchain source code — which is everything outside of the top-level documentation/ subdirectory — is Copyright © 2021 Raspberry Pi Ltd and licensed under the BSD 3-Clause licence.

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].