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

Use jinja2 to render html #2

Closed
wants to merge 1 commit into from
Closed

Use jinja2 to render html #2

wants to merge 1 commit into from

Conversation

tony
Copy link

@tony tony commented Dec 20, 2018

Removes fett as a dependency. Jinja2 is implicitly included with sphinx
as a required dependency.

Removes fett as a dependency. Jinja2 is implicitly included with sphinx
as a required dependency.
@tony
Copy link
Author

tony commented Dec 20, 2018

I tested this and don't think it works.

2018-12-20-102315_810x854_scrot

WARNING: :15: (WARNING/2) Explicit markup ends without a blank line; unexpected unindent.
WARNING: :18: (ERROR/3) Unexpected indentation.
WARNING: :20: (ERROR/3) Unexpected indentation.
WARNING: :24: (WARNING/2) Definition list ends without a blank line; unexpected unindent.
WARNING: :26: (ERROR/3) Unexpected indentation.
WARNING: :28: (WARNING/2) Block quote ends without a blank line; unexpected unindent.
WARNING: :30: (ERROR/3) Unexpected indentation.
WARNING: :32: (WARNING/2) Block quote ends without a blank line; unexpected unindent.
WARNING: :33: (WARNING/2) Block quote ends without a blank line; unexpected unindent.
WARNING: :34: (WARNING/2) Block quote ends without a blank line; unexpected unindent.
WARNING: :35: (WARNING/2) Definition list ends without a blank line; unexpected unindent.

I will come back and look at it more closely another time (or if someone else would like to PR an alternative / fill the fett dependency, that's okay too).

Aside: I'm used to rendering raw html a different way in docutils. I typically will use nodes.raw. Here's an example: https://github.com/Parsely/python-adv-slides/blob/d58ca98/rst-directive.py#L83

@tony tony closed this Dec 20, 2018
@ddaaac
Copy link

ddaaac commented Jan 17, 2019

Hi. I'm also struggle with this problem.

I think the problem is in style.css.

.graphiql .query, .graphiql .response {
  display: none;
}

So, html pages doesn't show nothing about query things.

I don't know how to fix it

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.

None yet

2 participants