Hopsan / hopsan

Hopsan is a free multi-domain system simulation tool developed at the division of Fluid and mechatronic systems at Linköping university.
Apache License 2.0
156 stars 43 forks source link

Markdown documentation for all components in default library #1980

Open robbr48 opened 4 years ago

robbr48 commented 4 years ago

Is your improvement request related to a problem? Please describe. Documentation is poor for many components in default library.

Describe the solution you'd like Specify markdown documentation (or PDF) for each component in default library.

I will not specify a milestone for this issue, since it will likely take a while before it is complete.

robbr48 commented 4 years ago

@larsviktorlarsson

Expected behavior All components should have descriptions, perhaps it should always be in .md format? Since this fix will take a long time, maybe one should open a pull request which anyone interested could commit to?

I think we should allow other formats than .md, but encourage the use of it.

Having a single pull request for the issue is possible, but requires some git more knowledge since it involves creating pull requests to personal repositories. Using individual PRs is a simpler solution. We should write a message here before we start working though, so that multple people don't work on the same components.

larsviktorlarsson commented 4 years ago

Yes that sounds good!

peterNordin commented 4 years ago

Could create a separate "feature branch" but maybe PRs are better to enable review. Plain HTML can also be used, and I think that the auto generated components use that.

Also an unresolved issue with markdown is that we need to start with heading level 3 to make it look resonable. But it should be possible to write CSS or something to control the appearance of the generated HTML.

We should also have a template for how the documentation should be structured.