diff --git a/docs/Makefile b/docs/Makefile index d0c3cbf10..d42f482b6 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line, and also # from the environment for the first two. -SPHINXOPTS ?= +SPHINXOPTS ?= -n SPHINXBUILD ?= sphinx-build SOURCEDIR = source BUILDDIR = build diff --git a/docs/make.bat b/docs/make.bat index 747ffb7b3..cb012dbba 100644 --- a/docs/make.bat +++ b/docs/make.bat @@ -9,6 +9,7 @@ if "%SPHINXBUILD%" == "" ( ) set SOURCEDIR=source set BUILDDIR=build +set SPHINXOPTS=-n %SPHINXBUILD% >NUL 2>NUL if errorlevel 9009 ( diff --git a/docs/source/embedded-models.rst b/docs/source/embedded-models.rst index 08e6891b7..1a0c38492 100644 --- a/docs/source/embedded-models.rst +++ b/docs/source/embedded-models.rst @@ -1,8 +1,8 @@ Embedded models =============== -Use :class:`~django_mongdob.fields.EmbeddedModelField` to structure your data -using `embedded documents +Use :class:`~django_mongodb_backend.fields.EmbeddedModelField` to structure +your data using `embedded documents `_. The basics