Skip to content

Commit 244d3f6

Browse files
authored
doc: show prelude contents as book appendix (#390)
1 parent f7ef94a commit 244d3f6

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

book/src/SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,6 @@
1515
- [Working with trees](./tree_sequence_tree.md)
1616
- [Miscellaneous operations](./tree_sequence_miscellaneous.md)
1717

18+
[Crate prelude](./prelude.md)
1819
[Changelog](./changelog.md)
1920
[Migration Guide](./migration_guide.md)

book/src/prelude.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# The `tskit` prelude
2+
3+
The contents of the crate prelude are:
4+
5+
```rust, noplaygound, ignore
6+
{{#include ../../src/prelude.rs}}
7+
```

0 commit comments

Comments
 (0)