Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Page Not Found :: Electrónica, Robótica e IOT con Elixir</title>
<meta name="generator" content="Antora 3.1.10">
<meta name="generator" content="Antora 3.1.14">
<link rel="stylesheet" href="/elixir-robotics/_/css/site.css">
<link rel="stylesheet" href="/elixir-robotics/_/js/vendor/styles/monokai.css">
</head>
Expand Down
23 changes: 10 additions & 13 deletions docs/_/js/search-ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,9 @@
document.head.appendChild(link);
}

function highlightPageTitle (title, terms) {
const positions = getTermPosition(title, terms);
return buildHighlightedText(title, positions, snippetLength)
}

function highlightSectionTitle (sectionTitle, terms) {
if (sectionTitle) {
const text = sectionTitle.text;
const text = sectionTitle.title ?? sectionTitle.text;
const positions = getTermPosition(text, terms);
return buildHighlightedText(text, positions, snippetLength)
}
Expand All @@ -156,8 +151,7 @@
return []
}

function highlightText (doc, terms) {
const text = doc.text;
function highlightText (text, terms) {
const positions = getTermPosition(text, terms);
return buildHighlightedText(text, positions, snippetLength)
}
Expand All @@ -183,9 +177,12 @@
}
}
return {
pageTitleNodes: highlightPageTitle(doc.title, terms.title || []),
pageTitleNodes: highlightText(doc.title, terms.title || []),
sectionTitleNodes: highlightSectionTitle(sectionTitle, terms.title || []),
pageContentNodes: highlightText(doc, terms.text || []),
pageContentNodes: highlightText(
sectionTitle?.title && sectionTitle.text ? sectionTitle.text : doc.text,
terms.text || []
),
pageKeywordNodes: highlightKeyword(doc, terms.keyword || []),
}
}
Expand All @@ -199,12 +196,12 @@
let sectionTitle;
if (ids.length > 1) {
const titleId = ids[1];
sectionTitle = doc.titles.filter(function (item) {
sectionTitle = doc.titles.find(function (item) {
return String(item.id) === titleId
})[0];
});
}
const metadata = item.matchData.metadata;
const highlightingResult = highlightHit(metadata, sectionTitle, doc);
const highlightingResult = highlightHit(metadata, sectionTitle || doc, doc);
const componentVersion = store.componentVersions[`${doc.component}/${doc.version}`];
if (componentVersion !== undefined && currentComponent !== componentVersion) {
const searchResultComponentHeader = document.createElement('div');
Expand Down
Binary file added docs/atomvm/_images/components/motoresdc.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/atomvm/_images/components/servo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion docs/atomvm/arcade.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="canonical" href="https://elixircl.github.io/elixir-robotics/atomvm/arcade.html">
<link rel="prev" href="remote.html">
<link rel="next" href="../colosseo/colosseo.html">
<meta name="generator" content="Antora 3.1.10">
<meta name="generator" content="Antora 3.1.14">
<link rel="stylesheet" href="../_/css/site.css">
<link rel="stylesheet" href="../_/js/vendor/styles/monokai.css">
</head>
Expand Down
2 changes: 1 addition & 1 deletion docs/atomvm/atomvm.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="canonical" href="https://elixircl.github.io/elixir-robotics/atomvm/atomvm.html">
<link rel="prev" href="../tools/cad.html">
<link rel="next" href="devenv.html">
<meta name="generator" content="Antora 3.1.10">
<meta name="generator" content="Antora 3.1.14">
<link rel="stylesheet" href="../_/css/site.css">
<link rel="stylesheet" href="../_/js/vendor/styles/monokai.css">
</head>
Expand Down
30 changes: 21 additions & 9 deletions docs/atomvm/components.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="canonical" href="https://elixircl.github.io/elixir-robotics/atomvm/components.html">
<link rel="prev" href="devenv.html">
<link rel="next" href="remote.html">
<meta name="generator" content="Antora 3.1.10">
<meta name="generator" content="Antora 3.1.14">
<link rel="stylesheet" href="../_/css/site.css">
<link rel="stylesheet" href="../_/js/vendor/styles/monokai.css">
</head>
Expand Down Expand Up @@ -226,6 +226,12 @@ <h2 id="motor-dc"><a class="anchor" href="#motor-dc"></a>Motor DC</h2>
Se recomienda una alimentación de 9V separada de la placa de desarrollo para alimentar los motores
y tengan una buena velocidad. Son ideales para las ruedas que dan movimiento al carro.</p>
</div>
<div class="imageblock">
<div class="content">
<img src="_images/components/motoresdc.jpg" alt="motoresdc">
</div>
<div class="title">Figure 1. Motores DC</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones"><a class="anchor" href="#guía-de-conexiones"></a>Guía de Conexiones</h3>
<div class="paragraph">
Expand Down Expand Up @@ -353,6 +359,12 @@ <h2 id="servomotor"><a class="anchor" href="#servomotor"></a>Servomotor</h2>
<p>A diferencia de un motor DC, el servomotor puede ser controlado con precisión, pero son más lentos.
En este caso se utilizará un <a href="https://mcielectronics.cl/shop/product/micro-servo-motor-sg90-9g-25775/">Micro servo SG90</a>.</p>
</div>
<div class="imageblock">
<div class="content">
<img src="_images/components/servo.png" alt="servo">
</div>
<div class="title">Figure 2. Servomotor SG90</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-2"><a class="anchor" href="#guía-de-conexiones-2"></a>Guía de Conexiones</h3>
<div class="paragraph">
Expand Down Expand Up @@ -471,7 +483,7 @@ <h2 id="evitar-obstáculos"><a class="anchor" href="#evitar-obstáculos"></a>Evi
<div class="content">
<img src="_images/components/obstacle.jpg" alt="obstacle">
</div>
<div class="title">Figure 1. Sensor de Obstáculos IR</div>
<div class="title">Figure 3. Sensor de Obstáculos IR</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-3"><a class="anchor" href="#guía-de-conexiones-3"></a>Guía de Conexiones</h3>
Expand Down Expand Up @@ -565,7 +577,7 @@ <h2 id="sensor-de-temperatura-y-humedad"><a class="anchor" href="#sensor-de-temp
<div class="content">
<img src="_images/components/dht.webp" alt="dht">
</div>
<div class="title">Figure 2. Sensor DHT11</div>
<div class="title">Figure 4. Sensor DHT11</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-4"><a class="anchor" href="#guía-de-conexiones-4"></a>Guía de Conexiones</h3>
Expand Down Expand Up @@ -662,7 +674,7 @@ <h2 id="sensor-de-movimiento"><a class="anchor" href="#sensor-de-movimiento"></a
<div class="content">
<img src="_images/components/pir.jpg" alt="pir">
</div>
<div class="title">Figure 3. Sensor PIR</div>
<div class="title">Figure 5. Sensor PIR</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-5"><a class="anchor" href="#guía-de-conexiones-5"></a>Guía de Conexiones</h3>
Expand Down Expand Up @@ -741,7 +753,7 @@ <h2 id="fotoresistencia"><a class="anchor" href="#fotoresistencia"></a>Fotoresis
<div class="content">
<img src="_images/components/foto.jpg" alt="foto">
</div>
<div class="title">Figure 4. Módulo de Fotoresistencia</div>
<div class="title">Figure 6. Módulo de Fotoresistencia</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-6"><a class="anchor" href="#guía-de-conexiones-6"></a>Guía de Conexiones</h3>
Expand Down Expand Up @@ -802,7 +814,7 @@ <h2 id="potenciometro"><a class="anchor" href="#potenciometro"></a>Potenciometro
<div class="content">
<img src="_images/components/potentiometer.jpg" alt="potentiometer">
</div>
<div class="title">Figure 5. Potenciómetro</div>
<div class="title">Figure 7. Potenciómetro</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-7"><a class="anchor" href="#guía-de-conexiones-7"></a>Guía de Conexiones</h3>
Expand Down Expand Up @@ -892,7 +904,7 @@ <h2 id="zumbador-activo-y-pasivo"><a class="anchor" href="#zumbador-activo-y-pas
<div class="content">
<img src="_images/components/buzzer.webp" alt="buzzer">
</div>
<div class="title">Figure 6. Zumbador</div>
<div class="title">Figure 8. Zumbador</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-8"><a class="anchor" href="#guía-de-conexiones-8"></a>Guía de Conexiones</h3>
Expand Down Expand Up @@ -977,7 +989,7 @@ <h2 id="botones"><a class="anchor" href="#botones"></a>Botones</h2>
<div class="content">
<img src="_images/components/button.png" alt="button">
</div>
<div class="title">Figure 7. Botón</div>
<div class="title">Figure 9. Botón</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-9"><a class="anchor" href="#guía-de-conexiones-9"></a>Guía de Conexiones</h3>
Expand Down Expand Up @@ -1146,7 +1158,7 @@ <h2 id="pantalla-oled"><a class="anchor" href="#pantalla-oled"></a>Pantalla OLED
<div class="content">
<img src="_images/components/ssd.jpg" alt="ssd">
</div>
<div class="title">Figure 8. Pantalla SSD1306</div>
<div class="title">Figure 10. Pantalla SSD1306</div>
</div>
<div class="sect2">
<h3 id="guía-de-conexiones-10"><a class="anchor" href="#guía-de-conexiones-10"></a>Guía de Conexiones</h3>
Expand Down
2 changes: 1 addition & 1 deletion docs/atomvm/devenv.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="canonical" href="https://elixircl.github.io/elixir-robotics/atomvm/devenv.html">
<link rel="prev" href="atomvm.html">
<link rel="next" href="components.html">
<meta name="generator" content="Antora 3.1.10">
<meta name="generator" content="Antora 3.1.14">
<link rel="stylesheet" href="../_/css/site.css">
<link rel="stylesheet" href="../_/js/vendor/styles/monokai.css">
</head>
Expand Down
2 changes: 1 addition & 1 deletion docs/atomvm/extensions.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Extender AtomVM :: Electrónica, Robótica e IOT con Elixir</title>
<link rel="canonical" href="https://elixircl.github.io/elixir-robotics/atomvm/extensions.html">
<meta name="generator" content="Antora 3.1.10">
<meta name="generator" content="Antora 3.1.14">
<link rel="stylesheet" href="../_/css/site.css">
<link rel="stylesheet" href="../_/js/vendor/styles/monokai.css">
</head>
Expand Down
2 changes: 1 addition & 1 deletion docs/atomvm/remote.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="canonical" href="https://elixircl.github.io/elixir-robotics/atomvm/remote.html">
<link rel="prev" href="components.html">
<link rel="next" href="arcade.html">
<meta name="generator" content="Antora 3.1.10">
<meta name="generator" content="Antora 3.1.14">
<link rel="stylesheet" href="../_/css/site.css">
<link rel="stylesheet" href="../_/js/vendor/styles/monokai.css">
</head>
Expand Down
Binary file removed docs/colosseo/_images/components/button.png
Binary file not shown.
Binary file removed docs/colosseo/_images/components/buzzer.webp
Binary file not shown.
Binary file removed docs/colosseo/_images/components/dht.webp
Binary file not shown.
Binary file removed docs/colosseo/_images/components/foto.jpg
Binary file not shown.
Binary file removed docs/colosseo/_images/components/obstacle.jpg
Binary file not shown.
Binary file removed docs/colosseo/_images/components/pir.jpg
Binary file not shown.
Binary file removed docs/colosseo/_images/components/potentiometer.jpg
Binary file not shown.
Binary file removed docs/colosseo/_images/components/ssd.jpg
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/colosseo/colosseo.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="canonical" href="https://elixircl.github.io/elixir-robotics/colosseo/colosseo.html">
<link rel="prev" href="../atomvm/arcade.html">
<link rel="next" href="../nerves/nerves.html">
<meta name="generator" content="Antora 3.1.10">
<meta name="generator" content="Antora 3.1.14">
<link rel="stylesheet" href="../_/css/site.css">
<link rel="stylesheet" href="../_/js/vendor/styles/monokai.css">
</head>
Expand Down
Loading