v86 icon indicating copy to clipboard operation
v86 copied to clipboard

Better docs

Open Keyboard1000n17 opened this issue 8 months ago • 8 comments

Every project should have good docs. However, I do not see any comprehensive documentation of the options available. This makes working with the emulator difficult. For instance, I spent 3 hours trying to get emulator.run() to work without throwing an error because I did not want to use autostart. The solution was to use the add_listener method with the emulator-ready event.

Please add a file documenting all functions and their options. I understand that you are busy so there is no rush to document them; I can also create a file and document some, but not all functions.

Keyboard1000n17 avatar Mar 08 '26 12:03 Keyboard1000n17

v86 is a fun side-project for me. I disagree with every project should have good docs.

I can also create a file and document some, but not all functions.

Sure.

copy avatar Mar 08 '26 14:03 copy

Please add a file documenting all functions and their options.

There is v86.d.ts but it's unfinished. You can use jsdoc or deno doc to convert it to a readable HTML/Markdown document.

SuperMaxusa avatar Mar 08 '26 15:03 SuperMaxusa

v86 is a fun side-project for me. I disagree with every project should have good docs.

It's also a pretty popular project, and I get that you might be focused on actually improving the project, but people want to use this for their purposes. Without docs, people will have to try their best.

There is v86.d.ts but it's unfinished. You can use jsdoc or deno doc to convert it to a readable HTML/Markdown document.

Alright, I'll see. I happen to be busy with an event but I'll get to it soon. Thanks for telling me!

Keyboard1000n17 avatar Mar 09 '26 08:03 Keyboard1000n17

Today I learned about deepwiki.com, the v86 repository has last been indexed there 6 days ago.

https://deepwiki.com/copy/v86

It's a LLM that generates documentation about github repositories. I don't have much time right now, so I didn't check the quality too deep, but superficially it doesn't look wrong.

chschnell avatar Mar 17 '26 14:03 chschnell

hmm, interesting! although a doc here would be nice too. there could be a link at the bottom of the doc though if one is written.

Keyboard1000n17 avatar Mar 17 '26 16:03 Keyboard1000n17

I'm trying to polish v86.d.ts and here is the generated online docs: https://v86api.my-name-is-supermaxusa.pages.dev/. Any feedback is welcome.

I don't plan to host it as official docs, but you can get the same docs locally using TypeDoc.

SuperMaxusa avatar Mar 18 '26 08:03 SuperMaxusa

I'm trying to polish v86.d.ts

Many thanks for this work!

and here is the generated online docs: https://v86api.my-name-is-supermaxusa.pages.dev/

Looks clear and really useful in my opinion, while browsing it I learned a thing or two (like the fastboot option).

chschnell avatar Mar 18 '26 16:03 chschnell

oops, i forgot about this. oh well!

Keyboard1000n17 avatar Jun 26 '26 20:06 Keyboard1000n17