Pi-TV

# Arch Linux, Docs, Nginx, find, pacman 2022-01-29

Arch Linux docs

Arch Linux offline docs

Arch has a lot of packages with offline documentation.

Arch-wiki-docs

It is a mirror of the “wiki.archlinux.org” site.

ArchWiki is a great source of proven documentation related to Arch Linux system and Linux software. It is also available offline as a package for Arch.

Python-docs

It is a mirror of the “docs.python.org” site.

Nginx config to serve docs

    rewrite ^/arch-wiki/?$ /arch-wiki/en/ redirect;

    location /arch-wiki {
        alias /usr/share/doc/arch-wiki/html/;
        autoindex on;
        expires 1d;
    }

    location /arduino {
        alias /usr/share/doc/arduino/;
        autoindex on;
        expires 1d;
    }

    location /python-docs {
        alias /usr/share/doc/python/html/;
        autoindex on;
        expires 1d;
    }