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

Adding Documenter.jl documentation #92

Merged
merged 36 commits into from
Sep 5, 2023
Merged

Adding Documenter.jl documentation #92

merged 36 commits into from
Sep 5, 2023

Conversation

AnHeuermann
Copy link
Member

Updating Documentation and switching to Documenter.jl documentation hosted on GitHub pages.

@AnHeuermann
Copy link
Member Author

@arun3688 feel free to push your updates to this branch. Then we can see the updates in the documentation on the hosted page: https://openmodelica.github.io/OMJulia.jl/dev/

@AnHeuermann AnHeuermann marked this pull request as ready for review September 5, 2023 11:53
@AnHeuermann
Copy link
Member Author

Of course the CI gets stuck again

 ┌ Debug: Evaluating @repl block:
│ using OMJulia
│ mod = OMJulia.OMCSession()
│ omcWorkDir = mkpath(joinpath("docs", "omc-temp"))  # hide
│ mkpath(omcWorkDir)                                 # hide
│ sendExpression(mod, "cd(\"$(omcWorkDir)\")")       # hide
│ ModelicaSystem(mod,
│                joinpath("docs", "testmodels", "ModSeborgCSTRorg.mo"),
│                "ModSeborgCSTRorg")
└ @ Documenter.Expanders ~/.julia/packages/Documenter/bYYzK/src/Expanders.jl:710
Error: The operation was canceled.

@AnHeuermann
Copy link
Member Author

I think I found the error in 0ec9f7d#diff-dc43fffef55b37c2a83193f882e2353198d095feda1cc5d5f89dd962ae49efc0R134-R136.

It looks like

open(pipeline`$omc $args1 $args2`)

broke the Documenter.jl build. Reverting the change to

open(pipeline`$omc $args1 $args2`, stdout="stdout.log", stderr="stderr.log")

seems to fix this. But in that case we will never be able to build the documentation on Windows, because of #88.

@AnHeuermann AnHeuermann merged commit 4637c5f into master Sep 5, 2023
3 checks passed
@AnHeuermann AnHeuermann deleted the new-doc branch September 5, 2023 14:27
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.

2 participants