This commit is contained in:
paperdigits 2020-11-03 23:02:47 +00:00
parent 152796b5d2
commit 4669319c65
25 changed files with 14281 additions and 1 deletions

4
.directory Normal file
View file

@ -0,0 +1,4 @@
[Dolphin]
Timestamp=2019,3,6,22,8,31
Version=4
ViewMode=1

0
.nojekyll Normal file
View file

159
categories/index.html Normal file
View file

@ -0,0 +1,159 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>darktable lua documentation - Categories</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<link rel="alternate" type="application/rss&#43;xml" href="https://elstoc.github.io/luadocs/categories/index.xml" title="darktable lua documentation">
<link rel="stylesheet" href="https://elstoc.github.io/luadocs/css/style.min.47630ae08827aa1c2929cbe7e1cea6136483d433056a38d5291d3cab868ec776.css">
</head>
<body>
<header class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
<a class="navbar-brand" href="https://elstoc.github.io/luadocs/" rel="home" title=".Site.Title">
darktable lua documentation
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="/luadocs/search/">
<span>Search</span>
<span class="sr-only">(Current)</span>
</a>
</li>
</ul>
</div>
</header>
<div class="container-fluid">
<div class="row">
<nav class="navigation col-sm-12 order-sm-12 col-md-3 order-md-1">
<ul>
</ul>
</nav>
<div class="content col-sm-12 order-sm-1 col-md-6 mx-md-auto order-md-12">
<section>
<h1 class="title">Categories</h1>
<ul>
</ul>
</section>
<div class="row">
<div class="col-6">
</div>
<div class="col-6">
</div>
</div>
</div>
</div>
</div>
<script src="https://elstoc.github.io/luadocs/js/jquery.js"></script>
<script src="https://elstoc.github.io/luadocs/js/popper.js" type="module"></script>
<script src="https://elstoc.github.io/luadocs/js/bootstrap.js"></script>
<script src="https://elstoc.github.io/luadocs/js/lunr.js"></script>
<script src="https://elstoc.github.io/luadocs/js/app.js"></script>
<script>
$(document).ready(function(){
$('.parent ul').hide();
$('.toggle').on('click', function (e) {
e.stopPropagation();
$(this).siblings('ul').slideToggle();
if($(this).hasClass("fa-plus-square")) {
$(this).addClass("fa-minus-square-o");
$(this).removeClass("fa-plus-square");
}
else {
$(this).addClass("fa-plus-square");
$(this).removeClass("fa-minus-square-o");
}
});
$('.active').parents('ul').show();
$('.active').children('ul').show();
$('.active').children('i.toggle').removeClass("fa-plus-squre").addClass("fa-minus-square-o");
$('.active').parents('li').children('.toggle').removeClass("fa-plus-square").addClass("fa-minus-square-o");
});
</script>
</body>
</html>

10
categories/index.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on darktable lua documentation</title>
<link>https://elstoc.github.io/luadocs/categories/</link>
<description>Recent content in Categories on darktable lua documentation</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://elstoc.github.io/luadocs/categories/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>

1
css/.gitkeep Normal file
View file

@ -0,0 +1 @@

229
css/style.css.map Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because it is too large Load diff

After

Width:  |  Height:  |  Size: 470 KiB

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1 +1,152 @@
My GitHub Page <!doctype html>
<html lang="en">
<head>
<meta name="generator" content="Hugo 0.76.5" />
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>darktable lua documentation - Home</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<link rel="alternate" type="application/rss&#43;xml" href="https://elstoc.github.io/luadocs/index.xml" title="darktable lua documentation">
<link rel="stylesheet" href="https://elstoc.github.io/luadocs/css/style.min.47630ae08827aa1c2929cbe7e1cea6136483d433056a38d5291d3cab868ec776.css">
</head>
<body>
<header class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
<a class="navbar-brand" href="https://elstoc.github.io/luadocs/" rel="home" title=".Site.Title">
darktable lua documentation
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="/luadocs/search/">
<span>Search</span>
<span class="sr-only">(Current)</span>
</a>
</li>
</ul>
</div>
</header>
<div class="container-fluid">
<div class="row">
<nav class="navigation col-sm-12 order-sm-12 col-md-3 order-md-1">
<ul>
</ul>
</nav>
<div class="content col-sm-12 order-sm-1 col-md-6 mx-md-auto order-md-12">
<div>
</div>
</div>
</div>
</div>
<script src="https://elstoc.github.io/luadocs/js/jquery.js"></script>
<script src="https://elstoc.github.io/luadocs/js/popper.js" type="module"></script>
<script src="https://elstoc.github.io/luadocs/js/bootstrap.js"></script>
<script src="https://elstoc.github.io/luadocs/js/lunr.js"></script>
<script src="https://elstoc.github.io/luadocs/js/app.js"></script>
<script>
$(document).ready(function(){
$('.parent ul').hide();
$('.toggle').on('click', function (e) {
e.stopPropagation();
$(this).siblings('ul').slideToggle();
if($(this).hasClass("fa-plus-square")) {
$(this).addClass("fa-minus-square-o");
$(this).removeClass("fa-plus-square");
}
else {
$(this).addClass("fa-plus-square");
$(this).removeClass("fa-minus-square-o");
}
});
$('.active').parents('ul').show();
$('.active').children('ul').show();
$('.active').children('i.toggle').removeClass("fa-plus-squre").addClass("fa-minus-square-o");
$('.active').parents('li').children('.toggle').removeClass("fa-plus-square").addClass("fa-minus-square-o");
});
</script>
</body>
</html>

1
index.json Normal file
View file

@ -0,0 +1 @@
[{"categories":null,"content":"","date":"0001-01-01T00:00:00Z","href":"https://elstoc.github.io/luadocs/search/","tags":null,"title":"Search"}]

19
index.xml Normal file
View file

@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Home on darktable lua documentation</title>
<link>https://elstoc.github.io/luadocs/</link>
<description>Recent content in Home on darktable lua documentation</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://elstoc.github.io/luadocs/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>Search</title>
<link>https://elstoc.github.io/luadocs/search/</link>
<pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
<guid>https://elstoc.github.io/luadocs/search/</guid>
<description></description>
</item>
</channel>
</rss>

1
js/.gitkeep Normal file
View file

@ -0,0 +1 @@

134
js/app.js Normal file
View file

@ -0,0 +1,134 @@
// lunr.js search code
//vanilla js version of https://gist.github.com/sebz/efddfc8fdcb6b480f567
/*
We have JS! Adjust our search inputs to use Lunr...
Basically, change placeholder text, remove 'name' attr,
and remove the hidden input sites input field entirely
*/
var setSearchForm = document.getElementById('searchForm');
var setInputPlaceholder = document.getElementById('search');
setInputPlaceholder.placeholder = "Enter search terms";
setInputPlaceholder.removeAttribute("name");
setSearchForm.removeChild( document.getElementById('searchsite') );
setSearchForm.action = "#";
setSearchForm.removeAttribute("action");
//vanilla js version of https://gist.github.com/sebz/efddfc8fdcb6b480f567
var lunrIndex,
$results,
pagesIndex;
// Initialize lunrjs using our generated index file
function initLunr() {
var request = new XMLHttpRequest();
request.open('GET', 'https://elstoc.github.io/luadocs/index.json', true);
request.onload = function () {
if (request.status >= 200 && request.status < 400) {
pagesIndex = JSON.parse(request.responseText);
console.log("index:", pagesIndex);
// Set up lunrjs by declaring the fields we use
// Also provide their boost level for the ranking
lunrIndex = lunr(function () {
this.field("title", {
boost: 10
});
this.field("tags", {
boost: 5
});
this.field("content", {
boost: 2
});
// ref is the result item identifier (I chose the page URL)
this.ref("href");
this.add({ field: "test", text: 'hello' });
for (var i = 0; i < pagesIndex.length; ++i) {
this.add(pagesIndex[i]);
}
});
} else {
var err = textStatus + ", " + error;
console.error("Error getting Hugo index flie:", err);
}
};
request.send();
}
// Nothing crazy here, just hook up a event handler on the input field
function initUI() {
$results = document.getElementById("results");
$search = document.getElementById("search");
$search.onkeyup = function () {
while ($results.firstChild) {
$results.removeChild($results.firstChild);
}
// Only trigger a search when 2 chars. at least have been provided
var query = $search.value;
if (query.length < 2) {
return;
}
//add some fuzzyness to the string matching to help with spelling mistakes.
var fuzzLength = Math.round(Math.min(Math.max(query.length / 4, 1), 3));
var fuzzyQuery = query + '~' + fuzzLength;
var results = search(fuzzyQuery);
renderResults(results);
};
}
/**
* Trigger a search in lunr and transform the result
*
* @param {String} query
* @return {Array} results
*/
function search(query) {
// Find the item in our index corresponding to the lunr one to have more info
// Lunr result:
// {ref: "/section/page1", score: 0.2725657778206127}
// Our result:
// {title:"Page1", href:"/section/page1", ...}
return lunrIndex.search(query).map(function (result) {
return pagesIndex.filter(function (page) {
return page.href === result.ref;
})[0];
});
}
/**
* Display the 10 first results
*
* @param {Array} results to display
*/
function renderResults(results) {
if (!results.length) {
return;
}
// Only show the ten first results
$results = document.getElementById("results");
results.slice(0, 10).forEach(function (result) {
var li = document.createElement('li');
var ahref = document.createElement('a');
ahref.href = result.href;
ahref.text = "» " + result.title;
li.append(ahref);
$results.appendChild(li);
});
}
// Let's get started
initLunr();
document.addEventListener("DOMContentLoaded", function () {
initUI();
})

4418
js/bootstrap.js vendored Normal file

File diff suppressed because it is too large Load diff

2
js/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

3475
js/lunr.js Normal file

File diff suppressed because it is too large Load diff

2462
js/popper.js Normal file

File diff suppressed because it is too large Load diff

169
search/index.html Normal file
View file

@ -0,0 +1,169 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>darktable lua documentation - Search</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<link rel="stylesheet" href="https://elstoc.github.io/luadocs/css/style.min.47630ae08827aa1c2929cbe7e1cea6136483d433056a38d5291d3cab868ec776.css">
</head>
<body>
<header class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
<a class="navbar-brand" href="https://elstoc.github.io/luadocs/" rel="home" title=".Site.Title">
darktable lua documentation
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="/luadocs/search/">
<span>Search</span>
<span class="sr-only">(Current)</span>
</a>
</li>
</ul>
</div>
</header>
<div class="container-fluid">
<div class="row">
<nav class="navigation col-sm-12 order-sm-12 col-md-3 order-md-1">
<ul>
</ul>
</nav>
<div class="content col-sm-12 order-sm-1 col-md-6 mx-md-auto order-md-12">
<section>
<h1 class="title">
Search
</h1>
<div class='lunrSearch'>
<form id='searchForm' class='input-group input-group-lg' action="https://duckduckgo.com/">
<input id="search" type="text" class='form-control' aria-label='Search terms' placeholder="Search with DuckDuckGo" name='q'>
<input id="searchsite" type='hidden' name='sites' value='www.rawtherapee.com'>
<div class="input-group-append">
<button type="submit" class="btn btn-primary">Submit</button>
</div>
</form>
<div class='mt-4 mb-2'>
<h2 class='mb-n1'>
Results
</h2>
<div id='matches' class='mb-1 font-italic'> </div>
</div>
<ul id="results" class='search-results'>
</ul>
</div>
</section>
</div>
</div>
</div>
<script src="https://elstoc.github.io/luadocs/js/jquery.js"></script>
<script src="https://elstoc.github.io/luadocs/js/popper.js" type="module"></script>
<script src="https://elstoc.github.io/luadocs/js/bootstrap.js"></script>
<script src="https://elstoc.github.io/luadocs/js/lunr.js"></script>
<script src="https://elstoc.github.io/luadocs/js/app.js"></script>
<script>
$(document).ready(function(){
$('.parent ul').hide();
$('.toggle').on('click', function (e) {
e.stopPropagation();
$(this).siblings('ul').slideToggle();
if($(this).hasClass("fa-plus-square")) {
$(this).addClass("fa-minus-square-o");
$(this).removeClass("fa-plus-square");
}
else {
$(this).addClass("fa-plus-square");
$(this).removeClass("fa-minus-square-o");
}
});
$('.active').parents('ul').show();
$('.active').children('ul').show();
$('.active').children('i.toggle').removeClass("fa-plus-squre").addClass("fa-minus-square-o");
$('.active').parents('li').children('.toggle').removeClass("fa-plus-square").addClass("fa-minus-square-o");
});
</script>
</body>
</html>

21
sitemap.xml Normal file
View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://elstoc.github.io/luadocs/categories/</loc>
</url>
<url>
<loc>https://elstoc.github.io/luadocs/</loc>
</url>
<url>
<loc>https://elstoc.github.io/luadocs/search/</loc>
</url>
<url>
<loc>https://elstoc.github.io/luadocs/tags/</loc>
</url>
</urlset>

159
tags/index.html Normal file
View file

@ -0,0 +1,159 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>darktable lua documentation - Tags</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="manifest" href="site.webmanifest">
<link rel="apple-touch-icon" href="icon.png">
<link rel="alternate" type="application/rss&#43;xml" href="https://elstoc.github.io/luadocs/tags/index.xml" title="darktable lua documentation">
<link rel="stylesheet" href="https://elstoc.github.io/luadocs/css/style.min.47630ae08827aa1c2929cbe7e1cea6136483d433056a38d5291d3cab868ec776.css">
</head>
<body>
<header class="navbar navbar-expand-lg sticky-top navbar-dark bg-dark">
<a class="navbar-brand" href="https://elstoc.github.io/luadocs/" rel="home" title=".Site.Title">
darktable lua documentation
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="/luadocs/search/">
<span>Search</span>
<span class="sr-only">(Current)</span>
</a>
</li>
</ul>
</div>
</header>
<div class="container-fluid">
<div class="row">
<nav class="navigation col-sm-12 order-sm-12 col-md-3 order-md-1">
<ul>
</ul>
</nav>
<div class="content col-sm-12 order-sm-1 col-md-6 mx-md-auto order-md-12">
<section>
<h1 class="title">Tags</h1>
<ul>
</ul>
</section>
<div class="row">
<div class="col-6">
</div>
<div class="col-6">
</div>
</div>
</div>
</div>
</div>
<script src="https://elstoc.github.io/luadocs/js/jquery.js"></script>
<script src="https://elstoc.github.io/luadocs/js/popper.js" type="module"></script>
<script src="https://elstoc.github.io/luadocs/js/bootstrap.js"></script>
<script src="https://elstoc.github.io/luadocs/js/lunr.js"></script>
<script src="https://elstoc.github.io/luadocs/js/app.js"></script>
<script>
$(document).ready(function(){
$('.parent ul').hide();
$('.toggle').on('click', function (e) {
e.stopPropagation();
$(this).siblings('ul').slideToggle();
if($(this).hasClass("fa-plus-square")) {
$(this).addClass("fa-minus-square-o");
$(this).removeClass("fa-plus-square");
}
else {
$(this).addClass("fa-plus-square");
$(this).removeClass("fa-minus-square-o");
}
});
$('.active').parents('ul').show();
$('.active').children('ul').show();
$('.active').children('i.toggle').removeClass("fa-plus-squre").addClass("fa-minus-square-o");
$('.active').parents('li').children('.toggle').removeClass("fa-plus-square").addClass("fa-minus-square-o");
});
</script>
</body>
</html>

10
tags/index.xml Normal file
View file

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on darktable lua documentation</title>
<link>https://elstoc.github.io/luadocs/tags/</link>
<description>Recent content in Tags on darktable lua documentation</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language><atom:link href="https://elstoc.github.io/luadocs/tags/index.xml" rel="self" type="application/rss+xml" />
</channel>
</rss>