Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build doc from generated JSON #3503

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Conversation

mooreds
Copy link
Contributor

@mooreds mooreds commented Feb 4, 2025

This doc PR is tied to https://github.com/FusionAuth/fusionauth-app/pull/655

It consumes JSON generated by processing annotations and then builds reference documentation from it.

The missing piece that I'm still working on is the script which reads the annotations and builds the JSON. That will live in another repo and be called on a schedule, similar to https://github.com/FusionAuth/fusionauth-theme-history-updater/

That will require some additional permissions and work, but I wanted to get this up for review, since there's value in merging this today (since it is up to date for 1.55.1 code).

This is a six digit, zero padded version of the semver version number. If it is passed, then the contents of AvailableSince only get rendered if the since value is greater than the showSince value.

this handles the case where we are adding a field definition into a new component.

For example, the user.login.suspicious event was added in 1.30.0 and returns an authentication type. But some of those authentication types (Apple) were added before this event was added.
@mooreds mooreds requested review from a team as code owners February 4, 2025 21:09
note that I only disabled it in the webhooks because I fiddled with it for 15 min and couldn't figure out how to both display the interpolated variable value and use markdown for the code formatting
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.

1 participant