Fixed nav issues at readthedocs.org.
Fixed missing SECRET_KEY issue for docs generation.