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

Figure out docs generation for only changed files since previous day #81

Open
vsoch opened this issue Jan 11, 2023 · 1 comment
Open
Labels
help wanted Extra attention is needed

Comments

@vsoch
Copy link
Member

vsoch commented Jan 11, 2023

Right now we try to regenerate everything - and while that is okay, likely we want a way to only regenerate those that are actually changed! Another script could help here - maybe a Python wrapper that starts with an shpc show to get all modules, but then adds in git history to find just changed files in the last 2 days.

@vsoch
Copy link
Member Author

vsoch commented Jan 11, 2023

This isn't huge priority, but it might look like this:

  1. clone the repository
  2. use git to get changed files in last two days eg here
  3. run a python script that uses shpc directly to run docgen on only those that are changed (and removes them before generating again)

Note that these scripts live in the gh-pages branch.

@vsoch vsoch added the help wanted Extra attention is needed label Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant