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

Minor RTD visual enhancements #420

Merged
merged 4 commits into from
Dec 21, 2020
Merged

Conversation

lukpueh
Copy link
Member

@lukpueh lukpueh commented Dec 17, 2020

Fixes #388 and tempfixes #401

Description of the changes being introduced by the pull request:

  • Changes docs requirements to install our self-hosted napoleon sphinx extension, which nicely renders our custom Side Effects docstring section, and
  • adds the in-toto logo to be displayed on the RTD page header and as favicon.

See https://in-toto-lukpueh.readthedocs.io/en/latest/api.html for a demo.

Please verify and check that the pull request fulfills the following
requirements
:

  • The code follows the Code Style Guidelines
  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

Use napoleon fork hosted in the project umbrella github
organization "secure-systems-lab", to display our custom "Side
Effects" docstring section (kudos to @SolidifiedRay for patching
napoleon).

Also ssee in-toto#401 for
discussed alternatives and attempts to upstream this or a more
flexible solution.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
Horizontal looks nicer than stacked and white looks nicer than
red/blue for the currently used RTD theme.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
We currently use a fork of the stand-alone Napoleon sphinx
extension that fixes in-toto#401.

However, we should instead use the more up-to-date Napoleon
extension built into sphinx, and maybe try to upstream our patch
there.

Signed-off-by: Lukas Puehringer <lukas.puehringer@nyu.edu>
Copy link
Member

@adityasaky adityasaky left a comment

Choose a reason for hiding this comment

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

This looks fine to me, assuming we'll revisit this based on how things go with the upstream patch.

@lukpueh
Copy link
Member Author

lukpueh commented Dec 21, 2020

This looks fine to me, assuming we'll revisit this based on how things go with the upstream patch.

Thanks for the review, @adityasaky! Let's merge here and keep #401 open.

@lukpueh lukpueh merged commit 6171110 into in-toto:develop Dec 21, 2020
@lukpueh lukpueh mentioned this pull request Mar 1, 2021
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.

Display logo on readthedocs
2 participants