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

[WIP] Add support for .rst README and docs. #221

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

jctanner
Copy link
Collaborator

No-Issue

No-Issue

Signed-off-by: James Tanner <[email protected]>
No-Issue

Signed-off-by: James Tanner <[email protected]>
No-Issue

Signed-off-by: James Tanner <[email protected]>
@jctanner jctanner requested a review from awcrosby June 21, 2023 21:19
@@ -72,6 +71,8 @@ def get_html(doc_file):
"""
if doc_file.mimetype == "text/markdown":
return _render_from_markdown(doc_file)
elif doc_file.mimetype == "text/x-rst":
return _render_from_restructured_text(doc_file)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

probably need to pull out the html sanitization from _render_from_markdown so it can be called on the unsafe html coming from the rst method

Copy link

sonarcloud bot commented Jul 25, 2024

@jctanner jctanner changed the title Add support for .rst README and docs. [WIP] Add support for .rst README and docs. Nov 18, 2024
@jctanner jctanner marked this pull request as draft November 18, 2024 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants