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

Only generate new header ids when the content changes #254

Closed
cewert opened this issue Nov 1, 2023 · 3 comments
Closed

Only generate new header ids when the content changes #254

cewert opened this issue Nov 1, 2023 · 3 comments

Comments

@cewert
Copy link

cewert commented Nov 1, 2023

Is your feature request related to a problem? Please describe.

I'm using jsdoc and this github action https://github.com/stefanzweifel/git-auto-commit-action to automatically update the doc files after a PR is merged.

My problem is that because this theme generates new header ids for each file regardless if there has been changes, that means that in order for me to make this workflow work, we would need to update every single doc .html file because of the new ids instead of just the files with changes.

Describe the solution you'd like

Only modify the .html files if there have been changes

Describe alternatives you've considered

Add some kind of config setting to allow users to opt out/in to this behavior

Additional context

These are the ids I'm talking about:

clean-jsdoc-id

Copy link

github-actions bot commented Nov 1, 2023

Wonderful, you have created your first issue for clean-jsdoc-theme. Someone will talk to you soon!

@ankitskvmdam
Copy link
Owner

Thanks for creating this issue. I will look into this.

@ankitskvmdam
Copy link
Owner

This issue have been fixed in v4.2.17

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

2 participants