Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: manuzhang/mkdocs-htmlproofer-plugin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.0
Choose a base ref
...
head repository: manuzhang/mkdocs-htmlproofer-plugin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.1.0
Choose a head ref
  • 9 commits
  • 8 files changed
  • 6 contributors

Commits on Jul 19, 2023

  1. Configuration menu
    Copy the full SHA
    2bf6ef2 View commit details
    Browse the repository at this point in the history

Commits on Jul 31, 2023

  1. Configuration menu
    Copy the full SHA
    383b2ef View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2023

  1. Allow special characters in directory name, optimization (#68)

    The keys of `self.files` are url encoded. This leads to errors when the path of a file contains special characters as `src_path` is not url encoded.
    
    Modifications:
    
    - url encode the directory path
    - generate `self.files` in the `on_files()` function instead of `on_page_markdown()` (this is only an optimization, not strictly needed)
    - test (directory with special characters)
    ---------
    
    Co-authored-by: Benjamin Graf <[email protected]>
    marmotton and Benjamin Graf authored Aug 18, 2023
    Configuration menu
    Copy the full SHA
    d0add3f View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. 1 Configuration menu
    Copy the full SHA
    392a4e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d195827 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2024

  1. Configuration menu
    Copy the full SHA
    65ae40f View commit details
    Browse the repository at this point in the history
  2. Update contributing development section (#74)

    The instructions didn't get you a working environment for testing.
    They also were missing a number checks that happen in CI. This
    now documents everything you need to run locally to get CI to pass
    except for the "running on different platforms". All the Ubuntu checks
    seems mostly as "safety" but the Windows checks can discover bugs that
    don't occur on Linux. I haven't documented that at this time as it
    was outside of the scope of what I wanted to accomplish with this change.
    SeanTAllen authored Feb 25, 2024
    Configuration menu
    Copy the full SHA
    14c97cc View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Fix naive handling of relative links when proofing (#75)

    This commit fixes naive handling of relative links when proofing. The
    problem here was the assumption that a relative link of foo.html that
    was coming from a file at bar/fubar.md in the filesystem would always
    appear at bar/foo.html.
    
    That is not always true. If directory_urls was on, then it wasn't true.
    Thus, #46.
    
    It was also not true when using relative links between blog posts when
    using the mkdocs material blog plugin.
    
    This commit changes the relative url lookup logic to be more robust and
    in the process make the proofer work with both the mkdocs material blog
    plugin and with directory_urls on.
    
    It does this by storing additional information in the lookup files that
    we use to find information about pages. We can now look up a file by its
    src_uri entry, for example blog/posts/index.md and then use that to get
    the dest_uri like blog/12/10/some-post/ and then use that dest_uri value
    to robustly handle figuring out where a relative link is pointing.
    
    Closes #46
    Closes #70
    SeanTAllen authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    5776fea View commit details
    Browse the repository at this point in the history
  2. Release 1.1.0

    manuzhang committed Feb 27, 2024
    Configuration menu
    Copy the full SHA
    f0bb286 View commit details
    Browse the repository at this point in the history
Loading