-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc: add mdbook for language features (WIP)
- Loading branch information
Showing
8 changed files
with
66 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
book |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[book] | ||
authors = ["Kevin Thompson"] | ||
language = "en" | ||
multilingual = false | ||
src = "src" | ||
title = "Panther Language Docs" | ||
|
||
# This is so that mdBook doesn't start regenerating | ||
# deleted folders before autosummary can remove them from SUMMARY.md | ||
[build] | ||
create-missing = false | ||
|
||
[preprocessor.autosummary] | ||
|
||
[preprocessor.toc] | ||
after = ["autosummary"] | ||
|
||
[preprocessor.admonish] | ||
after = ["autosummary"] | ||
command = "mdbook-admonish" | ||
assets_version = "3.0.2" # do not edit: managed by `mdbook-admonish install` | ||
|
||
[preprocessor.inline-highlighting] | ||
after = ["autosummary"] | ||
default-language = "rust" | ||
|
||
[output] | ||
|
||
[output.html] | ||
additional-css = ["./mdbook-admonish.css"] |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!-- Generated by mdbook-autosummary v0.1.8 - do not edit manually! --> | ||
|
||
[Panther Programming Language](index.md) | ||
[Road map](roadmap.md) | ||
- [Language Tour](lang/index.md) | ||
- [Basics](lang/basics.md) | ||
- [Data Types](lang/data-types.md) | ||
- [Flow control](lang/flow-control.md) | ||
- [Functions](lang/functions.md) | ||
- [Standard library](lang/stdlib.md) | ||
- [Notes](notes/index.md) | ||
- [lang.md](notes/lang.md) | ||
- [panther-il.md](notes/panther-il.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Chapter 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Basics | ||
|
||
- Hello world | ||
- Modules | ||
- Unqualified imports | ||
- Type checking | ||
- Ints | ||
- Floats | ||
- Number formats | ||
- Equality | ||
- Strings | ||
- Bools | ||
- Assignments | ||
- Discard patterns | ||
- Type annotations | ||
- Type imports | ||
- Type aliases | ||
- Blocks | ||
- Lists | ||
- Constants |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Language Tour |