Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
a3460d1a
Commit
a3460d1a
authored
May 24, 2021
by
Abseil Team
Committed by
Derek Mauro
May 25, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Googletest export
Add Google Analytics & footer PiperOrigin-RevId: 375539689
parent
c0777e65
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
13 deletions
+25
-13
default.html
docs/_layouts/default.html
+15
-10
main.scss
docs/_sass/main.scss
+10
-3
No files found.
docs/_layouts/default.html
View file @
a3460d1a
...
@@ -7,6 +7,15 @@
...
@@ -7,6 +7,15 @@
{% seo %}
{% seo %}
<link
rel=
"stylesheet"
href=
"{{ "
/
assets
/
css
/
style
.
css
?
v=
" | append: site.github.build_revision | relative_url }}"
>
<link
rel=
"stylesheet"
href=
"{{ "
/
assets
/
css
/
style
.
css
?
v=
" | append: site.github.build_revision | relative_url }}"
>
<script>
window
.
ga
=
window
.
ga
||
function
(){(
ga
.
q
=
ga
.
q
||
[]).
push
(
arguments
)};
ga
.
l
=+
new
Date
;
ga
(
'create'
,
'UA-197576187-1'
,
{
'storage'
:
'none'
});
ga
(
'set'
,
'referrer'
,
document
.
referrer
.
split
(
'?'
)[
0
]);
ga
(
'set'
,
'location'
,
window
.
location
.
href
.
split
(
'?'
)[
0
]);
ga
(
'set'
,
'anonymizeIp'
,
true
);
ga
(
'send'
,
'pageview'
);
</script>
<script
async
src=
'https://www.google-analytics.com/analytics.js'
></script>
</head>
</head>
<body>
<body>
<div
class=
"sidebar"
>
<div
class=
"sidebar"
>
...
@@ -36,18 +45,14 @@
...
@@ -36,18 +45,14 @@
<div
class=
"main-inner"
>
<div
class=
"main-inner"
>
{{ content }}
{{ content }}
</div>
</div>
<div
class=
"footer"
>
GoogleTest
·
<a
href=
"https://github.com/google/googletest"
>
GitHub Repository
</a>
·
<a
href=
"https://github.com/google/googletest/blob/master/LICENSE"
>
License
</a>
·
<a
href=
"https://policies.google.com/privacy"
>
Privacy Policy
</a>
</div>
</div>
</div>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"
integrity=
"sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg="
crossorigin=
"anonymous"
></script>
<script
src=
"https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js"
integrity=
"sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg="
crossorigin=
"anonymous"
></script>
<script>
anchors
.
add
(
'.main h2, .main h3, .main h4, .main h5, .main h6'
);
</script>
<script>
anchors
.
add
(
'.main h2, .main h3, .main h4, .main h5, .main h6'
);
</script>
{% if site.google_analytics %}
<script>
(
function
(
i
,
s
,
o
,
g
,
r
,
a
,
m
){
i
[
'GoogleAnalyticsObject'
]
=
r
;
i
[
r
]
=
i
[
r
]
||
function
(){
(
i
[
r
].
q
=
i
[
r
].
q
||
[]).
push
(
arguments
)},
i
[
r
].
l
=
1
*
new
Date
();
a
=
s
.
createElement
(
o
),
m
=
s
.
getElementsByTagName
(
o
)[
0
];
a
.
async
=
1
;
a
.
src
=
g
;
m
.
parentNode
.
insertBefore
(
a
,
m
)
})(
window
,
document
,
'script'
,
'//www.google-analytics.com/analytics.js'
,
'ga'
);
ga
(
'create'
,
'{{ site.google_analytics }}'
,
'auto'
);
ga
(
'send'
,
'pageview'
);
</script>
{% endif %}
</body>
</body>
</html>
</html>
docs/_sass/main.scss
View file @
a3460d1a
...
@@ -61,7 +61,7 @@ body {
...
@@ -61,7 +61,7 @@ body {
}
}
.sidebar
.expander
.arrow
{
.sidebar
.expander
.arrow
{
border
:
solid
white
;
border
:
solid
$
white
;
border-width
:
0
3px
3px
0
;
border-width
:
0
3px
3px
0
;
display
:
block
;
display
:
block
;
height
:
0
.7em
;
height
:
0
.7em
;
...
@@ -105,11 +105,18 @@ body {
...
@@ -105,11 +105,18 @@ body {
}
}
.main
{
.main
{
background-color
:
$bg-gray
;
width
:
calc
(
100%
-
#{
$sidebar-width
}
);
width
:
calc
(
100%
-
#{
$sidebar-width
}
);
}
}
.main
.main-inner
{
.main
.main-inner
{
margin
:
2em
;
background-color
:
$white
;
padding
:
2em
;
}
.main
.footer
{
margin
:
0
;
padding
:
2em
;
}
}
.main
table
th
{
.main
table
th
{
...
@@ -117,7 +124,7 @@ body {
...
@@ -117,7 +124,7 @@ body {
}
}
.main
.callout
{
.main
.callout
{
border-left
:
0
.25em
solid
white
;
border-left
:
0
.25em
solid
$
white
;
padding
:
1em
;
padding
:
1em
;
a
{
a
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment