Commit Graph

211 Commits

Author SHA1 Message Date
NatG411
b899bed51e NG-03172023 2023-03-17 11:47:09 -07:00
jasonzm46
f97da57764 JM03172023 2023-03-17 07:38:12 -07:00
jasonzm46
0a2364edbd JM03172023 2023-03-17 06:58:33 -07:00
jasonzm46
a0c2ca429b Merge branch 'main' into NG-commit-03152023 2023-03-16 16:07:44 -07:00
jasonzm46
612e6b907c NG-commit-03152023 2023-03-15 14:48:07 -07:00
jasonzm46
e8dd59a980 jasonpre 2023-03-14 13:00:13 -07:00
Thomas Hunter II
2f731939be Add margin to paragraph following code-block on phones (#1637) 2023-01-31 11:12:53 -05:00
Hunter
22ddbe340d Expand deprecated git.io links to full url (#1611) 2022-06-24 10:47:08 -04:00
Matthew Peveler
7f42fd4c4d Update jquery to 3.6.0 (#1458) 2021-06-17 23:51:33 +00:00
Matthew Peveler
8a5877f7c8 Add sample usage of meta frontmatter to layout
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2021-05-31 11:40:59 -04:00
Matthew Peveler
ef09832318 Support specifying custom meta tags in YAML (#1453) 2021-05-31 11:31:41 -04:00
Matthew Peveler
681f4818a5 Add guards around localStorage in case user disables it (#1399)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2021-02-25 09:25:55 -05:00
Matthew Peveler
e40f9be0c0 Fix shell code examples to have line continuations (#1324) 2020-10-27 14:47:45 -04:00
Mike Ralphson
3af62c84a5 upgrade lunr to 2.3.9 (#1325)
Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
2020-09-22 23:07:24 -04:00
Matthew Peveler
616df6223a trim ending newline on copied code (#1296)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-08-10 17:26:12 +03:00
Andrew Lloyd Cartwright
f390aba9a2 Strip HTML tags from ToC element with regex before showing in title bar (#1120) 2020-06-22 16:35:41 -04:00
Matthew Peveler
06478b9273 fix language bar truncating long list of langs (#1266)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-06-22 16:35:41 -04:00
Caleb Crane
513e78f0ad Fix handling ToC selectors that contain punctuation (#1109)
Tools like go-swag can produce schemas with IDs that contain '.' and
other characters that are used in CSS notation. Those IDs can't be used
properly in a jQuery selector unless the special characters are escaped.

Co-authored-by: Matthew Peveler <matt.peveler@gmail.com>
2020-06-22 16:35:41 -04:00
Matthew Peveler
bae7edc397 add copy to clipboard icon to code boxes (#1258)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-06-22 16:35:41 -04:00
Matthew Peveler
f720bd9387 use different rouge theme for printing (#1259)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-06-22 16:35:41 -04:00
Mike Ralphson
36f82aa880 Update JavaScript dependencies (#1248)
Signed-off-by: Mike Ralphson <mike.ralphson@gmail.com>
2020-06-22 16:35:41 -04:00
Matthew Peveler
aace071f89 fix bc style breaks from rouge 3.x (#1226)
* fix bc style breaks from rouge 3.x

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>

* use bright_pink for Name::Label

Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
2020-05-19 16:53:09 -04:00
Alex Mayer
274949c002 Update GitHub Links on example generated site (#1196) 2020-02-04 08:32:50 -05:00
Robert Lord
b2119b0313 Fix ToC issues, fix #995 2018-07-05 16:28:05 -07:00
Nick Busey
e621be095a Adding js to language bindings in sample intro (#1000) 2018-07-05 15:18:22 -07:00
Jerome Dahdah
7ecc79c93b Factor nav-padding into search input width (#967)
Hardcoded value of 30px no longer works when navigation padding is changed. This is now calculated dynamically.
2018-03-01 08:33:14 -08:00
Andrey Fedorov
76b06fede7 Fixes #909, reverts "don't pushState", using replaceState instead (#949)
Partially reverts 95f924fd0d.
2018-02-08 14:22:41 -06:00
Dan Levy
dd8e04c6f4 Cleans HTML before setting document.title (#946)
Fixes https://github.com/lord/slate/issues/945
2018-01-28 15:21:01 -06:00
Robert Lord
b742b60413 Fix broken list, replaces #918 2018-01-20 12:41:03 -06:00
Tomi Takussaari
8af90c16c5 Upgrade to latest jQuery (3.2.1) (#939) 2018-01-20 12:37:44 -06:00
Gregor Martynus
c310afa807 remove unneccessary offensive language :hug: (#910) 2017-11-28 16:26:02 -08:00
Robert Lord
e95a16d55f Fix bug where wrapping the logo in an <a> tag would brake it 2017-11-23 13:09:21 -08:00
Robert Lord
7ef0fd4327 Parameterize ToC titles, remove html tags from slug (thx seweil), fixes #904 2017-11-23 10:23:52 -08:00
Martius
2056b4a4b9 fixed Markdown code formatting using backticks inside HTML code block in _errors.md (#905) 2017-11-23 09:53:50 -08:00
Robert Lord
b6cf496445 Update nav-text to update toc text too, fixes #885 2017-10-30 00:30:04 -05:00
Ben
adf815e35f Fix data-title attribute for H2 elements in TOC (#884)
I believe the data-title attribute for H2 elements was mistakenly using the parent H1 content as its value, rather than its own content.
2017-09-30 16:39:15 -05:00
Robert Lord
bdf8548cc7 Comment out rtl direction by default 2017-09-16 14:43:57 -05:00
Mohammad Hossein Rabiee
024c6dc962 Slate RTL (#842) 2017-09-16 14:43:17 -05:00
Zach Toolson
95f924fd0d Do not push history state. The browser already handles back properly (#878) 2017-09-13 23:17:16 -05:00
Fouad Matin
e97630b186 source: update index.html.md s/tripit/lord/g 2017-09-06 14:59:08 -04:00
Nicolas Bonduel
a1ba73f437 Update screen.css.scss
Add possibility to have the ´code´ tag inside the content tables
2017-08-09 14:00:55 -07:00
Marian Friedmann
4f3116a68c Add border width to negative margin to prevent jumps 2017-07-27 08:19:11 -07:00
Diego
a00b046b3d Update_lang.js
on line 101 missing a semicolon
2017-07-20 11:01:19 -07:00
Abdullah Hashim
2e88f725fa Changes retrieves to deletes
I think the use of the word retrieves in the DELETE request is used mistakenly.
2017-07-20 10:28:53 -07:00
Alejandro Aguirre
bdb6930310 Update_errors.md (#815)
Adding some punctuation marks.
2017-07-17 20:31:24 -07:00
Robert Lord
e890c4bb8b Add note about language tabs as comment in default yaml frontmatter 2017-07-17 11:08:57 -07:00
Robert Lord
5663fb8b4f Fix bug with initial load of ToC always jumping to top 2017-07-06 23:32:43 -07:00
eliat123
2a63948592 Add configurable keypress delay before initiating search (#764) 2017-06-18 23:15:59 -07:00
Robert Lord
61d7f08ff2 Fix nav subitem bg 2017-03-31 14:56:09 -05:00
Robert Lord
3db7835c38 Switch default fonts to system fonts, very slightly blueify default colors 2017-03-31 14:50:37 -05:00