Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
Linking to mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayanaka-98 committed Jul 30, 2024
1 parent ddad354 commit 214bc27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions support/jac-lang.org/docs/learn/impl_docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ However, Jac-lang offers novel language features which allows a programmer to or

In jaclang the declaration of functions and objects can be done independently, as shown in the below code snippet. By doing so, it creates an empty shell for the function/object/enum.

```python
```jac linenums="1"
can foo();
obj vehicle;
Expand All @@ -51,7 +51,7 @@ with entry {
```
The bodies should be defined somewhere in the codebase for the program to be compiled successfully. The notation for defining the function/object/enum bodies are as follows, for the given example.

```python
```jac linenums="1"
:can:foo() {
return ("Hello");
}
Expand Down
1 change: 1 addition & 0 deletions support/jac-lang.org/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ nav:
- ~/for_coders:
- 'learn/guide.md'
- 'learn/jac_ref.md'
- 'learn/impl_docs.md'
- 'learn/with_llm.md'
- 'learn/tips_tricks.md'
- 'learn/jac_plugins.md'
Expand Down

0 comments on commit 214bc27

Please sign in to comment.