leonzchang
40c034ed3f
apply suggest changes
2023-11-29 11:34:08 +08:00
leonzchang
b0a001c6a4
create relative path through ignore root and path
2023-11-08 13:35:35 +08:00
leonzchang
722c55f85f
normalize path to relative
2023-11-01 12:33:13 +08:00
leonzchang
3ab19f3295
Revert "bump version v0.4.36"
...
This reverts commit 621ffc46c0
.
2023-10-31 12:22:08 +08:00
leonzchang
621ffc46c0
bump version v0.4.36
2023-10-31 12:14:28 +08:00
leonzchang
fbb629c02e
normalize path in watch cmd
2023-10-31 12:13:25 +08:00
Eric Huss
94e0a44e15
Merge pull request #2206 from ehuss/bump-version
...
Update to 0.4.35
2023-09-29 22:43:05 +00:00
Eric Huss
f25181f68d
Update to 0.4.35
2023-09-29 14:33:45 -07:00
Eric Huss
cf19eb1386
Fix `text-direction` in documentation.
2023-09-29 14:33:20 -07:00
Eric Huss
0583119698
Merge pull request #2197 from dluschan/patch-1
...
Update index.hbs
2023-09-22 17:26:27 +00:00
Dmitry Luschan
3389f3db7f
Update index.hbs
...
Trailing slash on void elements has no effect and interacts badly with unquoted attribute values.
2023-09-19 20:44:39 +06:00
Eric Huss
c642f5f8a3
Merge pull request #2187 from notriddle/notriddle/warning-block
...
Add `.warning` class for doc author use
2023-09-09 20:13:10 +00:00
Michael Howell
ceb8b509e2
Add more guides to stock CSS classes
2023-09-08 13:27:02 -07:00
Michael Howell
65dae11e47
Add `.warning` class for doc author use
...
This is designed to be compatible with rustdoc's version, in
https://github.com/rust-lang/rust/pull/106561
2023-09-08 13:17:21 -07:00
Dylan DPC
d5b1676216
Merge pull request #2168 from pickfire/prefetch
...
Add prefetch to next link
2023-09-04 18:03:38 +00:00
Eric Huss
09f222baf7
Merge pull request #1641 from cN3rd/rtl
...
Continued work on "Support right-to-left languages"
2023-09-02 23:57:48 +00:00
Eric Huss
802e7bffc3
Make the arrow keys honor RTL.
...
At least to my understanding, the pages will flip in the opposite direction.
2023-09-02 16:44:47 -07:00
Eric Huss
fb272d1afa
Fix theme selector for RTL.
2023-09-02 16:43:21 -07:00
Eric Huss
b871676def
Fix sidebar behavior with RTL.
2023-09-02 16:43:13 -07:00
Eric Huss
869fe2f50d
Remove text_drection_from_lang_code
...
The test above should cover this sufficiently.
2023-09-02 16:42:53 -07:00
Eric Huss
db877b1c9b
Update language list to include missing rtl languages.
2023-09-02 16:42:14 -07:00
Eric Huss
4749f9d97a
Some minor corrections from code review.
2023-09-02 16:41:59 -07:00
cN3rd
8564a7fb51
Add proper test to inline code within the book.
2023-09-02 14:38:02 -07:00
cN3rd
6be98e0bbd
Ensure code segments always render in LTR
2023-09-02 14:37:59 -07:00
cN3rd
5e0c68c45e
Fix icons when using RTL
2023-09-02 07:50:23 -07:00
cN3rd
7717b9dcf2
Support `text_direction` attribute in HTML output
2023-09-02 07:50:21 -07:00
cN3rd
819a108f07
Add `text_direction` property in general book metadata
...
Text direction can selected in the config via the `text_direction` attribute in `book.toml`,
or be derived from the book's language.
2023-09-02 07:49:28 -07:00
Tim Crawford
3a99899114
Use CSS selectors to override properties for RTL
...
Fix behavior of some elements when displaying page in RTL.
Signed-off-by: Tim Crawford <crawfxrd@gmail.com>
2023-09-02 07:49:28 -07:00
Tim Crawford
1088066c69
Move sidebar, js classes from html to body element
...
This will be necessary for using CSS selectors on root attributes.
Signed-off-by: Tim Crawford <crawfxrd@gmail.com>
2023-09-02 07:49:27 -07:00
Tim Crawford
73d44503fd
Use logical CSS properties
...
Replace phyiscal properties (top/bottom/left/right) with logical
properties (start/end) that can be used in non-LTR contexts (e.g.,
content in Arabic or Hebrew).
Based on the CSS Logical Properties and Values Level 1 specification,
currently an Editor's Draft [1].
Referencing MDN, all major browsers except Internet Explorer support the
margin, padding, and border properties.
[1]: https://drafts.csswg.org/css-logical/
Signed-off-by: Tim Crawford <crawfxrd@gmail.com>
2023-09-02 07:47:12 -07:00
Eric Huss
25aaff0bd6
Merge pull request #2182 from cuishuang/master
...
remove the repetitive word
2023-09-02 13:41:15 +00:00
cui fliter
29691461c5
remove the repetitive word
...
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-09-02 14:04:32 +08:00
Dylan DPC
a74e4dcec8
Merge pull request #2181 from tshepang/patch-1
...
docs: future expansion to non-Rust testing already implied
2023-09-01 08:55:38 +00:00
Tshepang Mbambo
0b0b548d7a
docs: future expansion to non-Rust testing already implied
2023-09-01 05:11:18 +02:00
Dylan DPC
02f3823e4c
Merge pull request #2175 from qaqland/sidebar-pure-css
...
Sidebar but Pure CSS, fix rust-lang/mdBook#859
2023-08-24 13:11:14 +00:00
qaqland
36327efe9d
Sidebar but Pure CSS, fix rust-lang/mdBook#859
...
* change sidebar-toggle button by input:checked and label
* change nav-wrappers' CSS selectors
* remove loading animation when page opens with z-index
2023-08-24 16:44:25 +08:00
Ivan Tham
c9f1d01346
Add prefetch to next link
...
Fix #1975
2023-08-17 00:50:47 +08:00
Eric Huss
56c225bd34
Merge pull request #2158 from ehuss/bump-version
...
Update to 0.4.34
2023-08-05 21:54:12 +00:00
Eric Huss
55c017cad1
Update to 0.4.34
2023-08-05 14:34:42 -07:00
Eric Huss
7849d55b99
Merge pull request #2157 from ehuss/macos-notify-copy
...
Add workaround for macOS notify problem.
2023-08-05 20:35:33 +00:00
Eric Huss
c903cc8827
Add workaround for macOS notify problem.
2023-08-05 13:23:17 -07:00
Eric Huss
4a797b9565
Revert "Merge pull request #2152 from ehuss/macos-notify-kqueue"
...
This reverts commit 347e7886e1
, reversing
changes made to a8fd6038f1
.
2023-08-05 12:53:23 -07:00
Eric Huss
57b487eaa3
Merge pull request #2154 from ehuss/bump-version
...
Update to 0.4.33
2023-08-04 00:11:45 +00:00
Eric Huss
891b7c06f2
Update to 0.4.33
2023-08-03 17:03:40 -07:00
Eric Huss
f7e212ec9c
Merge pull request #2150 from proski/header-code-background
...
Don't use distinct background for code in headers when printing
2023-08-03 22:46:50 +00:00
Pavel Roskin
228538ea62
Don't use distinct background for code in headers when printing
...
Fixes #1933
2023-08-02 23:31:46 -07:00
Eric Huss
347e7886e1
Merge pull request #2152 from ehuss/macos-notify-kqueue
...
Switch macOS notify to kqueue.
2023-08-02 22:13:09 +00:00
Eric Huss
bfa5fb8844
Switch macOS notify to kqueue.
2023-08-02 09:21:25 -07:00
Eric Huss
a8fd6038f1
Merge pull request #2151 from ehuss/revert-toml
...
Revert toml update
2023-08-02 15:49:44 +00:00
Eric Huss
fbfe887084
Add note to not update toml.
2023-08-02 08:39:23 -07:00