diff --git a/docs/extra.css b/docs/extra.css new file mode 100644 index 0000000..ebe9442 --- /dev/null +++ b/docs/extra.css @@ -0,0 +1,17 @@ +@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,700,700i'); +.md-nav { + font-size: 14px; + line-height: 1.4; +} +.md-typeset { + font-size: 14px; + line-height: 1.5; +} +body, input { + font-family: "Source Sans Pro", "Roboto","Helvetica Neue",Helvetica,Arial,sans-serif; + color: black; +} +code { + display: inline-block; + white-space: pre-wrap; +} \ No newline at end of file diff --git a/docs/main/basic-install.md b/docs/main/basic-install.md index 6fdaeb4..7860108 100644 --- a/docs/main/basic-install.md +++ b/docs/main/basic-install.md @@ -1,21 +1,21 @@ -## One-Step Automated Install +# One-Step Automated Install Those who want to get started quickly and conveniently, may install Pi-hole using the following command: ```BASH curl -sSL https://install.pi-hole.net | bash ``` -## Alternative Install Methods +# Alternative Install Methods [Piping to `bash` is controversial](https://pi-hole.net/2016/07/25/curling-and-piping-to-bash), as it prevents you from [reading code that is about to run](https://github.com/pi-hole/pi-hole/blob/master/automated%20install/basic-install.sh) on your system. Therefore, we provide these alternative installation methods which allow code review before installation: -### Method 1: Clone our repository and run +#### Method 1: Clone our repository and run ```BASH git clone --depth 1 https://github.com/pi-hole/pi-hole.git Pi-hole cd "Pi-hole/automated install/" sudo bash basic-install.sh ``` -### Method 2: Manually download the installer and run +#### Method 2: Manually download the installer and run ```BASH wget -O basic-install.sh https://install.pi-hole.net sudo bash basic-install.sh diff --git a/docs/main/post-install.md b/docs/main/post-install.md index 6df2933..b2fc5db 100644 --- a/docs/main/post-install.md +++ b/docs/main/post-install.md @@ -1,4 +1,4 @@ -## Post-install: Make your network take advantage of Pi-hole +## Making your network take advantage of Pi-hole Once the installer has been run, you will need to [configure your router to have **DHCP clients use Pi-hole as their DNS server**](https://discourse.pi-hole.net/t/how-do-i-configure-my-devices-to-use-pi-hole-as-their-dns-server/245) which ensures that all devices connecting to your network will have content blocked without any further intervention. diff --git a/mkdocs.yml b/mkdocs.yml index 24d0954..49055c1 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,7 +6,7 @@ repo_name: pi-hole/docs repo_url: https://github.com/pi-hole/docs edit_uri: ../docs/edit/master/docs/ remote_branch: gh-pages -theme: readthedocs +theme: material pages: - 'Support': 'index.md' - 'Getting Started': @@ -28,3 +28,4 @@ extra: link: https://pi-hole.net - type: github-alt link: https://github.com/pi-hole +extra_css: [extra.css]