File tree Expand file tree Collapse file tree 5 files changed +27
-0
lines changed Expand file tree Collapse file tree 5 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ < div >
2
+ < a href ="https://github.com/segmentio/segment-docs/edit/master/src/{{ page.name }} " class ="button button-hollow button-hollow--small button-hollow--gray button--xsmall flex " target ="_blank ">
3
+ < span class ="button__icon "> {% include icons/symbols/edit.svg %}</ span >
4
+
5
+ < span class ="button__text "> Edit this page</ span >
6
+ </ a >
7
+
8
+ < a href ="https://github.com/segmentio/segment-docs/issues/new?body=File:%20[{{ page.name }}](https://segment.com/docs/) " class ="button button-hollow button-hollow--small button-hollow--gray button--xsmall " target ="_blank ">
9
+ < span class ="button__icon "> {% include icons/symbols/plus.svg %}</ span >
10
+
11
+ < span class ="button__text "> Request docs change</ span >
12
+ </ a >
13
+ </ div >
Original file line number Diff line number Diff line change @@ -90,6 +90,9 @@ <h1 id="{{ page.title | slugify }}">
90
90
91
91
< div class ="docs__sidebar page__sidebar ">
92
92
< div class ="sidebar sidebar--sticky sidebar--scroll ">
93
+ {% unless page.no-edit %}
94
+ {% include sidebar/edit-tools.html %}
95
+ {% endunless %}
93
96
{%- unless page.hide_toc -%}
94
97
{% if page.integration_type == 'destination' %}
95
98
{% if page.hide-boilerplate == true %}
Original file line number Diff line number Diff line change @@ -65,6 +65,9 @@ <h1 id="{{ page.title | slugify }}">
65
65
{%- unless page.hide-sidebar -%}
66
66
< div class ="docs__sidebar page__sidebar ">
67
67
< div class ="sidebar sidebar--sticky sidebar--scroll ">
68
+ {% unless page.no-edit %}
69
+ {% include sidebar/edit-tools.html %}
70
+ {% endunless %}
68
71
{%- unless page.hide_toc -%}
69
72
< div data-anchors-indicator data-sections ="h2 " data-active-class ="menu-side__link--active ">
70
73
{% include_cached sidebar/menu-side.html class="menu-side" anchor_class="menu-side__link" html=content h_min=2 h_max=2 %}
You can’t perform that action at this time.
0 commit comments