Skip to content

Commit

Permalink
chore: ensure static files are updated on autorebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-aksamentov committed Jul 4, 2024
1 parent 646d8e3 commit ca19e6c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,13 @@

intersphinx_mapping = {
}


# Force full rebuild, including updating static files (such as custom css)
# https://github.com/sphinx-doc/sphinx/issues/2090#issuecomment-572902572
def env_get_outdated(app, env, added, changed, removed):
return ['index']


def setup(app):
app.connect('env-get-outdated', env_get_outdated)

0 comments on commit ca19e6c

Please sign in to comment.