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

Documentation: process files line by line #2

Open
oaustegard opened this issue Oct 18, 2023 · 1 comment
Open

Documentation: process files line by line #2

oaustegard opened this issue Oct 18, 2023 · 1 comment

Comments

@oaustegard
Copy link
Owner

Re https://github.com/oaustegard/bookmarklets/blob/main/generate_md_files.py
Preprocess files to be documented using OpenAi by capturing only the first N characters per line, then re-compose the lines and pass in only the first M tokens (or perhaps simplify to characters); thus enabling documentation even of files like https://github.com/oaustegard/bookmarklets/blob/main/copy_as_markdown.js which includes external libraries like https://github.com/oaustegard/bookmarklets/blob/main/_turndown_min.js

@oaustegard
Copy link
Owner Author

Likely moot if #5 is done

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

No branches or pull requests

1 participant