Commit graph

15 commits

Author SHA1 Message Date
Brian Helba
93e628e870
Refactor the documentation build process (#311)
* Refactor the documentation build process

Significant improvements:
* Allow easy isolated local builds via a dedicated Tox environment
* Configure Sphinx to use consistent packages and theme across local, CI,
  and ReadTheDocs builds; local builds now look the same as the published
  RTD pages
* Explicitly add a ReadTheDocs configuration as code, per their documented
  best practices
* Remove lots of dead code and simplify the Sphinx configuration file
* Build docs in a dedicated CI step and enable stricter warning checking

* Fix docutils related build error.

* Relax Sphinx version.

* Invalidate RTD build cache.

* No need to combine coverage reporting I think.

* Add combining again.

Co-authored-by: Jannis Leidel <jannis@leidel.info>
2021-11-08 16:49:41 +01:00
Jannis Leidel
42641f5eb4
Switch to setuptools-scm. 2019-12-03 13:09:15 +01:00
Daniel Hahler
a0a43494d0 Add sitecustomize.py to fix subprocess coverage reporting 2018-08-16 17:12:37 +02:00
Daniel Hahler
8f199eb40c _setup: do not call django.setup() if settings are configured already
Without this, using `configurations.setup()` after Django has been setup
already re-triggers the logging configuration, which then causes e.g.
pytest's caplog to not work anymore.
2018-08-16 17:04:50 +02:00
Daniel Hahler
89cdca07ae coverage: track subprocesses 2018-08-16 15:50:41 +02:00
Nicolas Delaby
8f318991c2 Drop unmaintained version of django and python
- Drop django==1.9 as it reached end of life
- Drop python2.6, python3.3, and bring python3.6
- Bring django-2.0 in the matrix as expected failure until we add its
support
2017-09-30 14:37:38 +02:00
Jannis Leidel
01e3f5837f Merge remote-tracking branch 'joke2k/dot-env'
Signed-off-by: Jannis Leidel <jannis@leidel.info>

Conflicts:
	.gitignore
2015-01-06 22:34:29 +01:00
Jannis Leidel
9dd8ba2a6e Ignore dists. 2015-01-06 21:16:41 +01:00
Sławek Ehlert
55a2cf6a36 use tox generative envlist with factor dependencies 2014-10-30 23:18:26 +01:00
Sven Aßmann
467e4ebe52 - add configuration for python 3.4 with same django versions as for 3.3
- add coverage summary and html report for checking code coverage
2014-05-02 22:53:32 +02:00
joke2k
8a8f99ab68 add *.pyc to .gitignore; remove repeated INSTALLED_APPS from test_project.settings; fix check dj-database-url returned None values to empty string 2014-04-17 16:22:31 +02:00
Jannis Leidel
38aaca68c6 Ignore .tox. 2014-01-16 19:01:28 +01:00
Jannis Leidel
40a6f0dc71 Added build dir to ignore list. 2013-04-11 16:04:12 +02:00
Jannis Leidel
5f69231de1 Use d2to1. 2013-03-27 15:30:04 +01:00
Jannis Leidel
775e1b9225 Initial version. 2012-07-21 15:56:04 +02:00