Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[doc/theme][xs]: update to latest version of the doc theme.
- Loading branch information
1 parent
97eb5f8
commit c59b304
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
Submodule sphinx-theme-okfn
updated
9 files
c59b304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rgrp Looks great but in my opinion the titles are too large for this page: http://docs.ckan.org/en/latest/common-error-messages.html
I think it makes sense to have a smaller font at least for the side bar and maybe the titles as well.
c59b304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about the titles - this is an extreme page with very long titles at very high level (if these were down one level would look better). Look at e.g. http://docs.ckan.org/en/latest/install-from-package.html for a contrast.
Re sidebar similar feelings (see alternative example) but please submit issues or pull requests on https://github.com/okfn/sphinx-theme-okfn
c59b304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rgrp There is a pull request for a fix. See #169.
c59b304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@domoritz Good catch. In your version, the HTML comes with the error messages in
<p>
tags and the explanations beneath them in<blockquote>
tags. Looks slightly weird having the explanations indented blockquote style is not semantic (they aren't quotes). I think it would be better to use HTML definition lists where the error messages are the<dt>
tags and the explanations the<dd>
tags. It's actually really easy to do this, in the rst source file just delete the empty line between the error message and the indented explanation. e.g. this will produce a definition list with a single<dt>
and a single<dd>
:c59b304
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@seanh Thanks for the suggestion. I have added a commit to the pull request.