Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove Github's Wiki default sidebar

Since a few weeks, Github wikis present a compulsory side bar to the right of wiki pages that take up some space for writing. Example:

enter image description here

I could not find any button nor instructions on the net to remove this sidebar.

Is there a command or instructions to get it removed somewhere?

like image 949
André Anjos Avatar asked May 13 '14 15:05

André Anjos


People also ask

How do I delete a wiki on GitHub?

Click on "Edit Page". Or Navigate to Edit Mode. And now you can see the "Delete" button. Delete the page and you are Done.

Is GitHub Wikis private?

If you create a wiki in a public repository, the wiki is available to the public. If you create a wiki in a private repository, only people with access to the repository can access the wiki. For more information, see "Setting repository visibility."

How do I clone a Wikipedia page?

Wikis are based on Git repositories, so you can clone them locally and edit them like you would do with every other Git repository. To clone a wiki repository locally, select Clone repository from the right-hand sidebar of any wiki page, and follow the on-screen instructions.


2 Answers

This isn't a definitive answer, but here are a couple tools that might help.

If you're using Chrome or Firefox, you could use the Stylus add-on. It allows you to restyle any webpage by modifying the CSS. You can write your own user styles, but there's several on userstyles.org for Github. I use Github Wide, which widens the Github interface. That gives me more space for writing.

If that's not enough and you really want to zap the sidebar, a relatively easy way to remove an element from a webpage is to use AdBlock. You can add any element you don't want to see as a custom filter. You might be able to use a combination of that plus your own Stylish user style to tweak the CSS so that the content you want to see fills the now-empty space.

like image 27
Steven Hirlston Avatar answered Sep 20 '22 11:09

Steven Hirlston


As of right now there is not a way to remove the sidebar. I would suggest you make a note to the developers of this issue and they may act upon it. Until then we will just have to deal with the stick sidebar.

like image 63
Ryukah Avatar answered Sep 23 '22 11:09

Ryukah