Skip to content

Commit 6844086

Browse files
committed
Make top-level special pages part of the web version of the book
1 parent 798ba4e commit 6844086

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

generate-book.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,16 @@ def main():
3232

3333
for path in os.listdir('text'):
3434
symlink(f'../text/{path}', f'src/{path}')
35+
symlink(f'../compiler_changes.md', f'src/compiler_changes.md')
36+
symlink(f'../lang_changes.md', f'src/lang_changes.md')
37+
symlink(f'../libs_changes.md', f'src/libs_changes.md')
3538
symlink('../README.md', 'src/introduction.md')
3639

3740
with open('src/SUMMARY.md', 'w') as summary:
3841
summary.write('[Introduction](introduction.md)\n\n')
42+
summary.write('- [Guidelines for compiler changes](compiler_changes.md)\n')
43+
summary.write('- [Guidelines for language changes](lang_changes.md)\n')
44+
summary.write('- [Guidelines for library changes](libs_changes.md)\n')
3945
collect(summary, 'text', 0)
4046

4147
subprocess.call(['mdbook', 'build'])

0 commit comments

Comments
 (0)