Skip to content

Bump mkdocs-redirects from 1.0.3 to 1.2.0

HIFIS Bot requested to merge dependabot-pip-mkdocs-redirects-1.2.0 into master

Bumps mkdocs-redirects from 1.0.3 to 1.2.0.

Release notes

Sourced from mkdocs-redirects's releases.

v1.2.0

  • For better interoperability with plugins, the redirect target paths are picked up from the corresponding MkDocs File and not re-computed by simple substitution. (#45)

  • Drop Python 2.7 support

  • Bump minimal MkDocs version to 1.1.1

  • Remove warning about old redirects config

v1.1.0

  • Redirect destination paths can now contain #fragments (#42)

    Example config:

    plugins:
      - redirects:
          redirect_maps:
            some/path/examples.md: foo/index.md#examples

    -- this will now correctly redirect to foo/#examples without messing up the path

    Note that this applies only to the destination paths, there's still no handling for fragments in source paths (those specified as map keys).

v1.0.6

  • Correctly use UTF-8 file encoding even on Windows (#41)

v1.0.5

  • Normalize only capitalized README.md files to index (#37)

v1.0.4

  • Transferred ownership of the package to mkdocs organization.
  • Fix regression from 1.0.2 when handling index pages with use_directory_urls: false (#25)
  • Fix the content of produced redirect pages on Windows (#34)
Commits
  • ad6769c Release 1.2.0 (#48)
  • 106ced6 Test redirect to absolute URL
  • 152f737 Remove unneeded code path
  • 30ce6c3 Refactor: put the string template as a constant
  • 3dc57eb Refactor get_html_path: use implementation from MkDocs
  • 577c0e2 Add a test for a file with a custom url
  • 657aa51 Also test the left side of the redirect
  • a81e064 Refactor the test to be more end-to-end
  • 5d05d15 Merge two test cases into one
  • c80e487 CI: Enforce black+isort+autoflake
  • Additional commits viewable in compare view


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading