3.3 Give harvest help one front door

Open Beginner friendly
#1,199 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Active
Tech stack
html, jekyll

Research direction

Read pages/_layouts/resource_category.html, the front matter for the four named resource files, and the Jekyll version in Gemfile.lock. Try the proposed ordering in a preview build, checking how the installed Jekyll handles empty sort values. Done when the four specified entries appear first in the requested order and all remaining entries stay alphabetical; coordinate this with item 1.1.

Written by the indexing model from the issue text.

Description

3.3 Give harvest help one front door

What

Make Harvester Help the first entry in the Publishing and harvesting help list, followed by "What is Harvesting?", "Harvest error: overview" and "Harvest error: quick reference", then the rest alphabetically.

Why

The list has fourteen entries, ten of them named "Harvest error: ...", and it is sorted alphabetically, so "Harvester Help" comes after all ten errors and "What is Harvesting?" comes last. The Harvester Help page already works as a hub and links every other guide page. This is the best-written content on the site and it should be easy to start.

Done When

  • The four entries listed above appear first and in that order.
  • All other categories still sort alphabetically.

Notes

Where: pages/_layouts/resource_category.html and the front matter of four resource files. Needs: no one else.
Category pages sort by resource_name (this is set in resource_category.html). A new optional field, sort_order, in the front matter of the four resource files (slugs: harvester-help, harvester-what-is-harvesting, harvester-faq-overview, harvester-faq-quick-reference) would let the layout list those first. Untested draft for the layout, to try in the preview build: take the existing list, split it into entries that have a sort_order (sorted by that number) and entries that do not (sorted by resource_name), then join the two lists. Check the Jekyll version in Gemfile.lock to see how it handles empty values in sorts. Do this together with item 1.1.

Dominant language
HTML
Stars
87
Forks
137
Avg merge
2d 12h
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GSA/resources.data.gov

All issues in GSA/resources.data.gov

Similar issues

More Content issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.