penguinV
penguinV copied to clipboard
Move documentation to Doxygen comments
This is not scalable to keep a separate file for documentation. There are many tools in the wild and one of them is Doxygen which is designed just for this purpose.
hi @ihhub,
I looked into this issue, and a few points came up, namely
-
multiple Api descriptions documents : can these be renamed eg., cuda's api_description file as cuda_api_description.md, reason is doxygen parses the directories, it lists all similar named doc together, and causes confusion, or these docs are to be removed.
-
multiple readme.md, same as above. ignore the readme.md in the root, that will stay
-
contributing.md needs a bit to tyding for doxygen
-
should separate issues be raised for for each class documentation, it will be easier to keep track
-
do you have any logo for penguinV, so that it can be used in the docs
-
any preferred format like html, pdf, xml for the docs, or we are to only provide a docfile plus instructions for the user to to generate the docs in their preferred format, using doxygen
cheers
Hi @zafar-hussain , documentation generation in Doxygen is based on comments in the source code. What previously was done is to update the documentation manually which absolutely not a proper approach. Doxygen allows to generate the documentation automatically.
Doxygen can be also configured which types of tiles to be scanned. I think the first step is to add Doxygen as a part of GitHub Actions pipeline at the least to generate documentation. Answering your ideas:
- Yes, we can. It makes more sense.
- Readme.MD is picked by Github automatically. We need to see if it's possible to do such.
- Can you explain why? Doxygen is going to scan only the source code files
- It would be a lot of issues. It is better to create one with multiple checkboxes.
- Nope.
- For now just instructions. Once we are going to be close to release we will include it into an archive. Also we can generate these files as a part of GitHub Actions pipeline.
hi @ihhub
thanks for the reply,
for point 3, I allowed doxygen to parse *.md files too, and it created nice looking help pages from them too,
eg.
Hi @zafar-hussain , looks great, How would you like to proceed with it?
Hi @ihhub,
Sorry, I can't work on this project due to lack of time.
Cheers