dotnet-foundation / website

The .NET Foundation's website
https://dotnetfoundation.org
MIT License
169 stars 562 forks source link

dotnetfoundation-website

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!

Prerequisites

Build and test

The basic steps to run or build the project:

  1. Use dotnet run from the root of the repository to generate the static site.
  2. After the build, check the 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.

Project Structure

This website uses Statiq Web, a flexible and extensible static site generator for .NET.

Each file inside the input folder is processed by Statiq and will generate static output files.