Skip to content

Commit

Permalink
chore(docs): moved api lang docs into the learn by docs (#7217)
Browse files Browse the repository at this point in the history
Fixed for #7216

This merges the https://www.winglang.io/docs/api/language and https://www.winglang.io/docs/learn sections together.

The information from https://www.winglang.io/docs/api/language was duplicated in the wing learn by sections, and some stuff was missing all together. This just cleans it up.

Next phase it actually reviewing the "Getting Started" and "Learn" sections and stream lining into stuff that makes more sense for people learning Wing. I like have rust have done it (https://www.rust-lang.org/learn) with install and learn, with learn forking off into courses, books, learn by, and examples... I think there is much we can learn from here. 

This PR is a small step to that direction.
  • Loading branch information
boyney123 authored Nov 5, 2024
1 parent d610f3c commit cb705f3
Show file tree
Hide file tree
Showing 23 changed files with 509 additions and 826 deletions.
4 changes: 2 additions & 2 deletions docs/api/01-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ keywords: [Wing language, api]

- [CLI User Manual](/docs/api/cli)
- Learn and explore the Wing Cli
- [Wing Language](/docs/api/language/variable-declaration)
- Dive deeper into the Wing Language, learn how to [declare variables](/docs/api/language/variable-declaration), [functions](/docs/api/language/functions-example), [structs](/docs/api/language/structs) and much more.
- [Wing Language](/docs/learn)
- Dive deeper into the Wing Language, learn how to [declare variables](/docs/learn/Variables), [functions](/docs/learn/functions), [structs](/docs/learn/structs) and much more.
- [Standard Library](/docs/api/standard-library)
- API references for the Wing standard library and supported modules
- [Language Reference](/docs/api/language-reference)
Expand Down
44 changes: 0 additions & 44 deletions docs/api/03-language/01-variable-declaration.md

This file was deleted.

78 changes: 0 additions & 78 deletions docs/api/03-language/02-primitives.md

This file was deleted.

51 changes: 0 additions & 51 deletions docs/api/03-language/03-functions.md

This file was deleted.

107 changes: 0 additions & 107 deletions docs/api/03-language/04-flow-controls.md

This file was deleted.

97 changes: 0 additions & 97 deletions docs/api/03-language/05-optionality.md

This file was deleted.

Loading

0 comments on commit cb705f3

Please sign in to comment.