Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mkdocs-redirects #25985

Merged
merged 1 commit into from
Apr 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions recipes/mkdocs-redirects/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{% set name = "mkdocs-redirects" %}
{% set version = "1.2.1" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
url: https://pypi.io/packages/source/{{ name[0] }}/{{ name }}/mkdocs-redirects-{{ version }}.tar.gz
sha256: 9420066d70e2a6bb357adf86e67023dcdca1857f97f07c7fe450f8f1fb42f861

build:
noarch: python
script: {{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
number: 0

requirements:
host:
- python >=3.6
- pip
run:
- python >=3.6
- mkdocs >=1.1.1

test:
imports:
- mkdocs_redirects
commands:
- pip check
requires:
- pip

about:
home: https://github.com/datarobot/mkdocs-redirects
summary: A MkDocs plugin for dynamic page redirects to prevent broken links.
license: MIT
license_file: LICENSE

extra:
recipe-maintainers:
- pavelzw