-
-
Notifications
You must be signed in to change notification settings - Fork 78
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
Add tutorial set-up code #1147
base: master
Are you sure you want to change the base?
Add tutorial set-up code #1147
Conversation
@@ -1,4 +1,22 @@ | |||
# [Library of Basic Chemical Reaction Network Models](@id basic_CRN_library) | |||
```@raw html | |||
<details><summary><strong>Tutorial environment set-up</strong></summary> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is technically everything at tutorial though? Maybe we write "Environment set-up" and keep it at that, or something else. Or "Julia environment set-up".
```@raw html | ||
<details><summary><strong>Tutorial environment set-up</strong></summary> | ||
``` | ||
The following code sets up an environment for running this tutorial. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thinking of making part of the test a link to https://docs.sciml.ai/Catalyst/stable/introduction_to_catalyst/catalyst_for_new_julia_users/#catalyst_for_new_julia_users_packages, for anyone who wants clarifications.
<details><summary><strong>Tutorial environment set-up</strong></summary> | ||
``` | ||
The following code sets up an environment for running this tutorial. | ||
```julia |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could also do stuff like creating a new folder here, but people might not always like to do that. Figured his would be the minimal one.
```@raw html | ||
</details> | ||
``` | ||
\ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The " " is kind of ugly, but is required to add some space between the expandable menu and the actual text. There might be a markdown command which is more clear that that is what it does though.
Should solve #1105
Right now I just add a simple example for the CRN library example. If we are happy with text and approach we can copy across all (or some?) of the doc pages.
This is how it looks like by default:
And this when you click to expand the menu