How to Remove Theme from Project

Yesterday, I applied the Cayman theme to two of my GitHub project documentation collections, and it seems to be incompatible with the documents generated by DocFX and stored therein. Although I see a way to change the theme, I see no way to disable it, so that the pages render without a theme.

Please advise.

When you choose a theme, GitHub adds a line to your repository’s _config.yml like this:

theme: jekyll-theme-cayman

You can delete that line (or the entire file if there is nothing else in your _config.yml) and that should remove the theme.

I hope that helps!

9 Likes

Can you please guide step by step, how to delete “_config.yml” file or remove th etheme from my repo. I’m new to github. please help me.

1 Like

There is a help article on deleting files that should give you what you need.

I hope that helps!

1 Like