-
Notifications
You must be signed in to change notification settings - Fork 21
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
Set up documentation #36
Comments
@RSuryaNarayan You can start from this example to get familiar with Arrhenius.jl |
Sure @jiweiqi ! Shall go through. |
Shall I send a PR for this: |
@RSuryaNarayan I think it is a good practice to send a PR and get familiar with it. |
Sure @jiweiqi I shall send the PR right away |
@RSuryaNarayan A very minor remind, you may forget to specify the language for the following code block @inbounds function dudt!(du, u, p, t)
T = u[end]
Y = @view(u[1:ns])
mean_MW = 1. / dot(Y, 1 ./ gas.MW)
ρ_mass = P / R / T * mean_MW
X = Y2X(gas, Y, mean_MW)
C = Y2C(gas, Y, ρ_mass)
cp_mole, cp_mass = get_cp(gas, T, X, mean_MW)
h_mole = get_H(gas, T, Y, X)
S0 = get_S(gas, T, P, X)
wdot = wdot_func(gas.reaction, T, C, S0, h_mole)
Ydot = wdot / ρ_mass .* gas.MW
Tdot = -dot(h_mole, wdot) / ρ_mass / cp_mass
du .= vcat(Ydot, Tdot)
end Without specifying language,
|
@RSuryaNarayan BTW, it seems that |
Ah sorry for these bugs @jiweiqi shall correct them next time |
@jiweiqi the PNG doesn't render in the preview of the markdown for some reason. I have committed it nonetheless. Pls check the new PR |
I think the PNG file generated has something wrong. You can see an example here https://github.com/DENG-MIT/Arrhenius.jl/blob/main/docs/src/figures/schem.png. |
Aha no @jiweiqi that is not the problem. I meant the PNG file itself doesn't render as an image after I upload it. |
Oh, it is alright. We can fix it later. |
I was using this one |
@jiweiqi I seem to have used the right format now. It still doesn't render ryt? |
@RSuryaNarayan I just fixed it by changing the file path as |
https://sparkbox.com/foundry/github_wiki_tutorial_for_technical_wiki_documentation
The text was updated successfully, but these errors were encountered: