-
-
Notifications
You must be signed in to change notification settings - Fork 82
documentation improvements #1329
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
base: master
Are you sure you want to change the base?
Conversation
(plus markdownlint-disable)
|
I tried to check the changes, but I just see lots and lots of added line breaks, and I'm not sure I really see the use of those. |
|
As my first sentence of the PR states: Feel free to cherry-pick whatever commits you like. When you don't like all the added linebreaks, ignore the commits It is true what when having a look at the result of all the commits at once, you only see the added linebreaks. But you can go through the commits one by one (excluding the above). Most of them are then quite short. The above mentioned three commits are just fixes of hints from markdownlint (VS Code). to helps to keep a consistent (documentation) style. |
|
Thank you for your time and effort on making this PR! Generally formatting changes should be kept distinct from other changes (i.e. via separate PRs). This makes review feasible and enables us to more easily see what content is actually being changed. If you could open a shorter PR that removes whitespace/formatting commits so we can review the more important changes involving broken links, typos, spelling and such that would be really helpful.
Please keep in mind that maintainers of projects can be quite busy, so finding time to cherry pick your commits, open our own PRs with them, and then review them, will likely result in your work languishing an extended amount of time (as will submission of one very long PR with thousands of lines of changes vs. multiple shorter PRs that only change a few hundred lines). If you would like to help facilitate the process please open a PR yourself with formatting related-changes removed. |
|
Some guidance about SciML's practices for PRs is at: https://docs.sciml.ai/ColPrac/stable/#Guidance-on-contributing-PRs |
|
As you can guess my time is also limited. Unfortunately you were a bit too vague what you expect me to do. Before submitting the PR I already reordered the commits to start with the formatting stuff (starting with And since I am not a Git expert, I could offer to go back in time in my repo and first submit a new PR with the above three "whitespace" commits. After you have accepted these I think the rest can go in one more PR. I already have prepared one more PR which is to harmonize the spelling to UK or US, see my branches Because of my only noob level of git I just made these branches from the HEAD of my master branch, thus they include also all the above commits ... So please let me know if the suggested way of providing new PRs is OK for you. |
Feel free to cherry-pick.
Now follow some open questions or open points which I summarize here as tasks, so they can be checked when done.
$syntax$$syntax(Code) Spell Checker
You write to use a spell checker,
Catalyst.jl/docs/src/devdocs/dev_guide.md
Lines 54 to 55 in 64c117f
but I can't find a dictionary file in the repo for all the unknown words. Is that intended?
missing link destination
In
Catalyst.jl/docs/src/steady_state_functionality/dynamical_systems.md
Line 94 in 64c117f
[Brusselator]should either be[Brusselator](@ref basic_CRN_library_brusselator)or[Brusselator](https://en.wikipedia.org/wiki/Brusselator).LaTeX stuff
$syntaxWhen I am not mistaken, the
$syntax shouldn't be used (any more), right? But there are plenty of (remaining) instances likeCatalyst.jl/docs/src/introduction_to_catalyst/catalyst_for_new_julia_users.md
Line 80 in 64c117f
Instead, according to the "Markdown LaTeX" section of the Julia manual the double backtick syntax should be used
``.Is it intentional that some files still use the
$syntax?$$syntaxThere also is one remaining instance of
$$atCatalyst.jl/docs/src/model_creation/examples/hodgkin_huxley_equation.md
Line 29 in 64c117f
which should be replaced with a ````
mathblock fenced block.line breaks vs. no line breaks
Some files don't have line breaks inside paragraphs -- like the Introduction to Catalyst and Julia for New Julia users) --, but some file have -- like the following file/section Introduction to Catalyst.
Should this be harmonized? And if yes, to which style?
other/wrong ref/cite style
Please have a look at the "Smoluchowski Coagulation Equation" section.
No footnote syntax
There isn't used the "footnote" syntax for the references and the citations (
[^1]). This is the only (remaining) file with such a style.Ref [1] not used
Currently the link is given directly at each entry, but there is no "[1]" in the text. So when you don't switch to the "footnote" syntax, either add it somewhere in the text or remove the entry.
Link in references are no links
The title says it all, but to be sure, here (also) a picture of the current output
(Remaining) markdownlint (VS Code) issues
MD001/heading-increment
Please check if the number of
#is really correct.Catalyst.jl/docs/src/inverse_problems/global_sensitivity_analysis.md
Line 8 in 64c117f
Catalyst.jl/docs/src/model_creation/dsl_basics.md
Line 11 in 64c117f
Catalyst.jl/docs/src/model_simulation/simulation_introduction.md
Line 6 in 64c117f
Catalyst.jl/docs/src/index.md
Line 20 in 64c117f
Catalyst.jl/docs/src/index.md
Line 132 in 64c117f
Catalyst.jl/docs/src/v14_migration_guide.md
Line 186 in 64c117f
(and the following two headings.)
MD025/single-title/single-h1
Catalyst.jl/docs/src/network_analysis/odes.md
Line 209 in 64c117f
MD029/ol-prefix
Catalyst.jl/docs/src/inverse_problems/petab_ode_param_fitting.md
Lines 76 to 84 in 64c117f
shows as
and correspondingly for
Catalyst.jl/docs/src/inverse_problems/petab_ode_param_fitting.md
Lines 426 to 434 in 64c117f
According to the "Markdown Lists" section in the Julia manual starting with another number than 1 should work, shouldn't it?
MD045/no-alt-text
The heading says it all :) Here are the instances
Catalyst.jl/docs/src/spatial_modelling/lattice_reaction_systems.md
Line 65 in 64c117f
Catalyst.jl/docs/src/spatial_modelling/lattice_simulation_plotting.md
Line 49 in 64c117f
Catalyst.jl/docs/src/spatial_modelling/lattice_simulation_plotting.md
Line 91 in 64c117f
(Perhaps you could also add a blank line at the end (if it is missing).)
MD059/descriptive-link-text
There are a lot of "[here]" links that should be replaced ... I don't give an example here, because one can simply search for e.g. "[here](" to find them all.