Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pi-hole v5.0 release documentation #201

Merged
merged 11 commits into from
May 10, 2020
Merged

Pi-hole v5.0 release documentation #201

merged 11 commits into from
May 10, 2020

Conversation

DL6ER
Copy link
Member

@DL6ER DL6ER commented Dec 18, 2019

@DL6ER DL6ER added this to the v5.0 milestone Dec 18, 2019
@pralor-bot
Copy link
Collaborator

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/how-do-i-use-dnsmasq-to-have-the-pihole-bypass-a-device/26179/3

@XhmikosR XhmikosR mentioned this pull request Dec 30, 2019
2 tasks
@pralor-bot
Copy link
Collaborator

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/using-groups-to-bypass-pihole-filtering/27174/2

@pralor-bot
Copy link
Collaborator

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/using-groups-to-bypass-pihole-filtering/27174/3

README.md Outdated Show resolved Hide resolved
@netlify
Copy link

netlify bot commented Feb 15, 2020

Deploy preview for pihole-docs ready!

Built with commit 9f223b9

https://deploy-preview-201--pihole-docs.netlify.app

@XhmikosR
Copy link
Contributor

XhmikosR commented Feb 15, 2020

A couple of comments, not necessary having to do only with this branch:

  1. any reason why you don't use the unicode characters directly?
  2. always try to specify the code blocks language; eventually I want to turn off the auto feature because it results in some false positives
  3. we should really add alt text for all images

For 2 and 3 I can enforce them later in markdownlint.

EDIT:

Oh, and 4. always compress the images, at least losslessly. I'm doing this right now, and we can probably automate it with a GitHub Action later.

@DL6ER
Copy link
Member Author

DL6ER commented Feb 15, 2020

Replies to your points:

  1. I have seen this not working on an older Android phone. Not sure we should change it in this case.
  2. Can you point me to the line where you saw this missing?
  3. Done.
  4. I can see you already did it.

@XhmikosR
Copy link
Contributor

  1. That should still fail AFAICT but I don't have such old devices to test
  2. 57c0efd#diff-83c1fa0e520b188621d0e9e1bbcaad27L23 The Markdownlint rule that reports this is MD0040, which I plan to enable later
  3. The Markdownlint rule is MD0045

@DL6ER
Copy link
Member Author

DL6ER commented Feb 15, 2020

  1. I have them not available here, it may have been something else.
  2. This doesn't exist in the HEAD of this branch so already resolved

@XhmikosR
Copy link
Contributor

Yeah, I added it myself.

I will make an issue to track enabling the aforementioned Markdownlint rules later

@pralor-bot
Copy link
Collaborator

This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there:

https://discourse.pi-hole.net/t/batch-adlist-whitelist-updates/28556/2

mkdocs.yml Show resolved Hide resolved
@XhmikosR
Copy link
Contributor

@DL6ER would be nice if this was rebased/cleaned up a bit. Unfortunately, you have used merge commits and this conflicts everywhere.

@DL6ER
Copy link
Member Author

DL6ER commented Apr 19, 2020

Not sure what you are aiming at, I see no merge conflicts in this branch. I will update this branch for the new features, soon. Maybe even tomorrow, we'll see.

Signed-off-by: DL6ER <dl6er@dl6er.de>
@DL6ER
Copy link
Member Author

DL6ER commented Apr 20, 2020

@XhmikosR We need to remove/relax this style rule: https://github.com/pi-hole/docs/runs/601114182#step:7:14

When adding surrounding blank lines, the indentation gets killed. Other suggestions to get the same result without relaxing the styling rules are welcome as well.

@XhmikosR
Copy link
Contributor

When adding surrounding blank lines, the indentation gets killed. Other suggestions to get the same result without relaxing the styling rules are welcome as well.

Not sure what you mean by that. Indentation shouldn't be affected by blank lines.

@XhmikosR
Copy link
Contributor

BTW you wrongfully squashed some individual patches I had pushed. Not a big deal but that is why one should keep their branches clean.

@XhmikosR XhmikosR force-pushed the release/v5.0 branch 2 times, most recently from 1638d54 to ee7f28f Compare April 20, 2020 12:40
@XhmikosR XhmikosR force-pushed the release/v5.0 branch 2 times, most recently from 3e0d18b to 89b7948 Compare April 20, 2020 13:06
This fixes Markdown inside HTML which didn't work before.
DL6ER added 3 commits May 5, 2020 21:33
Signed-off-by: DL6ER <dl6er@dl6er.de>
…r filesize using optipng.

Signed-off-by: DL6ER <dl6er@dl6er.de>
@XhmikosR
Copy link
Contributor

XhmikosR commented May 8, 2020

I'm gonna re-optimize the images.

@DL6ER
Copy link
Member Author

DL6ER commented May 8, 2020

@XhmikosR The images are already optimized using optipng, I hope this is sufficient?

Exemplary output:

** Processing: docs/database/gravity/example-new-white.png                                                                               
992x333 pixels, 4x8 bits/pixel, RGB+alpha                           
Reducing image to 3x8 bits/pixel, RGB                                                                                                    
Input IDAT size = 28803 bytes                                                                                                            
Input file size = 31789 bytes                                       
                                                                                                                                         
Trying:                                                                                                                                  
  zc = 9  zm = 8  zs = 0  f = 0         IDAT size = 19053           
                                                                                                                                         
Selecting parameters:                                                                                                                    
  zc = 9  zm = 8  zs = 0  f = 0         IDAT size = 19053           
                                                                                                                                         
Output IDAT size = 19053 bytes (9750 bytes decrease)                                                                                     
Output file size = 22003 bytes (9786 bytes = 30.78% decrease)

@XhmikosR
Copy link
Contributor

XhmikosR commented May 8, 2020

It's good, but definitely not the best :) I'll push a patch when the optimization is done along with the results.

@DL6ER
Copy link
Member Author

DL6ER commented May 8, 2020

Thanks, will be interesting to see if there is really additional room for improvement. If further optimization is on the order of only few percent, we may skip this in the future. If the outcome is substantial, I'll try to remember doing what you did in the future.

@XhmikosR
Copy link
Contributor

XhmikosR commented May 8, 2020

The outcome is definitely substantial, especially with 8-bit conversion. Just wait and I'll push a patch.

XhmikosR and others added 3 commits May 8, 2020 12:31
Before: 261 KB (267.830 bytes)
After:  187 KB (191.607 bytes)
Before: 187 KB (191.607 bytes)
After:  111 KB (114.199 bytes)
@dschaper dschaper merged commit 2f14ece into master May 10, 2020
@dschaper dschaper deleted the release/v5.0 branch May 10, 2020 18:39
@dschaper dschaper restored the release/v5.0 branch May 11, 2020 18:04
@XhmikosR XhmikosR deleted the release/v5.0 branch May 17, 2020 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants