-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
FR: generate api json for the typings #35
Comments
@chrisgrieser I'm really sorry for the delay with this. In truth, I did try in February to get this working, but I wasn't able to make any progress. After trying the 2.0.0 release today, it finally does spit out a json. Could you confirm whether this is already somewhat correct? (There are some warnings I'd still have to fix) |
Well, since I am not really sure what the output is supposed to look like, I cannot really judge whether it's correct. It does appear to be usable though, I guess? |
Before I am able to integrate this in my Alfred workflow, this would need to be available somewhere in the repo though (ideally auto-updated on any changes) |
I have added the build set-up, and it should hopefully be added to the assets of the next release. Does fetching from |
Well, ideally it'd be something like Alternatively, and maybe an even better solution, could be if there was a simple markdown file containing all the changes. Before you started using an index file a few weeks ago, there was simply one big .json file one could open and use |
The Obsidian team uses API Extractor to create an api.json from their typings: https://github.com/obsidianmd/obsidian-developer-docs/tree/main/config
It would be very useful if your extended typings would also have a json file, as it would allow people like me to build API searches for that.
I tried to use the API extractor to create the api json myself from your extended typings, but for some reason, the output was lacking the actual content. I am not entirely sure what the reason is, since I think I have set up everything correctly – I suspect that some api-extractor-specific doc comments are missing somewhere in your typings. (see this discord message and a few of the messages above.)
The text was updated successfully, but these errors were encountered: