@@ -105,6 +105,9 @@ def fill_site(self):
105
105
"""Fill the site with demo content."""
106
106
self .init_command .copy_sample_site (self .target_dir )
107
107
self .init_command .create_configuration (self .target_dir )
108
+ src1 = os .path .join (os .path .dirname (__file__ ), 'data' , '1-nolinks.rst' )
109
+ dst1 = os .path .join (self .target_dir , 'posts' , '1.rst' )
110
+ shutil .copy (src1 , dst1 )
108
111
# File for Issue #374 (empty post text)
109
112
with io .open (os .path .join (self .target_dir , 'posts' , 'empty.txt' ), "w+" , encoding = "utf8" ) as outf :
110
113
outf .write (
@@ -526,6 +529,9 @@ def fill_site(self):
526
529
"""Fill the site with demo content."""
527
530
self .init_command .copy_sample_site (self .target_dir )
528
531
self .init_command .create_configuration (self .target_dir )
532
+ src1 = os .path .join (os .path .dirname (__file__ ), 'data' , '1-nolinks.rst' )
533
+ dst1 = os .path .join (self .target_dir , 'posts' , '1.rst' )
534
+ shutil .copy (src1 , dst1 )
529
535
os .system ('rm "{0}/stories/creating-a-theme.rst" "{0}/stories/extending.txt" "{0}/stories/internals.txt" "{0}/stories/manual.rst" "{0}/stories/social_buttons.txt" "{0}/stories/theming.rst" "{0}/stories/upgrading-to-v6.txt"' .format (self .target_dir ))
530
536
531
537
def test_invariance (self ):
0 commit comments