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

Fix errors on front page of user manual #1396

Merged
merged 2 commits into from
Jan 15, 2021

Conversation

aaronayres35
Copy link
Contributor

fixes #1373

This PR removes an unnecessary link to the TraitsUI user manual on the Intro page of the traits user manual. It also adds links to the bullets for "Traits API Reference" and "Traits Technical Notes". "Traits Technical Notes" is now linked to the changelog (I wasn't exactly sure what this was intended to be a reference to, this change should be confirmed by a reviewed)

Additionally, the buttons at the top of the page labels are changed. The first button is now labelled "Traits 6.1 Documentation" as that is where that actually links to. The second link comes from the title tag of individual pages (see: https://www.sphinx-doc.org/en/master/usage/configuration.html). Building the docs and navigating to different pages the links seem to be labelled correctly now to the pages they actually link to.

Checklist

  • [ ] Tests
  • [ ] Update API reference (docs/source/traits_api_reference)
  • Update User manual (docs/source/traits_user_manual)
  • [ ] Update type annotation hints in traits-stubs

<http://docs.enthought.com/traitsui/traitsui_user_manual/index.html>`_
* Traits Technical Notes
* `Traits API Reference <https://docs.enthought.com/traits/traits_api_reference/index.html>`_
* `Traits Technical Notes <https://docs.enthought.com/traits/changelog.html>`_
Copy link
Member

Choose a reason for hiding this comment

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

I don't know what this was originally supposed to refer to either; even going as far back as Traits 4.0, this wasn't linked to anything.

How about we just drop this entry? That then leaves us with the awkwardness of an itemised list with a single item, so maybe we should simply reword the sentence that introduces this list, and link to the API reference directly from it. Thoughts?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

SGTM

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@aaronayres35 aaronayres35 merged commit 0e9162a into master Jan 15, 2021
@aaronayres35 aaronayres35 deleted the doc/1373-user-manual-front-page branch January 15, 2021 14:50
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.

Errors on front page of user manual
2 participants