Skip to content

Remove side code panel? #1155

Answered by MasterOdin
lborruto asked this question in General
Discussion options

You must be logged in to vote

There is not a toggle for this, no, so you'll need to edit some amount of the layout stuff to accomplish this.

Here's a patch that gets you there (more or less) with one language support (the first one listed in the index.md file):

diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb
index 29b80d7..ff3d236 100644
--- a/source/layouts/layout.erb
+++ b/source/layouts/layout.erb
@@ -52,17 +52,6 @@ under the License.
     </a>
     <div class="toc-wrapper">
       <%= image_tag "logo.png", class: 'logo' %>
-      <% if language_tabs.any? %>
-        <div class="lang-selector">
-          <% language_tabs.each do |lang| %>
-            <% if lang.is_a? Hash %>
-              <a h…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by lord
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1155 on May 20, 2020 22:24.