Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve the DSL docs page #146

Merged
merged 1 commit into from
Sep 1, 2024
Merged

Conversation

KipHamiltons
Copy link
Member

Mostly pretty easy stuff. Opted for rst features instead of HTML as well.

@@ -1,4 +1,4 @@
include .special.rst
.. include:: .special.rst
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is literally at the top of the page. Yikes
https://nuclear.readthedocs.io/en/latest/dsl.html

<font color="blue">DSL Request</font><br />

This is :red:`red !` And :blue:`this part is blue`.
:blue:`On<Dsl, Word(s)>`\(:red:`Runtime, Args`).then(:green:`CallbackFunction`);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we want to use rst, we should actually use it.

Also, that escaped paren is deliberate. It's required after the backtick

Finally, the developer can define the callback which will execute when the reaction is triggered during runtime. The
callback can be defined using a C++ lambda function.
callback can be defined using a C++ lambda expression.
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACKSHUALLY 🤓

these emissions can take place:

.. todo::

Trent - I need to decide and get consistent on what we will call the powerPlant. Should it be PowerPlant or
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Making an executive decision here

@TrentHouliston TrentHouliston changed the title Spruce up the dsl docs page. Improve the DSL docs page Sep 1, 2024
@TrentHouliston TrentHouliston merged commit 8cf2120 into main Sep 1, 2024
12 of 13 checks passed
@TrentHouliston TrentHouliston deleted the hamiltons/update-dsl-docs branch September 1, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants