-
Notifications
You must be signed in to change notification settings - Fork 92
Comparing changes
Open a pull request
base repository: pypa/readme_renderer
base: 35.0
head repository: pypa/readme_renderer
compare: 36.0
- 8 commits
- 31 files changed
- 2 contributors
Commits on Jun 30, 2022
-
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]>
Configuration menu - View commit details
-
Copy full SHA for cb717bf - Browse repository at this point
Copy the full SHA cb717bfView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for 30b5f9a - Browse repository at this point
Copy the full SHA 30b5f9aView commit details
Commits on Jul 2, 2022
-
docs: add badges to README (#243)
Signed-off-by: Mike Fiedler <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d821b44 - Browse repository at this point
Copy the full SHA d821b44View commit details
Commits on Jul 6, 2022
-
fix: enable
colspan
androwspan
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]>
Configuration menu - View commit details
-
Copy full SHA for 209bcae - Browse repository at this point
Copy the full SHA 209bcaeView commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for bb88dab - Browse repository at this point
Copy the full SHA bb88dabView commit details
Commits on Jul 19, 2022
-
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]>
Configuration menu - View commit details
-
Copy full SHA for e52f968 - Browse repository at this point
Copy the full SHA e52f968View commit details -
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]>
Configuration menu - View commit details
-
Copy full SHA for de0162a - Browse repository at this point
Copy the full SHA de0162aView commit details
Commits on Aug 6, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5f6fc43 - Browse repository at this point
Copy the full SHA 5f6fc43View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 35.0...36.0