NOTE: This repository is no longer being used to build the dotnetfoundation.org website! The new site is hosted in a Content Management System (CMS) and is no longer built from this repository.
This repository will be archived soon.
This repository contains the solution that is used to build and deploy the dotnetfoundation website.
Pull requests and issues are welcome!
The basic steps to run or build the project:
dotnet run
from the root of the repository to generate the static site.output
folder to review the generated HTML files.To build and preview the site, run:
dotnet run -- preview
The preceding command launches a preview web server that can be viewed from http://localhost:5080. The site automatically rebuilds and refreshes when content changes are made.
This website uses Statiq Web, a flexible and extensible static site generator for .NET.
App.Config : The configuration file for the project. Review the appSettings
section of App.Config.
Program.cs:
input : The input folder contains source files that are rendered as HTML files.
head
section of the view and includes the initial stylesheet and JavaScript imports.title
for the page.Each file inside the input folder is processed by Statiq and will generate static output files.