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

Fix getting started docs #631

Merged
merged 1 commit into from
Oct 22, 2024

Conversation

efaulhaber
Copy link
Member

Closes #629.

@efaulhaber efaulhaber added bug Something isn't working documentation Improvements or additions to documentation labels Oct 21, 2024
@@ -18,6 +18,11 @@ Then start the simulation by executing
julia> trixi_include(joinpath(examples_dir(), "fluid", "hydrostatic_water_column_2d.jl"))
```

The easiest way to quickly visualize the result is to use Plots.jl:
```jldoctest getting_started; filter = r".*"s, setup=:(trixi_include(@__MODULE__, joinpath(examples_dir(), "fluid", "hydrostatic_water_column_2d.jl")))
Copy link
Member Author

Choose a reason for hiding this comment

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

I wish I could avoid filter to actually test that a plot comes out, but output = false doesn't work here, so it would show Plot{Plots.GRBackend() n=1800} in the docs, which is ugly.

@efaulhaber efaulhaber requested review from LasNikas and svchb October 21, 2024 16:01
@svchb svchb enabled auto-merge (squash) October 21, 2024 16:32
@efaulhaber efaulhaber disabled auto-merge October 22, 2024 08:35
@efaulhaber efaulhaber merged commit cbcac9c into trixi-framework:main Oct 22, 2024
4 checks passed
@efaulhaber efaulhaber deleted the docs-getting-started branch November 12, 2024 16:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Docs] Getting started page claims a plot is automatically diplayed, but it isn't
3 participants