From 61aee103cfb0bfada9a6e6b3887070f21defbce8 Mon Sep 17 00:00:00 2001 From: TejasAmle Date: Tue, 23 Jun 2026 03:35:59 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20fix=20typo=20Cascasding=E2=86=92Cascadi?= =?UTF-8?q?ng=20and=20update=20pypi.python.org=E2=86=92pypi.org=20URLs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Fix typo 'Cascasding Style Sheets' → 'Cascading Style Sheets' in docs/user_guide.rst - Replace deprecated pypi.python.org links with pypi.org in docs/user_guide.rst (ansi2html, pytest-metadata, pytest-xdist) - Replace deprecated pypi.python.org link with pypi.org in README.rst (pytest-html badge) - Replace http:// with https:// for pytest.org and github.com links in README.rst --- README.rst | 8 ++++---- docs/user_guide.rst | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 7cf04078..46007bea 100644 --- a/README.rst +++ b/README.rst @@ -1,13 +1,13 @@ pytest-html =========== -pytest-html is a plugin for `pytest `_ that generates a HTML report for test results. +pytest-html is a plugin for `pytest `_ that generates a HTML report for test results. .. image:: https://img.shields.io/badge/license-MPL%202.0-blue.svg :target: https://github.com/pytest-dev/pytest-html/blob/master/LICENSE :alt: License .. image:: https://img.shields.io/pypi/v/pytest-html.svg - :target: https://pypi.python.org/pypi/pytest-html/ + :target: https://pypi.org/project/pytest-html/ :alt: PyPI .. image:: https://img.shields.io/conda/vn/conda-forge/pytest-html.svg :target: https://anaconda.org/conda-forge/pytest-html @@ -27,8 +27,8 @@ Resources - `Documentation `_ - `Release Notes `_ -- `Issue Tracker `_ -- `Code `_ +- `Issue Tracker `_ +- `Code `_ Contributing ------------ diff --git a/docs/user_guide.rst b/docs/user_guide.rst index 8415bfb0..2a29cb42 100644 --- a/docs/user_guide.rst +++ b/docs/user_guide.rst @@ -54,7 +54,7 @@ Enhancing reports Appearance ~~~~~~~~~~ -Custom CSS (Cascasding Style Sheets) can be passed on the command line using +Custom CSS (Cascading Style Sheets) can be passed on the command line using the :code:`--css` option. These will be applied in the order specified, and can be used to change the appearance of the report. @@ -350,9 +350,9 @@ Below is an example of a :code:`conftest.py` file setting :code:`pytest_html_dur **NOTE**: The formatting of the total duration is not affected by this hook. .. _@pytest.hookimpl(tryfirst=True): https://docs.pytest.org/en/stable/writing_plugins.html#hook-function-ordering-call-example -.. _ansi2html: https://pypi.python.org/pypi/ansi2html/ +.. _ansi2html: https://pypi.org/project/ansi2html/ .. _Content Security Policy (CSP): https://developer.mozilla.org/docs/Web/Security/CSP/ .. _JSON: https://json.org/ -.. _pytest-metadata: https://pypi.python.org/pypi/pytest-metadata/ -.. _pytest-xdist: https://pypi.python.org/pypi/pytest-xdist/ +.. _pytest-metadata: https://pypi.org/project/pytest-metadata/ +.. _pytest-xdist: https://pypi.org/project/pytest-xdist/ .. _time.strftime: https://docs.python.org/3/library/time.html#time.strftime