File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,8 @@ mdbook build
1414# find "$outd" -name '*.html' | xargs sed -i '/<link href="[^"]*\bfonts\.googleapis\.com\b/d'
1515
1616#  Fix output for RTL languages (needs <https://github.com/rust-lang/mdBook/pull/1489>).
17- if  grep -qE ' ^_direction\s*=\s*"?rtl?"'   " $conf " ;  then 
18-     book=" $( sed -nE ' s/^build-dir\s*=\s"([^"]+)".*/\1/p'   " $conf " ) " 
19-     find " $book "   -name ' *.html'   -exec sed -i ' s/<body /<body dir="rtl" /'   ' {}'   ' ;' 
20- fi 
17+ #  No longer needed with <https://github.com/rust-lang/mdBook/pull/1641>.
18+ # if grep -qE '^_direction\s*=\s*"?rtl?"' "$conf"; then
19+ #     book="$(sed -nE 's/^build-dir\s*=\s"([^"]+)".*/\1/p' "$conf")"
20+ #     find "$book" -name '*.html' -exec sed -i 's/<body /<body dir="rtl" /' '{}' ';'
21+ # fi
Original file line number Diff line number Diff line change 11[book ]
22authors  = [" Ivan Vilata-i-Balaguer"  , " Dmitri Vitaliev"  , " Jenny Ryan"  ]
33language  = " fa" 
4- _direction  = " rtl" 
4+ text_direction  = " rtl" 
55multilingual  = false 
66src  = " fa.src" 
77title  = " دفترچهی راهنمای کاربر Censorship.no! (سنو)" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments