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

Configure docutils through plugin configuration #7

Closed
wants to merge 3 commits into from
Closed

Configure docutils through plugin configuration #7

wants to merge 3 commits into from

Conversation

uyar
Copy link
Contributor

@uyar uyar commented Nov 2, 2018

This PR lets the user adjust docutils parameters. In the lektor project hierarchy, create a configs directory and place an rst.ini file in there. The docutils section of the file will be used to control docutils output. For example:

[docutils]
writer = html5
initial_header_level = 1

@fschulze
Copy link
Owner

fschulze commented Nov 5, 2018

I still have to try it, but so far this looks good.

@uyar
Copy link
Contributor Author

uyar commented Nov 14, 2018

I'm worried about the types of the option values. I couldn't be sure whether the types are converted automatically. For example, if there's an option with the value "yes", does it become the string "yes" or the boolean value True?

@uyar
Copy link
Contributor Author

uyar commented Jun 20, 2019

I'm closing this PR in order to submit it again from a new fork.

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