Skip to content

feat: add SDK API reference documentation generator - #1384

Merged
Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
Gainer-dev:main
Nov 25, 2026
Merged

Kingsman-99 merged 2 commits into
Stellar-split:mainfrom
Gainer-dev:main

Conversation

@Gainer-dev

Copy link
Copy Markdown
Contributor

Add SDK API reference documentation generator

Summary

This PR introduces an API reference documentation generator for the Stellar Split SDK.

The goal is to automate the generation of comprehensive API reference documentation, making it easier for developers to understand the SDK's available methods, interfaces, types, parameters, and return values.

The generator is designed to reduce manual documentation overhead, keep API references consistent with the SDK implementation, and provide flexible export options for different documentation workflows.

Proposed Changes

  • Design and implement an automated API reference documentation generator.
  • Generate reference documentation from the SDK's source code and API definitions.
  • Include relevant API details such as:
    • Classes and interfaces.
    • Functions and methods.
    • Parameters and their types.
    • Return types and descriptions.
    • Available properties and exported types.
  • Add customization options to control documentation output and generation behaviour.
  • Support exporting generated documentation into multiple formats, including Markdown, HTML, and JSON.
  • Provide clear configuration options for customizing the generated reference.
  • Add documentation explaining installation, configuration, usage, and export options.
  • Ensure the generator is modular and maintainable for future SDK updates.

Expected Behaviour

  1. Developers should be able to generate API reference documentation through a straightforward command or generator interface.
  2. Generated documentation should accurately reflect the SDK's public API.
  3. Developers should be able to customize the generated output.
  4. Documentation should be exportable into the supported formats.
  5. The generator should produce consistent results and handle SDK API changes without requiring extensive manual updates.

Testing

  • Test successful API reference generation.
  • Test extraction of exported classes, interfaces, functions, and types.
  • Test parameter and return type documentation.
  • Test customization options.
  • Test Markdown export.
  • Test HTML export.
  • Test JSON export.
  • Test handling of missing or incomplete API metadata.
  • Test error handling for invalid generator configurations.
  • Ensure generated documentation accurately represents the SDK's public API.
  • Ensure all existing and newly added tests pass.

Documentation

  • Document generator setup and usage.
  • Document available customization options.
  • Document supported export formats.
  • Provide practical usage examples.
  • Explain how to maintain and extend the generator.

Related Issue

Closes #1343
Closes #1344
Closes #1346
Closes #1348

@drips-wave

drips-wave Bot commented Nov 24, 2026

Copy link
Copy Markdown

@Gainer-dev Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Kingsman-99
Kingsman-99 merged commit b7e158d into Stellar-split:main Nov 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add SDK request batching Create SDK security hardening guide Implement SDK change log generator Add SDK API reference generator

2 participants