Coder Social home page Coder Social logo

chocolatey / docs Goto Github PK

View Code? Open in Web Editor NEW
152.0 152.0 167.0 121.55 MB

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

License: Apache License 2.0

PowerShell 0.03% Dockerfile 0.01% JavaScript 1.07% TypeScript 0.32% Astro 3.45% MDX 95.12%
hacktoberfest

docs's Introduction

THIS REPOSITORY IS DEPRECATED

See https://github.com/chocolatey/choco for further development

Chocolatey NuGet (like apt-get, but for Windows) Build status

Chocolatey Logo

WEBSITE

Chocolatey.org

LICENSE

Apache 2.0 - see docs/legal (just LEGAL in the zip folder)

INFO

##Please see the wiki

SOURCE REQUIREMENTS

  • .NET Framework 4.0
  • PowerShell 2.0+

CREDITS

See docs/legal/CREDITS (just LEGAL/Credits in the zip folder)

docs's People

Contributors

adilio avatar admiringworm avatar ciaracarey avatar corbob avatar ferventcoder avatar gep13 avatar imm0rtalsupp0rt avatar jantari avatar joeyparrish avatar jpruskin avatar leadevelop avatar marcleroy avatar mkevenaar avatar pascalberger avatar pauby avatar rachfop avatar ryanrichter94 avatar serjan-nasredin avatar spowelljr avatar st3phhays avatar stealthc avatar stefanofrazzetto avatar stefansjfw avatar steviecoaster avatar thecakeisnaoh avatar tijazz avatar tunisiano187 avatar vexx32 avatar windos avatar yue-plus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs's Issues

xref links sometimes do not work without setting front matter

Using xref:extensions without setting it in the front matter, results in this error:

Screen Shot 2020-11-04 at 7 31 30 AM

The file being referenced is located at input/en-us/features/extensions.md

After adding it in the front matter, it worked as expected.

As a test, I went the home page and changed a link to use xref:faqs, which seemed to work, but changing a link to use xref:why results in the same error above in the picture.

Screen Shot 2020-11-04 at 7 41 22 AM

Not sure what it's not liking, it seems to be random on whether it's going to like the xref or not, but the results are always consistent (it either works every time, or says it can't be found every time).

Images not currently showing on the site

For example on this page:

https://chocolatey.github.io/docs/en-us/central-management/overview

This is due to the fact that the images are expected to be here:

https://chocolatey.github.io/assets/images/features/ccm/central-management.png

When in fact they are here:

https://chocolatey.github.io/docs/assets/images/features/ccm/central-management.png

NOTE: The docs in the URL.

This will be fixed as a result #5 unless we want to add another solution in the interim.

Narrative Docs / Walkthroughs

We have a lot of great reference docs, which is good if you know exactly what you are looking for, but it would be good to also have more concept and narrative types of docs that are great for learning.

The below will become the docs home when complete. There are lots of needs for documentation and walkthroughs here though.


Getting Started

Troubleshooting

  • Troubleshooting
  • I think I found a bug
  • Support - open source
  • Support - paid

Installation

  • Planning your install
  • Choosing your client(s)
  • Installation
  • Completely offline / internal
  • Non-admin installation
  • Setting up Chocolatey
  • Setting up Chocolatey for organizational use
  • Securing your Chocolatey installation
  • Setting up Sources
  • Proxies

Package Repositories

Managing Software

  • Installing, Upgrading, and Uninstalling Software with Chocolatey
  • Passing arguments to choco.exe
  • Passing parameters to customize packages at runtime (package parameters and install arguments)
  • Installing from a non-known source
  • Installing Windows Features
  • Alternative Sources - Installing Ruby Gems / Python / Cygwin and other sources
  • Installing multiple versions of some software side by side
  • What if the software I want to manage with Chocolatey is already installed?
  • What commands can I call? (Command Reference)

Scripting

  • Using choco.exe in scripts
  • Using the Chocolatey.Lib API

Integrations

  • Using Chocolatey with SCCM
  • Using Chocolatey with MDT
  • Using Chocolatey with PowerShell DSC
  • Using Chocolatey with Puppet
  • Using Chocolatey with Chef
  • Using Chocolatey with Ansible
  • Using Chocolatey with Salt
  • Using Chocolatey with remote management tools (LabTech, RMM, Altiris, etc)

Packaging Patterns

  • Creating Packages
  • Packaging your own software
  • Package Builder
  • Embedding Binaries vs Download
    • Use of VERIFICATION.txt, LICENSE.txt and REDISTRIBUTION.pdf
  • Installing an Installer
  • Installing a Zip
  • Zip + Installer
  • Installing VSIX
  • Installing PowerShell Modules
  • Are there variables available for use?
  • How can I take user input? and Ask the user for input (Read-Host and Prompt have timeouts Chocolatey's PowerShell)
  • What functions are available? (PowerShell Function Reference)
  • Creating Templates
  • Internalizing an existing package (making offline w/no internet access)
  • Pre-post checks
  • Adding functionality to Chocolatey

Community Package Repository

  • Maintaining packages
  • Moderation
  • Verifier failed
  • Validator failed
  • I'm getting comments/questions and not sure what is wrong

Advanced Scenarios

  • Self-service - non-admins installing software
  • Keeping secrets out of the logs
  • Securing packages, even from your users

Contributing

  • What do I need to know upfront?

  • Guidelines

  • Submitting Documentation

  • PowerShell

  • C#

  • Other

  • Versioning strategies for Chocolatey for less than v1 (SemVer compliance)

Create official tag list and add to documentation

After a discussion in the Gitter channel around there being no list of tags I'm raising this issue for discussion around this before creating the docuimentation.

It's been suggested that the documentation be created on the Creating Packages page.

The list of tags I'm aware (off the top of my head):

  • admin - installer requires Administrator privileges (such as installing Program Files);
  • trial - package is a trial version
  • notsilent - package requires interaction by the user after install / uninstall (such as browser windows opening and needing to be closed manually - note that it doesn't include the installer being visible as long as there is no interaction required).

List of tags I'd like to add:

* licensed - package requires a license to use - this is different from trial which still runs for a period of time; license tag is already recommended.

Also highlight that packages should not include the tag 'chocolatey'

Agreed Tags

The tags so far agreed on are:

  • admin
  • trial
  • notsilent
  • license

Tags Under Discussion

Package category tags still under discussion:

  • productivity
  • programming
  • utility
  • browser
  • drivers
  • server
  • client
  • addon

Other tags still under discussion:

  • notUninstallable

FAQ Wiki not clear about *, *.install and *.portable

I looked at the Wiki FAQ section titled **What is the difference between packages named .install (i. e. autohotkey.install), .portable (i. e. autohotkey.portable) and * (i. e. autohotkey)? (link) and I found it inadequate. It doesn't answer the following question:

If there are packages named *.install, *.portable and *, what happens when I do choco install * as opposed to choco install *.install or choco install *.portable?

Also, the link at the end of the section appears broken.

Correctly render markdown emojis

Currently, items like :floppy_disk: and :heavy_plus_sign: are not rendering correctly when generated through Statiq.

There should be a way within Statiq to render these emojis correctly.

Fix navigation sidebar

Currently, the navigation sidebar is only showing two levels of navigation. In the Wyam version of the site, it would expand indefinitely to show all pages. Do we want something similar?

Related to this, with the change in #1 the top level navigation is now rooted to the wrong location, and is including the index.md at the root of the project. We need to change this to use the index.md in the en-us as the root page.

Implement Gulp

Things Gulp can help with:

  • Bundle and minify css/js
  • Drastically reduce the css footprint by removing unused css from framework libraries (such as bootstrap)
  • Pull in libraries needed on build instead of storing copies
  • Make upgrading/maintaining libraries easier/faster
  • Generating PDF files from docs

Surely there are more, but overall I feel like this would be a great addition to add to the build process.

Analyze and improve meta tags

In the head of _layout.cshtml there are these meta tags:

<meta property="og:title" content="@title" />
<meta property="product:brand" content="Chocolatey" />
<meta property="og:description" content="Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments." />
<meta name="description" content="Chocolatey is software management automation for Windows that wraps installers, executables, zips, and scripts into compiled packages. Chocolatey integrates w/SCCM, Puppet, Chef, etc. Chocolatey is trusted by businesses to manage software deployments." />
<meta name="flattr:id" content="mqgjkp">
<meta property="DC.title" content="@title" />
<meta property="og:site_name" content="Chocolatey" />
<meta property="og:type" content="product" />
<meta property="product:category" content="software" />
<meta property="og:image" content="https://chocolatey.org/content/images/icon_slogan.png" />
<meta property="og:url" content="@Context.GetLink().TrimEnd('/')@Document.GetLink()" />
<meta property="copyright" content="Chocolatey is Copyright 2020 - @DateTime.UtcNow.Year Chocolatey Software,Inc." />

These tags were copied from chocoaltey.org. They need to be analyzed to determine if they are still relevant or if they are outdated (may be a better way of doing it now). There are also other tags that could be added. For example, Twitter has its own set of tags that would optimize the sharing experience when our website is tweeted about. See https://developer.twitter.com/en/docs/twitter-for-websites/cards/guides/getting-started

Update navigation file structure

With the move to statiq, it would be a great time to access our current docs navigation structure and move items to places that make more sense.

Instructions to create a portable Chocolatey package are inscrutable

For the life of me, I cannot figure out how to make a standalone/portable/whatever Chocolatey package. There are 4 executables I'd like to package into Chocolatey package; no MSI, no installers, no unnecessary complexity. What is the directory layout supposed to be? https://github.com/chocolatey/choco/wiki/CreatePackagesQuickStart offers no assistance.

To be clear, I don't want to bundle an installation script. I just need 4 files extracted to somewhere in %ChocolateyInstall%\lib\PackageName and symlinked from %ChocolateyInstall%\bin.

An explicit file layout for the archive, like:

/
/Foo.nuspec
/tools/
/tools/release/
/tools/release/bin/
/tools/release/bin/foo.exe

would go a long way.

Add an alert banner for important announcements

It would be good idea to have an announcement banner built in so that we can display important announcements at the top of the page, much like on chocoltey.org. This banner should be easily removable if there are no announcements.

Documentation for installation errors

When installing a package, an error might occur during the first installation. The second time you try to install, you will get a successful message, which can be misleading. Removing the folder for the package in C:\ProgramData\chocolatey\lib will give a fresh install the next time.

Is this mentioned somewhere in the documentation?

Issue created as requested by @gep13 in gitter.

Add Gitter Sidecar

In the Wyam version of the site, we had the button to click to open the Chocolatey Gitter room, do we want this in this version as well?

Package versions, bundled software, & uninstallers

I know we're not supposed to ask questions here, but I thought this was a more fitting place since I'm not just looking for answers, but I think the answers need to be in the wiki or even in Chocolately itself, so others can find them. I've searched high and low and haven't found any information (or, for the first question, any that made sense) on these things.

  1. Many packages have multiple different versions, i.e. (Install) / .install, (Portable) / .portable, and regular (no tag). Chocolately doesn't explain at all what the differences are, and the limited results I found that discuss it do nothing to clear up the issue. So for many of the programs I installed, I didn't know which version to use, and as a result I have no idea if I installed the right one. Could someone explain this in layman's terms?
  2. I couldn't find anything regarding whether any of the packages might contain bundled software (PUPs/adware/toolbars/etc). Considering some of the programs included in Chocolatey contain such crapware in at least some versions available for direct download, if Chocolately is using the same installers then it would be possible to get ones with this stuff, and since Chocolately installs are automated, you wouldn't be able to check for it or opt out.
  3. Does Chocolately just use the programs' uninstallers, no different than if you manually installed them then uninstalled them with Add/Remove Programs? Or does it work like Linux package managers, where it tracks everything done by the installer so it can do a more thorough job during the uninstall? IOW, is there any difference at all between uninstalling a program with Chocolately vs with Windows?

FAQ: What happens when I start using chocolatey on an existing system with apps already installed?

Ferventcoder asked for an issue to be created in regards to my question so the FAQ could be updated. Below was his answer to me.

At this time choco doesn't detect what is previously installed. You can however just install packages usually right on top of existing applications (and it will upgrade them if they are needing upgrades). If you run into any issues you can uninstall and then use choco to install.

Fix internal navigation URLs

Currently, most links within the site use navigation links similar to the following:

[[Frequently Asked Questions|ChocolateyFAQs]]

These need to be changed to normal, relative, markdown links.

NOTE: This will be dependent on implementing this #7 as some links go directly to headers within a page.

Document PowerShell Tab Completion in Wiki

Ensure that you specify how it can be added manually.

And that execution policy restricted won't allow it to be loaded at all:

image

UPDATE: As Chocolatey Gitter chat is now unavailable, I've added a screenshot of the Gitter chat.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.