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

Add tutorial set-up code #1147

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

TorkelE
Copy link
Member

@TorkelE TorkelE commented Dec 17, 2024

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:
image
And this when you click to expand the menu
image

@@ -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>
Copy link
Member Author

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.
Copy link
Member Author

Choose a reason for hiding this comment

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

<details><summary><strong>Tutorial environment set-up</strong></summary>
```
The following code sets up an environment for running this tutorial.
```julia
Copy link
Member Author

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>
```
\
Copy link
Member Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant