Skip to content

Commit 3b123e0

Browse files
authored
Merge branch 'master' into issue4894
2 parents 64277c5 + c757c38 commit 3b123e0

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

doc/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,11 @@
1515

1616
version = "3.6.0.0"
1717

18-
extensions = ['sphinx.ext.extlinks', 'sphinx.ext.todo']
18+
extensions = [
19+
'sphinx.ext.extlinks',
20+
'sphinx.ext.todo',
21+
'sphinx-jsonschema'
22+
]
1923

2024
templates_path = ['_templates']
2125
source_suffix = '.rst'

doc/developing-packages.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ your libraries and executable sections. For example:
257257
Proglet
258258

259259
Note that the ``import`` **must** be the first thing in the stanza. For more
260-
information see the `Common stanzas`_ section.
260+
information see the :ref:`common-stanzas` section.
261261

262262

263263
Building the package
@@ -356,7 +356,7 @@ of digits such as "1.0.1" or "2.0". There are a range of common
356356
conventions for "versioning" packages, that is giving some meaning to
357357
the version number in terms of changes in the package, such as
358358
e.g. `SemVer <http://semver.org>`__; however, for packages intended to be
359-
distributed via Hackage Haskell's `Package Versioning Policy`_ applies
359+
distributed via Hackage Haskell's `Package Versioning Policy <https://pvp.haskell.org/>`_ applies
360360
(see also the `PVP/SemVer FAQ section <https://pvp.haskell.org/faq/#semver>`__).
361361

362362
The combination of package name and version is called the *package ID*

doc/setup-commands.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1050,7 +1050,8 @@ Miscellaneous options
10501050
experimental. In the future we might add or remove fields, depending
10511051
on the needs of other tooling.
10521052

1053-
:: example
1053+
.. code-block:: json
1054+
10541055
{
10551056
"cabal-lib-version": "<cabal lib version>",
10561057
"compiler": {

0 commit comments

Comments
 (0)