Skip to content

Commit

Permalink
fix: Use a huge postive intersphinx_cache_limit value
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverRainZ committed Jul 9, 2024
1 parent 4aeba09 commit 53e98f1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sphinxnotes/fasthtml/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ def overwrite(name, val, optional=False):
# Do not build mo files.
overwrite('gettext_auto_build', False)
# Prevent intersphinx cache expiration.
overwrite('intersphinx_cache_limit', -1, optional=True)
# See also https://github.com/sphinx-doc/sphinx/pull/12514
overwrite('intersphinx_cache_limit', 999, optional=True)


def _restore_config(self) -> None:
Expand Down

0 comments on commit 53e98f1

Please sign in to comment.