Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fslaborg/docs-template

fslab documentation theme for FSharp.Formatting
https://github.com/fslaborg/docs-template

csharp documentation dotnet fsharp

Last synced: 3 months ago
JSON representation

fslab documentation theme for FSharp.Formatting

Awesome Lists containing this project

README

        

# The fslab documentation template

`dotnet new` template setting up the necessary folder structure and files for [FSharp.Formatting](https://github.com/fsprojects/FSharp.Formatting) documentation. It uses a custom fslab color scheme and html template.

## How does it look like?

The current version is live on gh-pages:

https://fslab.org/docs-template/

## Installation

[![](https://img.shields.io/nuget/v/FsLab.DocumentationTemplate)](https://www.nuget.org/packages/FsLab.DocumentationTemplate/)

```powershell
dotnet new -i FsLab.DocumentationTemplate
```

## Usage

If not already present, create a local tool manifest in the root of your project that you want to write documentation for:

```powershell
dotnet new tool-manifest
```

Then, still in the root of your project, run:

```powershell
dotnet new fslab-docs
```

for more more indepth information head over [here](https://fslab.org/docs-template/#Usage)

## Develop

To (re)compile with sass:

`build.cmd -t compileSass` (Win)

`build.sh -t compileSass` (Mac/Linux)

Build the template nuget package:

`build.cmd` (Win)

`build.sh` (Mac/Linux)

Start fsdocs in watcher mode for the test project:

`build.cmd -t watchDocs` (Win)

`build.sh -t watchEDocs` (Mac/Linux)

Test the template package intallation and check correct contents of an initialized template:

`build.cmd -t test` (Win)

`build.sh -t test` (Mac/Linux)

will create the template output in the `tests` folder.

Release nuget package and create a tag on the repo:

`build.cmd -t release` (Win)

`build.sh -t release` (Mac/Linux)