Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cherrypick #58832 * fix width (#61619) (cherry picked from commit 1d40d2b) * Minify theme (#61734) * moved most ansible edits out of theme.css * remove unnecessary edit to theme.css * replace with upstream minified theme.css for 0.4.3 (cherry picked from commit de826b4) * Minify ansible (#61792) * make all comments special to survive minify * minified css (cherry picked from commit 7efaad7)
- Loading branch information
Showing
21 changed files
with
254 additions
and
2,029 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
docs/docsite/_themes/sphinx_rtd_theme/ansible_extrabody.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!---- extra body elements for Ansible beyond RTD Sphinx Theme ---> | ||
<!-- Google Tag Manager --> | ||
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PSB293" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-PSB293');</script> | ||
<!-- End Google Tag Manager --> | ||
|
||
<div class="DocSite-globalNav ansibleNav"> | ||
<ul> | ||
<li><a href="https://www.ansible.com/ansiblefest" target="_blank">AnsibleFest</a></li> | ||
<li><a href="https://www.ansible.com/tower" target="_blank">Products</a></li> | ||
<li><a href="https://www.ansible.com/community" target="_blank">Community</a></li> | ||
<li><a href="https://www.ansible.com/webinars-training" target="_blank">Webinars & Training</a></li> | ||
<li><a href="https://www.ansible.com/blog" target="_blank">Blog</a></li> | ||
</ul> | ||
</div> | ||
|
||
<a class="DocSite-nav" href="/" style="padding-bottom: 30px;"> | ||
|
||
<img class="DocSiteNav-logo" | ||
src="{{ pathto('_static/', 1) }}images/logo_invert.png" | ||
alt="Ansible Logo"> | ||
<div class="DocSiteNav-title"> | ||
Documentation | ||
</div> | ||
</a> |
18 changes: 18 additions & 0 deletions
18
docs/docsite/_themes/sphinx_rtd_theme/ansible_extrafooter.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!-- extra footer elements for Ansible beyond RTD Sphinx Theme ---> | ||
<!-- begin analytics --> | ||
<script type="text/javascript"> | ||
var _hsq = _hsq || []; | ||
_hsq.push(["setContentType", "standard-page"]); | ||
(function(d,s,i,r) { | ||
if (d.getElementById(i)){return;} | ||
var n = d.createElement(s),e = document.getElementsByTagName(s)[0]; | ||
n.id=i;n.src = '//js.hs-analytics.net/analytics/'+(Math.ceil(new Date()/r)*r)+'/330046.js'; | ||
e.parentNode.insertBefore(n, e); | ||
})(document, "script", "hs-analytics",300000); | ||
</script> | ||
<!-- end analytics --> | ||
<script type="text/javascript"> | ||
if (("undefined" !== typeof _satellite) && ("function" === typeof _satellite.pageBottom)) { | ||
_satellite.pageBottom(); | ||
} | ||
</script> |
12 changes: 12 additions & 0 deletions
12
docs/docsite/_themes/sphinx_rtd_theme/ansible_extrahead.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!---- extra head elements for Ansible beyond RTD Sphinx Theme ---> | ||
<script type="text/javascript" src="//www.redhat.com/dtm.js"></script> | ||
<meta class="swiftype" name="published_at" data-type="date" content="2017-12-13" /> | ||
<meta class="swiftype" name="version" data-type="string" content="3.2.2"> | ||
|
||
<!-- Google Tag Manager Data Layer --> | ||
<script> | ||
dataLayer = []; | ||
</script> | ||
<!-- End Google Tag Manager Data Layer --> | ||
|
||
<script src="//cdnjs.cloudflare.com/ajax/libs/modernizr/2.6.2/modernizr.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<!-- extra nav elements for Ansible beyond RTD Sphinx Theme ---> | ||
<!-- changeable widget links to tower - do not change as image controlled by Ansible--> | ||
<div id="sideBanner"> | ||
<br/> | ||
<a href="https://www.ansible.com/docs-left?utm_source=docs"> | ||
<img style="border-width:0px;" src="https://cdn2.hubspot.net/hubfs/330046/docs-graphics/ASB-docs-left-rail.png" /> | ||
</a> | ||
<br/><br/><br/> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.