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

moves readme to the root #3

Merged
merged 4 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
# Update output format to enable automatic inline annotations.
- name: Run Ruff
run: |
ruff check --fix --output-format=github render_engine_makrdown
ruff format render_engine_makrdown
ruff check --fix --output-format=github render_engine_markdown
ruff format render_engine_markdown

- name: Markdown Lint base-files
uses: DavidAnson/markdownlint-cli2-action@v14
Expand Down
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ representative at an online or offline event.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported to the community leaders responsible for enforcement at [email protected].
reported to the community leaders responsible for enforcement at <[email protected]>.
All complaints will be reviewed and investigated promptly and fairly.

All community leaders are obligated to respect the privacy and security of the
Expand Down Expand Up @@ -128,4 +128,4 @@ For answers to common questions about this code of conduct, see the FAQ at
[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
[Mozilla CoC]: https://github.com/mozilla/diversity
[FAQ]: https://www.contributor-covenant.org/faq
[translations]: https://www.contributor-covenant.org/translations
[translations]: https://www.contributor-covenant.org/translations
File renamed without changes.
4 changes: 2 additions & 2 deletions render_engine_markdown/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class MarkdownPageParser(BasePageParser):
"""

@staticmethod
def parse(content: str, extras: dict[str, any] | None = None ) -> str:
def parse(content: str, extras: dict[str, any] | None = None) -> str:
"""Parses the content with the parser"""
return markdown(
content,
extras=extras.get("markdown_extras", []) if extras else [],
)
)