You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* maybe solved searching??
* Added comments for search
* attempt at a lunr search
* removed wrap terms func
* fixed lunr ref issue
* updated search for multilingual logic
* trying to fix enter bug
* trying list.js update function
* fixed earlier bug and got search working with filter logic
* fixed search bugs and got it working with filter logic
* fixed search bugs and got it working with filter logic
* added search enable button and more comments to code
* fixed most of the bugs in full text search
* added in support for multiple language stemmers
* create snippet templates for search terms
* updated search input to work with snippets
* trying to comment and clean up code
* FR snippets
* cleaned up code
* ordered lessons by search score
* removed abstract styling from style.css
* Update snippets.yml
translated to ES search snippets
* added search info and search indicator
* switched icon to question mark
* fixed search info for firefox and added loader
* cleaning up code and adding comments
* cleaning code and changing url to slug
* reverted back to url and added more comments
* removed all console.logs and added snippet
* ES translation of search documentation snippet
* FR translation search documentation snippet
* use md shortcut for URLs
* moved js files to vendor and only loaded file for language
* adding the vendor files again
* readding js vendor and updatinggitignore
Co-authored-by: Matthew Lincoln <[email protected]>
Co-authored-by: spapastamkou <[email protected]>
Co-authored-by: Jennifer Isasi <[email protected]>
Co-authored-by: Riva Quiroga <[email protected]>
Co-authored-by: Matthew Lincoln <[email protected]>
Copy file name to clipboardExpand all lines: _data/snippets.yml
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -352,6 +352,40 @@ filtering-results:
352
352
es: Filtradas por
353
353
fr: Filtrage par
354
354
pt:
355
+
loading-search:
356
+
en: LOADING SEARCH...
357
+
es: CARGANDO LA BÚSQUEDA...
358
+
fr: RECHERCHE EN COURS...
359
+
pt:
360
+
search-lessons:
361
+
en: SEARCH LESSONS
362
+
es: BUSCAR LECCIONES
363
+
fr: RECHERCHER LES LEÇONS
364
+
pt:
365
+
start-searching:
366
+
en: START SEARCHING
367
+
es: INICIAR BÚSQUEDA
368
+
fr: DÉMARRER LA RECHERCHE
369
+
pt:
370
+
type-search-terms:
371
+
en: TYPE SEARCH TERMS...
372
+
es: ESCRIBE LOS TÉRMINOS DE BÚSQUEDA...
373
+
fr: ENTRER UN OU PLUSIEURS TERMES DE RECHERCHE...
374
+
pt:
375
+
search-info:
376
+
en: |
377
+
To search for relevant terms, enter them into the search bar and either press the enter key or the search button. All searches are case insensitive. If multiple terms are entered, results will include lessons that have all terms, as well as lessons that contain *either term*. Results with more of the terms will be scored higher in the list.
378
+
379
+
To only return results with multiple terms, add the `+` symbol before the term. For example, `+Twitter +Network` will return lessons that contain *both* "twitter" and "network". To only return results that *do not* contain a term use the `-` symbol. For example, `-Twitter +Network` will return lessons that contain "network" but not "twitter". For more detailed information, visit this guide on searching: <https://lunrjs.com/guides/searching.html>
380
+
es: |
381
+
Para buscar términos relevantes, escríbelos en la barra de búsqueda y aprieta la tecla "enter" o haz clic en el botón "buscar lecciones". Las búsquedas no distinguen mayúsculas y minúsculas. Si se ingresan múltiples términos, los resultados incluirán tanto lecciones que los contengan todos, como lecciones que contengan *solo alguno*. Los resultados que incluyan más de un término aparecerán primero en la lista.
382
+
383
+
Para obtener solo resultados con múltiples términos, agrega el símbolo `+` antes de cada uno. Por ejemplo, `+Twitter +Red` devolverá lecciones que contienen *tanto* "twitter" como "red". Para obtener solo resultados que *no* contengan cierto término, utiliza el símbolo `-`. Por ejemplo, `-Twitter +Red` devolverá lecciones que contienen "red" pero no "twitter". Para información más detallada, puedes revisar la guía sobre búsquedas (en inglés): <https://lunrjs.com/guides/searching.html>
384
+
fr: |
385
+
Pour obtenir des résultats en utilisant plusieurs termes de recherche, faites précéder chaque terme du symbole `+`. Par exemple, en insérant `+Twitter +réseau`, vous obtiendrez les tutoriels qui contiennent tous les deux termes. Pour *exclure* un terme des résultats obtenus, vous pouvez utiliser le symbole `-`. Par exemple, en insérant `-Twitter +réseau`, vous obtiendrez les tutoriels qui contiennent le terme "réseau", mais pas "Twitter". Pour en savoir plus sur les modalités de recherche, merci de consulter ce guide <https://lunrjs.com/guides/searching.html>
Core code for generating filterable lesson indexes on lessons.md and es/lecciones.md. This will repeatedly call lesson_describe.html in which individual lessons have their metadata formatted for display.
2
+
Core code for generating filterable lesson indexes on lessons.md and es/lecciones.md. This will repeatedly call
3
+
lesson_describe.html in which individual lessons have their metadata formatted for display.
Activity and topic are hidden via CSS as a hack to let JS sorting by activity and topic work. Note that the date sort is based on translation date first, falling back to publication date.
0 commit comments