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

Preserve sphinx theme set in project configuration #12

Closed
drdavella opened this issue Apr 17, 2019 · 2 comments
Closed

Preserve sphinx theme set in project configuration #12

drdavella opened this issue Apr 17, 2019 · 2 comments

Comments

@drdavella
Copy link
Contributor

Currently the generated schema documentation does not conform to the theme that is set in the project's docs/conf.py. This is because we use the sphinx bootstrap stylesheets to generate schema documentation, so they get pulled in regardless of whether the project is using sphinx-bootstrap-theme or not.

I'm not sure whether this will be possible and/or how much effort it is worth.

@drdavella
Copy link
Contributor Author

This is just a shot in the dark, but it's possible that we could fix this by calling super() in this section of the template: https://github.com/spacetelescope/sphinx-asdf/blob/04f56ef65acaf38ff6202ce3de7d25c9af93456a/sphinx_asdf/templates/schema.html#L3-L4

@braingram
Copy link
Contributor

I believe this was fixed in: #88

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

No branches or pull requests

2 participants