Fixed missing SECRET_KEY issue for docs generation.