Unable to set landing page #8261
Replies: 7 comments 2 replies
-
Your index page will normally be at the root, what is the folder structure of your output? |
Beta Was this translation helpful? Give feedback.
-
Here's the _site folder content: The index.html is that index page instead of the topicHref doc. |
Beta Was this translation helpful? Give feedback.
-
I may be wrong, but my understanding, By the docs Others were related to links to a folder: Link to a folderIf the Toc Item is linking to a folder, ending with
|
Beta Was this translation helpful? Give feedback.
-
Thanks Paul, but what I want is to have localhost:8080 show me the left side nav bar and in the home page in the content area. I can rewrite the tocs as needed, I just need someone experienced with DocFx to set me on the right track. Showing the home page would seem like a common scenario. I also tested the following root toc, but that also failed to show the specified landing page.
|
Beta Was this translation helpful? Give feedback.
-
Did you ever solve this? |
Beta Was this translation helpful? Give feedback.
-
To land directly on an arbitrary page, you can add an index.md file in the root folder with content like this: |
Beta Was this translation helpful? Give feedback.
-
but how on Earth do we change the default page? I mean I don't want it to look like this I want to have my own custom page? Anyone know how to do this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Operating System: Windows
DocFX Version Used: 2.59.4
Template used: ?
Steps to Reproduce:
Expected Behavior:
Should see the Markdown article specified by the topicHref as the landing page.
Actual Behavior:
I get an index listing:

Beta Was this translation helpful? Give feedback.
All reactions