Configure ReadTheDocs to fail on warnings (#11535)
* Configure ReadTheDocs to fail on warnings Important to catch broken links and references. * Remove dead link to distutils configuration docs
This commit is contained in:
		
							parent
							
								
									304ab8495e
								
							
						
					
					
						commit
						ee53433542
					
				|  | @ -9,6 +9,10 @@ python: | ||||||
|        path: . |        path: . | ||||||
|      - requirements: doc/en/requirements.txt |      - requirements: doc/en/requirements.txt | ||||||
| 
 | 
 | ||||||
|  | sphinx: | ||||||
|  |   configuration: doc/en/conf.py | ||||||
|  |   fail_on_warning: true | ||||||
|  | 
 | ||||||
| build: | build: | ||||||
|   os: ubuntu-20.04 |   os: ubuntu-20.04 | ||||||
|   tools: |   tools: | ||||||
|  |  | ||||||
|  | @ -90,7 +90,7 @@ and can also be used to hold pytest configuration if they have a ``[pytest]`` se | ||||||
| setup.cfg | setup.cfg | ||||||
| ~~~~~~~~~ | ~~~~~~~~~ | ||||||
| 
 | 
 | ||||||
| ``setup.cfg`` files are general purpose configuration files, used originally by :doc:`distutils <python:distutils/configfile>`, and can also be used to hold pytest configuration | ``setup.cfg`` files are general purpose configuration files, used originally by ``distutils`` (now deprecated) and `setuptools <https://setuptools.pypa.io/en/latest/userguide/declarative_config.html>`__, and can also be used to hold pytest configuration | ||||||
| if they have a ``[tool:pytest]`` section. | if they have a ``[tool:pytest]`` section. | ||||||
| 
 | 
 | ||||||
| .. code-block:: ini | .. code-block:: ini | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue