1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-15 15:26:06 -05:00
Commit Graph

56 Commits

Author SHA1 Message Date
Patrick Marsceill
ff106641b0
syntax error 2019-09-09 16:09:05 -04:00
Patrick Marsceill
dbac62127a
Merge branch 'v0.2.7-release' into change-theme-button-text 2019-09-09 16:06:21 -04:00
Patrick Marsceill
850a8fe256
Merge pull request #203 from pdmosses/search-config
Search config
2019-09-09 16:00:11 -04:00
Patrick Marsceill
9616dcf761
Update just-the-docs.js 2019-09-09 15:50:48 -04:00
Patrick Marsceill
3b42ec2762
Merge pull request #206 from iamcarrico/allow-for-overrides
Allow for custom overrides by the user
2019-09-09 15:35:31 -04:00
Patrick Marsceill
3ecdb59b48
Merge branch 'v0.2.7-release' into patch-1 2019-09-09 15:32:08 -04:00
Ian Carrico
47b7991805 Allow for custom overrides by the user 2019-09-04 08:55:11 -04:00
Peter Mosses
50cdf076b4 Add configuration option search_tokenizer_separator
The default is for hyphens to separate tokens in search terms: `gem-based` is equivalent to `gem based`.

This adds `search_tokenizer_separator` as a site configuation option, to support search for hyphenated words.
2019-08-29 15:36:13 +02:00
Silvio Giebl
132cecfea3 Added logo variable to _config.yml which can be set to a path/url
Automatically replaces the title with a logo
2019-08-17 14:32:25 +02:00
Silvio Giebl
c227db4406
Moved custom.js to includes 2019-08-14 10:07:36 -04:00
Silvio Giebl
4a574a2ec2
Fixed custom js 2019-08-14 09:57:27 -04:00
Patrick Marsceill
5867dc078f
Add rel path to title matches 2019-08-13 17:34:42 -04:00
Patrick Marsceill
d0325e948e
Fix up search results display 2019-08-13 17:24:36 -04:00
Patrick Marsceill
2b2ebf6033
Lint and docs 2019-08-13 17:24:23 -04:00
jacobherrington
eabe7b2585 Change button copy on theme preview
This commit makes the dark mode preview feel a little more interactive
and it also pulls some duplicated code into one file so that people like
me aren't stumped when they are looking at the wrong page!
2019-06-21 18:19:49 -05:00
Ben Goldhaber
c8a8ce3314
Fix trailing comma bug in search-data.json
If you exclude the last page in the site.html_pages through exclude_true you end up violating the assumption in the for loop that the last page won't have a trailing comma. This breaks the json data that is served to the front end.

I removed the forloop.last check and instead assign a temporary variable to check for the first non-excluded page, and then add the comma before the next non-excluded entry.
2019-06-04 18:02:56 -07:00
Silvio Giebl
008809e00b Include custom js, added js namespace 2019-05-19 20:40:54 +02:00
Silvio Giebl
96653f6d36 Simplified search-data.json 2019-05-19 20:08:31 +02:00
Silvio Giebl
9495640378 Improved search preview 2019-05-19 17:21:20 +02:00
Silvio Giebl
447ba4f20c Added variables for background colors 2019-05-19 02:55:43 +02:00
Silvio Giebl
48a4a37977 js fixes 2019-05-19 02:55:43 +02:00
Silvio Giebl
6f225b0d28 Improved search navigation 2019-05-19 02:55:43 +02:00
Silvio Giebl
e64a6aa239 Updated lunr.js, added search navigation and preview/highlighting 2019-05-19 02:55:43 +02:00
Silvio Giebl
e9f016ac0f Improved responsiveness of sidebar 2019-05-19 02:55:43 +02:00
Silvio Giebl
8c603aac1e Improved layout, unified spacing/font-sizes/border-radius/box-shadow 2019-05-19 02:55:43 +02:00
Silvio Giebl
03e2345833 Added anchor headings 2019-05-19 02:55:43 +02:00
Patrick Marsceill
c83bdf853e
Merge pull request #97 from montchr/montchr-50-sass-custom-import-order
Import custom Sass variable overrides before default variables are defined
2019-04-30 17:32:53 -07:00
Joe Nyland
839cf91428
Remove unnecessary console.log() 2019-03-15 08:20:21 +00:00
Chris Montgomery
5291de45c5
Import custom overrides Sass before variables are used 2019-03-03 23:01:10 -05:00
Patrick Marsceill
b77d22cf2e
Merge pull request #81 from ilivewithian/patch-1
Bug: Can now show single search result.
2019-02-02 11:31:37 -08:00
Patrick Marsceill
c9e4284754
Merge pull request #65 from stephenedmondson/master
search-data path fix
2019-02-02 11:22:53 -08:00
Rob White
5b8ff78bb6
Bug: Can now show single search result. 2019-01-29 13:39:20 +00:00
EricFromCanada
60c82cb518 Allow for ampersand in title or URL
Because `page.title` (and `page.url`) is already escaped and page titles served by lunrjs do not need escaping, ampersands need to be unescaped to display properly in search results.
2019-01-16 00:31:30 -05:00
EricFromCanada
9a4ea76957 Improve search content generator 2019-01-15 22:54:30 -05:00
EricFromCanada
793ea356c3 Use unless loop for comma
and mention `search_exclude`
2019-01-15 20:48:52 -05:00
EricFromCanada
ae5bcfe361 Fix grammar and capitalization 2019-01-14 14:43:29 -05:00
Stephen Edmondson
d7b1adb8c7 search-data path fix 2019-01-11 12:41:00 -06:00
Patrick Marsceill
f17700afe3
Better search index 2019-01-06 15:51:17 -05:00
Patrick Marsceill
954e8941bb
Accidental reversal 2018-12-16 15:23:33 -05:00
Patrick Marsceill
eaf1247911
Auto focus main content for keyboard scrolling 2018-12-16 15:22:51 -05:00
Patrick Marsceill
eb0a6c328f
Allow pages to be excluded from search 2018-12-16 14:47:41 -05:00
Patrick Marsceill
805eadb4bb
exclude dark mode manifest 2018-11-18 11:09:18 -05:00
Patrick Marsceill
8f6f4b761a
Merge branch 'master' of github.com:pmarsceill/just-the-docs into dark-mode 2018-11-16 12:40:35 -05:00
Patrick Marsceill
d11e332dc6
Create condition for no search and add config/css 2018-11-16 11:46:43 -05:00
Patrick Marsceill
3418332411
Forgot the slash 😬 2018-11-16 10:28:47 -05:00
Patrick Marsceill
5ac39f75a1
move this to vendor so stylelint shuts up 2018-11-16 10:25:18 -05:00
Patrick Marsceill
9c70c7f081
Convert colors to vars 2018-11-15 15:12:12 -05:00
Patrick Marsceill
62c7ac4729
Add done after creating content 2018-10-23 13:09:23 -04:00
Patrick Marsceill
25cd289df5
Fix pathing issues with gh-pages 2018-10-23 12:51:11 -04:00
Patrick Marsceill
d3e231648f
Show / hide search with mobile nav 2018-10-23 11:41:25 -04:00