Skip to content

Conversation

@futurGH
Copy link
Contributor

@futurGH futurGH commented Oct 16, 2022

Closes #1830

This PR introduces three options;

  • titleLink: a string URL that the title links to; defaults to current behaviour of linking to documentation homepage
  • navigationLinks: a Record<string, string> mapping labels to URLs to include in the header
  • sidebarLinks: a Record<string, string> mapping labels to URLs to include in the sidebar

Naming is a bit iffy since the sidebar is internally referred to as navigation, but the label "header" is taken by the title portion of the page so this is the best I could come up with.

@futurGH futurGH force-pushed the configurable-links branch from f73fca6 to 3badd68 Compare October 16, 2022 23:15
@Gerrit0
Copy link
Collaborator

Gerrit0 commented Oct 18, 2022

Thanks!

@Gerrit0 Gerrit0 merged commit 2eaa476 into TypeStrong:master Oct 18, 2022
@futurGH futurGH deleted the configurable-links branch October 18, 2022 13:26
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.

Add GitHub link and/or link to the project site (instead of the typedoc site), to the default theme?

2 participants