Update links and references

parent 1563fbf3
...@@ -8,7 +8,7 @@ little bit helps, and credit will always be given. ...@@ -8,7 +8,7 @@ little bit helps, and credit will always be given.
Bug reports Bug reports
=========== ===========
When `reporting a bug <https://github.com/Pawamoy/django-hope/issues>`_ please include: When `reporting a bug <https://icube-forge.unistra.fr/CSTB/django-hope/issues>`_ please include:
* Your operating system name and version. * Your operating system name and version.
* Any details about your local setup that might be helpful in troubleshooting. * Any details about your local setup that might be helpful in troubleshooting.
...@@ -24,7 +24,7 @@ articles, and such. ...@@ -24,7 +24,7 @@ articles, and such.
Feature requests and feedback Feature requests and feedback
============================= =============================
The best way to send feedback is to file an issue at https://github.com/Pawamoy/django-hope/issues. The best way to send feedback is to file an issue at https://icube-forge.unistra.fr/CSTB/django-hope/issues.
If you are proposing a feature: If you are proposing a feature:
...@@ -37,7 +37,7 @@ Development ...@@ -37,7 +37,7 @@ Development
To set up `django-hope` for local development: To set up `django-hope` for local development:
1. Fork `django-hope <https://github.com/Pawamoy/django-hope>`_ 1. Fork `django-hope <https://icube-forge.unistra.fr/CSTB/django-hope>`_
(look for the "Fork" button). (look for the "Fork" button).
2. Clone your fork locally:: 2. Clone your fork locally::
......
...@@ -56,8 +56,8 @@ version = release = u'0.1.0' ...@@ -56,8 +56,8 @@ version = release = u'0.1.0'
pygments_style = 'trac' pygments_style = 'trac'
templates_path = ['.'] templates_path = ['.']
extlinks = { extlinks = {
'issue': ('https://github.com/Pawamoy/django-hope/issues/%s', '#'), 'issue': ('https://icube-forge.unistra.fr/CSTB/django-hope/issues/%s', '#'),
'pr': ('https://github.com/Pawamoy/django-hope/pull/%s', 'PR #'), 'pr': ('https://icube-forge.unistra.fr/CSTB/django-hope/pull/%s', 'PR #'),
} }
# on_rtd is whether we are on readthedocs.org # on_rtd is whether we are on readthedocs.org
......
...@@ -36,9 +36,9 @@ setup( ...@@ -36,9 +36,9 @@ setup(
.sub('', read('README.rst')), .sub('', read('README.rst')),
re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst')) re.sub(':[a-z]+:`~?(.*?)`', r'``\1``', read('CHANGELOG.rst'))
), ),
author=u'Timoth\xe9e Mazzucotelli', author='Timothée Mazzucotelli',
author_email='timothee.mazzucotelli@gmail.com', author_email='timothee.mazzucotelli@gmail.com',
url='https://github.com/Pawamoy/django-hope', url='https://icube-forge.unistra.fr/CSTB/django-hope',
packages=find_packages('src'), packages=find_packages('src'),
package_dir={'': 'src'}, package_dir={'': 'src'},
py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')], py_modules=[splitext(basename(path))[0] for path in glob('src/*.py')],
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
u"""Django HOPE package.""" """Django HOPE package."""
[tox] [tox]
envlist = envlist =
clean,setup,safety,style,spell,link,docs, clean,setup,safety,style,docs,
py27-django18, py27-django18,
py27-django19, py27-django19,
py27-django110, py27-django110,
...@@ -62,25 +62,19 @@ description = Run all the environments in parallel. ...@@ -62,25 +62,19 @@ description = Run all the environments in parallel.
skip_install = true skip_install = true
deps = detox deps = detox
commands = commands =
detox -e clean,setup,safety,style,spell,link,docs,py27-django18,py27-django19,py27-django110,py27-django111,py34-django18,py34-django19,py34-django110,py34-django111,py35-django18,py35-django19,py35-django110,py35-django111,py36-django18,py36-django19,py36-django110,py36-django111,py37-dev-django18,py37-dev-django19,py37-dev-django110,py37-dev-django111,pypy-django18,pypy-django19,pypy-django110,pypy-django111, detox -e clean,setup,safety,style,docs,py27-django18,py27-django19,py27-django110,py27-django111,py34-django18,py34-django19,py34-django110,py34-django111,py35-django18,py35-django19,py35-django110,py35-django111,py36-django18,py36-django19,py36-django110,py36-django111,py37-dev-django18,py37-dev-django19,py37-dev-django110,py37-dev-django111,pypy-django18,pypy-django19,pypy-django110,pypy-django111,
tox -e report tox -e report
[testenv:docs]
description = Build the documentation locally.
skip_install = true
deps = -r{toxinidir}/docs/requirements.txt
commands = sphinx-build {posargs:-E} -b html docs dist/docs
[testenv:check] [testenv:check]
description = Run all the check environments. description = Run all the check environments.
skip_install = true skip_install = true
commands = tox -e setup,safety,style,docs,spell,link commands = tox -e setup,safety,style,docs
[testenv:dcheck] [testenv:dcheck]
description = Run all the check environments in parallel. description = Run all the check environments in parallel.
skip_install = true skip_install = true
deps = detox deps = detox
commands = detox -e setup,safety,style,docs,spell,link commands = detox -e setup,safety,style,docs
[testenv:setup] [testenv:setup]
description = Check that the package will be correctly installed and correctly rendered on PyPI. description = Check that the package will be correctly installed and correctly rendered on PyPI.
...@@ -113,8 +107,8 @@ commands = ...@@ -113,8 +107,8 @@ commands =
isort --diff --recursive src/hope tests setup.py isort --diff --recursive src/hope tests setup.py
prospector {toxinidir} prospector {toxinidir}
[testenv:spell] [testenv:docs]
description = Check the spelling in the documentation. description = Build the documentation locally.
skip_install = true skip_install = true
setenv = SPELLCHECK=1 setenv = SPELLCHECK=1
deps = deps =
...@@ -122,15 +116,8 @@ deps = ...@@ -122,15 +116,8 @@ deps =
sphinxcontrib-spelling sphinxcontrib-spelling
pyenchant pyenchant
commands = commands =
- sphinx-build {posargs:-E} -Q -b html docs dist/docs sphinx-build {posargs:-E} -b html docs dist/docs
sphinx-build -b spelling -w /dev/null docs dist/docs sphinx-build -b spelling -w /dev/null docs dist/docs
[testenv:link]
description = Check that the links written in documentation are valid.
skip_install = true
deps = -r{toxinidir}/docs/requirements.txt
commands =
- sphinx-build {posargs:-E} -Q -b html docs dist/docs
sphinx-build -b linkcheck -w /dev/null docs dist/docs sphinx-build -b linkcheck -w /dev/null docs dist/docs
[testenv:report] [testenv:report]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment