Skip to content

Commit

Permalink
DOC: Enable nitpicky [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Aug 26, 2021
1 parent 9c0bdf9 commit eb3d8cb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import os
import sys
import datetime
from pkg_resources import get_distribution

try:
from sphinx_astropy.conf.v1 import * # noqa
Expand Down Expand Up @@ -76,10 +75,10 @@
# |version| and |release|, also used in various other places throughout the
# built documents.

package = get_distribution(project)
from jdaviz import __version__

# The full version, including alpha/beta/rc tags.
release = package.version
release = __version__
# The short X.Y version.
version = '.'.join(release.split('.')[:2])

Expand Down Expand Up @@ -160,10 +159,11 @@
github_issues_url = 'https://github.com/{0}/issues/'.format(setup_cfg['github_project'])

# -- Turn on nitpicky mode for sphinx (to warn about references not found) ----
#
# nitpicky = True
# nitpick_ignore = []
#
nitpicky = True

# Do not populate this if you use nitpick-exceptions below.
nitpick_ignore = []

# Some warnings are impossible to suppress, and you can list specific references
# that should be ignored in a nitpick-exceptions file which should be inside
# the docs/ directory. The format of the file should be:
Expand All @@ -183,4 +183,4 @@
# continue
# dtype, target = line.split(None, 1)
# target = target.strip()
# nitpick_ignore.append((dtype, six.u(target)))
# nitpick_ignore.append((dtype, target))

0 comments on commit eb3d8cb

Please sign in to comment.