-
Notifications
You must be signed in to change notification settings - Fork 29
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
Updates in docstrings for predefined dynamical systems #113
Conversation
Is there a way to build the docs locally so I can test before I finalize the PR? cc: @Datseris |
Thanks,
You'd have to run P.s.: Not sure if unicode like p.s.s.: Please also increment patch version in Project.toml. |
Deal
Unicode will compile in latex. See https://github.com/FourierFlows/GeophysicalFlows.jl/blob/bb88f49db31b7eb170c14e515a0364191894fcac/src/twodnavierstokes.jl#L457-L466 and https://fourierflows.github.io/GeophysicalFlowsDocumentation/dev/lib/functions/#GeophysicalFlows.TwoDNavierStokes.energy_work
ok! |
any ideas? (base) DynamicalSystems.jl/ (master) $ julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'; julia --project=docs docs/make.jl; open docs/build/index.html
Path `/Users/navid/Research/DynamicalSystems.jl` exists and looks like the correct package. Using existing path.
Resolving package versions...
No Changes to `~/Research/DynamicalSystems.jl/docs/Project.toml`
No Changes to `~/Research/DynamicalSystems.jl/docs/Manifest.toml`
Activating environment at `~/Research/DynamicalSystems.jl/docs/Project.toml`
INTEL MKL ERROR: dlopen(/Users/navid/.julia/conda/3/lib/libmkl_intel_thread.dylib, 9): Library not loaded: @rpath/libiomp5.dylib
Referenced from: /Users/navid/.julia/conda/3/lib/libmkl_intel_thread.dylib
Reason: image not found.
Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib. |
No, not really. I can't imagine an MKL error being related with DynamicalSystems.jl. Can check the docstrings over the weekend and merge though! |
It's PyPlot-related. I'm trying to figure it out. $ julia --project=docs/ [5:47:54]
_
_ _ _(_)_ | Documentation: https://docs.julialang.org
(_) | (_) (_) |
_ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
| | | | | | |/ _` | |
| | |_| | | | (_| | | Version 1.6.1 (2021-04-23)
_/ |\__'_|_|_|\__'_| |
|__/ |
julia> using PyPlot
INTEL MKL ERROR: dlopen(/Users/navid/.julia/conda/3/lib/libmkl_intel_thread.dylib, 9): Library not loaded: @rpath/libiomp5.dylib
Referenced from: /Users/navid/.julia/conda/3/lib/libmkl_intel_thread.dylib
Reason: image not found.
Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.dylib. |
This suggestion did the trick. |
I was tempted to change kwarg |
OK one question: I used unicode subscripts because they render in REPL's help mode. But in LaTeX they do render a bit differently compared to using, e.g., |
OK, I'm done here. Let me know what you think or if you'd like me to modify anything. If you are happy with everything feel free to merge. |
thanks a lot @navidcy ! Minor comment: In the future, if you want to make many minor changes, it is actually easier to review and keep track if you put them all in one PR and add a bullet point list with the changes! |
This PR updates some of the docstrings for predefined dynamical systems.