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

[Feature Request] Allow URL for homepage (logo image) link to be specified in docfx.json #8736

Closed
lanthonyneville opened this issue May 5, 2023 · 1 comment · Fixed by #8737
Labels
template The stock site template

Comments

@lanthonyneville
Copy link

As of DocFx 2.66.0 it appears that the hyperlink for the logo image (top left of nav bar) is auto-generated and set to the index page in the root of the site.

It would be useful if this URL could be specified in the docfx.json, for example as a new setting inside globalMetadata:

		"globalMetadata": {
			"_appTitle": "Company Documentation",
			"_appFooter": "© Company Ltd",
			"_appLogoPath": "CompanyIcon.png",
			**"_appLogoLink": "http://www.mycompany.com/my-page.html",**
			"_appFaviconPath": "CompanyIcon.png",
			"_enableSearch": true,
			"_enableNewTab": false
		},

An example use case is:

  • The DocFx site does not run as a standalone site .... the content files are incorporated into a larger site
  • Therefore end users would expect that clicking on the logo would navigate them to the home page of the parent site
@yufeih yufeih added the template The stock site template label May 6, 2023
@lanthonyneville
Copy link
Author

Thanks @yufeih !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
template The stock site template
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants