Thanks to visit codestin.com
Credit goes to github.com

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: pypa/readme_renderer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 35.0
Choose a base ref
...
head repository: pypa/readme_renderer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 36.0
Choose a head ref
  • 8 commits
  • 31 files changed
  • 2 contributors

Commits on Jun 30, 2022

  1. feat(dev): enable gitpod development (#238)

    Use the initalization phase to install all of the Python versions
    and run the tests on startup, making subsequent test runs faster.
    
    Signed-off-by: Mike Fiedler <[email protected]>
    miketheman authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    cb717bf View commit details
    Browse the repository at this point in the history
  2. feat: allow admonitions to be rendered (#242)

    * test: add test fixtures for admonitions
    
    Create failing examples to test desired behavior.
    
    Signed-off-by: Mike Fiedler <[email protected]>
    
    * feat: allow `class` attributes for `div` and `p`
    
    docutils' admonitions renders the blocks using `class` attributes,
    which can then be styled via CSS.
    Allow `class` attributes to pass through the cleaner.
    
    Signed-off-by: Mike Fiedler <[email protected]>
    
    * fix: add `class` to existing test fixtures
    
    With the allowance that `class` may now be passed for `div`,
    update fixtures to conform to the new directive.
    
    Signed-off-by: Mike Fiedler <[email protected]>
    
    Co-authored-by: Dustin Ingram <[email protected]>
    miketheman and di authored Jun 30, 2022
    Configuration menu
    Copy the full SHA
    30b5f9a View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2022

  1. docs: add badges to README (#243)

    Signed-off-by: Mike Fiedler <[email protected]>
    miketheman authored Jul 2, 2022
    Configuration menu
    Copy the full SHA
    d821b44 View commit details
    Browse the repository at this point in the history

Commits on Jul 6, 2022

  1. fix: enable colspan and rowspan attributes (#245)

    Previously exlcuded directives made for incorrect rendering of rst table
    cells spanning more than a single column or row.
    
    Fixes #182
    
    Signed-off-by: Mike Fiedler <[email protected]>
    miketheman authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    209bcae View commit details
    Browse the repository at this point in the history
  2. chore: update codebase for modern python (#244)

    * chore: update codebase for modern python
    
    We're on Python 3.7 and higher, so we can clean up any artifacts left
    from previously-supported Python eras.
    
    Most of the heavy lifting was done with `pyupgrade` followed by unused
    improts removal (thanks to `flake8` check)
    
    Refs: https://pypi.org/project/pyupgrade/
    
    Closes #203
    
    Signed-off-by: Mike Fiedler <[email protected]>
    
    * refactor: replace `os.path`/`glob` with `pathlib`
    
    Since Python 3.4, `pathlib` provides a nicer interface to manipulate
    paths, removing the need to split and reassemble strings.
    
    The addition of `pytest.param(..., id=fn.name)` is to set the test name
    output to a human-friendly string in the event of failure or `--verbose`
    
    Signed-off-by: Mike Fiedler <[email protected]>
    
    * chore: replace deprecated setuptools entry
    
    As of setuptools v56.0.0, the `license_file` entry is deprecated,
    raising `SetuptoolsDeprecationWarning` during the `packaging` step.
    
    Refs: pypa/setuptools#2620
    
    Signed-off-by: Mike Fiedler <[email protected]>
    miketheman authored Jul 6, 2022
    Configuration menu
    Copy the full SHA
    bb88dab View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2022

  1. fix: allow math in rst (#246)

    The first step to allowing math directives to be rendered on PyPI is
    to enable the directive's warning to pass.
    
    `docutils` tells us to pass a path to the `math_output` setting.
    Since we `clean` the output, we can pass anything we want, as control
    of the CSS will be handed on PyPI.
    
    Refs: https://docutils.sourceforge.io/docs/user/config.html#math-output
    
    This does **not** solve for Markdown math.
    
    Resolves #115
    Resolves #172
    
    Signed-off-by: Mike Fiedler <[email protected]>
    miketheman authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    e52f968 View commit details
    Browse the repository at this point in the history
  2. feat: preserve language attribute for code blocks (#247)

    * test: add failing test for language attribute
    
    Signed-off-by: Mike Fiedler <[email protected]>
    
    * feat: preserve lang attribute in markdown
    
    In order to allow the `lang` attribute on `pre` code blocks, add it to
    the post-syntax highlighting step, and then allow through the sanitizer.
    
    Signed-off-by: Mike Fiedler <[email protected]>
    
    * test: update tests to include preserved `lang`
    
    Signed-off-by: Mike Fiedler <[email protected]>
    
    Co-authored-by: Dustin Ingram <[email protected]>
    miketheman and di authored Jul 19, 2022
    Configuration menu
    Copy the full SHA
    de0162a View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2022

  1. Release 36.0 (#248)

    Signed-off-by: Mike Fiedler <[email protected]>
    miketheman authored Aug 6, 2022
    Configuration menu
    Copy the full SHA
    5f6fc43 View commit details
    Browse the repository at this point in the history
Loading