Skip to content

duckduckgo/duckduckgo-help-pages

Repository files navigation

Edition

Setup

  1. Add your site and author details in _config.yml.
  2. Get a workflow going to see your site's output (with CloudCannon or Jekyll locally).

Develop

Edition was built with Jekyll version 3.3.1, but should support newer versions as well.

Install the dependencies with Bundler:

$ bundle install

Run jekyll commands through Bundler to ensure you're using the right versions:

$ bundle exec jekyll serve

Editing

Edition is already optimised for adding, updating and removing documentation pages in CloudCannon.

Documentation pages

  • Add, update or remove a documentation page in the Documentation collection.
  • Change the category of a documentation page to move it to another section in the navigation.
  • Documentation pages are organised in the navigation by category, with URLs based on the path inside the _docs folder.

Search

  • Add excluded_in_search: true to any documentation page's front matter to exclude that page in the search results.

Navigation

  • Change site.show_full_navigation to control all or only the current navigation group being open.