pydata / pydata-sphinx-theme

A clean, three-column Sphinx theme with Bootstrap for the PyData community
https://pydata-sphinx-theme.readthedocs.io
BSD 3-Clause "New" or "Revised" License
600 stars 313 forks source link

Option to build the test_build themes in CWD (and not tempdir) #1798

Open Carreau opened 5 months ago

Carreau commented 5 months ago

I think it would be useful to have an option/env variable to not erase the test rendering when running nox -s test, At least I wanted to check a few things and had a hard time figuring out how to get to those (e.g: checking there are enough menu items to have dropdowns).

I'm suggeting PST_BUILD_DIR='.' for example, and if set it would not erase the temp files as well as build in .. Unless there is an option I have not found.

trallard commented 5 months ago

This should be part of https://github.com/pydata/pydata-sphinx-theme/pull/1759