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

[Bug] Custom template doesn't load #10378

Open
sonomirco opened this issue Nov 10, 2024 · 3 comments
Open

[Bug] Custom template doesn't load #10378

sonomirco opened this issue Nov 10, 2024 · 3 comments
Labels
bug A bug to fix

Comments

@sonomirco
Copy link

Describe the bug
Just tried this simple step.
https://dotnet.github.io/docfx/docs/template.html?tabs=modern#custom-template

To Reproduce
Under the docs folder, I have created a folder called aecom-template.
Added to the docfx.json file

    "template": [
      "default",
      "modern",
      "aecom-template"
    ],

Used the main.css and main.js as documentation, but nothing happened.
I don't have the GitHub logo, and no colour is changed.

Expected behavior
I am expected to see the GitHub logo and the same green colour you have on your website, adding those steps.

Context (please complete the following information):

  • OS: Windows
  • Docfx version: 2.77
@sonomirco sonomirco added the bug A bug to fix label Nov 10, 2024
@mxcolin
Copy link

mxcolin commented Nov 18, 2024

Same here, followed the documentation as specified and it does nothing at all, no changes are observed.

@filzrev
Copy link
Contributor

filzrev commented Nov 18, 2024

I've tested on my environment.
And it seem works as expected. (After Ctrl+F5 browser refresh)

Is it able to test by temporary disabling browse caching

@mxcolin
Copy link

mxcolin commented Nov 18, 2024

Yeah, that was it. Disabling the browser cache did the trick. Thanks!!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug to fix
Projects
None yet
Development

No branches or pull requests

3 participants