I have a Django project with a couple of apps - all of them with 100% coverage unit tests. Recently I started documenting the whole thing in a new directory called "docs" using reST and Sphinx. I create the html files using the normal approach: make html.
Since there are a couple of code snippets in these reST files, I want to make sure that these snippets stay valid over time as the project evolves. I looked up the git repo for docs.djangoproject.com, but did not find this functionality there. So what is a good way to test the code snippets inside these reST files, so I get an error if some API changes made such a snippet invalid? I guess there have to be some changes in conf.py? Martin -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/gfegCVn4KjcJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.