This repository was archived by the owner on May 28, 2025. It is now read-only.
  
  
  
  
    
    
    
      
    
  
  
    
File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -552,6 +552,12 @@ version = "0.5.0"
552552source  = " registry+https://github.com/rust-lang/crates.io-index" 
553553checksum  = " 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" 
554554
555+ [[package ]]
556+ name  = " hex" 
557+ version  = " 0.4.3" 
558+ source  = " registry+https://github.com/rust-lang/crates.io-index" 
559+ checksum  = " 7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" 
560+ 
555561[[package ]]
556562name  = " html5ever" 
557563version  = " 0.27.0" 
@@ -874,9 +880,9 @@ dependencies = [
874880
875881[[package ]]
876882name  = " mdbook" 
877- version  = " 0.4.45 " 
883+ version  = " 0.4.47 " 
878884source  = " registry+https://github.com/rust-lang/crates.io-index" 
879- checksum  = " b07d36d96ffe1b5b16ddf2bc80b3b26bb7a498b2a6591061250bf0af8e8095ad " 
885+ checksum  = " 7e1a8fe3a4a01f28dab245c474cb7b95ccb4d3d2f17a5419a3d949f474c45e84 " 
880886dependencies  = [
881887 " ammonia" 
882888 " anyhow" 
@@ -886,6 +892,7 @@ dependencies = [
886892 " elasticlunr-rs" 
887893 " env_logger" 
888894 " handlebars" 
895+  " hex" 
889896 " log" 
890897 " memchr" 
891898 " once_cell" 
@@ -894,6 +901,7 @@ dependencies = [
894901 " regex" 
895902 " serde" 
896903 " serde_json" 
904+  " sha2" 
897905 " shlex" 
898906 " tempfile" 
899907 " toml 0.5.11" 
Original file line number Diff line number Diff line change @@ -15,6 +15,6 @@ mdbook-i18n-helpers = "0.3.3"
1515mdbook-spec  = { path  = " ../../doc/reference/mdbook-spec" 
1616
1717[dependencies .mdbook ]
18- version  = " 0.4.45 " 
18+ version  = " 0.4.47 " 
1919default-features  = false 
2020features  = [" search" 
Original file line number Diff line number Diff line change @@ -151,6 +151,7 @@ fn get_book_dir(args: &ArgMatches) -> PathBuf {
151151fn  load_book ( book_dir :  & Path )  -> Result3 < MDBook >  { 
152152    let  mut  book = MDBook :: load ( book_dir) ?; 
153153    book. config . set ( "output.html.input-404" ,  "" ) . unwrap ( ) ; 
154+     book. config . set ( "output.html.hash-files" ,  true ) . unwrap ( ) ; 
154155    Ok ( book) 
155156} 
156157
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments