From 5058cd51000a5ed3093816b6f786aed7126a15ba Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Sun, 17 Mar 2013 17:39:31 -0700 Subject: [PATCH] Fix sphinx warnsing in docs. Add -W to sphinx options to avoid warnings in the future. --- docs/Makefile | 2 +- docs/source/plugindocs/raven.rst | 1 - docs/source/siteadmin/relnotes.rst | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 0b97bf7c..4461893f 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -2,7 +2,7 @@ # # You can set these variables from the command line. -SPHINXOPTS = +SPHINXOPTS = -W SPHINXBUILD = sphinx-build PAPER = BUILDDIR = build diff --git a/docs/source/plugindocs/raven.rst b/docs/source/plugindocs/raven.rst index 71e284d0..ae96f3f8 100644 --- a/docs/source/plugindocs/raven.rst +++ b/docs/source/plugindocs/raven.rst @@ -1,2 +1 @@ -.. _raven-setup: Set up the raven plugin .. include:: ../../../mediagoblin/plugins/raven/README.rst diff --git a/docs/source/siteadmin/relnotes.rst b/docs/source/siteadmin/relnotes.rst index 84ec09b5..f0be8ecb 100644 --- a/docs/source/siteadmin/relnotes.rst +++ b/docs/source/siteadmin/relnotes.rst @@ -28,8 +28,8 @@ carefully, or at least skim over it. 2. OpenStreetMap is now a plugin, so if you want to use it, add the following to your config file:: - [plugins] - [[mediagoblin.plugins.geolocation]] + [plugins] + [[mediagoblin.plugins.geolocation]] If you have your own theme, you may need to make some adjustments to it as some theme related things may have changed in this release. If