Replies: 3 comments
-
Use docs when all the files are uploaded to your repo without using any folders. Use root when you make use of folders. |
Beta Was this translation helpful? Give feedback.
0 replies
-
both methods are valid for hosting a GitHub Pages site, using the docs directory is often recommended due to its organizational benefits and ease of management compared to serving directly from the root directory. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Please see this comment for reference to why this discussion was closed and locked. Thanks! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
I'm working on someone's site and I want it to look a bit professional so I want to follow best practices. Do I use docs or root? And when should I use either?
Beta Was this translation helpful? Give feedback.
All reactions