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

Changelog does not update when using sphinx-autobuild #28

Open
maxnoe opened this issue Nov 13, 2024 · 2 comments
Open

Changelog does not update when using sphinx-autobuild #28

maxnoe opened this issue Nov 13, 2024 · 2 comments

Comments

@maxnoe
Copy link

maxnoe commented Nov 13, 2024

To reproduce:

  1. Add changelog file in the configured place, e.g. docs/changes/123.feature.rst

  2. Run

    $ sphinx-autobuild docs docs/build/html
    
  3. Open page in browser.

  4. Edit changelog file

  5. Page reloads but changelog is still the previous version.

@Cadair
Copy link
Member

Cadair commented Nov 13, 2024

Presumably this is because sphinx is caching the rst file with the directive in and not re-running the directive as the file hasn't changed. I am not sure if there is a way to kill off the cache to trigger a re-evaluation.

maxnoe added a commit to maxnoe/sphinx-changelog that referenced this issue Nov 15, 2024
@maxnoe
Copy link
Author

maxnoe commented Nov 15, 2024

Fix in #29

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