• Stars
    star
    129
  • Rank 279,262 (Top 6 %)
  • Language
    HTML
  • License
    Apache License 2.0
  • Created about 4 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

https://docs.chocolatey.org - new docs website

Chocolatey Docs

This repository contains the source files for the documentation site that can be found here:

https://docs.chocolatey.org/en-us/

This site is built using Statiq.

Thanks

The original template that was used to create this docs site came from the work that was done by Patrik Svensson, on his Spectre.Console and Spectre.Cli docs sites. Huge thank you to Patrik for all his help!

Building the site

Setup

There are a number or pre-requisites that are needed before you will be able to build the website locally. These include:

  • .NET Core SDK
  • NodeJS

There is a .\setup.ps1 file in the root of this repository that can be used to install all necessary packages, and which will be kept up to date as these change.

Building the site

To build the site locally on your machine, either run the .\build.ps1 or the build.sh file (depending on your system). This will compile the site, and all generated output file be placed into the output folder.

Previewing the site

To preview the site locally on your machine, either run the .\preview.ps1 or the preview.sh file (depending on your system). Once completed, you should be able to open a browser on your machine to http://localhost:5080 and the site will be loaded. Once running, any changes made to the files within the input folder will cause the site to be rebuilt with the new content.

Troubleshooting the build

If you are having build errors with 'copyTheme' errored after, try removing the node_modules directory and clearing your yarn cache with yarn cache clean.

Adding a New Highlight

To add a new Highlight, follow the steps below:

  1. Check to see if the Highlight you are writing already has a folder associated with it. This will match the current year and month that you are posting the Highlight in. If there is already a folder, copy the file from /en-us/highlights/template/template.md into the folder your new Highlight will go in, then skip to step #4.
  2. Copy the folder /en-us/highlights/template and rename it to the format of "YYYY-MM". For example: "2023-04".
  3. In your new folder, update the index.md file:
    1. Change the PostedDateTime to the first day of the current month. This should match the folder name. This will be the heading title that appears on the Highlights page.
    2. Remove the IsActive: false line completely. This is set to true by default, and a section will now appear for the given month on the Highlights page.
  4. In your new folder, change the file name of template.md to match the title of the Highlight you are writing. This should be something that can easily be identified if changes will need to be made by another person later.
  5. Update your new (previously template.md) file as needed:
    1. Remove the IsActive: false line completely. This is set to true by default, and will now be shown on the Highlights page.
    2. To make the Highlight appear on the Home page, remove the ShowOnHome: false line completely. This is set to true by default, and will now be shown on the Home page.

Build Status

GitHub Actions Build Status

Chat Room

Come join in the conversation about Chocolatey in our Community Chat Room.

Please make sure you've read over and agree with the etiquette regarding communication.

Search

Search uses Algolia DocSearch as backend. Configuration for crawler is available at https://github.com/algolia/docsearch-configs/blob/master/configs/chocolatey.json.

More Repositories

1

choco

Chocolatey - the package manager for Windows
C#
10,157
star
2

ChocolateyGUI

A delicious GUI for Chocolatey
C#
1,546
star
3

boxstarter

Repeatable, reboot resilient windows environment installations made easy using Chocolatey packages
PowerShell
1,309
star
4

cChoco

Community resource to manage Chocolatey
PowerShell
154
star
5

chocolatey-workshop

Chocolatey Workshop
PowerShell
96
star
6

shimgen

This repository exists to file issues against shimgen
C#
92
star
7

choco-wiki

The content from this repository has been moved to https://github.com/chocolatey/docs. If you have found an issue, or want to submit a fix, then please open an issue, or a PR, on that repository.
80
star
8

chocolatey-ansible

The Chocolatey module collection for Ansible
PowerShell
48
star
9

package-validator

Windows service to validate packages conform to package standards
C#
31
star
10

nuget-chocolatey

NuGet Enhanced for Chocolatey
C#
24
star
11

home

The place to start for issues with areas of Chocolatey that are infrastructure related, or really any issues could be started here. There is also choco for the CLI client, Chocolatey GUI for the GUI.
22
star
12

chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19
star
13

puppet-chocolatey-handsonlab

This is the hands on lab from PuppetConf 2013 using the chocolatey provider
PowerShell
14
star
14

choco-quickstart-scripts

C4B Quick-Start Guide - Supporting Scripts
PowerShell
13
star
15

checksum

Validates MD5/SHA1 CheckSums on the command line.
C#
13
star
16

chocolatey-environments

Environments used to test and demonstrate Chocolatey features and benefits.
PowerShell
11
star
17

chocolatey-workshop-organizational-use

PowerShell
8
star
18

ChocoCCM

PowerShell module for interacting with Chocolatey Central Management
PowerShell
8
star
19

.github

7
star
20

NuGet.Server-chocolatey

Chocolatey enhanced NuGet.Server code (not Chocolatey.Server - that's chocolatey/simple-server)
C#
7
star
21

chocolatey-book

5
star
22

boxstarter.org

HTML
4
star
23

choco-theme

The global theme for Chocolatey Software.
SCSS
4
star
24

Chocolatey.Cake.Recipe

A set of convention based Cake scripts for building Chocolatey projects
C#
4
star
25

chocolatey-workshop-internalizer

Setting up Internal Chocolatey Deployments
PowerShell
3
star
26

chocolatey-media-kit

3
star
27

CloudCreate

PowerShell
2
star
28

choco-jenkins

1
star
29

c4b-ansible

Jinja
1
star