mirror of
https://github.com/inspec/inspec
synced 2025-02-25 11:57:17 +00:00
* New styles * Fundamental styles for home page * Legal pages * Community page, downloads page, tutorials page * Docs page * Content toggle and github badge * Add code - highlighter * Copy button * Sliding content animation * fix particle animatino on downloads page * Scroll-to-top button * docs sidebar links * innocent comments on resources * Fancy code animation * Small update to diamond * whatever slider * Slider styles * initial selection if no sliders are there * add netifly config Signed-off-by: Christoph Hartmann <chris@lollyrock.com> * inspec for provisioners * fix incorrect text on aws ssm * fix layout javascript post-rebase * resource grouping in docs * introduce groups in docs/resources * fix minor spelling issues and move download button in new features section Signed-off-by: Christoph Hartmann <chris@lollyrock.com> * pass linting Signed-off-by: Christoph Hartmann <chris@lollyrock.com>
53 lines
2.1 KiB
Text
53 lines
2.1 KiB
Text
= wrap_layout :layout do
|
|
|
|
/! header search
|
|
header.bg-gradient.margin-top-offset.relative
|
|
.row
|
|
.columns.large-12.medium-12.z-20
|
|
.flex.align.margin-both
|
|
form.main-sidebar--search.shadow-dark action="/docs/search/" method="get"
|
|
input.st-default-search-input type="text" placeholder="Search documentation..." name="q"
|
|
|
|
button.search.shadow-dark.margin-left-xs action="/docs/search/" method="get"
|
|
i.fa.fa-search.t-white
|
|
#particles-second
|
|
canvas.particles-js-canvas-el /
|
|
|
|
|
|
.row.margin-both
|
|
|
|
column.columns.large-3.medium-3#sidebar
|
|
- if locals[:sidebar_layout] == 'docs'
|
|
ul.main-sidebar--links
|
|
- sidebar_data(sidebar_layout).each do |item|
|
|
li.main-sidebar--link
|
|
small = item.title
|
|
ul.main-sidebar--list.no-bullet
|
|
- item.links.each do |item_link|
|
|
li.main-sidebar--list--item--a class=link_classes(current_resource.url, item_link)
|
|
= link_to item_link.title, item_link.link
|
|
i.fa.fa-angle-double-right.focus.strict-right
|
|
- if print_sub_links?(current_resource.url, item_link)
|
|
ul.main-sidebar--list--item--dropdown
|
|
- item_link.sub_links.each do |sub_link|
|
|
li.main-sidebar--list--item class=link_classes(current_resource.url, sub_link)
|
|
= link_to sub_link.title, sub_link.link
|
|
|
|
column.columns.large-9.medium-9
|
|
|
|
== yield
|
|
|
|
.scrollToTop.shadow-dark
|
|
img#scrollup src="/images/home/arrow.svg"
|
|
|
|
javascript:
|
|
// Swiftype JS code snippet
|
|
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
|
|
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
|
|
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
|
|
})(window,document,'script','//s.swiftypecdn.com/install/v2/st.js','_st');
|
|
|
|
_st('install','xzyJV6P7pgscygGyyTm8','2.0.0');
|
|
// end Swiftype code snippet
|
|
|
|
document.getElementsByClassName("st-default-search-input")[0].focus();
|