Skip to content

Commit

Permalink
update docs source (#328)
Browse files Browse the repository at this point in the history
  • Loading branch information
lesleyrs committed Aug 31, 2024
1 parent 598a521 commit 92ff74f
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions docs/implementation.html
Original file line number Diff line number Diff line change
Expand Up @@ -256,11 +256,12 @@ <h3 id="adding-your-code-to-lobster">Adding your code to Lobster</h3>
You can turn Lobster into a console-only language in one step by simply
removing the engine folder from the project.</p></li>
</ul>
<p>You can always run Lobster with the <code>--gen-builtins-html</code> option to get an
overview of all functions currently added to the system (the current
list is <a href="builtin_functions_reference.html">here</a>). To
add/remove functionality is generally as easy as adding/removing the
corresponding <code>.cpp</code> file.</p>
<p>You can always run Lobster with the <code>--gen-builtins-html</code>
option to get an overview of all functions currently added to the system
(the current list is <a
href="builtin_functions_reference.html">here</a>). To add/remove
functionality is generally as easy as adding/removing the corresponding
<code>.cpp</code> file.</p>
<p>Lobster uses some macros to allow you to define a native function in
one location without declarations needed elsewhere. To learn how to
write your own .cpp of native functions, best to start with a simple
Expand Down
2 changes: 1 addition & 1 deletion docs/implementation_wasm_REMOVED.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
}
@media print {
pre > code.sourceCode { white-space: pre-wrap; }
pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; }
pre > code.sourceCode > span { display: inline-block; text-indent: -5em; padding-left: 5em; }
}
pre.numberSource code
{ counter-reset: source-line 0; }
Expand Down
2 changes: 1 addition & 1 deletion docs/source/implementation.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ fashion, in the Visual Studio project you can see all things added to Lobster in
different rendering system. You can turn Lobster into a console-only
language in one step by simply removing the engine folder from the project.

You can always run Lobster with the `-r` option to get an overview of all
You can always run Lobster with the `--gen-builtins-html` option to get an overview of all
functions currently added to the system (the current list is
[here](builtin_functions_reference.html)). To add/remove functionality is
generally as easy as adding/removing the corresponding `.cpp` file.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/lsp.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Usually you have to package this LSP in a addon for your preferred IDE.
See your IDE/editors documentation on how to integrate this.
PRs are always welcome.

You compile the LSP to a final js file to be execute by node with `npm webpack`.
You compile the LSP to a final js file to be execute by node with `npm run webpack`.

0 comments on commit 92ff74f

Please sign in to comment.