dotnet / docfx

Static site generator for .NET API documentation.
https://dotnet.github.io/docfx/
MIT License
3.96k stars 846 forks source link

Create more attractive themes as similar to other static website generator #2298

Closed vicancy closed 1 year ago

vicancy commented 6 years ago

[Gain 30 upvotes from feathub feature request dashboard.] For example: hexo: https://hexo.io/themes/

Related: https://github.com/dotnet/docfx/issues/1862

mozts2005 commented 6 years ago

Based on my reading of the code the current themes/layout are based on bootstrap with very little work a Sass compiler could be added to the current build. Once that is done with very little extra work the current default thems could be tooled to support any bootstrap theme.

this would allow themes from themes.getbootstrap.com and https://bootswatch.com/ to be used with little to no work.

superyyrrzz commented 6 years ago

@mozts2005 Sounds cool! Looking forward to it.

perlun commented 3 years ago

I agree, adding support for SASS would be incredibly nice indeed. :+1: :+1: :+1:

yufeih commented 1 year ago

The new template shipped in v2.63.0.

iadonkey commented 6 months ago

is there a way to combine the modern theme with statictoc if I want to have beautiful pages that I can preview locally? I tried to put statictoc + modern in the the template section of the config file, but then the toc was missing when viewing locally