# Linux Kernel Module Cheat
The perfect emulation setup to study and develop the <<linux-kernel>> v5.9.2, kernel modules, <<qemu-buildroot-setup,QEMU>>, <<gem5-buildroot-setup,gem5>> and x86_64, ARMv7 and ARMv8 <<userland-assembly,userland>> and <<baremetal-setup,baremetal>> assembly, <<c,ANSI C>>, <<cpp,C++>> and <<posix,POSIX>>. <<gdb>> and <<kgdb>> just work. Powered by <<about-the-qemu-buildroot-setup,Buildroot>> and <<about-the-baremetal-setup,crosstool-NG>>. Highly automated. Thoroughly documented. Automated <<test-this-repo,tests>>.

### 2.10. Build the documentation

You don’t need to depend on GitHub.

For a quick and dirty build, install Asciidoctor however you like and build:

    asciidoctor README.adoc
    xdg-open README.html

For development, you will want to do a more controlled build with extra error checking as follows.

For the initial build do:

    ./setup
    ./build --download-dependencies docs

which also downloads build dependencies.

Then the following times just to the faster:

    ./build-doc

Source: build-doc

The HTML output is located at:

    xdg-open out/README.html

More information about our documentation internals can be found at: Section 38.5, “Documentation”