Skip to content

Commit 01882fc

Browse files
committed
Fix Sphinx warnings and build with '-W'
1 parent 487fbcb commit 01882fc

File tree

9 files changed

+25
-18
lines changed

9 files changed

+25
-18
lines changed

docs/_static/.gitignore

Whitespace-only changes.

docs/about/gnu-lgpl-v3.0.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,12 @@ facility is invoked), then you may convey a copy of the modified
5858
version:
5959

6060
* **a)** under this License, provided that you make a good faith effort to
61-
ensure that, in the event an Application does not supply the
62-
function or data, the facility still operates, and performs
63-
whatever part of its purpose remains meaningful, or
61+
ensure that, in the event an Application does not supply the
62+
function or data, the facility still operates, and performs
63+
whatever part of its purpose remains meaningful, or
6464

6565
* **b)** under the GNU GPL, with none of the additional permissions of
66-
this License applicable to that copy.
66+
this License applicable to that copy.
6767

6868
### 3. Object Code Incorporating Material from Library Header Files
6969

@@ -75,10 +75,10 @@ layouts and accessors, or small macros, inline functions and templates
7575
(ten or fewer lines in length), you do both of the following:
7676

7777
* **a)** Give prominent notice with each copy of the object code that the
78-
Library is used in it and that the Library and its use are
79-
covered by this License.
78+
Library is used in it and that the Library and its use are
79+
covered by this License.
8080
* **b)** Accompany the object code with a copy of the GNU GPL and this license
81-
document.
81+
document.
8282

8383
4. Combined Works
8484
~~~~~~~~~~~~~~~~~

docs/getting-started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ Running the example
108108
VSGI produces process-based applications that are either self-hosted or able to
109109
communicate with a HTTP server according to a standardized protocol.
110110

111-
The :doc:`vsgi/http/soup` implementation is self-hosting, so you just have to
111+
The :doc:`vsgi/server/http` implementation is self-hosting, so you just have to
112112
run it and point your browser at http://127.0.0.1:3003 to see the result.
113113

114114
.. code-block:: bash

docs/hacking.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ spending time on producing a body that won't be considered is important.
5252
return;
5353
}
5454
55-
res.body.write_all ("<!DOCTYPE html><html>...</html>");
55+
res.body.write_all ("<!DOCTYPE html><html></html>");
5656
5757
Use the ``construct`` block to perform post-initialization work. It will be
5858
called independently of how the object is constructed.

docs/index.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,15 @@
11
Valum web micro-framework
22
=========================
33

4-
.. image:: https://travis-ci.org/valum-framework/valum.svg?branch=master
5-
:target: https://travis-ci.org/valum-framework/valum
4+
.. raw:: html
65

7-
.. image:: https://coveralls.io/repos/valum-framework/valum/badge.svg?branch=master
8-
:target: https://coveralls.io/r/valum-framework/valum?branch=master
6+
<a href="https://travis-ci.org/valum-framework/valum">
7+
<img src="https://travis-ci.org/valum-framework/valum.svg?branch=master">
8+
</a>
9+
10+
<a href="https://coveralls.io/repos/valum-framework/valum/badge.svg?branch=master">
11+
<img src="https://coveralls.io/r/valum-framework/valum?branch=master">
12+
</a>
913

1014
Valum is a web micro-framework written in Vala and licensed under the LGPLv3.
1115
Its source code and releases are available on GitHub: `valum-framework/valum`_.

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ Run the sample application
161161

162162
You can run the sample application from the ``build`` folder if you called
163163
``./waf configure`` with the ``--enable-examples`` flag, it uses the
164-
:doc:`vsgi/server/soup`.
164+
:doc:`vsgi/server/http`.
165165

166166
.. code-block:: bash
167167

docs/router.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,8 @@ accordingly. Similarly to status codes, errors are propagated in the
193193
``HandlerCallback`` and ``NextCallback`` delegate signatures and can be handled
194194
with a ``500`` handler.
195195

196+
.. _GLib.Error: http://valadoc.org/#!api=glib-2.0/GLib.Error
197+
196198
It provides a nice way to ignore passively unrecoverable errors.
197199

198200
.. code:: vala
@@ -210,6 +212,7 @@ It provides a nice way to ignore passively unrecoverable errors.
210212
});
211213
});
212214
});
215+
213216
If the routing context is lost, any operation can still be performed within
214217
``Router.invoke``
215218

docs/vsgi/connection.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ output stream of the used technology.
1717
.. _GLib.IOStream: http://valadoc.org/#!api=gio-2.0/GLib.IOStream
1818

1919
The following example shows how to bypass processing with higher-level
20-
abstractions. It will only work on :doc:`server/soup`, as CGI-like protocols
20+
abstractions. It will only work on :doc:`server/http`, as CGI-like protocols
2121
require the status to be part of the response headers.
2222

2323
.. code::

docs/wscript

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ def build(bld):
77
if bld.env.SPHINXBUILD:
88
bld.load('gnu_dirs')
99
bld(
10-
rule = '${SPHINXBUILD} -b html ../docs ${TGT}',
11-
target = '.',
12-
source = bld.path.ant_glob('*.rst') + bld.path.ant_glob('**/*.rst'))
10+
rule = '${SPHINXBUILD} -W -b html ../docs ${TGT}',
11+
target = '.',
12+
source = bld.path.ant_glob('*.rst') + bld.path.ant_glob('**/*.rst'))

0 commit comments

Comments
 (0)