camkes-tool icon indicating copy to clipboard operation
camkes-tool copied to clipboard

libsel4camkes: Add markdown documentation

Open xurtis opened this issue 3 years ago • 11 comments

This commit adds documentation written in markdown that explains each part of the libsel4camkes library in more depth.

This appears to be draft documentation started by @kent-mcleod as part of developing the seL4 Device Driver Framework. It looks to be incomplete.

This might assume the API changes from https://github.com/seL4/camkes-tool/pull/84

xurtis avatar Aug 10 '21 01:08 xurtis

Incomplete is a lot better than completely absent, so I'm all for that. Let me know if you need help with converting the license headers to SPDX.

lsf37 avatar Aug 10 '21 01:08 lsf37

Let me know if you need help with converting the license headers to SPDX.

Thanks, seems I didn't push the changes I had already made for that.

xurtis avatar Aug 10 '21 01:08 xurtis

Since this is all documentation, the license for it should be CC-BY-SA-4.0

lsf37 avatar Aug 10 '21 01:08 lsf37

nice work!

axel-h avatar Aug 10 '21 11:08 axel-h

@abrandnewusername Are you working on this or did this just get assigned to by accident? (It's fine if not, then somebody can take it over)

lsf37 avatar Sep 08 '21 22:09 lsf37

@abrandnewusername Are you working on this or did this just get assigned to by accident? (It's fine if not, then somebody can take it over)

Yes, I'm working on this, but I'm currently distracted by other works. I'm happy if anyone wants to contribute to this documentation.

abrandnewusername avatar Sep 09 '21 00:09 abrandnewusername

"Gerwin" == Gerwin Klein @.***> writes:

+When sending data over to the device side, it is preferred to use to these two functions.

Gerwin> I don't think we have a decided value for Gerwin> markdown/documentation wrap. We have 120 for C and 100 for Gerwin> Python, so 72 sounds a bit small, but smaller than code wrap Gerwin> is justified for long text, I think.

I would prefer 72-75 for all of them.

Peter C

wom-bat avatar Sep 22 '21 09:09 wom-bat

Gerwin> I don't think we have a decided value for Gerwin> markdown/documentation wrap. We have 120 for C and 100 for Gerwin> Python, so 72 sounds a bit small, but smaller than code wrap Gerwin> is justified for long text, I think.

I would prefer 72-75 for all of them. Peter C

You made my fingers twitch :-) I don't see any reason to change the C or python standards (they do have good reasons), but we can have a discussion about longer text where we don't have any specific rules yet. Should not be on this PR, though. I might start something on discourse later.

lsf37 avatar Sep 22 '21 22:09 lsf37

Is anything happening with this PR? I'd like it to be completed and merged ...

wom-bat avatar Sep 27 '22 23:09 wom-bat

I have rebased the PR and addressed the review feedback as far as I could (so far in a separate commit, to be squashed before merging).

There are still a small number of open questions/requests. I would relegate these to an issue that people can keep working on. While maybe not complete, merging this PR in the current state is much better than what is there so far, and it doesn't look like anyone has had time to fully complete it in the past 3 years.

@yyshen and @wom-bat are you happy for this to be merged?

lsf37 avatar Feb 11 '24 08:02 lsf37

Ping: @yyshen and @wom-bat are you happy for this to be merged? (You don't have to do a full re-review -- if you're happy for the open questions to be resolved as issues later, we can merge).

lsf37 avatar Feb 14 '24 22:02 lsf37