GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - xf-main/docs: The official Pi-hole documentation

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

2,733 Commits
2,733 Commits

Folders and files

NameName
Last commit message
Last commit date
.devcontainer
.devcontainer
 
 
.github
.github
 
 
docs
docs
 
 
overrides/partials
overrides/partials
 
 
.codespellignore
.codespellignore
 
 
.editorconfig
.editorconfig
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.markdownlint.json
.markdownlint.json
 
 
AGENTS.md
AGENTS.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
mkdocs.yml
mkdocs.yml
 
 
netlify.toml
netlify.toml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
requirements.txt
requirements.txt
 
 

Repository files navigation

Pi-hole
Network-wide ad blocking via your own Linux hardware

The Pi-hole® is a DNS sinkhole that protects your devices from unwanted content, without installing any client-side software.

Documentation & User Guides

This repo is the source for the official Pi-hole documentation.

How to contribute

To add a new link on the navigation panel you need to edit the mkdocs.yml file in the root of the repo. There is a guide for building the navbar on the mkdocs wiki

To add a new document or guide.

  • Navigate to the directory where it will be hosted. E.g. guides are in docs/guides
  • Create the file using a URL friendly filename. E.g. docs/guides/url-friendly.md
  • Edit your document using Markdown, there are loads of resources available for the correct syntax.

Testing your changes

When working on this repo, it is advised that you review your changes locally before committing them. The mkdocs serve command can be used to live preview your changes (as you type) on your local machine.

Please make sure you fork the repo and change the clone URL in the example below for your fork:

  • Linux Mint / Ubuntu 20.04 LTS / 23.10 and later:

    • Preparations (only required once):
    git clone https://github.com/YOUR-USERNAME/docs
    cd docs
    sudo apt install python3-pip python3-venv
    python3 -m venv .venv
    source .venv/bin/activate
    pip3 install -r requirements.txt
    • Enter the virtual environment (if exited):
    source .venv/bin/activate
    • Running the docs server:
    mkdocs serve --dev-addr 0.0.0.0:8000
  • Fedora Linux instructions (tested on Fedora Linux 28):

    • Preparations (only required once):
    git clone https://github.com/YOUR-USERNAME/docs
    cd docs
    pip install --user -r requirements.txt
    • Running the docs server:
    mkdocs serve --dev-addr 0.0.0.0:8000
  • Docker instructions:

    • One-shot run:
    docker run -v `pwd`:/opt/app/ -w /opt/app/ -p 8000:8000 -it nikolaik/python-nodejs:python3.7-nodejs16 \
      sh -c "pip install --user -r requirements.txt && \
      /root/.local/bin/mkdocs build && \
      npm ci && \
      npm test && \
      /root/.local/bin/mkdocs serve --dev-addr 0.0.0.0:8000"

After these commands, the current branch is accessible through your favorite browser at http://localhost:8000

Deploys by Netlify

About

The official Pi-hole documentation

docs.pi-hole.net/

Resources

Readme
License
Activity
Custom properties

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.