×

INDI Library v2.0.6 is Released (02 Feb 2024)

Bi-monthly release with minor bug fixes and improvements

Create your own API reference from the source code

  • Posts: 106
  • Thank you received: 4
That's pretty cool stuff.
I tried to build the API reference with doxygen.
What I did was really easy.

You must use the terminal.

1. Install doxygen.
sudo apt install doxygen

2. Install graphviz
sudo apt install graphviz

3. Go into the kstars directory and execute
doxygen -g doxy.cfg
You can choose every filename you want.

4. Make some changes to doxy.cfg
I made these changes:
PROJECT_NAME = "KStars"
OUTPUT_DIRECTORY = /home/your_name_here/doxy-kstars
RECURSIVE = YES

Save your changes.

5. Run
doxygen doxy.cfg

The result is in the ouput folder and you get a nice reference with graphs.

Enjoy!

There is certainly more to it. But I have no clue.
Powered by

GNU / Linux
Git
KDE neon
KStars | EKOS | INDI

and some cheap hardware
3 years 4 months ago #62672

Please Log in or Create an account to join the conversation.

Yeah that's how the docs are generated for KStars API...etc as well.
3 years 4 months ago #62692

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 4
KStars reference is amazing and proves that the source code is painstakingly commented. Without doubt KStars is a professional-grade program. I am curious: how many lines of code have been written? How many hours were spent during two decades to create this program?
Powered by

GNU / Linux
Git
KDE neon
KStars | EKOS | INDI

and some cheap hardware
Last edit: 3 years 4 months ago by Heiko.
3 years 4 months ago #62711

Please Log in or Create an account to join the conversation.

Time to create page: 0.198 seconds