Skip to content

Commit

Permalink
Built Open GoPro docs from Internal Repo
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Apr 22, 2024
1 parent 82ccd04 commit 5389eef
Show file tree
Hide file tree
Showing 112 changed files with 1,094 additions and 188,351 deletions.
3 changes: 0 additions & 3 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* custom.css/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
/* This copyright was auto-generated on Wed, Sep 1, 2021 5:06:11 PM */

/* Tabs */
.tab {
display: flex;
Expand Down
2 changes: 1 addition & 1 deletion assets/css/main.css

Large diffs are not rendered by default.

90 changes: 45 additions & 45 deletions assets/css/main.css.map

Large diffs are not rendered by default.

70 changes: 35 additions & 35 deletions assets/css/main_spec.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions assets/js/_main.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
jQuery plugin settings and other scripts
========================================================================== */

$(document).ready(function() {
$(function() {
// FitVids init
$("#main").fitVids();

// Sticky sidebar
var stickySideBar = function() {
var show =
$(".author__urls-wrapper button").length === 0
$(".author__urls-wrapper").find("button").length === 0
? $(window).width() > 1024 // width should match $large Sass variable
: !$(".author__urls-wrapper button").is(":visible");
: !$(".author__urls-wrapper").find("button").is(":visible");
if (show) {
// fix
$(".sidebar").addClass("sticky");
Expand All @@ -28,9 +28,9 @@ $(document).ready(function() {
});

// Follow menu drop down
$(".author__urls-wrapper button").on("click", function() {
$(".author__urls-wrapper").find("button").on("click", function() {
$(".author__urls").toggleClass("is--visible");
$(".author__urls-wrapper button").toggleClass("open");
$(".author__urls-wrapper").find("button").toggleClass("open");
});

// Close search screen with Esc key
Expand All @@ -49,7 +49,7 @@ $(document).ready(function() {
$(".initial-content").toggleClass("is--hidden");
// set focus on input
setTimeout(function() {
$(".search-content input").focus();
$(".search-content").find("input").focus();
}, 400);
});

Expand Down Expand Up @@ -84,7 +84,7 @@ $(document).ready(function() {
// add lightbox class to all image links
$(
"a[href$='.jpg'],a[href$='.jpeg'],a[href$='.JPG'],a[href$='.png'],a[href$='.gif'],a[href$='.webp']"
).addClass("image-popup");
).has("> img").addClass("image-popup");

// Magnific-Popup options
$(".image-popup").magnificPopup({
Expand Down
3 changes: 0 additions & 3 deletions assets/js/accordion.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* accordion.js/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
/* This copyright was auto-generated on Wed, Sep 1, 2021 5:06:14 PM */

window.addEventListener('load', function () {
const accordions = document.getElementsByClassName('accordion');

Expand Down
8 changes: 4 additions & 4 deletions assets/js/lunr/lunr-store.js

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions assets/js/main.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions assets/js/plugins/jquery.greedy-navigation.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
GreedyNav.js - http://lukejacksonn.com/actuate
GreedyNav.js - https://github.com/lukejacksonn/GreedyNav
Licensed under the MIT license - http://opensource.org/licenses/MIT
Copyright (c) 2015 Luke Jackson
Copyright (c) 2015 Luke Jackson http://lukejacksonn.com
*/

$(function() {
Expand Down
3 changes: 0 additions & 3 deletions assets/js/quiz.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* quiz.js/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
/* This copyright was auto-generated on Wed, Sep 1, 2021 5:06:15 PM */

function showResults(uuid, correct) {
const answers_id = 'answers_' + uuid;
const results_id = 'results_' + uuid;
Expand Down
3 changes: 0 additions & 3 deletions assets/js/tabs.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
/* tabs.js/Open GoPro, Version 2.0 (C) Copyright 2021 GoPro, Inc. (http://gopro.com/OpenGoPro). */
/* This copyright was auto-generated on Wed, Sep 1, 2021 5:06:15 PM */

const removeActiveClasses = function (ulElement) {
const lis = ulElement.querySelectorAll('li');
Array.prototype.forEach.call(lis, function (li) {
Expand Down
Loading

0 comments on commit 5389eef

Please sign in to comment.